/* ========================================
   HkCms 前台默认基础样式
   新网站可在此基础上扩展，或直接替换
   ======================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; height: auto; overflow-x: hidden; overflow-y: auto; width: 100%; max-width: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: #1a73e8; text-decoration: none; transition: color .2s; }
a:hover { color: #0b5ed7; text-decoration: underline; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.text-center { text-align: center; }

/* ---------- Layout ---------- */
.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.home-seo-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Header (顶部三行结构) ---------- */

/* ① 顶栏：欢迎语 + 时间 + 辅助联系 */
.site-topbar {
    background: #f5f7fa;
    border-bottom: 1px solid #e6eaf0;
    font-size: 13px;
    color: #667080;
}
.site-topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 34px;
    flex-wrap: wrap; gap: 8px;
}
.site-topbar-left, .site-topbar-right {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.site-topbar .welcome,
.site-topbar .today { display: inline-block; }
.top-link {
    color: #667080; text-decoration: none;
}
a.top-link:hover { color: #1a73e8; text-decoration: none; }

/* ② 品牌行：左LOGO + 右电话 */
.site-brand {
    background: #fff;
}
.site-brand-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 92px;
    gap: 20px;
}
.site-logo { flex: 1 1 auto; min-width: 0; }
.site-logo a { display: inline-block; text-decoration: none; line-height: 0; padding: 4px 0; }
.site-logo img {
    max-height: 68px;
    height: auto;
    width: auto;
    display: block;
}

/* 右侧电话块 */
.site-telbox {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 8px 10px 22px;
    border-left: 2px solid #eef2f7;
    flex-shrink: 0;
    line-height: 1.3;
}
.site-tel-icon {
    width: 46px; height: 46px; line-height: 46px;
    background: #eaf2fe;
    border-radius: 50%;
    text-align: center;
    flex-shrink: 0;
}
.site-tel-icon svg { vertical-align: middle; }
.site-tel-text { text-align: left; line-height: 1.3; }
.site-tel-label {
    color: #6b7280; font-size: 12px; letter-spacing: 1px;
    margin-bottom: 3px;
}
.site-tel-number {
    color: #1a73e8;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.15;
    font-family: "Arial", "Microsoft YaHei", sans-serif;
}
.site-tel-number a {
    color: #1a73e8; text-decoration: none;
}
.site-tel-number a:hover { text-decoration: underline; }

/* ③ 导航整行（sticky）：.site-navbar 设为定位父级，absolute子菜单按它覆盖全宽 */
.site-navbar {
    background: #1a56c8;
    box-shadow: 0 2px 10px rgba(10,40,90,.12);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    /* sticky 默认是定位元素，配合 isolation:isolate 保证子级 z-index 生效 */
    isolation: isolate;
}
.site-navbar-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: static;
}

/* 汉堡按钮（默认桌面隐藏） */
.site-nav-toggle {
    display: none;
    width: 44px; height: 40px;
    padding: 0; margin: 5px 0;
    border: 0; background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 4px;
}
.site-nav-toggle:hover { background: rgba(255,255,255,0.12); }
.site-nav-toggle:focus { outline: 2px solid rgba(255,255,255,0.45); outline-offset: 1px; }
.nav-icon-bar {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.site-nav-toggle.open .nav-icon-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-nav-toggle.open .nav-icon-bar:nth-child(2) {
    opacity: 0;
}
.site-nav-toggle.open .nav-icon-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
/* 导航栏内的电话：桌面端默认隐藏（电话块在品牌行右侧），768px 移动端才显示在导航栏右边 */
.site-nav-tel {
    display: none;
}

.site-nav-list {
    display: flex; flex-wrap: wrap;
    width: 100%;
}
.site-nav-item { position: relative; flex: 0 0 auto; }
.site-nav-link {
    display: block;
    padding: 0 26px;
    height: 50px; line-height: 50px;
    color: #fff;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: .5px;
    transition: background .2s, color .2s;
    position: relative;
    white-space: nowrap;
}
.site-nav-link:hover {
    background: #1346a8;
    color: #fff;
    text-decoration: none;
}
.site-nav-item.active > .site-nav-link {
    background: #0b5ed7;
    color: #fff;
    font-weight: 600;
}
.site-nav-item.active > .site-nav-link::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0; transform: translateX(-50%);
    width: 60%; height: 3px; background: #ffc94a;
}

