/*
Theme Name: KAYIJIE
Theme URI: https://qmhs.xlovem.cn
Author: KAYIJIE
Description: 惠翌（凯杰新材）官网主题，按原迅睿CMS站点 1:1 复刻，配合“KAYIJIE 内容核心”插件使用。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kayijie
*/

/* 语言下拉（原站为内联样式，这里统一到主题样式表） */
.header-top.second-header { z-index: 99; }
.language-select { position: relative; width: 100%; z-index: 999; }
.language-current {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #e81c2e; color: #fff; padding: 15px 10px; cursor: pointer;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px;
    letter-spacing: .5px; text-transform: uppercase; transition: all .3s ease 0s;
}
.language-current:hover { background: #c91526; }
.language-current i { font-size: 14px; }
.language-list {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 999; margin: 0; padding: 0;
    list-style: none; background: #fff; border-top: 3px solid #e81c2e;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15); display: none;
}
.language-select:hover .language-list { display: block; }
.language-list li { background: #fff; border-bottom: 1px solid #eee; }
.language-list li:last-child { border-bottom: none; }
.language-list li a {
    display: block; padding: 10px 16px; color: #0c2957;
    font-family: 'Titillium Web', sans-serif; font-size: 14px; font-weight: 600; text-transform: none;
}
.language-list li a:hover, .language-list li a.active { background: #f5f6f8; color: #e81c2e; }

/* 表单提示 */
.kj-alert { padding: 14px 18px; margin-top: 20px; border-radius: 4px; font-size: 15px; }
.kj-alert.kj-ok { background: #e8f7ee; color: #1a7f4b; border: 1px solid #b7e3c9; }
.kj-alert.kj-err { background: #fdecec; color: #b02a2a; border: 1px solid #f3c3c3; }

/* 正文排版（后台编辑器内容） */
.kj-entry > *:first-child { margin-top: 0; }
.kj-entry h2, .kj-entry h3, .kj-entry h4 { margin: 28px 0 14px; color: #0c2957; }
.kj-entry p { margin-bottom: 18px; line-height: 1.9; }
.kj-entry ul, .kj-entry ol { margin: 0 0 18px 22px; }
.kj-entry ul li, .kj-entry ol li { list-style: inherit; margin-bottom: 8px; }
.kj-entry img { max-width: 100%; height: auto; }
.kj-entry table { width: 100%; margin-bottom: 20px; }
.kj-entry table th, .kj-entry table td { border: 1px solid #e6e6e6; padding: 10px 14px; }
.kj-entry a { color: #e81c2e; }
.kj-entry blockquote {
    border-left: 4px solid #e81c2e; padding: 12px 22px; margin: 0 0 20px;
    background: #f7fafd; font-style: italic;
}

/* 产品图片统一尺寸，避免不同比例图片撑破栅格 */
.product .product__img { overflow: hidden; }
.product .product__img img { width: 100%; height: auto; display: block; }
.product-large-img img { width: 100%; height: auto; }
.services-icon-05 img { width: 100%; height: auto; }

/* WordPress 默认类 */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.wp-caption { max-width: 100%; }
.admin-bar .header-area.header-three { top: 0; }

/* ---------------------------------------------------------------- 产品联动筛选 */
.kj-filter-sidebar .sidebar-widget { background: #f3f4f8; padding: 26px 24px; margin-bottom: 24px; }
.kj-filter-form { margin: 0; }

.kj-filter-group .widget-title {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 0; padding: 0 0 14px 14px; border-left: 4px solid #e81c2e;
    border-bottom: 1px solid #e1e3ea; font-size: 17px; line-height: 1.25;
    font-weight: 700; color: #0c2957; cursor: pointer; user-select: none;
}
.kj-filter-group .widget-title i { font-size: 11px; color: #e81c2e; transition: transform .25s ease; }
.kj-filter-group.is-collapsed .widget-title i { transform: rotate(180deg); }
.kj-filter-group.is-collapsed .kj-filter-list { display: none; }

.kj-filter-list { list-style: none; margin: 14px 0 0; padding: 0; }
.kj-filter-list li { margin: 0; }
.kj-check {
    position: relative; display: flex; align-items: center; gap: 10px; margin: 0;
    padding: 8px 2px; cursor: pointer; font-size: 14px; line-height: 1.4;
    color: #3f4553; font-weight: 500; transition: color .2s;
}
.kj-check:hover { color: #e81c2e; }
.kj-check input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.kj-check-box {
    position: relative; flex: 0 0 18px; width: 18px; height: 18px;
    border: 1.5px solid #c3c8d2; border-radius: 3px; background: #fff; transition: all .18s;
}
.kj-check input:checked + .kj-check-box { background: #e81c2e; border-color: #e81c2e; }
.kj-check input:checked + .kj-check-box::after {
    content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
    border: 2px solid #fff; border-top: 0; border-left: 0; transform: rotate(42deg);
}
.kj-check input:focus + .kj-check-box { box-shadow: 0 0 0 3px rgba(232, 28, 46, .18); }
.kj-check-name { flex: 1 1 auto; }
.kj-check-count { color: #8c93a1; font-size: 12.5px; font-weight: 400; }
.kj-check input:checked ~ .kj-check-name { color: #e81c2e; font-weight: 600; }
.kj-filter-list li.is-empty .kj-check { opacity: .45; }

.kj-result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.kj-chip, .kj-clear { font: inherit; border: 0; background: none; cursor: pointer; }
.kj-chip {
    display: inline-flex; align-items: center; gap: 8px; background: #f3f4f8;
    border: 1px solid #e1e3ea; border-radius: 20px; padding: 5px 12px;
    font-size: 13px; color: #3f4553;
}
.kj-chip i { font-size: 10px; color: #9aa1ae; }
.kj-chip:hover { border-color: #e81c2e; color: #e81c2e; }
.kj-chip:hover i { color: #e81c2e; }
.kj-clear { color: #e81c2e; font-size: 13px; text-decoration: underline; padding: 0; }

.kj-products { position: relative; transition: opacity .2s; }
.kj-products.is-loading { opacity: .5; pointer-events: none; }
.kj-no-result { padding: 30px 0 10px; color: #7a8090; }
.kj-apply { margin-top: 14px; padding: 8px 18px; background: #e81c2e; color: #fff; border: 0; border-radius: 3px; }

@media (max-width: 991px) {
    .kj-filter-sidebar .sidebar-widget { padding: 20px; }
    .kj-filter-list { max-height: 260px; overflow-y: auto; }
}

/* ---------------------------------------------------------------- 产品卡片（列表页美化） */
#kj-product-grid > [class*="col-"] { margin-bottom: 30px; }

#kj-product-grid .product {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #edeef3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(12, 41, 87, .05);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
#kj-product-grid .product:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 28, 46, .2);
    box-shadow: 0 18px 34px rgba(12, 41, 87, .13);
}

/* 图片区：1:1 浅灰底，悬停轻微放大 */
#kj-product-grid .product__img {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 22px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f2f5fa 100%);
    border-bottom: 1px solid #f0f2f7;
}
#kj-product-grid .product__img > a { display: block; height: 100%; }
#kj-product-grid .product__img img {
    width: 100%; height: 100%; object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .5s ease;
}
#kj-product-grid .product:hover .product__img img { transform: scale(1.07); }

/* 右上角箭头徽标 */
#kj-product-grid .product::after {
    content: "";
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px; border-radius: 50%;
    background: #e81c2e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.6 7h8.2M7.5 3.4 11.1 7l-3.6 3.6' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 13px 13px;
    box-shadow: 0 8px 18px rgba(232, 28, 46, .32);
    opacity: 0; transform: translateY(-6px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
#kj-product-grid .product:hover::after { opacity: 1; transform: translateY(0); }

/* 文字区 */
#kj-product-grid .product__content {
    flex: 1 1 auto;
    display: flex; align-items: center; justify-content: center;
    padding: 22px 20px 26px;
}
#kj-product-grid .product__content .pro-cat { display: none; }
#kj-product-grid .pro-title { margin: 0; }
#kj-product-grid .pro-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 20px; font-weight: 700; line-height: 1.35;
    color: #0c2957; letter-spacing: .2px;
    transition: color .25s ease;
}
#kj-product-grid .product:hover .pro-title a { color: #e81c2e; }

@media (max-width: 767px) {
    #kj-product-grid .product__img { padding: 16px; }
    #kj-product-grid .product__content { padding: 16px 14px 20px; }
    #kj-product-grid .pro-title a { font-size: 17px; }
}

/* ---------------------------------------------------------------- 分页 */
.kj-pager {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    margin: 42px 0 10px;
}
.kj-pager-info { color: #8c93a1; font-size: 14px; letter-spacing: .3px; }
.kj-pager-list {
    list-style: none; display: flex; flex-wrap: wrap; align-items: center;
    gap: 8px; margin: 0; padding: 0;
}
.kj-pager-list li { margin: 0; }
.kj-pager-list .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    border: 1px solid #e6e9f0; border-radius: 8px; background: #fff;
    color: #0c2957; font-size: 14px; font-weight: 600; line-height: 1;
    transition: all .22s ease;
}
.kj-pager-list a.page-numbers:hover {
    border-color: #e81c2e; color: #e81c2e;
    box-shadow: 0 8px 18px rgba(232, 28, 46, .12);
    transform: translateY(-2px);
}
.kj-pager-list .page-numbers.current {
    background: #e81c2e; border-color: #e81c2e; color: #fff;
    box-shadow: 0 8px 18px rgba(232, 28, 46, .28);
}
.kj-pager-list .page-numbers.dots {
    border-color: transparent; background: none; color: #aab0bd;
    min-width: 22px; padding: 0 2px; letter-spacing: 2px;
}
.kj-pager-list .prev, .kj-pager-list .next { padding: 0 16px; gap: 6px; }
.kj-pager-list .prev::before { content: "\2039"; font-size: 18px; line-height: 1; }
.kj-pager-list .next::after { content: "\203A"; font-size: 18px; line-height: 1; }

@media (max-width: 575px) {
    .kj-pager { justify-content: center; margin-top: 30px; }
    .kj-pager-info { width: 100%; text-align: center; }
    .kj-pager-list { gap: 6px; }
    .kj-pager-list .page-numbers { min-width: 36px; height: 36px; padding: 0 8px; font-size: 13px; }
    .kj-pager-list .prev, .kj-pager-list .next { padding: 0 12px; }
}

/* ---------------------------------------------- 首页 What We Provide 中间配图 */
@media (min-width: 992px) {
    /* 中间列撑满行高，图片与两侧卡片上下齐平（底部不再伸出） */
    #service-details2 .row.align-items-center > .col-lg-4.d-none.d-lg-block {
        align-self: stretch;
    }
    #service-details2 .sd-img {
        margin: 0 -6px 15px;          /* 左右各留 18px 间距，底部与最后一张卡片齐平 */
        height: calc(100% - 15px);
    }
    #service-details2 .sd-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;            /* 等比铺满，裁掉少量左右边缘 */
    }
}

/* 首页 What We Provide：浅灰蓝底色，与上方白色 About 区块拉开层次 */
#service-details2 {
    background: linear-gradient(180deg, #f8fafd 0%, #eef3fa 100%);
    border-top: 1px solid #e6ecf5;
}
/* 底色上的卡片保持纯白，边缘更干净 */
#service-details2 .sr-tw-ul li {
    background: #fff;
    border-color: #e2e8f2;
}

/* ---------------------------------------------- 首页轮播：缓慢放大浮动 */
.slider-area .slider-active .single-slider { overflow: hidden; }
.slider-area .slider-active .single-slider .image-layer {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
}
/* 当前幻灯片：从 1.02 缓慢放大到 1.12 并轻微上浮（12s，比 10s 自动切换略长，视觉上不会停住） */
.slider-area .slider-active .single-slider.slick-active .image-layer {
    animation: kjHeroKenBurns 12s ease-out both;
}
@keyframes kjHeroKenBurns {
    0%   { transform: scale(1.02) translate3d(0, 0, 0); }
    100% { transform: scale(1.12) translate3d(0, -1.4%, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .slider-area .slider-active .single-slider.slick-active .image-layer { animation: none; }
}

/* ---------------------------------------------- 首页轮播大标题：字号与打字效果 */
.slider-area .slider-content h2 {
    font-size: clamp(30px, 5vw, 74px);
    line-height: 1.18;
    letter-spacing: .5px;
}
.slider-area .slider-content h2 .kj-typed,
.slider-area .slider-content h2 .kj-word,
.slider-area .slider-content h2 .kj-ch {
    color: inherit;    /* 拆字后的 span 不要被 .slider-content h2 span 的红色命中 */
}
.slider-area .slider-content h2 .kj-word { display: inline; }
.slider-area .slider-content h2 .kj-ch {
    visibility: hidden;
}
.slider-area .slider-content h2 .kj-ch.is-on {
    visibility: visible;
}
/* 光标 */
.kj-type-caret {
    display: inline-block;
    width: 4px;
    height: .82em;
    margin-left: 5px;
    vertical-align: -.06em;
    background: #fff;
    animation: kjTypeCaret .9s step-end infinite;
}
@keyframes kjTypeCaret {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .kj-type-caret { animation: none; }
}

/* ---------------------------------------------- 首页轮播底部圆点 */
.kj-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
}
.kj-hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: width .35s ease, background .35s ease, transform .35s ease;
}
.kj-hero-dot:hover {
    background: rgba(255, 255, 255, .85);
    transform: scale(1.15);
}
.kj-hero-dot.is-active {
    width: 34px;
    background: #e81c2e;
    box-shadow: 0 4px 12px rgba(232, 28, 46, .45);
}
.kj-hero-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
@media (max-width: 991px) {
    .kj-hero-dots { bottom: 26px; gap: 10px; }
}

/* ---------------------------------------------- 首页 CTA 标题与按钮 */
@media (min-width: 992px) {
    /* 标题字号 62px → 44px，长句稳定落在两行 */
    .cta-area .cta-title h2 {
        font-size: 44px;
        line-height: 1.25;
        text-wrap: balance;            /* 两行长度尽量均衡，断行更自然 */
    }
    /* 标题与按钮垂直居中，按钮靠右 */
    .cta-area .row.justify-content-center { align-items: center; }
    .cta-area .kj-cta-btn {
        margin-top: 0;
        text-align: right;
    }
}

/* ---------------------------------------------- 首页 CTA 内的产品快捷筛选条 */
.kj-hfilter-wrap { margin-top: 64px; }
@media (max-width: 991px) {
    .kj-hfilter-wrap { margin-top: 36px; }
}
.kj-hfilter-bar {
    display: flex; align-items: flex-end; gap: 20px;
    padding: 24px 26px;
    background: #fff; border: 1px solid #e6ecf5; border-radius: 12px;
    box-shadow: 0 18px 40px rgba(12, 41, 87, .08);
}
.kj-hfilter-fields {
    flex: 1 1 auto; min-width: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.kj-hfilter-field label {
    display: block; margin-bottom: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #8c93a1;
}
.kj-hfilter-select { position: relative; }
.kj-hfilter-select select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    width: 100%; height: 52px; padding: 0 44px 0 16px;
    border: 1px solid #e2e8f2; border-radius: 8px; background: #fbfcfe;
    color: #0c2957; font-size: 15px; font-weight: 600; line-height: 52px;
    cursor: pointer; text-overflow: ellipsis;
    transition: border-color .25s ease, background .25s ease;
}
.kj-hfilter-select select:focus {
    outline: none; border-color: #e81c2e; background: #fff;
}
.kj-hfilter-select .fa {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    color: #8c93a1; font-size: 17px; pointer-events: none;
}
.kj-hfilter-btn {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 34px;
    border: 0; border-radius: 8px; background: #e81c2e;
    color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .02em;
    cursor: pointer; box-shadow: 0 10px 22px rgba(232, 28, 46, .22);
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.kj-hfilter-btn:hover {
    background: #c9121f; transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(232, 28, 46, .3);
}
.kj-hfilter-btn .fa { font-size: 16px; }
@media (max-width: 991px) {
    .kj-hfilter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .kj-hfilter-bar { flex-direction: column; align-items: stretch; padding: 20px; gap: 16px; }
    .kj-hfilter-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .kj-hfilter-btn { width: 100%; padding: 0 24px; }
}

/* 顶部信息栏：图标与文字同色（比纯白略淡） */
.second-header .header-cta ul li i {
    color: rgba(255, 255, 255, .82);
}

/* ============================================== 首页关于我们：左右缓慢滑入 + 图片微动 */
.kj-js .kj-reveal {
    opacity: 0;
    transition: opacity 1.15s ease, transform 1.25s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--kj-reveal-delay, 0s);
    will-change: transform, opacity;
}
.kj-js .kj-reveal[data-kj-reveal="left"]  { transform: translate3d(calc(var(--kj-reveal-x, 72px) * -1), 0, 0); }
.kj-js .kj-reveal[data-kj-reveal="right"] { transform: translate3d(var(--kj-reveal-x, 72px), 0, 0); }
.kj-js .kj-reveal[data-kj-reveal="up"]    { transform: translate3d(0, var(--kj-reveal-y, 64px), 0); }
.kj-js .kj-reveal.is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* 左侧图片：悬停轻微放大，红色数据牌跟着抬一下 */
.about-area .kj-about-media img {
    transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.about-area .kj-about-media:hover img {
    transform: scale(1.04);
}
.about-area .kj-about-media .second-about {
    transition: transform .5s ease, box-shadow .5s ease;
}
.about-area .kj-about-media:hover .second-about {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 18px 36px rgba(232, 28, 46, .3);
}

@media (prefers-reduced-motion: reduce) {
    .kj-js .kj-reveal {
        opacity: 1;
        transform: none !important;
        transition: none;
    }
    .about-area .kj-about-media img { transition: none; }
    .about-area .kj-about-media:hover img { transform: none; }
    .about-area .kj-about-media:hover .second-about { transform: none; }
}

/* What We Provide：左右两侧卡片由外向内、中间图片自下而上 */
#service-details2 {
    --kj-reveal-x: 56px;
    --kj-reveal-y: 64px;
    overflow: hidden;   /* 滑入过程中不产生横向滚动条 */
}

/* ============================================== 首页 AUTO SERVICING 服务卡片滚动 */
/* 深色底覆盖整块：原来固定 529px 会把卡片图片从中间截成两段 */
#services-05.services-05::before {
    height: 100%;
}
.kj-serv-carousel {
    margin-top: 10px;
}
.kj-serv-viewport {
    overflow: hidden;
    /* 给悬停上浮的卡片留出空间，再用负外边距抵消，不改变区块高度 */
    padding: 12px 0;
    margin: -12px 0;
}
.kj-serv-track {
    position: relative;
    left: 0;
    display: flex;
    align-items: stretch;
}
.kj-serv-slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0 15px;
    box-sizing: border-box;
}
.kj-serv-slide .services-box-05 {
    height: 100%;
}

/* 底部圆点 + 左右箭头 */
.kj-serv-foot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.kj-serv-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}
.kj-serv-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}
.kj-serv-dot:hover {
    background: rgba(255, 255, 255, .7);
}
.kj-serv-dot.is-active {
    width: 30px;
    background: #e81c2e;
}
.kj-serv-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.kj-serv-arrows {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
}
.kj-serv-arrow {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.kj-serv-arrow:hover {
    background: #e81c2e;
    border-color: #e81c2e;
    color: #fff;
    box-shadow: 0 10px 22px rgba(232, 28, 46, .28);
}
.kj-serv-arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 1199px) {
    .kj-serv-slide { flex-basis: 50%; max-width: 50%; }
}
@media (max-width: 991px) {
    .kj-serv-foot { flex-direction: column; gap: 18px; margin-top: 26px; }
    .kj-serv-arrows { position: static; transform: none; }
}
@media (max-width: 767px) {
    .kj-serv-slide { flex-basis: 100%; max-width: 100%; }
}

/* ============================================== 首页三张服务卡：悬停互动 */
.service-details .services-box07 {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    will-change: transform;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* 左侧红色竖条：默认收起，悬停时展开 */
.service-details .services-box07::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #e81c2e;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .4s ease;
}
.service-details .services-box07:hover {
    transform: translateY(-8px);
    border-color: #f2e1e3;
    box-shadow: 0 24px 48px rgba(12, 41, 87, .14);
}
.service-details .services-box07:hover::before { transform: scaleY(1); }

/* 图标：圆底包一层，悬停变红底白字并轻微旋转 */
.service-details .services-box07 .icon {
    width: 60px; height: 60px;
    margin-right: 20px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #eef2f9;
    transition: background .35s ease, box-shadow .35s ease;
}
.service-details .services-box07 .icon i {
    font-size: 32px; line-height: 1;
    color: #0c2957;
    transition: color .35s ease, transform .45s ease;
}
.service-details .services-box07:hover .icon {
    background: #e81c2e;
    box-shadow: 0 10px 22px rgba(232, 28, 46, .28);
}
.service-details .services-box07:hover .icon i {
    color: #fff;
    transform: scale(1.08) rotate(-8deg);
}

/* 标题变色 */
.service-details .services-box07 .text h5 { transition: color .3s ease; }
.service-details .services-box07:hover .text h5 { color: #e81c2e; }

@media (prefers-reduced-motion: reduce) {
    .service-details .services-box07,
    .service-details .services-box07 .icon,
    .service-details .services-box07 .icon i,
    .service-details .services-box07::before { transition: none; }
}

/* ============================================== 产品详情页 */
.kj-pd-hero { background: #fff; }
.kj-pd-media {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(12, 41, 87, .08);
    overflow: hidden;
}
.kj-pd-media__img {
    width: auto; height: auto;
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    transition: transform .6s ease;
}
.kj-pd-media:hover .kj-pd-media__img { transform: scale(1.04); }
.kj-pd-media__empty { color: #c8d2e0; font-size: 64px; }

.kj-pd-eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: #e81c2e;
    margin-bottom: 14px;
}
.kj-pd-title {
    font-size: 46px; line-height: 1.15;
    letter-spacing: -.02em; margin: 0 0 18px; color: #0c2957;
}
.kj-pd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.kj-pd-tags a {
    display: inline-block;
    padding: 7px 15px; border-radius: 50px;
    border: 1px solid #e2e8f2; background: #f8fafd;
    color: #0c2957; font-size: 13px; font-weight: 600; line-height: 1.4;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.kj-pd-tags a:hover { background: #e81c2e; border-color: #e81c2e; color: #fff; }
.kj-pd-lead {
    font-size: 16px; line-height: 1.85; color: #5c6577;
    max-width: 560px; margin-bottom: 32px;
}
.kj-pd-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.kj-pd-back { color: #0c2957; font-size: 15px; font-weight: 600; }
.kj-pd-back i { margin-right: 8px; }
.kj-pd-back:hover { color: #e81c2e; }
.kj-pd-facts {
    display: flex; flex-wrap: wrap; gap: 18px 28px;
    list-style: none; margin: 34px 0 0; padding: 24px 0 0;
    border-top: 1px solid #eaeef6;
}
.kj-pd-facts li {
    display: flex; align-items: center; gap: 10px;
    color: #0c2957; font-size: 14px; font-weight: 600;
}
.kj-pd-facts i { color: #e81c2e; font-size: 18px; }

/* 正文 */
.kj-pd-desc { background: #f7fafd; }
.kj-pd-panel {
    background: #fff; border: 1px solid #e6ecf5; border-radius: 18px;
    padding: 44px 46px; box-shadow: 0 18px 40px rgba(12, 41, 87, .05);
}
.kj-pd-content { font-size: 16px; line-height: 1.9; color: #4d5666; }
.kj-pd-content > :first-child { margin-top: 0; }
.kj-pd-content > :last-child { margin-bottom: 0; }
.kj-pd-content p { margin-bottom: 1.1em; }
.kj-pd-content h2, .kj-pd-content h3, .kj-pd-content h4 { color: #0c2957; margin: 1.5em 0 .6em; }
.kj-pd-content ul, .kj-pd-content ol { margin: 0 0 1.2em 1.2em; }
.kj-pd-content li { margin-bottom: .45em; }
.kj-pd-content img { max-width: 100%; height: auto; border-radius: 10px; }
.kj-pd-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; }
.kj-pd-content th, .kj-pd-content td { border: 1px solid #e6ecf5; padding: 10px 14px; }
.kj-pd-content th { background: #f7fafd; color: #0c2957; }

.kj-pd-aside {
    background: linear-gradient(160deg, #0c2957 0%, #123a70 100%);
    border-radius: 18px; padding: 38px 34px; color: #fff;
}
.kj-pd-aside h3 { color: #fff; font-size: 24px; line-height: 1.3; margin-bottom: 14px; }
.kj-pd-aside p { color: rgba(255, 255, 255, .75); font-size: 15px; line-height: 1.8; margin-bottom: 26px; }
.kj-pd-aside .btn { background: #e81c2e; border-color: #e81c2e; color: #fff; }
.kj-pd-contact {
    list-style: none; margin: 28px 0 0; padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}
.kj-pd-contact li { color: rgba(255, 255, 255, .85); font-size: 14px; margin-bottom: 12px; }
.kj-pd-contact li:last-child { margin-bottom: 0; }
.kj-pd-contact i { width: 18px; margin-right: 10px; color: #e81c2e; }
.kj-pd-contact a { color: #fff; }

/* 推荐产品 */
.kj-pd-related { background: #fff; }
.kj-pd-related__head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 42px;
}
.kj-pd-related__head .kj-pd-eyebrow { margin-bottom: 10px; }
.kj-pd-related__head h2 { font-size: 38px; line-height: 1.2; margin: 0; color: #0c2957; }
.kj-rel-nav { display: flex; gap: 12px; flex: 0 0 auto; }
.kj-rel-arrow {
    width: 52px; height: 52px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #e2e8f2; border-radius: 50%;
    background: #fff; color: #0c2957; font-size: 18px;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.kj-rel-arrow:hover { background: #e81c2e; border-color: #e81c2e; color: #fff; }
.kj-rel-arrow.slick-disabled { opacity: .35; cursor: default; }

.kj-rel-slider { margin: 0 -14px; }
.kj-rel-slider .kj-rel-slide { box-sizing: border-box; padding: 0 14px; }
.kj-rel-slider .slick-track { display: flex; }
.kj-rel-slider .slick-track .kj-rel-slide { height: auto; }
.kj-rel-card {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid #e9eef6; border-radius: 16px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.kj-rel-card:hover {
    transform: translateY(-4px);
    border-color: #dfe6f1;
    box-shadow: 0 22px 44px rgba(12, 41, 87, .1);
}
.kj-rel-card__media {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; padding: 22px; background: #f8fafd;
}
.kj-rel-card__media img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform .5s ease;
}
.kj-rel-card:hover .kj-rel-card__media img { transform: scale(1.05); }
.kj-rel-card__empty { color: #c8d2e0; font-size: 42px; }
.kj-rel-card__body {
    flex: 1 1 auto; display: flex; flex-direction: column;
    padding: 20px 22px 24px;
}
.kj-rel-card__cat {
    font-size: 12px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: #e81c2e;
    margin-bottom: 8px;
}
.kj-rel-card__title { font-size: 19px; line-height: 1.35; margin: 0 0 14px; }
.kj-rel-card__title a { color: #0c2957; }
.kj-rel-card:hover .kj-rel-card__title a { color: #e81c2e; }
.kj-rel-card__more {
    margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: #0c2957;
}
.kj-rel-card__more i { transition: transform .3s ease; }
.kj-rel-card:hover .kj-rel-card__more { color: #e81c2e; }
.kj-rel-card:hover .kj-rel-card__more i { transform: translateX(4px); }

/* 推荐产品圆点 */
.kj-rel-slider .slick-dots {
    position: static; display: flex; justify-content: center; align-items: center;
    gap: 10px; margin: 34px 0 0; padding: 0; list-style: none;
}
.kj-rel-slider .slick-dots li { width: auto; height: auto; margin: 0; }
.kj-rel-slider .slick-dots li button {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50px;
    background: #d7dfec; text-indent: -9999px; overflow: hidden;
    cursor: pointer; transition: width .3s ease, background .3s ease;
}
.kj-rel-slider .slick-dots li button::before { content: none; }
.kj-rel-slider .slick-dots li.slick-active button { width: 28px; background: #e81c2e; }

@media (max-width: 991px) {
    .kj-pd-media { margin-bottom: 36px; padding: 22px; }
    .kj-pd-title { font-size: 36px; }
    .kj-pd-panel { padding: 30px 26px; }
    .kj-pd-aside { margin-top: 26px; padding: 30px 26px; }
    .kj-pd-related__head h2 { font-size: 30px; }
}
@media (max-width: 767px) {
    .kj-pd-title { font-size: 30px; }
    .kj-pd-facts { gap: 14px 22px; }
    .kj-pd-related__head { align-items: center; }
    .kj-rel-nav { display: none; }
    .kj-pd-related__head h2 { font-size: 26px; }
    /* 窄屏不用负外边距，避免比容器宽出几像素 */
    .kj-rel-slider { margin: 0; }
    .kj-rel-slider .kj-rel-slide { padding: 0 14px; }
}

/* ==============================================
   首页图片悬停互动（统一）
   What We Provide 中图 / AUTO SERVICING 服务卡 /
   Our Facilities / FAQ 配图 / Latest Blog
   ============================================== */

/* 图片容器：裁切 + 圆角，放大时不越界 */
#service-details2 .sd-img,
.kj-serv-slide .services-icon-05,
.team-area2 .team-thumb,
.faq-area .faq-img,
.blog-grid .bsingle__post-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 图片过渡：缓慢放大，长时间缓出，收尾不突兀 */
#service-details2 .sd-img img,
.kj-serv-slide .services-icon-05 img,
.team-area2 .team-thumb img,
.faq-area .faq-img img,
.blog-grid .bsingle__post-thumb img {
    display: block;
    transition: transform 1.05s cubic-bezier(.22, .61, .36, 1), filter .55s ease;
    will-change: transform;
}

/* 悬停：轻微放大 + 一点点提亮 */
#service-details2 .sd-img:hover img,
.kj-serv-slide .services-box-05:hover .services-icon-05 img,
.team-area2 .single-team:hover .team-thumb img,
.faq-area .faq-img:hover img,
.blog-grid .bsingle__post:hover .bsingle__post-thumb img {
    transform: scale(1.06);
    filter: saturate(1.06) brightness(1.02);
}

/* ---------- What We Provide 中间配图 ---------- */
#service-details2 .sd-img {
    box-shadow: 0 16px 36px rgba(12, 41, 87, .10);
    transition: box-shadow .55s ease;
}
#service-details2 .sd-img:hover {
    box-shadow: 0 26px 56px rgba(12, 41, 87, .20);
}

/* ---------- AUTO SERVICING 服务卡 ---------- */
.kj-serv-slide .services-box-05 {
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.kj-serv-slide .services-box-05:hover {
    transform: translateY(-6px);
}
.kj-serv-slide .services-icon-05 {
    border-radius: 6px 6px 0 0;
}
.kj-serv-slide .services-content-05 {
    border-radius: 0 0 6px 6px;
    transition: box-shadow .45s ease;
}
/* 悬停时白色文字块浮起投影 + 底部红条（用 inset 阴影，不改变高度） */
.kj-serv-slide .services-box-05:hover .services-content-05 {
    box-shadow: inset 0 -3px 0 #e81c2e, 0 24px 46px rgba(12, 41, 87, .16);
}
.kj-serv-slide .services-content-05 h4 a {
    transition: color .25s ease;
}
.kj-serv-slide .services-box-05:hover .services-content-05 h4 a {
    color: #e81c2e;
}

/* ---------- Our Facilities ---------- */
.team-area2 .single-team {
    transition: border-color .45s ease, box-shadow .45s ease;
}
.team-area2 .single-team:hover {
    border-color: #f1cdd1;
    box-shadow: 0 22px 44px rgba(12, 41, 87, .13);
}
.team-area2 .team-thumb {
    border-radius: 3px 3px 0 0;
}

/* ---------- FAQ 配图（右侧出屏，只圆左侧） ---------- */
.faq-area .faq-img {
    border-radius: 6px 0 0 6px;
    box-shadow: 0 22px 50px rgba(4, 16, 40, .28);
    transition: box-shadow .55s ease;
}
.faq-area .faq-img:hover {
    box-shadow: 0 30px 66px rgba(4, 16, 40, .4);
}

/* ---------- Latest Blog ---------- */
.blog-grid .bsingle__post-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #e81c2e;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.blog-grid .bsingle__post:hover .bsingle__post-thumb::after {
    transform: scaleX(1);
}
.blog-grid .bsingle__post h2 a {
    transition: color .25s ease;
}
.blog-grid .bsingle__post:hover h2 a {
    color: #e81c2e;
}

@media (prefers-reduced-motion: reduce) {
    #service-details2 .sd-img img,
    .kj-serv-slide .services-icon-05 img,
    .team-area2 .team-thumb img,
    .faq-area .faq-img img,
    .blog-grid .bsingle__post-thumb img {
        transition: none;
    }
    #service-details2 .sd-img:hover img,
    .kj-serv-slide .services-box-05:hover .services-icon-05 img,
    .team-area2 .single-team:hover .team-thumb img,
    .faq-area .faq-img:hover img,
    .blog-grid .bsingle__post:hover .bsingle__post-thumb img {
        transform: none;
        filter: none;
    }
    .kj-serv-slide .services-box-05:hover { transform: none; }
    .blog-grid .bsingle__post-thumb::after { transition: none; }
}

/* ==============================================
   顶部搜索：弹窗
   ============================================== */
.kj-search-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}
.kj-search-modal.is-open {
    display: block;
}
.kj-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 17, 38, .76);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    animation: kjSearchFade .3s ease both;
}
.kj-search-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, calc(100% - 40px));
    margin: 12vh auto 0;
    padding: 44px 46px 38px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 40px 90px rgba(3, 12, 30, .45);
    animation: kjSearchIn .38s cubic-bezier(.22, .61, .36, 1) both;
}
.kj-search-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f5fa;
    color: #0c2957;
    font-size: 16px;
    line-height: 42px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.kj-search-close:hover {
    background: #e81c2e;
    color: #fff;
    transform: rotate(90deg);
}
.kj-search-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #e81c2e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.kj-search-dialog h3 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.25;
    color: #0c2957;
}
.kj-search-sub {
    margin: 0 0 24px;
    color: #6b7688;
    font-size: 15px;
}
.kj-search-form {
    display: flex;
    gap: 10px;
}
.kj-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    padding: 0 18px;
    border: 1px solid #dfe6f1;
    border-radius: 10px;
    background: #f8fafd;
    color: #0c2957;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.kj-search-form input[type="search"]:focus {
    outline: none;
    background: #fff;
    border-color: #e81c2e;
    box-shadow: 0 0 0 4px rgba(232, 28, 46, .12);
}
.kj-search-form button {
    flex: 0 0 auto;
    height: 56px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: #e81c2e;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease, box-shadow .25s ease;
}
.kj-search-form button:hover {
    background: #c91526;
    box-shadow: 0 12px 26px rgba(232, 28, 46, .28);
}
.kj-search-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: 20px;
    font-size: 13px;
    color: #8a93a4;
}
.kj-search-quick a {
    padding: 5px 13px;
    border-radius: 20px;
    background: #f2f5fa;
    color: #0c2957;
    font-size: 13px;
    font-weight: 600;
    transition: background .25s ease, color .25s ease;
}
.kj-search-quick a:hover {
    background: #e81c2e;
    color: #fff;
}
body.kj-search-open {
    overflow: hidden;
}
@keyframes kjSearchFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes kjSearchIn {
    from { opacity: 0; transform: translateY(-14px) scale(.98); }
    to { opacity: 1; transform: none; }
}

/* ==============================================
   搜索结果页
   ============================================== */
.kj-sr {
    background: #fff;
}
.kj-sr-head {
    max-width: 820px;
    margin-bottom: 44px;
}
.kj-sr-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #e81c2e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.kj-sr-title {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.2;
    color: #0c2957;
    word-break: break-word;
}
.kj-sr-meta {
    margin: 0;
    color: #6b7688;
    font-size: 15px;
}
.kj-sr-meta strong {
    color: #e81c2e;
    font-size: 18px;
}
.kj-sr-block {
    margin-bottom: 50px;
}
.kj-sr-block + .kj-sr-block {
    padding-top: 40px;
    border-top: 1px solid #edf1f7;
}
.kj-sr-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
    font-size: 24px;
    color: #0c2957;
}
.kj-sr-sub span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 24px;
    padding: 0 10px;
    border-radius: 20px;
    background: #f2f5fa;
    color: #5b6678;
    font-size: 13px;
    font-weight: 600;
}
.kj-sr-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.kj-sr-list li {
    padding: 18px 0;
    border-bottom: 1px solid #eef2f8;
}
.kj-sr-list li:first-child {
    padding-top: 0;
}
.kj-sr-list a {
    font-size: 18px;
    font-weight: 600;
    color: #0c2957;
    transition: color .22s ease;
}
.kj-sr-list a:hover {
    color: #e81c2e;
}
.kj-sr-type {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fdf1f2;
    color: #e81c2e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: 2px;
}
.kj-sr-list p {
    margin: 6px 0 0;
    color: #6b7688;
    font-size: 14px;
    line-height: 1.75;
}
.kj-sr-empty {
    padding: 56px 30px;
    text-align: center;
    border: 1px dashed #dde5f1;
    border-radius: 16px;
    background: #f8fafd;
}
.kj-sr-empty > i {
    display: block;
    margin-bottom: 14px;
    font-size: 42px;
    color: #c3cddd;
}
.kj-sr-empty h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #0c2957;
}
.kj-sr-empty p {
    margin: 0 0 22px;
    color: #6b7688;
}
.kj-sr-quick {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    margin: 0 0 24px;
}
.kj-sr-quick a {
    padding: 6px 14px;
    border: 1px solid #e2e8f2;
    border-radius: 20px;
    background: #fff;
    color: #0c2957;
    font-size: 13px;
    font-weight: 600;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.kj-sr-quick a:hover {
    background: #e81c2e;
    border-color: #e81c2e;
    color: #fff;
}

@media (max-width: 767px) {
    .kj-search-dialog {
        margin-top: 8vh;
        padding: 34px 22px 26px;
    }
    .kj-search-dialog h3 { font-size: 24px; }
    .kj-search-form { flex-direction: column; }
    .kj-search-form button { width: 100%; }
    .kj-sr-title { font-size: 30px; }
    .kj-sr-sub { font-size: 20px; }
    .kj-sr-empty { padding: 40px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .kj-search-backdrop,
    .kj-search-dialog { animation: none; }
    .kj-search-close:hover { transform: none; }
}

/* ============================================== 产品详情：下载 PDF 按钮 */
.kj-pd-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 16px;
    border: 1px solid #d7dee9;
    border-radius: 4px;
    background: #fff;
    color: #0c2957;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    transition: border-color .3s, box-shadow .3s, transform .3s, background .3s;
}
.kj-pd-pdf i {
    color: #e81c2e;
    font-size: 19px;
    line-height: 1;
}
.kj-pd-pdf span { display: block; }
.kj-pd-pdf em {
    display: block;
    margin-top: 3px;
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: .02em;
    color: #8b98ab;
}
.kj-pd-pdf:hover {
    border-color: #0c2957;
    box-shadow: 0 14px 30px rgba(12, 41, 87, .12);
    transform: translateY(-2px);
    color: #0c2957;
}

/* ============================================== 下载专区 */
.kj-dl-hero {
    background: linear-gradient(180deg, #f6f8fc 0%, #fff 100%);
    border-bottom: 1px solid #eef2f8;
}
.kj-dl-head { max-width: 860px; }
.kj-dl-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #e81c2e;
}
.kj-dl-head h1 {
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.15;
    color: #0c2957;
    margin-bottom: 18px;
}
.kj-dl-head p {
    max-width: 640px;
    font-size: 16px;
    line-height: 1.8;
    color: #6b7a90;
    margin-bottom: 30px;
}
.kj-dl-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 46px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.kj-dl-stats li { display: flex; align-items: baseline; gap: 10px; }
.kj-dl-stats strong { font-size: 28px; line-height: 1; color: #0c2957; }
.kj-dl-stats span {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8b98ab;
}

.kj-dl-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}
.kj-dl-filter button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #dde3ec;
    border-radius: 999px;
    background: #fff;
    color: #46536a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.kj-dl-filter button span {
    display: inline-block;
    min-width: 22px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #f0f3f9;
    color: #7b8798;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    transition: background .25s, color .25s;
}
.kj-dl-filter button:hover { border-color: #b9c6d8; transform: translateY(-1px); }
.kj-dl-filter button.is-active {
    background: #0c2957;
    border-color: #0c2957;
    color: #fff;
}
.kj-dl-filter button.is-active span { background: rgba(255, 255, 255, .18); color: #fff; }

.kj-dl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 32px;
}
.kj-dl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f1;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.kj-dl-card:hover {
    transform: translateY(-4px);
    border-color: #f1cdd1;
    box-shadow: 0 22px 48px rgba(12, 41, 87, .12);
}
.kj-dl-card.is-hidden { display: none; }
.kj-dl-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 118px;
    background: linear-gradient(135deg, #0c2957 0%, #0a1b33 100%);
    overflow: hidden;
}
.kj-dl-card__media::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -70px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}
.kj-dl-card__media i {
    font-size: 40px;
    color: #fff;
    opacity: .92;
    transition: transform .35s;
}
.kj-dl-card:hover .kj-dl-card__media i { transform: scale(1.08); }
.kj-dl-card__badge {
    position: absolute;
    top: 12px;
    left: 14px;
    padding: 2px 7px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #fff;
}
.kj-dl-card__pages {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, .72);
}
.kj-dl-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}
.kj-dl-card__cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #e81c2e;
}
.kj-dl-card__title {
    margin: 8px 0 10px;
    font-size: 17px;
    line-height: 1.35;
}
.kj-dl-card__title a { color: #0c2957; transition: color .25s; }
.kj-dl-card__title a:hover { color: #e81c2e; }
.kj-dl-card__sub {
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #6b7a90;
}
.kj-dl-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    font-size: 12.5px;
    color: #7b8798;
}
.kj-dl-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.kj-dl-card__meta i { font-size: 12px; color: #a9b6c8; }
.kj-dl-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    height: 44px;
    border-radius: 4px;
    background: #e81c2e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background .25s, box-shadow .25s;
}
.kj-dl-card__btn i { color: #fff; font-size: 14px; }
.kj-dl-card__btn:hover { background: #cf1828; color: #fff; box-shadow: 0 12px 26px rgba(232, 28, 46, .24); }
.kj-dl-empty { padding: 44px 0; text-align: center; color: #6b7a90; }

.kj-dl-steps { background: #f6f8fc; padding-top: 80px; }
.kj-dl-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.kj-dl-step {
    padding: 28px 26px 30px;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 8px;
}
.kj-dl-step > span {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #e81c2e;
}
.kj-dl-step h3 { font-size: 18px; color: #0c2957; margin-bottom: 8px; }
.kj-dl-step p { margin: 0; font-size: 14px; line-height: 1.7; color: #6b7a90; }

.kj-dl-help__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 52px 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0b1b33 0%, #123a6b 100%);
    color: #fff;
}
.kj-dl-help__text { max-width: 620px; }
.kj-dl-help__text h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.kj-dl-help__text p { margin: 0; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .76); }
.kj-dl-help__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.kj-dl-help__link { color: #fff; font-size: 14px; font-weight: 600; }
.kj-dl-help__link i { margin-left: 6px; transition: transform .25s; }
.kj-dl-help__link:hover { color: #ffd3d7; }
.kj-dl-help__link:hover i { transform: translateX(4px); }

.kj-dl-extra__inner { max-width: 860px; }

@media (max-width: 991px) {
    .kj-dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kj-dl-help__inner { padding: 40px 32px; }
    .kj-dl-help__text h2 { font-size: 26px; }
}
@media (max-width: 767px) {
    .kj-dl-grid { grid-template-columns: 1fr; gap: 20px; }
    .kj-dl-steps { padding-top: 60px; }
    .kj-dl-steps__grid { grid-template-columns: 1fr; }
    .kj-dl-filter { gap: 8px; }
    .kj-dl-filter button { padding: 9px 16px; font-size: 13px; }
    .kj-dl-stats { gap: 12px 28px; }
    .kj-dl-stats strong { font-size: 24px; }
    .kj-dl-help__inner { padding: 32px 22px; }
    .kj-dl-help__actions { width: 100%; }
    .kj-pd-pdf { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .kj-dl-card,
    .kj-dl-card__media i,
    .kj-dl-filter button { transition: none; }
}