/* ============ 全站样式 —— 青岛中恒远（拓竹山东授权经销商） ============ */
:root {
  --navy: #000E1A;
  --navy-2: #0a1e33;
  --blue: #196EF0;
  --blue-dark: #0762C8;
  --gray: #7A7A7A;
  --light: #F5F7FA;
  --border: #E8ECF1;
}
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif; color: #333; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { max-width: 1280px; }

/* ---------- 顶部条 ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: 13px; padding: 7px 0; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: #fff; }

/* ---------- 主导航 ---------- */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(0,14,26,.06); position: sticky; top: 0; z-index: 1030; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,14,26,.12); }
.brand { gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.brand-logo { height: 46px; width: auto; }
.brand-text strong { display: block; font-size: 20px; color: var(--navy); letter-spacing: 1px; line-height: 1.2; }
.brand-text small { color: var(--gray); font-size: 12px; }
.nav-menu { list-style: none; }
.nav-menu > .nav-item { position: relative; }
.nav-link-item { display: inline-flex; align-items: center; padding: 26px 18px; font-size: 16px; font-weight: 600; color: var(--navy); position: relative; transition: color .25s; }
.nav-link-item::after { content: ""; position: absolute; left: 50%; bottom: 16px; width: 0; height: 3px; border-radius: 2px; background: var(--blue); transition: all .25s; transform: translateX(-50%); }
.nav-item:hover .nav-link-item, .nav-item.active .nav-link-item { color: var(--blue); }
.nav-item:hover .nav-link-item::after { width: 60%; }
.btn-quote { background: var(--blue); color: #fff; border: none; padding: 10px 26px; border-radius: 4px; font-weight: 600; transition: all .3s; }
.btn-quote:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 6px 18px rgba(25,110,240,.4); transform: translateY(-1px); }

/* 下拉面板（二级+三级） */
.dropdown-panel { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border-radius: 6px; box-shadow: 0 12px 32px rgba(0,14,26,.14); padding: 8px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .28s; z-index: 1040; }
.nav-item:hover > .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel::before { content: ""; position: absolute; top: -6px; left: 0; right: 0; height: 6px; }
.drop-link { display: block; padding: 10px 22px; font-size: 14px; color: #444; transition: all .2s; white-space: nowrap; }
.drop-link:hover { color: var(--blue); background: var(--light); padding-left: 28px; }
.has-sub { position: relative; }
.sub-panel { position: absolute; left: 100%; top: 0; min-width: 220px; background: #fff; border-radius: 6px; box-shadow: 0 12px 32px rgba(0,14,26,.14); padding: 8px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateX(10px); transition: all .28s; }
.has-sub:hover > .sub-panel { opacity: 1; visibility: visible; transform: translateX(0); }

/* ---------- 汉堡 + 移动抽屉 ---------- */
.hamburger { background: none; border: none; width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.mobile-mask { position: fixed; inset: 0; background: rgba(0,14,26,.55); z-index: 2000; opacity: 0; visibility: hidden; transition: all .3s; }
.mobile-mask.show { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--navy); z-index: 2001; transition: right .35s; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-drawer.open { right: 0; }
.drawer-head { padding: 18px 20px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer-menu { list-style: none; flex: 1; padding: 8px 0; }
.drawer-row { padding: 4px 20px; }
.drawer-link { display: block; padding: 11px 0; color: rgba(255,255,255,.9); font-size: 15px; font-weight: 500; }
.drawer-toggle { color: rgba(255,255,255,.6); padding: 10px; cursor: pointer; transition: transform .3s; }
.drawer-toggle.open { transform: rotate(45deg); }
.drawer-sub { list-style: none; display: none; background: rgba(255,255,255,.05); }
.drawer-sub.open { display: block; }
.drawer-sub.deep { background: rgba(255,255,255,.05); }
.drawer-sub .drawer-link { font-size: 14px; color: rgba(255,255,255,.75); }
.drawer-foot { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.12); }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-gray { background: var(--light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag { display: inline-block; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.3; }
.section-desc { color: var(--gray); font-size: 15px; line-height: 1.8; }
@media (max-width: 768px) { .section { padding: 48px 0; } .section-title { font-size: 24px; } }

/* 滚动显现动画 */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all .8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all .8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }

/* ---------- 首页轮播 ---------- */
.home-carousel { position: relative; }
.home-carousel .carousel-item { height: 560px; }
@media (max-width: 768px) { .home-carousel .carousel-item { height: 420px; } }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption { text-align: left; left: 8%; right: auto; bottom: 22%; max-width: 560px; }
.carousel-caption h1, .carousel-caption h2 { font-size: 42px; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); margin-bottom: 14px; }
/* H1 里嵌的地域后缀：字号收小，视觉上仍是主标题的一部分 */
.carousel-caption .h1-sub { font-size: .46em; font-weight: 600; opacity: .9; letter-spacing: 0; }
.carousel-caption p { color: rgba(255,255,255,.92); font-size: 17px; margin-bottom: 22px; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
@media (max-width: 768px) { .carousel-caption h1, .carousel-caption h2 { font-size: 26px; } .carousel-caption p { font-size: 14px; } .carousel-caption { bottom: 14%; } .carousel-caption .h1-sub { display: block; font-size: .66em; margin-top: 5px; } }
.carousel-btn { display: inline-block; background: var(--blue); color: #fff; padding: 11px 30px; border-radius: 4px; font-weight: 600; transition: all .3s; }
.carousel-btn:hover { background: #fff; color: var(--blue); }
.home-carousel .carousel-indicators { margin-bottom: 18px; }
.home-carousel .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 2px; }
/* 无图轮播兜底背景 */
.banner-fallback { width: 100%; height: 100%; background: linear-gradient(120deg, var(--navy) 0%, #0a2a52 55%, var(--blue-dark) 100%); display: flex; align-items: center; }

/* ---------- 产品卡片 ---------- */
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: all .35s; height: 100%; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,14,26,.14); border-color: transparent; }
.product-card .card-img { height: 240px; overflow: hidden; background: var(--light); position: relative; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .card-img img { transform: scale(1.08); }
.card-img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef3fa, #dbe7f5); color: var(--blue); font-size: 44px; }
.product-card .card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product-card .card-sub { color: var(--gray); font-size: 14px; flex: 1; margin-bottom: 14px; line-height: 1.7; }
.card-more { color: var(--blue); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; }
.card-more i { transition: transform .3s; }
.product-card:hover .card-more i { transform: translateX(6px); }

/* ---------- 系列大区块（拓竹风格） ---------- */
.series-block { position: relative; overflow: hidden; border-radius: 14px; min-height: 380px; display: flex; align-items: center; margin-bottom: 40px; background: var(--navy); }
.series-block .series-bg { position: absolute; inset: 0; }
.series-block .series-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.series-bg-fallback { position: absolute; inset: 0; background: linear-gradient(120deg, var(--navy), #123a6b); }
.series-block .series-inner { position: relative; z-index: 2; padding: 56px 60px; color: #fff; max-width: 640px; }
.series-block h2 { font-size: 36px; font-weight: 800; margin-bottom: 6px; }
.series-block .series-slogan { font-size: 20px; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.series-block p { color: rgba(255,255,255,.72); margin-bottom: 26px; line-height: 1.8; }
.series-block .btn-series { background: var(--blue); color: #fff; padding: 12px 34px; border-radius: 4px; font-weight: 600; display: inline-block; transition: all .3s; }
.series-block .btn-series:hover { background: #fff; color: var(--blue); }
@media (max-width: 768px) { .series-block { min-height: 300px; } .series-block .series-inner { padding: 32px 24px; } .series-block h2 { font-size: 25px; } .series-block .series-slogan { font-size: 16px; } }

/* ---------- 网格耗材卡 ---------- */
.grid-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; text-align: center; transition: all .3s; height: 100%; }
.grid-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,14,26,.12); border-color: var(--blue); }
.grid-card .grid-img { height: 130px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.grid-card .grid-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.grid-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); }
.grid-card .grid-sub { font-size: 13px; color: var(--gray); margin-top: 6px; }

/* ---------- 新闻卡片 ---------- */
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,14,26,.06); transition: all .35s; height: 100%; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(0,14,26,.14); }
.news-card .news-img { height: 200px; overflow: hidden; background: var(--light); }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-img img { transform: scale(1.07); }
.news-card .news-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .news-date { color: var(--gray); font-size: 13px; margin-bottom: 8px; }
.news-card .news-summary { color: var(--gray); font-size: 14px; line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 页面横幅 ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, #0d2c55 70%, var(--blue-dark)); color: #fff; padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(25,110,240,.25); filter: blur(60px); }
.page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 720px; margin: 0 auto; line-height: 1.8; }
@media (max-width: 768px) { .page-hero { padding: 44px 0; } .page-hero h1 { font-size: 26px; } }

/* ---------- 文章页 ---------- */
.article-wrap { max-width: 900px; margin: 0 auto; }
.article-title { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.4; }
.article-meta { color: var(--gray); font-size: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.article-content { font-size: 16px; line-height: 2; color: #333; }
.article-content img { border-radius: 8px; margin: 10px 0; }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { color: var(--navy); font-weight: 700; margin: 28px 0 14px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 10px 14px; font-size: 14px; }
.article-content th { background: var(--light); }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; margin-bottom: 24px; }
.side-card h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-left: 10px; border-left: 4px solid var(--blue); }
.side-news { display: block; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; color: #555; line-height: 1.6; }
.side-news:hover { color: var(--blue); }
.side-news:last-child { border-bottom: none; }

/* ---------- 详情页 ---------- */
.detail-hero { background: var(--light); padding: 56px 0; }
.detail-hero h1 { font-size: 40px; font-weight: 800; color: var(--navy); }
.detail-hero .sub { font-size: 20px; color: var(--blue); margin: 10px 0 16px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 12px 16px; font-size: 14px; }
.spec-table th { background: var(--navy); color: #fff; width: 180px; }
.feature-item { text-align: center; padding: 30px 20px; background: #fff; border-radius: 10px; border: 1px solid var(--border); height: 100%; transition: all .3s; }
.feature-item:hover { border-color: var(--blue); box-shadow: 0 14px 36px rgba(0,14,26,.1); }
.feature-item .f-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.feature-item h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-item p { color: var(--gray); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- 案例页 ---------- */
.case-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,14,26,.07); transition: all .3s; height: 100%; display: block; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,14,26,.15); }
.case-card .case-img { height: 190px; overflow: hidden; position: relative; background: var(--navy); }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,14,26,.25); color: #fff; font-size: 44px; transition: background .3s; }
.case-card:hover .case-play { background: rgba(0,14,26,.45); }
.case-card .case-body { padding: 16px 18px; }
.case-card h4 { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.industry-item { text-align: center; padding: 8px 6px; }
.industry-item .i-icon { width: 66px; height: 66px; margin: 0 auto 12px; border-radius: 16px; background: var(--light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 28px; transition: all .3s; }
.industry-item:hover .i-icon { background: var(--blue); color: #fff; transform: translateY(-4px); }
.industry-item h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin: 0; }

/* ---------- 技术支持页 ---------- */
.video-card { display: block; border-radius: 10px; overflow: hidden; position: relative; background: var(--navy); height: 210px; box-shadow: 0 4px 18px rgba(0,14,26,.1); transition: all .3s; }
.video-card:hover { transform: translateY(-6px); }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-card .v-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.video-card .v-play i { font-size: 46px; margin-bottom: 10px; }
.video-card .v-play span { font-size: 15px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.video-card .v-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.video-card .v-fallback i { font-size: 46px; margin-bottom: 10px; }
.video-card .v-fallback span { font-size: 15px; font-weight: 600; }
.dl-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; transition: all .3s; }
.dl-item:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(0,14,26,.08); }
.dl-item .dl-name { font-weight: 600; color: var(--navy); font-size: 15px; }
.dl-item .dl-meta { color: var(--gray); font-size: 13px; }
.dl-btn { background: var(--blue); color: #fff; padding: 8px 22px; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.dl-btn:hover { background: var(--blue-dark); color: #fff; }

/* ---------- 工单表单 ---------- */
.ticket-form { background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,14,26,.08); padding: 40px; }
.ticket-form h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.btn-submit { background: var(--blue); border: none; color: #fff; padding: 12px; font-weight: 600; border-radius: 4px; transition: all .3s; }
.btn-submit:hover { background: var(--blue-dark); color: #fff; }
.form-msg .ok { color: #0f9d58; font-size: 14px; }
.form-msg .err { color: #e5484d; font-size: 14px; }

/* ---------- 关于我们 ---------- */
.brand-cert { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 30px 18px; transition: all .3s; height: 100%; }
.brand-cert:hover { border-color: var(--blue); box-shadow: 0 14px 36px rgba(0,14,26,.1); }
.brand-cert .cert-qr { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 8px; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 56px; overflow: hidden; }
.brand-cert .cert-qr img { width: 100%; height: 100%; object-fit: cover; }
.brand-cert h4 { font-size: 18px; font-weight: 700; color: var(--navy); }
.brand-cert p { color: var(--gray); font-size: 13px; margin: 6px 0 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.65); margin-top: 0; }
.footer-title { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--blue); border-radius: 2px; }
.footer-about { font-size: 14px; line-height: 1.9; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: all .25s; }
.footer-links a:hover { color: var(--blue); padding-left: 6px; }
.footer-contact { list-style: none; font-size: 14px; }
.footer-contact li { margin-bottom: 12px; word-break: break-all; }
.qr-img { width: 110px; height: 110px; border-radius: 8px; background: #fff; }
.qr-round { border-radius: 50%; }
.qr-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 6px; }
.qr-placeholder { font-size: 44px; color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 浮动按钮 ---------- */
.float-widgets { position: fixed; right: 18px; bottom: 90px; z-index: 1500; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; border: none; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; box-shadow: 0 8px 24px rgba(25,110,240,.4); cursor: pointer; transition: all .3s; }
.float-btn i { font-size: 20px; }
.float-btn:hover { background: var(--navy); transform: scale(1.08); }

/* 电话浮动按钮：悬停横向展开为胶囊显示号码 */
.float-btn.float-phone { overflow: hidden; transition: all .3s ease; }
.float-btn.float-phone .fb-num { display: inline-block; max-width: 0; opacity: 0; font-size: 0; white-space: nowrap; letter-spacing: .5px; transition: max-width .3s ease, opacity .3s ease, font-size .3s ease, margin .3s ease; }
.float-btn.float-phone:hover { width: auto; max-width: 240px; padding: 0 20px; border-radius: 28px; transform: none; flex-direction: row; gap: 8px; background: var(--blue); }
.float-btn.float-phone:hover .fb-label { display: none; }
.float-btn.float-phone:hover .fb-num { max-width: 160px; opacity: 1; font-size: 14px; margin-left: 2px; }

/* ---------- 404 ---------- */
.notfound-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 0; }
.notfound-code { font-size: 110px; font-weight: 800; color: var(--blue); line-height: 1; }

/* ---------- 分页 ---------- */
.pagination .page-link { color: var(--navy); border-radius: 6px !important; margin: 0 4px; border: 1px solid var(--border); }
.pagination .page-item.active .page-link { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- 产品页 PDF 展示 ---------- */
.pdf-tabs { border-bottom: 2px solid #e7edf5; }
.pdf-tabs .nav-link { border: none; border-bottom: 3px solid transparent; color: var(--gray); font-weight: 600; border-radius: 0; padding: 10px 22px; margin-bottom: -2px; }
.pdf-tabs .nav-link:hover { color: var(--blue); }
.pdf-tabs .nav-link.active { color: var(--blue); border-bottom-color: var(--blue); background: transparent; }
.pdf-viewer { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 34px rgba(0,14,26,.12); background: #525659; }
.pdf-viewer iframe { display: block; width: 100%; height: 680px; border: none; }
.pdf-open-link { display: inline-block; color: var(--blue); font-weight: 600; text-decoration: none; border: 1px solid var(--blue); border-radius: 10px; padding: 10px 26px; transition: all .25s; }
.pdf-open-link:hover { background: var(--blue); color: #fff; }
.pdf-mobile-btn-wrap { text-align: center; }
.pdf-mobile-btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; border-radius: 12px; padding: 14px 30px; box-shadow: 0 8px 22px rgba(25,110,240,.32); }
.pdf-mobile-btn:active { transform: scale(.97); }

/* ---------- 产品详情图片堆叠 ---------- */
.detail-img-stack { background: #fff; }
.detail-img-stack img {
  display: block; width: 100%; margin: 0 0 18px; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,14,26,.10); cursor: zoom-in; background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.detail-img-stack img:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,14,26,.16); }
.img-zoom-tip { text-align: center; color: var(--gray); font-size: 13px; padding: 4px 0 10px; }
.img-zoom-tip i { color: var(--blue); margin-right: 4px; }

/* ---------- 图片灯箱 ---------- */
#lightboxOverlay {
  position: fixed; inset: 0; z-index: 2100; display: none;
  background: rgba(8,14,24,.93); backdrop-filter: blur(3px);
  align-items: center; justify-content: center;
}
#lightboxOverlay.show { display: flex; }
#lightboxOverlay img {
  max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0,0,0,.55); animation: lbIn .22s ease;
}
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
#lightboxOverlay .lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer;
  transition: background .2s;
}
#lightboxOverlay .lb-btn:hover { background: rgba(255,255,255,.3); }
#lightboxOverlay .lb-close { top: 20px; right: 24px; }
#lightboxOverlay .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
#lightboxOverlay .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
#lightboxOverlay .lb-counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: 1px;
  background: rgba(0,0,0,.35); border-radius: 20px; padding: 4px 16px;
}
@media (max-width: 575.98px) {
  #lightboxOverlay .lb-btn { width: 40px; height: 40px; font-size: 17px; }
  #lightboxOverlay .lb-prev { left: 8px; }
  #lightboxOverlay .lb-next { right: 8px; }
}

/* 文章正文图片可放大提示 */
.article-content img { cursor: zoom-in; }

/* ============ 2026-09-20 优化补充 ============ */

/* 表单蜜罐字段：对真人完全不可见，仅用于拦截机器人 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 小屏（iPhone SE / 12 mini 等 375px 机型）适配：
   品牌标题此前会用 20px 字号把「经销商」折成两行并断在词中间 */
@media (max-width: 575.98px) {
  .brand { gap: 8px; }
  .brand-logo { height: 38px; }
  .brand-text strong { font-size: 15px; letter-spacing: 0; line-height: 1.25; }
  .brand-text small { font-size: 11px; }

  /* 右下浮动按钮此前会压住居中正文的右侧文字：缩小并贴近边缘 */
  .float-widgets { right: 9px; bottom: 72px; gap: 8px; }
  .float-btn { width: 44px; height: 44px; font-size: 9px; opacity: .94; }
  .float-btn i { font-size: 16px; }
  .float-btn.float-phone:hover { max-width: 200px; padding: 0 14px; }
}
