:root {
    /* 深海工业配色：主色深海蓝 + 海洋青点缀，专业沉稳 */
    --primary: #0B2545;
    --primary-dark: #081A30;
    --primary-2: #13315C;
    --accent: #1A9FB4;
    --accent-dark: #147E8F;
    --accent-light: #E6F6F8;
    --gold: #C9A24B;
    --text: #1C2B3A;
    --muted: #6B7A8A;
    --bg-soft: #F5F8FB;
    --bg-deep: #EEF3F8;
    --border: #E3EAF1;
    --shadow-sm: 0 1px 3px rgba(11,37,69,.06), 0 1px 2px rgba(11,37,69,.04);
    --shadow-md: 0 4px 14px rgba(11,37,69,.08), 0 2px 4px rgba(11,37,69,.04);
    --shadow-lg: 0 12px 32px rgba(11,37,69,.12), 0 4px 8px rgba(11,37,69,.06);
    --radius: 12px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--primary-dark); }

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: .01em;
}

body > footer { margin-top: auto; }

h1,h2,h3,h4,h5,h6 { font-weight: 700; letter-spacing: -0.01em; }

img { max-width: 100%; display: block; }

a { text-decoration: none; color: var(--primary); transition: color .2s; }
a:hover { color: var(--accent); }

/* 顶部联系条 */
.topbar {
    background: var(--primary-dark);
    color: #cfe1f0;
    font-size: 13px;
    padding: 6px 0;
}
.topbar-info span { margin-right: 4px; }

/* 顶部联系条：公司介绍 PDF 入口（邮箱之后）。bootstrap-icons 字体图标，透明底，
   颜色随顶条文字，与电话/邮箱图标风格一致 */