/* 下拉子菜单 */
.site-nav-sub {
    position: absolute; top: 100%; left: 0; min-width: 200px;
    background: #fff; border: 1px solid #e6eaf0; border-top: 0;
    box-shadow: 0 10px 26px rgba(10,40,90,.1);
    padding: 6px 0; display: none; z-index: 10;
}
.site-nav-item:hover > .site-nav-sub { display: block; }
.site-nav-sub li a {
    display: block; padding: 10px 20px; color: #334; font-size: 14.5px;
    border-bottom: 1px solid #f1f3f7;
}
.site-nav-sub li:last-child > a { border-bottom: 0; }
.site-nav-sub li a:hover { background: #f2f7ff; color: #1a73e8; text-decoration: none; }
.site-nav-subsub {
    position: absolute; top: -6px; left: 100%;
    border-top: 1px solid #e6eaf0;
    min-width: 200px;
}
.site-nav-sub li { position: relative; }
.site-nav-sub li:hover > .site-nav-subsub { display: block; }

/* 移动端菜单弹出态的 active 样式（与桌面兼容，不影响桌面 display:flex 正常流式） */
.site-nav-list.active {
    display: block;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #222a35; border-top: 1px solid #eee;
    padding: 48px 0 20px; margin-top: 48px; color: #c7cdd6; font-size: 13px;
}
.footer-grid {
    display: grid; gap: 32px;
    grid-template-columns: 1.4fr 1.4fr 1fr;
    padding-bottom: 28px;
}
.footer-title {
    color: #fff; font-size: 16px; font-weight: 600;
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-desc { line-height: 1.8; color: #a6aebb; }
.footer-info li { padding: 5px 0; line-height: 1.7; }
.footer-label { color: #8b95a3; display: inline-block; min-width: 54px; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: #c7cdd6; }
.footer-links a:hover { color: #4a94f3; text-decoration: none; }
.footer-links-row { display: inline-block; margin-left: 12px; }
.footer-links-row a { color: #8b95a3; margin: 0 6px; }
.footer-links-row a:hover { color: #4a94f3; }
.site-footer-contact p { margin: 4px 0; }
.site-footer-bottom { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); color: #8b95a3; text-align:center; }
.site-footer-bottom a { color: #8b95a3; }
.site-footer-bottom a:hover { color: #4a94f3; }

/* ---------- Home ---------- */
.home-hero {
    padding: 64px 0; background: linear-gradient(135deg, #f0f6ff 0%, #fafbff 100%);
    text-align: center;
}
.home-hero-title { font-size: 32px; margin-bottom: 12px; color: #111; }
.home-hero-subtitle { font-size: 16px; color: #666; }

.home-section { padding: 48px 0; }
.section-header { margin-bottom: 24px; }
.section-title { font-size: 22px; color: #111; border-left: 4px solid #1a73e8; padding-left: 10px; }

.channel-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.channel-card {
    background: #fff; border: 1px solid #eee; border-radius: 8px;
    overflow: hidden; transition: all .25s;
}
.channel-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); border-color: #cfe0fb; }
.channel-card a { color: inherit; text-decoration: none; display: block; }
.channel-image img { width: 100%; height: 160px; object-fit: cover; display: block; }
.channel-body { padding: 16px; }
.channel-title { font-size: 16px; margin-bottom: 6px; color: #111; }
.channel-desc { font-size: 13px; color: #888; line-height: 1.5; }

.content-list { display: flex; flex-direction: column; gap: 4px; }
.content-item a {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 12px 4px; border-bottom: 1px dashed #eee; gap: 16px;
    color: #333;
}
.content-item a:hover { color: #1a73e8; text-decoration: none; }
.content-title { font-size: 15px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.content-date { font-size: 13px; color: #999; flex-shrink: 0; }
.content-desc { font-size: 13px; color: #888; margin-top: 6px; display: none; }

/* ---------- Inner page ---------- */
.page-header {
    background: #f8f9fb;
    padding: 32px 0 24px; border-bottom: 1px solid #eee;
    margin-bottom: 32px;
}
.page-title { font-size: 24px; color: #111; margin-bottom: 8px; }
.breadcrumb { font-size: 13px; color: #888; }
.breadcrumb a { color: #666; }
.breadcrumb .active { color: #1a73e8; }

.page-section { padding-bottom: 48px; }
.page-desc {
    padding: 16px 20px; background: #f0f6ff; border-left: 3px solid #1a73e8;
    border-radius: 4px; margin-bottom: 24px; color: #555;
}
.page-row {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.sub-channel-card {
    border: 1px solid #eee; border-radius: 8px; overflow: hidden;
    text-align: center; background: #fff; transition: all .25s;
}
.sub-channel-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }
.sub-channel-card a { display: block; color: inherit; text-decoration: none; padding: 24px 16px; }
.sub-channel-image { margin: -24px -16px 16px; }
.sub-channel-image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.sub-channel-title { font-size: 16px; color: #111; margin-bottom: 8px; }
.sub-channel-more { font-size: 13px; color: #1a73e8; }

/* ---------- List ---------- */
.sub-nav {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #eee;
}
.sub-nav-item {
    padding: 6px 14px; border-radius: 20px; border: 1px solid #e5e7eb;
    font-size: 14px; color: #555; background: #fff;
}
.sub-nav-item:hover { text-decoration: none; color: #1a73e8; border-color: #1a73e8; }
.sub-nav-item.active { background: #1a73e8; color: #fff; border-color: #1a73e8; }

.archive-list { display: flex; flex-direction: column; gap: 16px; }
.archive-item { border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff; transition: all .25s; }
.archive-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.06); transform: translateY(-1px); }
.archive-item > a {
    display: flex; gap: 20px; padding: 16px; color: inherit; text-decoration: none;
}
.archive-thumb { flex-shrink: 0; width: 220px; }
.archive-thumb img { width: 100%; height: 140px; object-fit: cover; border-radius: 4px; }
.archive-body { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.archive-title { font-size: 17px; color: #111; }
.archive-item:hover .archive-title { color: #1a73e8; }
.archive-meta { display: flex; gap: 16px; font-size: 13px; color: #999; }
.archive-desc { font-size: 14px; color: #666; line-height: 1.6; margin-top: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Pagination (HkCms contentpage) ---------- */
.pagination { margin-top: 32px; }
.pagination-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.pagination-block ul.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.pagination-block ul.pagination li { display: block; }
.pagination-block ul.pagination li a,
.pagination-block ul.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease;
}
.pagination-block ul.pagination li a:hover {
    color: #1a73e8;
    border-color: #1a73e8;
    background: #eef4ff;
    text-decoration: none;
}
.pagination-block ul.pagination li.active span {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(26,115,232,.3);
}
.pagination-block ul.pagination li.disabled span {
    color: #c0c4cc;
    background: #f7f8fa;
    cursor: not-allowed;
    opacity: .7;
}
.pagination_info {
    font-size: 13px;
    color: #999;
    text-align: center;
}

/* ---------- Show / Page ---------- */
.article-row { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-widget { border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.sidebar-title {
    font-size: 16px; padding: 14px 16px; background: #f8f9fb;
    border-bottom: 1px solid #eee; color: #111;
}
.sidebar-menu li a {
    display: block; padding: 10px 16px; color: #555; font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-menu li:last-child a { border-bottom: 0; }
.sidebar-menu li.active a { background: #eaf2fe; color: #1a73e8; }
.sidebar-menu li a:hover { color: #1a73e8; text-decoration: none; background: #f5f7fa; }

.article-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.article-title { font-size: 26px; color: #111; line-height: 1.4; margin-bottom: 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #888; }
.article-meta a { color: #888; }

.article-body { margin-bottom: 32px; }
.article-thumb { margin-bottom: 24px; }
.article-thumb img { border-radius: 6px; max-height: 360px; object-fit: contain; }
.article-text, .page-text { font-size: 15px; line-height: 1.8; color: #333; }
.article-text img, .page-text img { max-width: 100%; height: auto; border-radius: 4px; }
.article-text p, .page-text p { margin-bottom: 1em; }
.article-text h1, .page-text h1, .article-text h2, .page-text h2,
.article-text h3, .page-text h3, .article-text h4, .page-text h4 { margin: 1.2em 0 .6em; color: #111; }
.article-text ul, .page-text ul, .article-text ol, .page-text ol { padding-left: 1.6em; margin-bottom: 1em; }
.article-text ul, .page-text ul { list-style: disc; }
.article-text ol, .page-text ol { list-style: decimal; }

.article-page { margin: 24px 0; }

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef0f4;
}
.pn-item {
    display: block;
    padding: 14px 18px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
    background: #fff;
    word-break: break-all;
    transition: all .2s ease;
    line-height: 1.5;
}
.pn-item:hover {
    color: #1a73e8;
    border-color: #1a73e8;
    background: #f7faff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(26,115,232,.12);
}
.pn-next { text-align: right; }
.pn-label {
    color: #1a73e8;
    font-weight: 600;
    margin-right: 4px;
}
.pn-next .pn-label { color: #1a73e8; }
.pn-item.disabled {
    color: #bbb;
    background: #f7f8fa;
    cursor: not-allowed;
    border-color: #eee;
}
.pn-item.disabled .pn-label { color: #ccc; }
.pn-item.disabled:hover {
    color: #bbb;
    background: #f7f8fa;
    border-color: #eee;
    box-shadow: none;
}

.page-thumb { margin-bottom: 24px; }
.page-thumb img { max-height: 320px; object-fit: contain; border-radius: 6px; }

/* ---------- Home - Banner (Refined) ---------- */
.home-banner {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    isolation: isolate;
}
.home-banner-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.15s cubic-bezier(.2,.8,.2,1), transform 7s linear;
    background-color: #0b1d3a;
    will-change: opacity, transform;
}
/* 进出场：当前 slide 执行慢速 KenBurns 放大 */
.home-banner-slide[style*="opacity: 1"],
.home-banner-slide[style*="opacity:1"] {
    transform: scale(1.05);
}

/* 渐变遮罩 + 左侧文字阅读保护 + 底部暗化 */
.home-banner-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(90deg, rgba(6,18,48,0.78) 0%, rgba(6,18,48,0.52) 42%, rgba(6,18,48,0.22) 70%, rgba(6,18,48,0.68) 100%),
        linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
/* 装饰光束 */
.home-banner-beams {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        radial-gradient(ellipse 60% 40% at 85% 20%, rgba(26,115,232,0.28) 0%, transparent 60%),
        radial-gradient(ellipse 45% 60% at 20% 90%, rgba(0,195,255,0.18) 0%, transparent 55%);
    mix-blend-mode: screen;
}

.home-banner-text {
    position: relative;
    z-index: 2;
    height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 780px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
    animation: bannerRise 1.1s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes bannerRise {
    0% { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}
.banner-kicker {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    letter-spacing: .12em;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    color: #e9f1ff;
    text-shadow: none;
}
.home-banner-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 18px;
    letter-spacing: .5px;
    background: linear-gradient(90deg,#ffffff 0%, #d5e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 860px;
}
.home-banner-desc {
    font-size: 18px;
    line-height: 1.85;
    max-width: 660px;
    opacity: .92;
    margin: 0 0 28px;
    color: #eaf2ff;
}

/* 主按钮组 */
.banner-actions {
    display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px;
}
.btn-banner {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    font-size: 15px; font-weight: 600;
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    will-change: transform;
    text-shadow: none;
    letter-spacing: .5px;
}
.btn-banner:hover { transform: translateY(-2px); }
.btn-banner-primary {
    background: linear-gradient(135deg,#1a73e8 0%, #0051cc 100%);
    color: #fff !important;
    box-shadow: 0 10px 28px rgba(26,115,232,.45), inset 0 1px 0 rgba(255,255,255,.3);
    border: 1px solid rgba(255,255,255,.18);
}
.btn-banner-primary:hover {
    background: linear-gradient(135deg,#2e87ff 0%, #0d61df 100%);
    box-shadow: 0 14px 34px rgba(26,115,232,.55);
}
.btn-banner-ghost {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.35);
}
.btn-banner-ghost:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.6);
}

/* 信任徽章 */
.banner-badges { display: flex; flex-wrap: wrap; gap: 10px; text-shadow: none; }
.banner-badge {
    display: inline-flex; align-items: center;
    padding: 7px 14px;
    font-size: 12.5px;
    color: #d7e6ff;
    background: rgba(10,25,60,0.55);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

/* 控件：左/右箭头 + 指示器 */
.home-banner-controls {
    position: absolute;
    z-index: 3;
    left: 0; right: 0; bottom: 26px;
    display: flex; align-items: center; justify-content: center; gap: 14px;
    pointer-events: none;
}
.banner-arrow {
    pointer-events: auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.banner-arrow:hover { background: rgba(26,115,232,.8); border-color: rgba(255,255,255,.55); transform: scale(1.06); }
.banner-dots { pointer-events: auto; display: inline-flex; gap: 10px; }
.banner-dot {
    width: 32px; height: 6px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
    padding: 0;
}
.banner-dot.active {
    width: 52px;
    background: linear-gradient(90deg, #ffffff, #74b3ff);
    box-shadow: 0 0 12px rgba(116,179,255,.6);
}
.banner-dot:hover { background: rgba(255,255,255,.65); }

/* 底部进度条 */
.banner-progress {
    position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4;
    background: rgba(255,255,255,0.08);
}
.banner-progress-bar {
    width: 0%; height: 100%;
    background: linear-gradient(90deg, #1a73e8 0%, #00c6ff 100%);
    box-shadow: 0 0 14px rgba(26,115,232,.6);
}

/* ---------- Section (center style) ---------- */
.section-header.text-center { text-align: center; }
.section-title-center {
    font-size: 30px; color: #111; font-weight: 700;
    margin-bottom: 10px; position: relative;
    display: inline-block;
}
.section-title-center::after {
    content: '';
    display: block;
    width: 48px; height: 3px;
    background: #1a73e8;
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    color: #888; font-size: 15px;
    margin-bottom: 0;
}
.home-seo-intro { max-width: 980px; margin: -4px auto 32px; color: #5f6773; font-size: 15px; line-height: 1.9; text-align: center; }
.home-section { padding: 64px 0; }
.home-section:nth-child(even) { background: #f8fafd; }

.product-group-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 2px solid #eef2f7;
}
.product-group-title {
    font-size: 20px; color: #111; font-weight: 600;
    border-left: 4px solid #1a73e8; padding-left: 10px;
}
.section-more {
    color: #1a73e8; font-size: 14px;
}
.section-more:hover { text-decoration: underline; }
.product-group + .product-group { margin-top: 40px; }

/* ---------- Product Grid ---------- */
.product-grid, .case-grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}
.product-card, .case-card {
    background: #fff; border: 1px solid #eef0f3;
    border-radius: 8px; overflow: hidden;
    transition: all .25s;
}
.product-card:hover, .case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(10, 40, 90, 0.08);
    border-color: #cfe0fb;
}
.product-card a, .case-card a {
    display: block; color: inherit; text-decoration: none;
}
.product-thumb, .case-thumb, .shili-thumb {
    position: relative;
    width: 100%;
    padding-top: 62%;
    overflow: hidden;
    background: #f3f6fb;
}
.product-thumb img, .case-thumb img, .shili-thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform .4s ease;
}
.product-card:hover .product-thumb img,
.case-card:hover .case-thumb img,
.shili-card:hover .shili-thumb img { transform: scale(1.05); }
.product-thumb-ph, .case-thumb-ph, .shili-thumb-ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1a73e8 0%, #4a94f3 100%);
    color: #fff; font-weight: 600; letter-spacing: 1px; font-size: 22px;
}
.shili-thumb-ph { font-size: 28px; background: linear-gradient(135deg, #2a8a5d 0%, #4fb584 100%); }
.case-thumb-ph { background: linear-gradient(135deg, #8a4a2a 0%, #c8794a 100%); }

.product-body, .case-body { padding: 16px; }
.product-title, .case-title {
    font-size: 16px; color: #111; margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card:hover .product-title,
.case-card:hover .case-title { color: #1a73e8; }
.product-desc, .case-desc {
    font-size: 13px; color: #777; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Why us ---------- */
.why-grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
}
.why-item {
    background: #fff; border-radius: 10px; padding: 28px 24px;
    border: 1px solid #eef0f3;
    transition: all .25s;
}
.why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(26, 115, 232, 0.1);
    border-color: #cfe0fb;
}
.why-icon {
    width: 52px; height: 52px; line-height: 52px;
    background: linear-gradient(135deg, #1a73e8, #4a94f3);
    color: #fff; border-radius: 12px;
    text-align: center; font-weight: 700; font-size: 18px;
    margin-bottom: 16px;
}
.why-item h3 { font-size: 18px; color: #111; margin-bottom: 8px; }
.why-item p { font-size: 14px; color: #666; line-height: 1.7; }

/* ---------- Shili (Strength) ---------- */
.shili-row {
    display: grid; gap: 32px;
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
}
.shili-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}
.shili-card a {
    display: block; color: inherit; text-decoration: none;
    background: #fff; border: 1px solid #eef0f3;
    border-radius: 6px; overflow: hidden;
    transition: all .25s;
}
.shili-card:hover a {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: #cfe0fb;
}
/* 统一 1:1 方框 + 白底居中 contain 显示（证书/设备图不裁切） */
.shili-thumb {
    padding-top: 100% !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f3f6;
}
.shili-thumb img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    padding: 10px;
    box-sizing: border-box;
}
/* contain 模式下放大不美观，取消图片缩放（保留卡片抬升 hover） */
.shili-card:hover .shili-thumb img { transform: none; }
.shili-title {
    padding: 10px 12px; font-size: 13px; color: #333;
    text-align: center; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.shili-card:hover .shili-title { color: #1a73e8; }

.btn-more {
    display: inline-block; padding: 10px 28px;
    background: #1a73e8; color: #fff;
    border-radius: 4px; font-size: 14px;
    transition: background .2s;
}
.btn-more:hover { background: #0b5ed7; color: #fff; text-decoration: none; }

/* ---------- News ---------- */
.news-grid {
    display: grid; gap: 32px;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
}
.news-list {
    background: #fff; border: 1px solid #eef0f3;
    border-radius: 8px; padding: 4px 20px;
}
.news-item a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed #eef0f3;
    color: #333; font-size: 14px;
    gap: 16px;
}
.news-list li:last-child a { border-bottom: none; }
.news-item a:hover { color: #1a73e8; text-decoration: none; }
.news-title {
    flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    position: relative; padding-left: 14px;
}
.news-title::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 5px; height: 5px; background: #1a73e8; border-radius: 50%;
}
.news-date { color: #999; font-size: 13px; flex-shrink: 0; }

/* ---------- Product detail extras ---------- */
.product-lead {
    padding: 16px 20px;
    background: linear-gradient(135deg, #eaf2fe 0%, #f5f9ff 100%);
    border-left: 3px solid #1a73e8;
    border-radius: 4px; margin-bottom: 24px; color: #334;
    font-size: 15px; line-height: 1.8;
}
.product-attrs { margin-bottom: 20px; font-size: 14px; }
.case-meta { margin-top: 8px; color: #999; font-size: 13px; }

/* ---------- Contact page ---------- */
.contact-wrap {
    display: grid; gap: 32px;
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
}
.contact-info-box {
    background: #fff; border: 1px solid #eef0f3;
    border-radius: 10px; padding: 28px;
    position: sticky; top: 80px;
}
.contact-title {
    font-size: 20px; font-weight: 600; color: #111;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 2px solid #eef2f7;
}
.contact-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.contact-table th, .contact-table td {
    padding: 10px 8px; text-align: left;
    border-bottom: 1px dashed #eef0f3; vertical-align: top; line-height: 1.6;
}
.contact-table th { width: 88px; color: #667; font-weight: 500; }
.contact-table tr:last-child th, .contact-table tr:last-child td { border-bottom: none; }
.contact-table a { color: #1a73e8; }

/* ==========================================================
   Product Shop Layout (Left sidebar + Right content)
   ========================================================== */
.shop-row {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 24px;
    align-items: start;
}
.shop-sidebar {
    position: sticky;
    top: 72px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.shop-leftbox {
    border: 1px solid #eef2f7;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(20, 40, 80, .06);
    transition: box-shadow .25s ease;
}
.shop-leftbox:hover {
    box-shadow: 0 6px 24px rgba(20, 40, 80, .10);
}
.sidebar-title-product {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #1a73e8 0%, #2e85f5 55%, #4ea1ff 100%);
    color: #fff;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    border: none;
    border-radius: 0;
    position: relative;
    letter-spacing: 1px;
}
.sidebar-title-product::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(270deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.sidebar-title-product .bar-icon {
    display: inline-block;
    width: 4px;
    height: 14px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(255,255,255,.6);
}
.sidebar-menu-product {
    padding: 4px 0 8px;
    margin: 0;
}
.shop-lv1 {
    border-bottom: 1px solid #f1f3f7;
    position: relative;
}
.shop-lv1:last-child { border-bottom: 0; }
.shop-lv1 > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all .25s ease;
    position: relative;
}
.shop-lv1 > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background: #1a73e8;
    border-radius: 0 2px 2px 0;
    transition: width .25s ease;
}
.shop-lv1 > a .arrow { color: #c8cfd8; font-size: 18px; line-height: 1; font-weight: 400; transition: transform .25s; }
.shop-lv1:hover > a { background: #f4f8ff; color: #1a73e8; }
.shop-lv1:hover > a::before { width: 3px; }
.shop-lv1:hover > a .arrow { color: #1a73e8; transform: translateX(2px); }
.shop-lv1.active > a {
    background: linear-gradient(90deg, #eaf2fe 0%, #f4f8ff 100%);
    color: #1a73e8;
    font-weight: 600;
}
.shop-lv1.active > a::before { width: 3px; }
.shop-lv1.active > a .arrow { color: #1a73e8; }
.shop-lv2 {
    background: #fafcff;
    padding: 2px 0 8px;
    margin: 0;
    border-top: 1px dashed #eaf0f6;
}
.shop-lv2 li {
    position: relative;
}
.shop-lv2 li a {
    display: block;
    padding: 8px 18px 8px 38px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all .2s;
    position: relative;
}
.shop-lv2 li a::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c8d3e0;
    transition: all .25s ease;
}
.shop-lv2 li a:hover { color: #1a73e8; background: rgba(26,115,232,.04); }
.shop-lv2 li a:hover::before { background: #1a73e8; transform: translateY(-50%) scale(1.4); }
.shop-lv2 li.active a { color: #1a73e8; font-weight: 600; }
.shop-lv2 li.active a::before { background: #1a73e8; transform: translateY(-50%) scale(1.6); box-shadow: 0 0 0 3px rgba(26,115,232,.15); }

/* Sidebar contact block */
.shop-contact {
    border: 1px solid #eef2f7;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(20, 40, 80, .06);
    transition: box-shadow .25s ease;
    margin-top: 0;
}
.shop-contact:hover {
    box-shadow: 0 6px 24px rgba(20, 40, 80, .10);
}
.shop-contact-body {
    padding: 16px 18px;
    font-size: 13px;
    color: #555;
    line-height: 1.9;
}
.shop-contact-company {
    font-size: 14px;
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #dce6f4;
    display: flex;
    align-items: center;
    gap: 6px;
}
.shop-contact-company::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #1a73e8;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(26,115,232,.18);
}
.shop-contact-body ul { margin: 0; }
.shop-contact-body li {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
    align-items: flex-start;
    padding: 4px 0;
    border-bottom: 1px dotted #f1f5fb;
}
.shop-contact-body li:last-child { border-bottom: 0; }
.shop-contact-body .label { color: #889; flex-shrink: 0; }
.shop-contact-body .value { color: #334; flex: 1; }
.shop-contact-body .value.hotline {
    color: #e33002;
    font-weight: 700;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    letter-spacing: .5px;
}
.shop-contact-body .contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}
.shop-contact-body .contact-list li {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
    align-items: flex-start;
    padding: 4px 0;
    border-bottom: 1px dotted #f1f5fb;
    line-height: 1.7;
}
.shop-contact-body .contact-list li:last-child { border-bottom: 0; }
.shop-contact-body .contact-list .li-block {
    display: block !important;
    padding: 6px 0 4px 0;
}
.shop-contact-body .contact-list .li-block .label {
    display: block;
    margin-bottom: 2px;
}
.shop-contact-body .contact-list .li-block .value {
    display: block;
    padding-left: 0;
}
.shop-contact-body .contact-list .label {
    color: #889;
    flex-shrink: 0;
    min-width: 52px;
}
.shop-contact-body .contact-list .value {
    color: #334;
    flex: 1;
    word-break: break-all;
}

/* 驻外办事处 */
.contact-branches {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #e5ebf2;
}
.contact-branches-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a73e8;
    margin: 0 0 8px;
    padding-left: 10px;
    position: relative;
    line-height: 1.4;
}
.contact-branches-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 3px;
    height: 12px;
    background: #1a73e8;
    border-radius: 2px;
}
.contact-branches-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-branches-list li {
    display: flex;
    gap: 4px;
    padding: 4px 0;
    font-size: 12.5px;
    line-height: 1.7;
    border-bottom: 1px dotted #f1f5fb;
}
.contact-branches-list li:last-child { border-bottom: 0; }
.contact-branches-list .branch-name {
    color: #667;
    flex-shrink: 0;
    min-width: 44px;
}
.contact-branches-list .branch-phone {
    color: #334;
    flex: 1;
}

/* --- Shop content header --- */
.shop-content { min-width: 0; }
.shop-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5ebf2;
}
.shop-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
    position: relative;
    padding-left: 14px;
    letter-spacing: .5px;
}
.shop-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(180deg, #1a73e8 0%, #4ea1ff 100%);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(26,115,232,.3);
}
.shop-pn {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    margin-bottom: 20px;
}

/* --- Product grid for shop (3 columns, tighter) --- */
.product-grid-shop {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.product-card-shop {
    border: 1px solid #e5ebf2;
    border-radius: 10px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    overflow: hidden;
}
.product-card-shop:hover {
    transform: translateY(-4px);
    border-color: #1a73e8;
    box-shadow: 0 12px 32px rgba(26, 115, 232, .16);
}
.product-thumb-shop {
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #f5f8fc 0%, #eaf2fe 100%);
    overflow: hidden;
    position: relative;
}
.product-thumb-shop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    display: block;
}
.product-card-shop:hover .product-thumb-shop img {
    transform: scale(1.06);
}
.product-body-shop {
    padding: 12px 14px 16px;
    text-align: center;
}
.product-title-shop {
    font-size: 14px;
    line-height: 1.4;
    display: block;
    color: #333;
    margin: 0;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.8em;
}
.product-card-shop:hover .product-title-shop { color: #1a73e8; }

/* --- Product detail --- */
.product-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 8px;
    margin-bottom: 24px;
}
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.product-bigimg {
    width: 100%;
    background: #f8fafd;
    border: 1px solid #eef2f7;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-bigimg a { display: block; width: 100%; height: 100%; }
.product-bigimg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 12px;
}
.product-big-ph {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 0;
    background: linear-gradient(135deg, #c0d1ee 0%, #e0eaff 100%);
    color: #fff;
}
.product-big-ph span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}
.product-thumbs {
    width: 100%;
}
.thumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}
.thumb-item {
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: all .2s;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    background: #fafbfe;
}
.thumb-item.thumb-active {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, .12);
}
.thumb-item:hover { border-color: #9cc0fa; }

/* Product info block (right side) */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.info-list {
    border: 1px solid #e5ebf2;
    border-radius: 6px;
    overflow: hidden;
    margin: 0;
}
.info-list li {
    padding: 14px 16px;
    border-bottom: 1px dashed #e5ebf2;
}
.info-list li:last-child { border-bottom: 0; }
.info-name {
    background: linear-gradient(90deg, #f4f8ff 0%, #fff 100%);
}
.info-name h1 {
    font-size: 18px;
    color: #0f6b22;
    line-height: 1.5;
    margin: 0;
    font-weight: 700;
    word-break: break-all;
}
.info-cate h2 {
    font-size: 15px;
    color: #0f6b22;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
    word-break: break-all;
}
.info-cate a {
    color: #0f6b22;
    text-decoration: none;
}

.consult-title {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 0 12px;
    border-bottom: 1px solid #e5ebf2;
}
.consult-title span {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: #fff;
    padding-right: 10px;
    color: #1a73e8;
    font-weight: 600;
    font-size: 15px;
}
.consult-title em {
    position: absolute;
    left: 0; right: 0;
    top: 14px;
    height: 1px;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'><path d='M0,10 h10 l2,-5 l4,8 l4,-8 l4,8 l4,-5 l12,0' fill='none' stroke='%231a73e8' stroke-width='1.2'/></svg>") repeat-x;
    opacity: .7;
}
.consult-form { margin: 0; }
.consult-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}
.consult-input, .consult-textarea {
    width: 100%;
    display: block;
    padding: 10px 12px;
    border: 1px solid #d7dee8;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: #333;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.consult-input:focus, .consult-textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, .12);
}
.consult-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}
.consult-submit-row { display: flex; justify-content: center; padding-top: 4px; }
.consult-submit-btn {
    width: 160px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #1a73e8, #2e85f5);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 10px rgba(26, 115, 232, .25);
}
.consult-submit-btn:hover {
    background: linear-gradient(135deg, #0f66d7, #1a73e8);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(26, 115, 232, .32);
}

/* Product detail body */
.product-detail-block {
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 8px;
    overflow: hidden;
}
.detail-title {
    background: #f7faff;
    padding: 12px 20px;
    border-bottom: 1px solid #e5ebf2;
}
.detail-title h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin: 0;
}
.detail-title h3 .bar-icon {
    display: inline-block;
    width: 4px;
    height: 14px;
    background: #1a73e8;
    border-radius: 2px;
}
.detail-body {
    padding: 20px 24px 24px;
}
.detail-body.article-text {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}
/* 技术方案 / 技术参数表格：统一加边框（仅限产品详情正文区，避免影响侧边栏/联系我们表格） */
.detail-body.article-text table {
    width: 100%;
    max-width: 100%;
    margin: 14px 0 22px;
    border-collapse: collapse;
    border: 1px solid #d8dfe9;
    background: #fff;
    font-size: 14px;
    line-height: 1.75;
    color: #334;
    table-layout: fixed;
    word-break: break-word;
}
.detail-body.article-text thead th,
.detail-body.article-text th,
.detail-body.article-text tbody td,
.detail-body.article-text td {
    border: 1px solid #d8dfe9;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.detail-body.article-text thead th,
.detail-body.article-text th {
    background: #f4f7fc;
    color: #1f2a44;
    font-weight: 600;
    white-space: nowrap;
}
.detail-body.article-text tr:nth-child(even) td {
    background: #fbfcfe;
}
/* 正文区常见容器：table 超宽时，包在 article-section 里允许横向滚动（避免撑破布局） */
.detail-body.article-text .article-section,
.detail-body.article-text .p-section {
    overflow-x: auto;
}

@media (max-width: 992px) {
    .contact-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    /* --- Shop: sidebar above content --- */
    .shop-row { grid-template-columns: 1fr; gap: 20px; }
    .shop-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    .shop-leftbox { flex: 1 1 260px; }
    .product-grid-shop { grid-template-columns: repeat(2, 1fr); }
    .product-main { grid-template-columns: 1fr; }
    .product-info { order: 2; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 20px; }
    .site-topbar-left{padding-left: 10px;}
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .home-banner, .home-banner-text { height: 420px; }
    .home-banner-title { font-size: 32px; }
    .home-banner-desc { font-size: 15px; max-width: 520px; }
    .banner-actions .btn-banner { padding: 12px 20px; font-size: 14px; }
    .banner-badges .banner-badge { font-size: 11.5px; padding: 6px 10px; }
    .home-banner-controls { bottom: 18px; gap: 10px; }
    .banner-arrow { width: 36px; height: 36px; }
    .product-grid, .case-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .shili-row, .news-grid { grid-template-columns: 1fr; }
    .shili-grid { grid-template-columns: repeat(3, 1fr); }
    /* 平板适配：LOGO缩小，电话块靠右 */
    .site-logo img { max-height: 64px; }
    .site-brand-inner { min-height: 84px; gap: 20px; }
    .site-tel-number { font-size: 22px; }
}
@media (max-width: 768px) {
    .home-section { padding: 40px 0; }
    .section-title-center { font-size: 24px; }
    .home-banner, .home-banner-text { height: 360px; }
    .home-banner-title { font-size: 24px; letter-spacing: 0; -webkit-text-fill-color: #fff; background: none; }
    .home-banner-desc { font-size: 13.5px; line-height: 1.65; margin-bottom: 16px; }
    .banner-kicker { font-size: 11.5px; padding: 5px 10px; letter-spacing: .08em; margin-bottom: 10px; }
    .banner-actions { gap: 10px; margin-bottom: 14px; }
    .banner-actions .btn-banner { padding: 10px 16px; font-size: 13px; border-radius: 8px; }
    .banner-badges { display: none; } /* 移动端隐藏徽章，保阅读 */
    .home-banner-controls { bottom: 12px; }
    .banner-arrow { display: none; }
    .banner-dot { width: 22px; height: 4px; }
    .banner-dot.active { width: 38px; }
    .product-grid, .case-grid, .why-grid { grid-template-columns: 1fr; }
    .shili-grid { grid-template-columns: repeat(2, 1fr); }
    .why-item { padding: 20px 16px; }
    .site-footer-bottom { font-size: 12px; }
    /* 移动端顶栏、品牌行自适应 */
    .site-topbar-inner { padding: 6px 0; }
    .site-topbar-right { display: none; }
    /* ① 要求1：顶栏日期隐藏，只留欢迎语一行 */
    .site-topbar .today { display: none; }
    .site-topbar .welcome {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    /* ② 要求2：品牌行 LOGO 居中；品牌行原来的 .site-telbox 隐藏（电话移到导航里） */
    .site-brand-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 14px 0;
        min-height: 0;
    }
    .site-logo {
        flex: 0 1 auto;
        width: 100%;
        text-align: center;
        align-self: center;
    }
    .site-logo a { display: inline-block; }
    .site-logo img { max-height: 56px; margin: 0 auto; display: inline-block; }
    .site-telbox {
        display: none;
    }

    /* ---- 移动端导航：汉堡按钮 + 右边电话 + 下方弹出菜单 ---- */
    .site-navbar {
        position: static;
        width: 100%;
    }
    .site-navbar-inner {
        min-height: 50px;
        display: flex;
        flex-wrap: wrap;     /* 允许第二行（.site-nav-list 弹出时占满） */
        align-items: center;
        justify-content: space-between;  /* 左汉堡 右电话 */
    }
    /* 左边汉堡按钮 */
    .site-nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }
    /* ③ 要求3：导航右边显示联系电话 */
    .site-nav-tel {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-left: auto;
        padding: 4px 6px;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        flex: 0 0 auto;
        border-radius: 4px;
    }
    .site-nav-tel:active {
        background: rgba(255,255,255,0.15);
    }
    .site-nav-tel svg {
        display: block;
        flex-shrink: 0;
    }
    .site-nav-tel span {
        letter-spacing: .3px;
        font-family: Arial, "Microsoft YaHei", sans-serif;
    }
    /* 菜单默认隐藏：占满 .site-navbar-inner 第二行，宽度自动等于容器 */
    .site-nav-list {
        display: none;
        position: relative;
        flex: 1 0 100%;        /* 强制占满一行 */
        order: 99;             /* 放在按钮之后（第二行） */
        background: #1a56c8;
        border-top: 1px solid rgba(255,255,255,0.15);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        padding: 4px 0 8px;
        margin: 0;
        flex-direction: column;
    }
    /* 弹出状态：显示为竖排菜单 */
    .site-nav-list.active {
        display: flex;
    }
    .site-nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .site-nav-item:last-child { border-bottom: 0; }
    .site-nav-link {
        height: auto;
        line-height: 1.5;
        padding: 12px 20px;
        font-size: 15px;
        white-space: normal;
    }
    .site-nav-item.active > .site-nav-link::after { display: none; }
    /* 移动端：下拉子菜单默认隐藏，通过 .sub-open 展开 */
    .site-nav-sub, .site-nav-subsub {
        position: static;
        box-shadow: none;
        border: 0;
        display: none;
        background: #1346a8;
        padding: 0;
        min-width: 0;
    }
    .site-nav-sub li a {
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: #e7efff;
        padding: 10px 20px 10px 36px;
    }
    .site-nav-sub li a:hover { background: #0f3e94; color: #fff; }
    .site-nav-item.sub-open > .site-nav-sub,
    .site-nav-sub li.sub-open > .site-nav-subsub {
        display: block;
    }

    .article-row { grid-template-columns: 1fr; gap: 24px; }
    .article-sidebar { position: static; }
    .archive-item > a { flex-direction: column; gap: 12px; }
    .archive-thumb { width: 100%; }
    .archive-thumb img { height: 200px; }
    .article-nav { grid-template-columns: 1fr; }
    .pn-next { text-align: left; }
    .home-hero { padding: 40px 0; }
    .home-hero-title { font-size: 24px; }

    /* ---- Pagination mobile ---- */
    .pagination-block { gap: 10px; }
    .pagination-block ul.pagination { gap: 4px; }
    .pagination-block ul.pagination li a,
    .pagination-block ul.pagination li span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
        border-radius: 5px;
    }
    .pagination-block ul.pagination li:first-child span,
    .pagination-block ul.pagination li:last-child span,
    .pagination-block ul.pagination li:first-child a,
    .pagination-block ul.pagination li:last-child a {
        min-width: auto;
        padding: 0 10px;
    }
    .article-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .pn-next { text-align: left; }
    .pn-item { padding: 12px 14px; font-size: 13px; }

    /* ---- Product shop mobile ---- */
    .shop-sidebar { flex-direction: column; gap: 16px; }
    .shop-leftbox { flex: 1 1 100%; }
    .product-grid-shop, .product-main { grid-template-columns: 1fr; }
    .product-thumb-shop { padding-top: 100%; }
    .product-bigimg { aspect-ratio: 1 / 1; }
    .thumb-item { width: 60px; height: 60px; }
    .info-name h1 { font-size: 16px; }
    .shop-title { font-size: 17px; }
    .detail-body { padding: 16px; }
    .product-main { padding: 16px; gap: 20px; }
}

/* ==========================================================
   荣誉证书墙：网格 / 卡片悬浮放大 / 灯箱大图预览
   ========================================================== */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 24px;
    padding: 6px 0 16px;
}
.honor-card {
    margin: 0;
    padding: 12px 12px 14px;
    background: #ffffff;
    border: 1px solid #e6eaf1;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(20, 40, 80, 0.05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
    cursor: zoom-in;
    display: flex;
    flex-direction: column;
}
.honor-card:hover {
    transform: translateY(-4px);
    border-color: #c9a45a;
    box-shadow: 0 14px 30px rgba(160, 120, 40, 0.18);
}
.honor-thumb {
    position: relative;
    width: 100%;
    padding-top: 72%;
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 0 12px;
}
.honor-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    transition: transform .45s ease;
    background: #fff;
}
.honor-card:hover .honor-thumb img {
    transform: scale(1.08);
}
.honor-ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #a0792a 0%, #d6b261 100%);
    color: #fff; letter-spacing: 4px; font-weight: 600;
}
.honor-zoom-ico {
    position: absolute;
    right: 10px; bottom: 10px;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    background: rgba(28, 36, 60, 0.6);
    border-radius: 50%;
    backdrop-filter: blur(2px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
    pointer-events: none;
}
.honor-card:hover .honor-zoom-ico,
.honor-card:focus-within .honor-zoom-ico {
    opacity: 1;
    transform: translateY(0);
    background: rgba(201, 164, 90, 0.92);
}
.honor-title {
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3449;
    font-weight: 500;
    padding: 0 4px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.honor-title-link {
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.honor-title-link:hover { color: #a0792a; text-decoration: underline; }

/* ---------- 灯箱：遮罩 + 居中大图 ---------- */
.honor-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 4vh 4vw;
}
.honor-lightbox-mask {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.72);
    backdrop-filter: blur(3px);
}
.honor-lightbox-dialog {
    position: relative;
    max-width: min(92vw, 1200px);
    max-height: 92vh;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: honor-pop .22s ease-out both;
}
@keyframes honor-pop {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.honor-close {
    position: absolute;
    top: 10px; right: 12px;
    z-index: 2;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 28px; line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.honor-close:hover {
    transform: rotate(90deg);
    background: #c9a45a;
    color: #fff;
}
.honor-lightbox-stage {
    flex: 1 1 auto;
    background: #f5f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: auto;
    min-height: 0;
}
.honor-lightbox-img {
    max-width: 100%;
    max-height: calc(92vh - 130px);
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 6px 30px rgba(20, 40, 80, 0.15);
    background: #fff;
}
.honor-lightbox-caption {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px 16px;
    background: #fff;
    border-top: 1px solid #eceff4;
}
.honor-lightbox-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3449;
    letter-spacing: .3px;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.honor-lightbox-detail {
    flex: 0 0 auto;
    color: #a0792a;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #e8d3a2;
    padding: 7px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg,#fff9ec 0%, #fff5e0 100%);
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.honor-lightbox-detail:hover {
    color: #fff;
    background: #c9a45a;
    border-color: #c9a45a;
    transform: translateY(-1px);
}

/* ---------- 响应式：证书网格 & 灯箱 ---------- */
@media (max-width: 1200px) {
    .honor-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
    .honor-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .honor-thumb { padding-top: 74%; }
    .honor-title { font-size: 13px; min-height: 38px; }
    .honor-zoom-ico { opacity: .92; transform: translateY(0); background: rgba(201, 164, 90, 0.9); }
    .honor-lightbox { padding: 0; }
    .honor-lightbox-dialog { max-width: 100%; max-height: 100vh; border-radius: 0; }
    .honor-lightbox-stage { padding: 18px; }
    .honor-lightbox-img { max-height: calc(100vh - 140px); }
    .honor-lightbox-caption { flex-direction: column; align-items: stretch; padding: 12px 16px 14px; }
    .honor-lightbox-title { max-width: 100%; white-space: normal; text-align: center; }
    .honor-lightbox-detail { text-align: center; }
}
@media (max-width: 520px) {
    .honor-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .honor-card { padding: 10px 10px 12px; }
}