.pdf-link { display: inline-flex; align-items: center; gap: 2px; color: #cfe1f0; }
.pdf-link i { font-size: 14px; }
.pdf-link:hover { color: #fff; }

/* 主导航 */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 12px rgba(10, 77, 140, .08);
    padding: 10px 0;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; max-width: 55%; min-width: 0; }
.brand-logo { height: 40px; flex-shrink: 0; }
.brand-name {
    font-size: clamp(14px, 1.6vw, 20px); font-weight: 700; color: var(--primary); letter-spacing: 1px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 50vw; flex-shrink: 0;
}
.main-nav .navbar-collapse { flex-grow: 1; justify-content: flex-end; }
.main-nav .navbar-nav { flex-wrap: nowrap; }
.main-nav .nav-link {
    color: var(--text); font-weight: 500; padding: 10px clamp(8px, 1.1vw, 16px) !important;
    position: relative; white-space: nowrap;
    transition: color .25s;
}
/* 底部下划线：默认隐藏，hover 时从中心向两侧展开，当前页常驻 */
.main-nav .nav-link::after {
    content: ""; position: absolute; left: clamp(8px,1.1vw,16px); right: clamp(8px,1.1vw,16px); bottom: 2px;
    height: 3px; background: var(--accent); border-radius: 2px;
    transform: scaleX(0); transform-origin: center; transition: transform .3s ease;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active {
    color: var(--primary);
}
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* 通用区块 */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-title {
    text-align: center; margin-bottom: 48px;
}
.section-title h2 {
    font-size: 34px; font-weight: 700; color: var(--text); margin: 0 0 10px;
    position: relative; display: inline-block; letter-spacing: -0.02em;
}
.section-title h2::after {
    content: ""; display: block; width: 48px; height: 3px; margin: 14px auto 0;
    background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 2px;
}
.section-title p { color: var(--accent); font-size: 13px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: 3px; font-weight: 600; }

/* 轮播 */
.hero-carousel .carousel-item { height: clamp(460px, 70vh, 760px); position: relative; overflow: hidden; }
.hero-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* 渐变转场（fade）：过渡项绝对定位以重叠，淡入更柔和 */
.hero-carousel.carousel-fade .carousel-item { transition: opacity 1s ease-in-out; }
.hero-carousel.carousel-fade .carousel-item-next,
.hero-carousel.carousel-fade .carousel-item-prev { position: absolute; top: 0; left: 0; width: 100%; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(7,57,104,.62) 0%, rgba(7,57,104,.25) 55%, rgba(7,57,104,0) 100%);
}
.hero-caption {
    position: absolute; left: 8%; top: 50%; transform: translateY(-50%);
    z-index: 2; max-width: clamp(280px, 60vw, 820px);
}
.hero-caption h2 {
    color: #fff; font-size: clamp(24px, 3.4vw, 40px); font-weight: 800;
    line-height: 1.3; margin: 0 0 24px; letter-spacing: 1px;
    text-shadow: 0 2px 14px rgba(0,0,0,.45);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.btn-hero {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent); color: #fff; padding: 12px 30px;
    border-radius: 4px; font-weight: 500; font-size: 15px; transition: all .25s;
}
.btn-hero:hover { background: #fff; color: var(--primary); transform: translateX(4px); }
/* 底部轮播白条（carousel-indicators）已按需求从模板移除，样式同步删除 */
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon { width: 2.4rem; height: 2.4rem; }
.carousel-item.active .hero-caption { animation: heroInLeft .8s ease both; }
@keyframes heroInLeft {
    from { opacity: 0; transform: translateY(-50%) translateX(-40px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@media (max-width: 768px) {
    .hero-carousel .carousel-item { height: 56vh; min-height: 320px; }
    .hero-caption { left: 6%; max-width: 88%; }
    .hero-caption h2 { letter-spacing: 1px; margin-bottom: 18px; }
}

/* 轮播底部分公司快捷条 */
.hero-bottombar {
    position: relative;
    z-index: 5;
    margin-top: -56px;
    background: linear-gradient(to top, rgba(7,57,104,.95), rgba(7,57,104,.55));
    padding: 12px 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,.1);
}
.hero-bottombar-inner { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 8px; }
.hero-bottombar-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: 13px; min-width: 70px; transition: transform .2s; }
.hero-bottombar-item i { font-size: 20px; color: var(--accent); }
.hero-bottombar-item:hover { transform: translateY(-3px); color: #fff; }
.hero-bottombar-item:hover i { color: #fff; }
@media (max-width: 768px) {
    .hero-bottombar { margin-top: -48px; }
    .hero-bottombar-item { min-width: 60px; font-size: 12px; }
}

/* 卡片 */
.card-portal {
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    background: #fff; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; height: 100%;
    box-shadow: var(--shadow-sm);
}
.card-portal:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-lg);
}
.card-portal .card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-deep); }
.card-portal .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card-portal:hover .card-img img { transform: scale(1.08); }
.card-portal .card-body { padding: 20px; }
.card-portal .card-title {
    font-size: 17px; font-weight: 600; margin-bottom: 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-portal .card-text { color: var(--muted); font-size: 14px; line-height: 1.6; }
.card-portal .card-meta { color: var(--muted); font-size: 13px; margin-top: 10px; }
.card-portal .card-more {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
    color: var(--primary); font-size: 13px; font-weight: 600; opacity: 0; transform: translateX(-6px);
    transition: all .3s;
}
.card-portal:hover .card-more { opacity: 1; transform: translateX(0); }
.card-portal .badge-corner {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 20px; letter-spacing: .5px;
}
.card-portal .badge-corner.gold { background: var(--gold); }

/* 业务图标网格 */
.service-icon-box {
    text-align: center; padding: 32px 20px; border-radius: 10px;
    background: #fff; border: 1px solid var(--border); height: 100%;
    transition: all .25s;
}
.service-icon-box:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(10, 77, 140, .12);
}
.service-icon-box i {
    font-size: 34px; color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    width: 70px; height: 70px; border-radius: 50%;
    background: var(--accent-light); transition: all .25s;
}
.service-icon-box:hover i {
    color: #fff; background: var(--accent); transform: scale(1.06);
}
/* 图片图标：圆底放在外层 span 上，反白滤镜只作用于 img 本身；
   否则 filter 会连 img 的背景色一起反色，导致 hover 时白底白图标“消失” */
.service-icon-box .svc-icon-circle {
    width: 70px; height: 70px; border-radius: 50%;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto; transition: all .25s;
}
.service-icon-box .svc-icon-circle img {
    width: 42px; height: 42px; object-fit: contain; display: block;
}
.service-icon-box:hover .svc-icon-circle {
    background: var(--accent); transform: scale(1.06);
}
.service-icon-box:hover .svc-icon-circle img {
    filter: brightness(0) invert(1);
}
.service-icon-box h5 { margin: 16px 0 8px; font-size: 18px; transition: color .25s; }
.service-icon-box:hover h5 { color: var(--primary); }
.service-icon-box p { transition: color .25s; }

/* 页面横幅 */
.page-banner {
    height: 240px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 60%, var(--primary-dark) 100%);
    display: flex; align-items: center; justify-content: center; color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.page-banner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(26,159,180,.2), transparent 50%);
}
.page-banner > div { position: relative; z-index: 1; }
.page-banner h1 { font-size: 36px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.page-banner nav { font-size: 14px; opacity: .9; margin-top: 8px; }
.page-banner nav a { color: #fff; }

/* 列表分类标签 */
.filter-bar { margin-bottom: 30px; }
.filter-bar a {
    display: inline-block; padding: 6px 18px; margin: 0 6px 8px 0;
    border: 1px solid var(--border); border-radius: 20px; color: var(--text); font-size: 14px;
}
.filter-bar a.active, .filter-bar a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px; }
.filter-sort select {
    padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px;
    background: #fff; color: var(--text); font-size: 14px; cursor: pointer; outline: none;
}
.filter-sort select:focus { border-color: var(--primary); }

/* 详情页 */
.detail-head { border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 24px; }
.detail-head h1 { font-size: 26px; font-weight: 700; }
.detail-meta { color: var(--muted); font-size: 14px; margin-top: 10px; }
.detail-meta span { margin-right: 18px; }
.detail-content { font-size: 15px; line-height: 2; }
.detail-content p { margin-bottom: 16px; }
.detail-content img { max-width: 100%; border-radius: 6px; }
.detail-content h2, .detail-content h3 { margin: 24px 0 12px; }

/* 分页 */
.pagination-portal { margin-top: 40px; justify-content: center; }
.pagination-portal .page-link { color: var(--primary); border: 1px solid var(--border); }
.pagination-portal .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* 联系页 */
.contact-card { border: 1px solid var(--border); border-radius: 10px; padding: 30px; height: 100%; }
.contact-card h4 { color: var(--primary); margin-bottom: 18px; }
.contact-card dl { margin-bottom: 6px; }
.contact-card dt { color: var(--muted); width: 90px; }
.contact-card dd { margin-bottom: 10px; }
.contact-map { position: relative; height: 300px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 留言软提醒 toast */
.msg-toast {
    position: fixed; top: 240px; left: 50%; transform: translateX(-50%) translateY(-20px);
    z-index: 1080; display: flex; align-items: center; gap: 10px;
    background: #fff; color: var(--text); padding: 14px 24px; border-radius: 10px;
    box-shadow: 0 12px 30px rgba(10,77,140,.18); border: 1px solid var(--border);
    border-left: 4px solid var(--accent); font-size: 15px;
    opacity: 0; visibility: hidden; transition: all .4s ease;
}
.msg-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.msg-toast i { color: var(--accent); font-size: 20px; }
.msg-toast.error { border-left-color: #d93026; }
.msg-toast.error i { color: #d93026; }

/* 表单逐字段校验提示（配合 Bootstrap is-invalid） */
.contact-card .invalid-feedback { display: none; font-size: 13px; }
.contact-card .form-control.is-invalid ~ .invalid-feedback,
.contact-card .form-control.is-invalid + .invalid-feedback { display: block; }

/* 提交按钮加载态 */
.btn-primary-portal .btn-spinner { display: none; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px;
    border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%;
    animation: btn-spin .7s linear infinite; }
.btn-primary-portal.loading .btn-spinner { display: inline-block; }
.btn-primary-portal.loading { opacity: .75; pointer-events: none; transform: none; box-shadow: none; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .btn-primary-portal .btn-spinner { animation-duration: 1.6s; }
}

/* 底部 */
footer { background: var(--primary-dark); color: #b8c4d0; }
.footer-main { padding: 60px 0 40px; }
@media (min-width: 992px) {
    .footer-brand-col { flex: 0 0 360px; max-width: 360px; padding-right: 96px; }
    .footer-links-col { padding-left: 48px; }
}
.footer-title { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; white-space: nowrap; }
.footer-slogan { color: #93a3b3; font-size: 13px; line-height: 1.8; margin: 12px 0 16px; }
.footer-intro { font-size: 14px; line-height: 1.9; color: #93a3b3; }
.footer-intro p { margin-bottom: 10px; }
.footer-intro p:last-child { margin-bottom: 0; }
.footer-intro span { background: transparent !important; color: inherit !important; font-size: 14px !important; }
.detail-content span { background: transparent !important; color: inherit !important; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 12px; font-size: 15px; line-height: 1.6; }
.footer-contact li i { color: var(--accent); margin-right: 8px; font-size: 16px; }
.footer-contact li a { color: #e8eef5; font-size: 16px; font-weight: 600; transition: color .2s; }
.footer-contact li a:hover { color: var(--accent); }
.footer-contact li span { color: #c0ccd9; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 1; }
.friend-links { columns: 1; }
.friend-logo { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; margin-right: 8px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #b8c4d0; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #2c3e50; padding: 16px 0; font-size: 13px; }
.footer-bottom .icp-link {
    color: #b8c4d0; display: inline-block; text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}
.footer-bottom .icp-link:hover,
.footer-bottom .icp-link:focus {
    color: #5ec6d6; transform: translateY(-1px);
}

/* 通用工具 */
.text-truncate-2 {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-primary-portal {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: none; border-radius: var(--radius-sm); color: #fff;
    font-weight: 600; letter-spacing: .5px; transition: all .3s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 4px 14px rgba(11,37,69,.2);
}
.btn-primary-portal:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,37,69,.3); }
.btn-outline-primary-portal {
    background: transparent; border: 1.5px solid var(--primary); color: var(--primary);
    border-radius: var(--radius-sm); font-weight: 600; transition: all .3s;
}
.btn-outline-primary-portal:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.empty-tip { text-align: center; padding: 60px 0; color: var(--muted); }

/* 数据统计区 */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 60%, var(--primary-dark) 100%);
    color: #fff;
    padding: 72px 0;
    position: relative; overflow: hidden;
}
.stats-section::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(26,159,180,.22), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(201,162,75,.14), transparent 50%);
    pointer-events: none;
}
.stat-item {
    padding: 20px 10px; position: relative; z-index: 1;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 48px; font-weight: 800; line-height: 1.1;
    color: #fff; font-family: "Inter", sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.stat-label {
    margin-top: 12px; font-size: 15px; color: #a8bdd0; letter-spacing: 1.5px; font-weight: 500;
}
.stat-item { transition: transform .3s, opacity .3s; }
.stat-item:hover { transform: translateY(-6px); }
.stat-item:hover .stat-num { color: #fff; text-shadow: 0 4px 20px rgba(255,255,255,.4); }

/* 页脚单列导航 */
.footer-nav { columns: 1; }

/* 顶栏语言切换 */
.lang-switch { display: inline-flex; align-items: center; font-size: 13px; }
.lang-switch a { color: rgba(255,255,255,.75); text-decoration: none; padding: 0 2px; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { color: #fff; font-weight: 700; }

/* 右侧悬浮联系工具栏（参考 0571ok 客服样式：紧贴右边、方角、品牌深海蓝、左滑展开） */
.contact-widget {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%);
    z-index: 1030; width: 60px;
}
.contact-widget .cw-list { list-style: none; margin: 0; padding: 0; }
.contact-widget .cw-item { position: relative; width: 60px; height: 60px; margin-bottom: 1px; }
.contact-widget .cw-item > a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 60px; height: 60px; background: var(--primary); color: #fff;
    text-decoration: none; transition: background .2s;
}
.contact-widget .cw-item > a:hover,
.contact-widget .cw-item:hover > a { background: var(--primary-dark); color: #fff; }
.contact-widget .cw-icon { font-size: 22px; line-height: 1; display: block; }
.contact-widget .cw-label {
    font-size: 12px; line-height: 1; margin-top: 5px; color: #fff; white-space: nowrap;
    /* 多语言文案长度不一：超出按钮宽度时省略号截断，防止溢出外框 */
    max-width: 56px; overflow: hidden; text-overflow: ellipsis;
}
/* 悬停左滑展开面板 */
.contact-widget .cw-panel {
    position: absolute; right: 70px; top: 50%;
    transform: translateY(-50%) translateX(12px);
    background: var(--primary-dark); color: #fff; padding: 14px 16px; min-width: 150px;
    white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s, transform .25s, visibility .25s;
    box-shadow: 0 6px 18px rgba(7, 57, 104, .35);
}
.contact-widget .cw-item:hover .cw-panel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}
/* 右指三角箭头，连接按钮与面板 */
.contact-widget .cw-panel::after {
    content: ""; position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
    border-style: solid; border-width: 10px 0 10px 12px;
    border-color: transparent transparent transparent var(--primary-dark);
}
.contact-widget .cw-panel-value { display: block; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.contact-widget .cw-panel-qr { padding: 12px; text-align: center; min-width: 0; }
.contact-widget .cw-panel-qr img { display: block; width: 140px; height: auto; border-radius: 4px; margin: 0 auto; }
@media (max-width: 767.98px) { .contact-widget { display: none; } }

/* ==================== 移动端适配（H5） ====================
   按 Bootstrap 断点组织，全部追加在末尾，只覆盖窄屏表现，不影响桌面端 */

/* ≤991.98px：折叠菜单展开态 + 平板 */
@media (max-width: 991.98px) {
    /* 汉堡菜单展开面板：明确背景与边界，菜单项纵向全宽排列 */
    .main-nav .navbar-collapse {
        background: #fff;
        margin: 10px -12px -10px;
        padding: 8px 12px 12px;
        border-top: 1px solid var(--border);
    }
    .main-nav .navbar-nav { width: 100%; }
    .main-nav .nav-link { padding: 12px 8px !important; }
    /* 站名收窄，防止挤压汉堡按钮 */
    .brand-name { max-width: calc(100vw - 180px); }
    /* 区块间距/字号收紧 */
    .section { padding: 40px 0; }
    .section-title { margin-bottom: 28px; }
    .section-title h2 { font-size: 24px; }
    .page-banner { height: 160px; }
    .page-banner h1 { font-size: 26px; }
}

/* ≤767.98px：手机 */
@media (max-width: 767.98px) {
    /* 顶条只剩语言切换（左组已被模板 d-none d-md-flex 隐藏），居中显示 */
    .topbar .container { justify-content: center !important; }
    /* 留言 toast 防止超出屏幕 */
    .msg-toast { max-width: 88vw; top: 120px; font-size: 14px; padding: 12px 16px; }
    /* 首页统计区 */
    .stats-section { padding: 40px 0; }
    .stat-num { font-size: 32px; }
    /* 详情页 */
    .detail-head h1 { font-size: 20px; }
    .detail-content { font-size: 14px; line-height: 1.9; }
    /* 富文本表格横向滚动保护（图片已有 max-width:100%） */
    .detail-content table { display: block; max-width: 100%; overflow-x: auto; }
    /* 分类标签 */
    .filter-bar a { padding: 5px 14px; font-size: 13px; }
    /* 联系页 */
    .contact-card { padding: 20px; }
    .contact-map { height: 240px; }
    /* 页脚 */
    .footer-main { padding: 40px 0 28px; }
    .footer-brand { white-space: normal; }
}

/* ≤575.98px：小屏手机 */
@media (max-width: 575.98px) {
    .hero-carousel .carousel-item { height: 44vh; min-height: 260px; }
    .hero-caption { left: 5%; max-width: 90%; }
    .btn-hero { padding: 10px 22px; font-size: 14px; }
    /* 轮播底部快捷条：数量多时按约 3 列自动换行，排列更整齐 */
    .hero-bottombar-item { flex: 1 1 28%; min-width: 0; }
}

/* ===== 站内搜索：导航栏内联搜索框（桌面端） ===== */
.nav-search-item { margin-left: clamp(6px, 1vw, 14px); }
.nav-search-form {
    display: flex; align-items: center;
    border: 1px solid var(--border); border-radius: 20px;
    background: var(--bg-soft); padding: 0 4px 0 14px;
    height: 36px; width: clamp(170px, 16vw, 230px);
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.nav-search-form:focus-within {
    border-color: var(--accent); background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 159, 180, .12);
}
.nav-search-input {
    flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 13px; color: var(--text); height: 100%; padding: 0;
    -webkit-appearance: none; appearance: none;
}
.nav-search-input::placeholder { color: #a4b2bf; }
/* 去除 WebKit 原生搜索清除按钮的默认样式干扰 */
.nav-search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.nav-search-btn {
    flex-shrink: 0; width: 28px; height: 28px; border: 0; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-size: 13px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: filter .25s, transform .25s;
}
.nav-search-btn:hover { filter: brightness(1.08); transform: scale(1.06); }

/* ===== 站内搜索：搜索结果页 ===== */
.search-page-form {
    display: flex; gap: 12px; max-width: 640px; margin: 0 auto 36px;
}
.search-page-form .form-control {
    border: 1px solid var(--border); border-radius: 6px; padding: 10px 16px;
    font-size: 15px; height: 46px;
}
.search-page-form .form-control:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26, 159, 180, .12);
}
.search-page-form .btn {
    flex-shrink: 0; height: 46px; padding: 0 28px; font-size: 15px;
    display: inline-flex; align-items: center; gap: 6px;
}
.search-summary { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.search-summary b { color: var(--primary); font-weight: 600; }
.search-empty {
    text-align: center; color: var(--muted); padding: 56px 0;
}
.search-empty i { font-size: 46px; color: #c2cdd8; display: block; margin-bottom: 14px; }
.search-group { margin-bottom: 34px; }
.search-group-title {
    font-size: 17px; font-weight: 700; color: var(--text);
    padding-left: 12px; margin: 0 0 14px;
    border-left: 4px solid var(--accent);
}
.search-result-list { list-style: none; padding: 0; margin: 0; }
.search-result-list li {
    border-bottom: 1px dashed var(--border);
}
.search-result-list li:last-child { border-bottom: 0; }
.search-result-list a {
    display: block; padding: 14px 8px; border-radius: 6px;
    transition: background .2s, padding-left .2s;
}
.search-result-list a:hover { background: var(--bg-soft); padding-left: 16px; }
.search-result-title {
    display: block; font-size: 15px; font-weight: 600; color: var(--primary);
    margin-bottom: 4px;
}
.search-result-list a:hover .search-result-title { color: var(--accent); }
.search-result-summary {
    display: block; font-size: 13px; color: var(--muted); line-height: 1.6;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 搜索关键词高亮 + 空结果兜底推荐区 */
.search-result-list mark,
#hitGroups mark {
    background: #fff1b8;
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}
@media (max-width: 575.98px) {
    .search-page-form { flex-direction: column; gap: 10px; }
    .search-page-form .btn { width: 100%; justify-content: center; }
}

/* ===== 联系表单：蜜罐字段（真人不可见）与附件上传状态 ===== */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.attachment-status {
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
    color: var(--bs-secondary, #6c757d);
}
.attachment-status.success { color: #198754; }
.attachment-status.error { color: #dc3545; }

/* ===== 详情页询盘/投递 CTA ===== */
.detail-cta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================================
   升级组件：Hero 副标题/双CTA、信任背书、CTA横幅、滚动入场、
   产品多图画廊、规格表、浮动询盘工具栏
   ============================================================ */

/* Hero 副标题与双 CTA */
.hero-caption .hero-eyebrow {
    display: inline-block; color: var(--accent); font-size: 13px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.hero-caption .hero-subtitle {
    color: rgba(255,255,255,.88); font-size: clamp(14px, 1.3vw, 18px); line-height: 1.7;
    margin: 0 0 28px; max-width: 90%;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-outline {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent; color: #fff; padding: 12px 30px;
    border: 1.5px solid rgba(255,255,255,.6); border-radius: var(--radius-sm);
    font-weight: 500; font-size: 15px; transition: all .25s;
}
.btn-hero-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.hero-scroll-indicator {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 3; color: rgba(255,255,255,.8); font-size: 12px; letter-spacing: 2px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    animation: heroBounce 2s ease-in-out infinite;
}
.hero-scroll-indicator i { font-size: 20px; }
@keyframes heroBounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* 全宽 CTA 横幅 */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: #fff; padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(26,159,180,.25), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(201,162,75,.12), transparent 50%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin: 0 0 12px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 16px; margin: 0 0 28px; }
.cta-banner .btn { padding: 13px 36px; font-size: 15px; }

/* 滚动入场动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* 产品多图画廊 */
.product-gallery { display: flex; gap: 16px; }
.gallery-main {
    flex: 1; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
    background: var(--bg-deep); position: relative; cursor: zoom-in;
    box-shadow: var(--shadow-sm);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-zoom .gallery-main img { transform: scale(1.6); cursor: zoom-out; }
.gallery-thumbs {
    display: flex; flex-direction: column; gap: 10px; width: 80px; flex-shrink: 0;
}
.gallery-thumb {
    width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden;
    border: 2px solid var(--border); cursor: pointer; background: var(--bg-deep);
    transition: border-color .2s;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 规格参数表 */
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table th, .specs-table td {
    padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left;
}
.specs-table th { width: 38%; color: var(--muted); font-weight: 500; background: var(--bg-soft); }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }

/* 规格富文本（无键值对规格表时展示 specs HTML） */
.specs-html { font-size: 14px; line-height: 1.9; color: var(--dark, #1f2d3d); word-break: break-word; }
.specs-html ul, .specs-html ol { margin: 0; padding-left: 20px; }
.specs-html li { margin-bottom: 6px; }
.specs-html li:last-child { margin-bottom: 0; }
.specs-html strong { color: var(--primary); font-weight: 600; }
.specs-html p:last-child { margin-bottom: 0; }

/* ============================================================
   页面横幅增强
   ============================================================ */
.banner-eyebrow {
    color: var(--accent); font-size: 13px; text-transform: uppercase;
    letter-spacing: 3px; font-weight: 600; margin: 0 0 12px;
}
.banner-sub { font-size: 16px; opacity: .92; margin: 12px 0 0; max-width: 560px; }

/* 区块标题通用 */
.section-eyebrow {
    color: var(--accent); font-size: 13px; text-transform: uppercase;
    letter-spacing: 3px; font-weight: 600; margin: 0 0 12px;
}
.section-heading {
    font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
    margin: 0 0 8px; color: var(--primary);
}
.section-title.center { text-align: center; margin-bottom: 40px; }
.section-title.center h2::after { left: 50%; transform: translateX(-50%); }

/* ============================================================
   关于我们
   ============================================================ */
.about-intro { font-size: 15px; line-height: 1.9; color: var(--text-soft); }
.about-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.about-hero-img { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-hero-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
.about-hero-badge {
    position: absolute; left: 20px; bottom: 20px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
    border-radius: 12px; padding: 14px 22px; display: flex; align-items: baseline; gap: 10px;
    box-shadow: var(--shadow-md);
}
.about-hero-badge .badge-num { font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1; }
.about-hero-badge .badge-label { font-size: 13px; color: var(--muted); }

/* 数据网格 */
.stats-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.stat-card {
    background: #fff; border-radius: 12px; padding: 24px 16px; text-align: center;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card .stat-num { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-card .stat-label { font-size: 14px; color: var(--muted); margin-top: 10px; font-weight: 500; }

/* 核心优势 */
.advantage-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.advantage-card {
    background: #fff; border-radius: 14px; padding: 32px 28px;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.adv-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center; color: #fff;
    font-size: 26px; margin-bottom: 18px;
}
.advantage-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--primary); }
.advantage-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; margin: 0; }

/* ============================================================
   新闻资讯
   ============================================================ */
.news-featured {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow-md); margin-bottom: 36px; border: 1px solid var(--border);
}
.news-featured-img { display: block; min-height: 320px; overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-featured:hover .news-featured-img img { transform: scale(1.04); }
.news-featured-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.news-featured-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500;
}
.tag-top { background: #fef0f0; color: #e74c3c; }
.tag-date { background: var(--bg-soft); color: var(--muted); }
.tag-views { background: var(--bg-soft); color: var(--muted); }
.news-featured-title { font-size: 26px; font-weight: 700; line-height: 1.4; margin: 0 0 14px; }
.news-featured-title a { color: var(--primary); }
.news-featured-title a:hover { color: var(--accent); }
.news-featured-desc { font-size: 15px; color: var(--text-soft); line-height: 1.8; margin: 0 0 20px; }
.news-featured-more {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--accent); font-weight: 600; font-size: 14px; align-self: flex-start;
}
.news-featured-more:hover { gap: 10px; transition: gap .2s; }

.news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card-img { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-top {
    position: absolute; top: 10px; left: 10px;
    background: #e74c3c; color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 4px; font-weight: 600;
}
.news-card-body { padding: 18px 20px 22px; }
.news-card-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.news-card-meta i { margin-right: 3px; }
.news-card-title { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 0 0 8px; }
.news-card-title a { color: var(--primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-title a:hover { color: var(--accent); }
.news-card-desc {
    font-size: 13px; color: var(--text-soft); line-height: 1.7; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   新闻详情
   ============================================================ */
.detail-hero { position: relative; height: 360px; overflow: hidden; }
.detail-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero-placeholder { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.detail-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,37,69,.5) 0%, rgba(11,37,69,.85) 100%);
}
.detail-hero-content {
    position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
    justify-content: flex-end; padding-bottom: 40px; color: #fff;
}
.detail-breadcrumb { font-size: 13px; opacity: .9; margin-bottom: 14px; }
.detail-breadcrumb a { color: #fff; }
.detail-hero-content h1 { font-size: 30px; font-weight: 700; margin: 0 0 14px; }
.detail-hero-meta { display: flex; gap: 18px; font-size: 13px; opacity: .92; }
.detail-hero-meta i { margin-right: 4px; }
.detail-article { background: #fff; border-radius: 14px; padding: 40px; box-shadow: var(--shadow-sm); }
.detail-summary {
    font-size: 16px; line-height: 1.9; color: var(--text); font-weight: 500;
    padding: 16px 20px; background: var(--bg-soft); border-left: 4px solid var(--accent);
    border-radius: 8px; margin-bottom: 28px;
}
.detail-share {
    display: flex; align-items: center; gap: 10px; margin: 32px 0;
    padding: 18px 22px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm);
}
.share-label { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share-btn {
    width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center; color: var(--muted);
    font-size: 16px; transition: all .2s;
}
.share-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.detail-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.nav-prev, .nav-next {
    display: flex; align-items: center; gap: 12px; padding: 18px 22px;
    background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border); color: var(--text); transition: all .2s;
}
.nav-next { justify-content: flex-end; text-align: right; }
.nav-prev:hover, .nav-next:hover { border-color: var(--accent); color: var(--accent); }
.nav-prev em, .nav-next em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.nav-prev strong, .nav-next strong {
    display: block; font-size: 14px; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.sidebar-title { font-size: 18px; font-weight: 700; margin: 0 0 18px; color: var(--primary); padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.related-item:last-child { border-bottom: none; }
.related-item:hover { color: var(--accent); }
.related-item img, .related-thumb-ph { width: 60px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.related-thumb-ph { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.related-item span { font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-empty { color: var(--muted); font-size: 13px; margin: 0; }

/* ============================================================
   联系我们
   ============================================================ */
.contact-form-card { background: #fff; border-radius: 16px; padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
@media (min-width: 992px) {
    /* 联系页：表单卡片与右侧信息列等高对齐，信息卡片均摊高度 */
    .contact-form-card, .contact-info-list { height: 100%; }
    .contact-info-card { flex: 1 1 0; min-height: 78px; }
}
.contact-form-head { margin-bottom: 24px; }
.contact-form-head h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 0 0 6px; }
.contact-form-head p { color: var(--muted); font-size: 14px; margin: 0; }
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.contact-info-card {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border-radius: 12px; padding: 18px 20px;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.contact-info-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.ci-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px;
}
.ci-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.ci-value { font-size: 15px; font-weight: 600; color: var(--primary); word-break: break-all; }
.ci-value:hover { color: var(--accent); }

/* ============================================================
   页脚增强
   ============================================================ */
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 40px; width: auto; }
.footer-logo h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    transition: all .25s;
}
.social-btn:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-cta { margin-top: 18px; }

/* 响应式 */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .news-featured { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-article { padding: 24px; }
    .detail-nav { grid-template-columns: 1fr; }
    .sidebar-card { position: static; }
}
@media (max-width: 576px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .about-hero-img img { height: 280px; }
    .detail-hero { height: 280px; }
    .section-heading { font-size: 24px; }
}
.specs-table tr:hover td { background: var(--accent-light); }

/* 侧边询盘卡片 */
.inquiry-card {
    position: sticky; top: 24px; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow-md);
}
.inquiry-card h5 { color: var(--primary); margin-bottom: 16px; font-size: 18px; }
.inquiry-card .form-label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.inquiry-card .form-control { border-radius: var(--radius-sm); border-color: var(--border); }
.inquiry-card .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,159,180,.12); }

/* 相关产品横滑 */
.related-scroll {
    display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.related-scroll > .col { flex: 0 0 260px; scroll-snap-align: start; }

/* 浮动询盘工具栏（右下） */
.float-inquiry {
    position: fixed; right: 20px; bottom: 24px; z-index: 1030;
    display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.float-inquiry .fi-btn {
    position: relative;
    width: 52px; height: 52px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 6px 18px rgba(11,37,69,.25); transition: transform .3s, box-shadow .3s;
    font-size: 22px; text-decoration: none;
}
/* 工具栏 + 询价按钮 CSS tooltip（替代原生 title，消除浏览器延迟） */
.float-inquiry .fi-btn[data-tip]::before,
.rf-fab[data-tip]::before {
    content: attr(data-tip);
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    white-space: nowrap;
    padding: 6px 14px;
    background: rgba(11,37,69,.92);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 1;
}
.float-inquiry .fi-btn[data-tip]:hover::before,
.rf-fab[data-tip]:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.float-inquiry .fi-btn:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(11,37,69,.35); color: #fff; }
.fi-inquiry { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.fi-whatsapp { background: #25D366; }
.fi-wechat { background: #07C160; position: relative; }
.fi-wechat-qr {
    position: absolute; right: 60px; top: 50%;
    width: 150px; border-radius: 16px;
    background: #fff; padding: 12px; box-sizing: border-box;
    box-shadow: 0 12px 40px rgba(0,0,0,.28);
    opacity: 0; visibility: hidden; transform: translateY(-50%) scale(0.8);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}
.fi-wechat-qr::after {
    content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg);
    width: 12px; height: 12px; background: #fff;
}
.fi-wechat-qr img { width: 100%; border-radius: 8px; }
.fi-wechat:hover .fi-wechat-qr { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.fi-top { background: var(--primary); }
@media (max-width: 767.98px) { .float-inquiry .fi-btn { width: 46px; height: 46px; font-size: 18px; } }

/* 认证/证书墙 */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.cert-item {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px 16px; text-align: center; transition: all .3s;
}
.cert-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-item i { font-size: 36px; color: var(--accent); margin-bottom: 10px; }
.cert-item .cert-name { font-weight: 600; color: var(--text); font-size: 14px; }
.cert-item .cert-desc { font-size: 12px; color: var(--muted); margin-top: 4px; }
/* ============================================================
   高级感增强 V2 —— 排版层次与装饰 / 微交互 / 卡片精修
   ============================================================ */

/* —— 区块间距与节奏 —— */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .section-sm { padding: 56px 0; }
}

/* —— 区块标题装饰：左侧色条 + 序号 + eyebrow —— */
.section-title-v2 {
    margin-bottom: 56px;
    position: relative;
}
.section-title-v2 .section-eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin: 0 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.section-title-v2 .section-eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}
.section-title-v2 .section-heading {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 14px;
}
.section-title-v2 .section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.7;
    margin: 0;
}
.section-title-v2.center { text-align: center; }
.section-title-v2.center .section-eyebrow::before { display: none; }
.section-title-v2.center .section-eyebrow::after {
    content: "";
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}
.section-title-v2.center .section-sub { margin-left: auto; margin-right: auto; }

/* —— 序号角标 —— */
.seq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-family: "Inter", sans-serif;
    letter-spacing: 0;
    box-shadow: 0 6px 16px rgba(11, 37, 69, .22);
    flex-shrink: 0;
}

/* —— 首字下沉（关于板块/正文） —— */
.drop-cap::first-letter {
    float: left;
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
    padding: 6px 12px 0 0;
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* —— 引用装饰 —— */
.quote-decor {
    position: relative;
    padding: 24px 28px 24px 36px;
    background: linear-gradient(135deg, var(--accent-light) 0%, transparent 100%);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    color: var(--primary);
    font-style: italic;
    line-height: 1.8;
}
.quote-decor::before {
    content: "\201C";
    position: absolute;
    left: 10px;
    top: -8px;
    font-size: 56px;
    color: var(--accent);
    opacity: .35;
    font-family: Georgia, serif;
    line-height: 1;
}

/* —— CTA 波浪分割线 —— */
.wave-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
    line-height: 0;
}
.wave-divider svg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 200%;
    height: 100%;
    animation: wave-slide 18s linear infinite;
}
.wave-divider svg path { fill: currentColor; }
@keyframes wave-slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .wave-divider svg { animation: none; }
}

/* —— 卡片 hover 边框光晕 —— */
.card-portal {
    position: relative;
    border: 1px solid var(--border);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
}
.card-portal::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
    box-shadow: 0 0 0 2px var(--accent) inset;
    opacity: 0;
    transition: opacity .4s;
}
.card-portal:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(11, 37, 69, .18), 0 8px 16px rgba(11, 37, 69, .08);
    border-color: transparent;
}
.card-portal:hover::after { opacity: 1; }

/* —— 图片 Ken-Burns 缓慢推近（卡片 hover） —— */
.card-portal .card-img img {
    transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.card-portal:hover .card-img img {
    transform: scale(1.12);
}
/* 渐变遮罩：图片底部柔和过渡到卡片正文 */
.card-portal .card-img::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(11, 37, 69, .15), transparent);
    pointer-events: none;
}
.card-portal .card-img { position: relative; }

/* —— 统计区真实 count-up 视觉提示 —— */
.stat-num {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* —— 滚动指示器弹跳 —— */
.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, .8);
    font-size: 28px;
    animation: scroll-bounce 2s ease-in-out infinite;
    cursor: pointer;
}
.hero-scroll-indicator:hover { color: #fff; }
@keyframes scroll-bounce {
    0%, 100% { transform: translate(-50%, 0); opacity: .6; }
    50%      { transform: translate(-50%, 10px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-scroll-indicator { animation: none; }
}

/* —— 按钮光晕 —— */
.btn-primary-portal {
    position: relative;
    overflow: hidden;
}
.btn-primary-portal::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    transition: left .6s ease;
}
.btn-primary-portal:hover::before {
    left: 100%;
}
.btn-hero {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(26, 159, 180, .35);
}
.btn-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transition: left .7s ease;
}
.btn-hero:hover::before {
    left: 100%;
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 159, 180, .45);
}

/* —— Hero 标题视差光晕 —— */
.hero-caption {
    will-change: transform;
}
.hero-caption h2 {
    position: relative;
}
.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 30%) var(--my, 40%), rgba(26, 159, 180, .15), transparent 35%);
    pointer-events: none;
    transition: background .3s;
}

/* —— 规格表 zebra 行 + hover 高亮 —— */
.specs-table tbody tr:nth-child(odd) td { background: var(--bg-soft); }
.specs-table tbody tr:hover td { background: var(--accent-light); }
.specs-table tbody tr:hover th { color: var(--primary); }

/* —— 详情页画廊缩放提示 —— */
.gallery-main::after {
    content: "\F4F3";
    font-family: "bootstrap-icons";
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(11, 37, 69, .65);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    pointer-events: none;
    opacity: .85;
}
.gallery-zoom .gallery-main::after { opacity: 0; }

/* —— 关于 hero 图错位角标 —— */
.about-hero-img { position: relative; }
.about-hero-img::before {
    content: "";
    position: absolute;
    top: -16px;
    left: -16px;
    width: 120px;
    height: 120px;
    border-top: 3px solid var(--accent);
    border-left: 3px solid var(--accent);
    border-radius: 16px 0 0 0;
    pointer-events: none;
    z-index: 2;
}
.about-hero-img::after {
    content: "";
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border-bottom: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-radius: 0 0 16px 0;
    pointer-events: none;
    z-index: 2;
}

/* —— 业务流程卡片 —— */
.process-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 24px;
    height: 100%;
    position: relative;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    overflow: hidden;
}
.process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    transition: height .4s ease;
}
.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 37, 69, .12);
    border-color: transparent;
}
.process-card:hover::before { height: 100%; }
.process-card .seq-badge { margin-bottom: 18px; }
.process-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.process-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}
.process-card .seq-badge {
    position: relative;
}
.process-card .seq-badge::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-left: 12px;
}
@media (max-width: 991.98px) {
    .process-card .seq-badge::after { display: none; }
}

/* —— 首页 Hero 标题光晕跟随（鼠标 JS 设置 --mx --my） —— */
.hero-carousel { position: relative; }

/* —— 业务范围图标强制居中（防止图标在卡片内偏移） —— */
.service-icon-box .svc-icon-circle img {
    display: block;
}
.service-icon-box i {
    display: flex;
    margin: 0 auto;
}

/* ===================================================================== */
/* ===== V2 深度迭代补丁（2026-09） ===== */
/* ===================================================================== */

/* —— 衬线展示字体：标题点缀，正文保持 Inter/Noto Sans SC —— */
.serif-title,
.hero-caption h2 {
    font-family: "Playfair Display", "Noto Serif SC", "Songti SC", Georgia, serif;
    letter-spacing: .01em;
}
.section-heading.serif-title { font-weight: 700; }

/* —— 链接下划线滑入微交互（正文内链接） —— */
.ulink {
    position: relative;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .3s ease, color .2s;
    padding-bottom: 1px;
}
.ulink:hover { background-size: 100% 1px; }

/* —— Hero 逐字入场 —— */
.hero-caption h2 .hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    animation: heroWordIn .7s cubic-bezier(.22,.8,.3,1) forwards;
}
@keyframes heroWordIn {
    to { opacity: 1; transform: translateY(0); }
}
.hero-caption p, .hero-caption .hero-actions {
    opacity: 0;
    animation: fadeUp .8s ease .55s forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ 产品询价清单（localStorage） ============ */
.add-rf-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 2px 10px rgba(11,37,69,.18);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .25s, transform .25s, background .25s, color .25s;
}
.card-portal { position: relative; }
.card-portal:hover .add-rf-btn { opacity: 1; transform: translateY(0); }
.add-rf-btn:hover, .add-rf-btn.added { background: var(--accent); color: #fff; }
.add-rf-btn.added .bi-plus-lg { display: none; }
.add-rf-btn .bi-check-lg { display: none; }
.add-rf-btn.added .bi-check-lg { display: block; }
@media (hover: none) { .add-rf-btn { opacity: 1; transform: none; } }
.add-rf-btn-inline { gap: 6px; }
.add-rf-btn-inline.added { background: var(--accent); color: #fff; border-color: var(--accent); }
.add-rf-btn-inline.added .bi-plus-lg { display: none; }
.add-rf-btn-inline .bi-check-lg { display: none; }
.add-rf-btn-inline.added .bi-check-lg { display: inline-block; }

.rf-fab {
    position: fixed;
    right: 22px;
    bottom: 272px;
    z-index: 1040;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 28px rgba(20,126,143,.42);
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}
.rf-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20,126,143,.5); }
.rf-fab .rf-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #E8553D;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.rf-mask {
    position: fixed; inset: 0; z-index: 1045;
    background: rgba(8,26,48,.5);
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
}
.rf-mask.open { opacity: 1; pointer-events: auto; }
.rf-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 92vw);
    z-index: 1046;
    background: #fff;
    box-shadow: -12px 0 40px rgba(11,37,69,.18);
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(.22,.8,.3,1);
    display: flex;
    flex-direction: column;
}
.rf-drawer.open { transform: translateX(0); }
.rf-head {
    padding: 20px 22px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rf-head h4 { margin: 0; font-size: 18px; }
.rf-close {
    background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; opacity: .85;
}
.rf-close:hover { opacity: 1; }
.rf-body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.rf-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.rf-item img {
    width: 64px; height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg-deep);
    flex-shrink: 0;
}
.rf-item-info { flex: 1; min-width: 0; }
.rf-item-info .rf-name {
    font-weight: 600; font-size: 14px; color: var(--primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rf-item-info .rf-model { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rf-item-remove {
    border: none; background: none; color: var(--muted); cursor: pointer; font-size: 16px; padding: 4px;
}
.rf-item-remove:hover { color: #E8553D; }
.rf-empty { text-align: center; color: var(--muted); padding: 70px 20px; }
.rf-empty i { font-size: 46px; display: block; margin-bottom: 12px; opacity: .5; }
.rf-foot { padding: 16px 22px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.rf-foot .rf-summary {
    font-size: 13px; color: var(--muted); margin-bottom: 10px;
    display: flex; justify-content: space-between;
}
.rf-inquiry-form .form-control { margin-bottom: 10px; font-size: 14px; }
.rf-clear {
    background: none; border: none; color: var(--muted); font-size: 12px;
    cursor: pointer; text-decoration: underline; padding: 0;
}

/* ============ 案例列表：筛选侧栏 + 角标 ============ */
.cases-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.case-filter {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-sm);
}
.case-filter h6 {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--muted);
    text-transform: uppercase;
    margin: 14px 0 8px;
}
.case-filter h6:first-child { margin-top: 0; }
.case-filter a {
    display: block;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
}
.case-filter a:hover { background: var(--accent-light); color: var(--accent-dark); }
.case-filter a.active { background: var(--primary); color: #fff; font-weight: 600; }
.case-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.case-badges .cb-tag {
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 20px;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-weight: 600;
    letter-spacing: .3px;
}
.case-badges .cb-tag.cb-year { background: var(--primary); color: #fff; }
@media (max-width: 991.98px) {
    .cases-layout { grid-template-columns: 1fr; gap: 18px; }
    .case-filter { position: static; padding: 14px 12px; }
    .case-filter .cf-list { display: flex; flex-wrap: wrap; gap: 6px; }
    .case-filter h6 { width: 100%; }
    /* 筛选标签在窄屏可换行、不撑破容器 */
    .case-filter a {
        max-width: 100%;
        padding: 5px 12px;
        font-size: 13px;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    /* 卡片图片在手机上保持比例且不溢出 */
    .card-portal .card-img { aspect-ratio: 16/10; }
    .card-portal .card-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ============ 案例详情：三段式 / 时间线 / 图集 / 证言 ============ */
.csr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.csr-card {
    border-radius: 14px;
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
}
.csr-card .csr-ic {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.csr-card h4 { font-size: 17px; margin-bottom: 10px; }
.csr-card p { font-size: 14px; line-height: 1.75; margin: 0; }
.csr-challenge { background: #FDF3EF; }
.csr-challenge .csr-ic { background: #F8D9CC; color: #C1502B; }
.csr-challenge h4 { color: #A8431F; }
.csr-solution { background: var(--accent-light); }
.csr-solution .csr-ic { background: #BEE9EE; color: var(--accent-dark); }
.csr-solution h4 { color: var(--accent-dark); }
.csr-result { background: #EEF7EE; }
.csr-result .csr-ic { background: #CFE9CF; color: #2F7D32; }
.csr-result h4 { color: #2F7D32; }
.csr-card p { color: var(--text); }
@media (max-width: 767.98px) { .csr-grid { grid-template-columns: 1fr; } }

.case-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}
.case-gallery-grid .cgg-item {
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--bg-deep);
}
.case-gallery-grid .cgg-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.case-gallery-grid img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.case-gallery-grid .cgg-item:hover img { transform: scale(1.05); }
@media (max-width: 575.98px) {
    .case-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.case-timeline { margin: 30px 0; padding: 0; list-style: none; position: relative; }
.case-timeline::before {
    content: "";
    position: absolute;
    left: 9px; top: 6px; bottom: 6px;
    width: 2px;
    background: linear-gradient(var(--accent), var(--border));
}
.case-timeline li {
    position: relative;
    padding: 0 0 22px 38px;
}
.case-timeline li:last-child { padding-bottom: 0; }
.case-timeline li::before {
    content: "";
    position: absolute;
    left: 3px; top: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}
.case-timeline .ct-title { font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.case-timeline .ct-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

.case-meta-row {
    display: flex; flex-wrap: wrap; gap: 10px 22px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.case-meta-row .cm-item { font-size: 14px; color: var(--muted); }
.case-meta-row .cm-item b { color: var(--primary); margin-right: 4px; }

/* —— 通用 lightbox —— */
.img-lightbox {
    position: fixed; inset: 0; z-index: 1080;
    background: rgba(5,15,28,.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
}
.img-lightbox.open { display: flex; }
.img-lightbox img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0,0,0,.6);
    animation: lbIn .3s ease;
}
@keyframes lbIn { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.img-lightbox .lb-close {
    position: absolute;
    top: 18px; right: 24px;
    color: #fff;
    font-size: 32px;
    background: none; border: none; cursor: pointer;
    opacity: .8;
}
.img-lightbox .lb-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    color: #fff; font-size: 34px;
    background: rgba(255,255,255,.1);
    border: none; border-radius: 50%;
    width: 54px; height: 54px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.img-lightbox .lb-nav:hover { background: rgba(255,255,255,.22); }
.img-lightbox .lb-prev { left: 22px; }
.img-lightbox .lb-next { right: 22px; }

/* ============ 招聘：品牌化 ============ */
.careers-hero {
    background: linear-gradient(150deg, var(--primary-dark), var(--primary-2));
    border-radius: 20px;
    padding: 56px 48px;
    color: #DCE8F4;
    margin-bottom: 46px;
    position: relative;
    overflow: hidden;
}
.careers-hero::after {
    content: "";
    position: absolute;
    right: -80px; bottom: -120px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,159,180,.3), transparent 70%);
}
.careers-hero h2 { color: #fff; font-size: 30px; margin-bottom: 12px; position: relative; }
.careers-hero p { color: #A9BFD4; margin: 0; max-width: 560px; position: relative; }
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 26px 0 54px;
}
.benefit-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 20px;
    text-align: center;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.benefit-card .bf-icon {
    width: 54px; height: 54px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.benefit-card h5 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.benefit-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }
@media (max-width: 991.98px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .benefit-grid { grid-template-columns: 1fr; } .careers-hero { padding: 36px 24px; } }

.job-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 26px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    cursor: pointer;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.job-card .jc-main { flex: 1; min-width: 0; }
.job-card h5 { margin: 0 0 8px; font-size: 18px; }
.job-card h5 a { color: var(--primary); }
.job-card h5 a:hover { color: var(--accent); }
.job-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.job-chips .jc-chip {
    font-size: 12px;
    color: var(--muted);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 3px 11px;
    border-radius: 20px;
    white-space: nowrap;
}
.job-chips .jc-chip i { color: var(--accent); margin-right: 3px; }
.job-chips .jc-chip.jc-type { background: var(--accent-light); border-color: transparent; color: var(--accent-dark); font-weight: 600; }
.job-card .jc-go {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: background .25s, color .25s;
}
.job-card:hover .jc-go { background: var(--accent); color: #fff; }
@media (max-width: 575.98px) {
    .job-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
    .job-card .jc-go { display: none; }
}

.job-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 991.98px) { .job-detail-grid { grid-template-columns: 1fr; } }
.job-info-bar {
    display: flex; flex-wrap: wrap; gap: 10px 26px;
    padding: 18px 22px;
    background: var(--bg-soft);
    border-radius: 12px;
    margin: 18px 0 26px;
}
.job-info-bar .jib-item { font-size: 14px; color: var(--muted); }
.job-info-bar .jib-item b { color: var(--primary); margin-right: 5px; font-weight: 600; }
.apply-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}
.apply-card h5 { color: var(--primary); margin-bottom: 16px; }

/* ============ 长文：TOC 目录 + 阅读进度 + 阅读时间 ============ */
.read-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    z-index: 1090;
    transition: width .12s linear;
}
.article-toc {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
    font-size: 13.5px;
}
.article-toc .toc-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 1px;
}
.article-toc ul { list-style: none; margin: 0; padding: 0; }
.article-toc li { margin: 0; }
.article-toc a {
    display: block;
    padding: 5px 0 5px 14px;
    color: var(--muted);
    border-left: 2px solid var(--border);
    line-height: 1.5;
    transition: color .2s, border-color .2s;
}
.article-toc a:hover, .article-toc a.active { color: var(--accent-dark); border-left-color: var(--accent); }
.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--muted);
}
/* 长文正文自动锚点标题偏移 */
.detail-content h2[id], .detail-content h3[id] { scroll-margin-top: 90px; }

/* ============ 微交互：3D tilt ============ */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform .18s ease-out;
    will-change: transform;
}

/* ============ 空状态品牌化 / 骨架屏 ============ */
.empty-brand {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}
.empty-brand .eb-icon {
    width: 84px; height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    color: var(--accent-dark);
}
.empty-brand h5 { color: var(--primary); margin-bottom: 8px; }
.empty-brand p { margin-bottom: 18px; }
.skeleton {
    background: linear-gradient(90deg, var(--bg-deep) 25%, #F8FBFD 37%, var(--bg-deep) 63%);
    background-size: 400% 100%;
    animation: skShimmer 1.4s ease infinite;
    border-radius: 8px;
}
@keyframes skShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ============ 浏览历史 ============ */
.history-strip { margin-top: 50px; }
.history-strip h3 { font-size: 20px; color: var(--primary); margin-bottom: 18px; }
.history-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.history-list .hl-item { position: relative; }
.history-list img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg-deep);
}
.history-list .hl-name {
    font-size: 13px;
    margin-top: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: var(--text);
}
.history-clear {
    float: right;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    background: none; border: none; text-decoration: underline;
}

.footer-main { position: relative; }

/* ============ 分享按钮 ============ */
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-row .share-label { font-size: 14px; color: var(--muted); }
.share-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: transform .2s, opacity .2s;
}
.share-btn:hover { transform: translateY(-2px); color: #fff; opacity: .92; }
.share-btn.share-li { background: #0A66C2; }
.share-btn.share-wa { background: #25D366; }
.share-btn.share-copy { background: var(--primary); }

/* ============ 返回顶部：细线圆环百分比 ============ */
.fi-top {
    position: relative;
    background: rgba(255,255,255,.95) !important;
}
.fi-top svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}
.fi-top svg circle {
    fill: none;
    stroke-width: 2;
}
.fi-top .ring-bg { stroke: var(--border); }
.fi-top .ring-fg {
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-dasharray: 119;
    stroke-dashoffset: 119;
    transition: stroke-dashoffset .12s linear;
}
.fi-top i { position: relative; z-index: 1; color: var(--primary); font-size: 15px; }

/* ============ 移动端底部固定快捷条 ============ */
.mobile-quickbar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(11,37,69,.08);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
}
.mobile-quickbar a, .mobile-quickbar button {
    background: none; border: none;
    color: var(--muted);
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    padding: 2px 10px;
    flex: 1;
}
.mobile-quickbar i { font-size: 19px; }
.mobile-quickbar .mqb-quote {
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    flex: 1.4;
    justify-content: center;
}
.mobile-quickbar .mqb-quote i { margin: 0; }
/* 当前页高亮（普通按钮） */
.mobile-quickbar .mqb-active {
    color: var(--accent);
    font-weight: 600;
}
.mobile-quickbar .mqb-active i { color: var(--accent); }
/* Get a Quote 本身已是蓝底白字强调样式，active 时保持白字可见 */
.mobile-quickbar .mqb-quote.mqb-active,
.mobile-quickbar .mqb-quote.mqb-active i { color: #fff; }
@media (max-width: 767.98px) {
    .mobile-quickbar { display: flex; }
    body { padding-bottom: 64px; }
    .float-inquiry { display: none !important; }
    .rf-fab { bottom: 78px; right: 14px; width: 50px; height: 50px; }
}

/* ============ 暗色区块节奏：通用 section-dark ============ */
.section-dark {
    background: var(--primary-dark);
    color: #DCE8F4;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

/* ============ 打印样式 ============ */
@media print {
    .topbar, .main-nav, .float-inquiry, .rf-fab, .rf-drawer, .rf-mask,
    .mobile-quickbar, .cta-banner, .wave-divider, footer,
    .read-progress, .img-lightbox,
    .inquiry-card, .apply-card, .share-row, .history-strip {
        display: none !important;
    }
    body { padding-bottom: 0 !important; }
    .section, section { padding: 16px 0 !important; }
    a { color: #000 !important; text-decoration: none; }
    .case-gallery-grid .cgg-item { break-inside: avoid; }
    .detail-content { color: #000; }
}

/* ============ 减少动效偏好 ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============ 补丁：招聘细节 ============ */
.job-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.job-info-bar .jc-chip.jc-plain {
    background: transparent;
    border-color: var(--border, #e3e8ef);
    color: var(--muted, #6b7a90);
}
.apply-card .ac-hint { font-size: 13px; color: var(--muted, #6b7a90); margin-bottom: 16px; }

