/* ===========================================================
   嘉美好官网 2026-11 改版样式（预览版）
   叠加在 /css/style.css 之上，只新增组件、不覆盖既有视觉语言
   =========================================================== */

/* ---------- 内页：导航栏实心化 ---------- */
body.page-inner .navbar {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    backdrop-filter: blur(12px);
}
body.page-inner .navbar .nav-links a { color: var(--text-dark); }
body.page-inner .navbar .nav-phone { color: var(--primary-dark); }
body.page-inner .nav-mobile-toggle span { background: var(--primary-dark); }

/* ---------- Logo 锁标：主标 + 「高塔海藻肥」红框徽标 ----------
   徽标取自主标红（#D33934），白底红框，随滚动/内页始终一致，
   与左侧白底主标组成一枚完整锁标。 */
:root { --jm-red: #D33934; }

.navbar .nav-logo { margin-right: 28px; gap: 10px; }
.navbar .nav-links { gap: 26px; }
.nav-logo-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.93rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1;
    color: var(--jm-red);
    background: #fff;
    border: 2px solid var(--jm-red);
    border-radius: 3px;
    padding: 8px 10px 8px 12px;
    margin-left: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 7px rgba(6, 47, 66, 0.18);
}
.nav-logo-tag em { font-style: normal; color: inherit; }

/* ===========================================================
   HERO
   =========================================================== */
.jm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #062f42;
    padding: 132px 0 96px;
}
.jm-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(1100px 520px at 50% -6%, rgba(46, 204, 113, 0.22), transparent 62%),
        radial-gradient(820px 520px at 12% 88%, rgba(26, 107, 156, 0.55), transparent 65%),
        linear-gradient(178deg, #05293a 0%, #0a4459 42%, #0f5c74 72%, #0a4b62 100%);
}
.jm-hero-rays {
    position: absolute; inset: 0;
    background: linear-gradient(102deg, transparent 32%, rgba(255,255,255,0.055) 42%, transparent 50%),
                linear-gradient(84deg, transparent 58%, rgba(255,255,255,0.045) 66%, transparent 74%);
    mix-blend-mode: screen;
}
.jm-hero-art { position: absolute; left: 0; right: 0; bottom: -2px; height: 78%; width: 100%; }
.jm-hero-art svg { width: 100%; height: 100%; display: block; }
.kelp-blade { transform-origin: bottom center; animation: kelpSway 9s ease-in-out infinite alternate; }
.kelp-blade:nth-child(2n) { animation-duration: 11.5s; animation-delay: -2.5s; }
.kelp-blade:nth-child(3n) { animation-duration: 13s; animation-delay: -5s; }
@keyframes kelpSway {
    from { transform: rotate(-2.2deg) scaleY(1); }
    to   { transform: rotate(2.6deg) scaleY(1.02); }
}
.bubble { animation: bubbleUp 14s linear infinite; opacity: 0; }
.bubble:nth-child(2n) { animation-duration: 18s; animation-delay: -6s; }
.bubble:nth-child(3n) { animation-duration: 22s; animation-delay: -12s; }
@keyframes bubbleUp {
    0%   { transform: translateY(0); opacity: 0; }
    12%  { opacity: .5; }
    85%  { opacity: .35; }
    100% { transform: translateY(-620px); opacity: 0; }
}

.jm-hero-inner {
    position: relative; z-index: 3;
    width: 100%; max-width: 1140px;
    margin: 0 auto; padding: 0 24px;
    text-align: center;
}
.jm-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; margin-bottom: 26px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #eafff4; font-size: 0.9rem; letter-spacing: 0.14em;
}
.jm-hero-title {
    font-size: clamp(2.2rem, 5.4vw, 4.1rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: 0.1em;
    color: #fff;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.34);
    margin-bottom: 22px;
}
.jm-hero-title span { color: var(--primary-green); display: inline-block; margin: 0 0.14em; }
.jm-hero-sub {
    max-width: 880px; margin: 0 auto 18px;
    font-size: clamp(0.92rem, 1.32vw, 1.06rem);
    line-height: 2.05;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
}
.jm-hero-tags {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
    margin-bottom: 34px;
}
.jm-hero-tags span {
    font-size: 0.82rem; letter-spacing: 0.06em;
    color: #d8f7e6;
    padding: 5px 14px;
    border-radius: 6px;
    background: rgba(46, 204, 113, 0.14);
    border: 1px solid rgba(46, 204, 113, 0.3);
}
.jm-hero-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

/* ---------- 四大品牌条 ---------- */
.jm-brand-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.jm-brand-item {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 18px 12px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.jm-brand-item:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(46, 204, 113, 0.5);
    transform: translateY(-4px);
}
.jm-brand-item img { height: 74px; width: auto; object-fit: contain; }
.jm-brand-item b { font-size: 0.9rem; font-weight: 600; color: #fff; letter-spacing: 0.04em; }
.jm-brand-item small { font-size: 0.66rem; color: rgba(255, 255, 255, 0.62); letter-spacing: 0.08em; text-transform: uppercase; }
.jm-brand-strip-label {
    font-size: 0.78rem; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px; text-transform: uppercase;
}

.jm-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4; line-height: 0; }
.jm-hero-wave svg { width: 100%; height: 74px; display: block; }

/* ===========================================================
   通用区块头
   =========================================================== */
.jm-sec-head { text-align: center; max-width: 780px; margin: 0 auto 46px; }
.jm-eyebrow {
    display: inline-block;
    font-size: 0.8rem; letter-spacing: 0.34em; text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 14px;
}
.jm-sec-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700; color: var(--primary-dark);
    letter-spacing: 0.04em; line-height: 1.4; margin-bottom: 14px;
}
.jm-sec-head h2 em { font-style: normal; color: var(--primary-green); margin-left: 0.16em; }
.jm-sec-head p { font-size: 0.96rem; color: var(--text-mid); line-height: 1.95; }

/* ===========================================================
   战略布局
   =========================================================== */
.jm-strategy { padding: 96px 0 100px; background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 62%); }
.jm-base-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.jm-base-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
    display: flex; flex-direction: column;
}
.jm-base-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.jm-base-media { position: relative; aspect-ratio: 16 / 10; background: #eaf2f6; overflow: hidden; }
.jm-base-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jm-base-media .jm-base-index {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    font-size: 0.7rem; letter-spacing: 0.14em; font-weight: 700;
    color: var(--primary-dark); background: rgba(255, 255, 255, 0.94);
    padding: 5px 11px; border-radius: 6px;
    box-shadow: 0 2px 10px rgba(6, 47, 66, 0.22);
}
.jm-base-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background:
        repeating-linear-gradient(135deg, rgba(11,79,108,0.045) 0 12px, transparent 12px 24px),
        linear-gradient(160deg, #eef5f9, #e2eef4);
    color: #8aa6b4; text-align: center;
}
.jm-base-ph svg { opacity: 0.55; }
.jm-base-ph b { font-size: 0.9rem; font-weight: 600; color: #6d8f9f; letter-spacing: 0.06em; }
.jm-base-ph small { font-size: 0.72rem; color: #9ab2be; letter-spacing: 0.04em; }
.jm-base-body { padding: 22px 22px 24px; flex: 1; }
.jm-base-body h3 {
    font-size: 1.08rem; font-weight: 700; color: var(--primary-dark);
    margin-bottom: 8px; letter-spacing: 0.02em;
}
.jm-base-body p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.85; }
.jm-base-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.jm-base-tags span {
    font-size: 0.72rem; color: var(--primary-blue);
    background: var(--light-blue); padding: 3px 9px; border-radius: 4px;
}

.jm-stat-band {
    margin-top: 46px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(120deg, var(--primary-dark), #12657f 55%, #16795f);
    border-radius: var(--radius-lg);
    padding: 34px 20px;
    box-shadow: var(--shadow-md);
}
.jm-stat-band > div { text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.jm-stat-band > div:last-child { border-right: 0; }
.jm-stat-band b {
    display: block; font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 800;
    color: #fff; letter-spacing: 0.02em; line-height: 1.2;
}
.jm-stat-band b em { font-style: normal; font-size: 0.62em; font-weight: 600; color: var(--primary-green); margin-left: 2px; }
.jm-stat-band span { display: block; margin-top: 6px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.74); letter-spacing: 0.05em; }

.jm-strategy-note {
    max-width: 940px; margin: 40px auto 0;
    font-size: 0.94rem; line-height: 2.15; color: var(--text-mid); text-align: center;
}

/* ===========================================================
   内页 Banner
   =========================================================== */
.jm-page-hero {
    position: relative; overflow: hidden;
    padding: 146px 0 78px;
    background:
        radial-gradient(900px 420px at 50% 0%, rgba(46, 204, 113, 0.2), transparent 62%),
        linear-gradient(160deg, #062f42 0%, #0B4F6C 55%, #0f5f77 100%);
    color: #fff; text-align: center;
}
.jm-page-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
}
.jm-page-hero .container { position: relative; z-index: 2; }
.jm-page-hero .jm-eyebrow { color: rgba(255, 255, 255, 0.62); }
.jm-page-hero h1 {
    font-size: clamp(1.9rem, 4.2vw, 3.05rem);
    font-weight: 800; letter-spacing: 0.12em; line-height: 1.28;
    margin-bottom: 18px; text-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.jm-page-hero p { max-width: 820px; margin: 0 auto; font-size: 0.98rem; line-height: 2; color: rgba(255, 255, 255, 0.84); }
.jm-page-crumb {
    margin-top: 26px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.04em;
}
.jm-page-crumb a { color: rgba(255, 255, 255, 0.82); }
.jm-page-crumb i { font-style: normal; margin: 0 8px; opacity: 0.5; }

/* ===========================================================
   长文正文
   =========================================================== */
.jm-section { padding: 78px 0; }
.jm-section.alt { background: #f7fbfd; }
.jm-prose { max-width: 900px; margin: 0 auto; }
.jm-prose p {
    font-size: 1rem; line-height: 2.2; color: #4a4a4a;
    margin-bottom: 1.35em; text-align: justify;
}
.jm-prose p strong { color: var(--primary-dark); font-weight: 700; }
.jm-prose .jm-lead {
    font-size: 1.06rem; color: var(--primary-dark); line-height: 2.15;
    padding-left: 20px; border-left: 3px solid var(--primary-green);
}
.jm-para-figure {
    margin: 34px 0 8px; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.jm-para-figure img { width: 100%; display: block; }
.jm-para-figure figcaption {
    font-size: 0.78rem; color: var(--text-light); text-align: center;
    padding: 10px; background: #fff;
}

/* ---------- 企业实力 ---------- */
.jm-strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.jm-strength-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 30px 26px; box-shadow: var(--shadow-sm); transition: var(--transition);
    position: relative; overflow: hidden;
}
.jm-strength-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
}
.jm-strength-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.jm-strength-card .jm-sc-icon { font-size: 1.6rem; margin-bottom: 14px; }
.jm-strength-card h3 { font-size: 1.06rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.jm-strength-card .jm-sc-en { font-size: 0.7rem; letter-spacing: 0.18em; color: var(--text-light); text-transform: uppercase; margin-bottom: 16px; }
.jm-strength-card ul { list-style: none; }
.jm-strength-card li {
    position: relative; padding-left: 18px; margin-bottom: 9px;
    font-size: 0.88rem; line-height: 1.75; color: var(--text-mid);
}
.jm-strength-card li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--primary-green);
}

/* ---------- 三大生产基地（关于我们） ---------- */
.jm-bsec {
    position: relative; overflow: hidden;
    background: linear-gradient(165deg, #062F42 0%, #0B4F6C 56%, #13607A 100%);
}
.jm-bsec::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle at 82% 8%, rgba(34,180,142,0.20), transparent 46%),
                      radial-gradient(circle at 6% 92%, rgba(56,150,190,0.18), transparent 44%);
}
.jm-bsec .container { position: relative; z-index: 1; }
.jm-sec-head-light h2 { color: #fff; }
.jm-sec-head-light h2 em { color: #5FD3AE; }
.jm-sec-head-light .jm-eyebrow { color: #8FE3C6; }
.jm-sec-head-light p { color: rgba(255,255,255,0.7); }

.jm-bsec-grid {
    display: grid; grid-template-columns: 1.42fr 1fr; gap: 16px;
    align-items: stretch; margin-top: 6px;
}
.jm-bsec-card {
    position: relative; margin: 0; border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background: #08222D; box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}
.jm-bsec-card:first-child { grid-row: 1 / span 2; }
.jm-bsec-card:not(:first-child) { aspect-ratio: 16 / 9.4; }
.jm-bsec-media { position: absolute; inset: 0; }
.jm-bsec-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.85s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.jm-bsec-card:hover .jm-bsec-media img { transform: scale(1.045); }
.jm-bsec-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    padding: 74px 24px 22px; color: #fff;
    background: linear-gradient(to top, rgba(3,22,31,0.95) 0%, rgba(3,22,31,0.72) 42%, rgba(3,22,31,0) 100%);
}
.jm-bsec-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
    color: #0A3546; background: #7FE0C0; padding: 4px 10px; border-radius: 4px;
    margin-bottom: 10px;
}
.jm-bsec-body h3 {
    font-size: clamp(1.05rem, 1.7vw, 1.32rem); font-weight: 700; letter-spacing: 0.02em;
    margin: 0 0 6px; color: #fff;
}
.jm-bsec-body p { font-size: 0.85rem; line-height: 1.72; color: rgba(255,255,255,0.76); margin: 0; }

/* ---------- 农技知识库配图 ---------- */
.knowledge-card-img {
    height: 160px;
    padding: 0;
    overflow: hidden;
    display: block;
    font-size: 0;
    line-height: 0;
    background: #0B3D4F;
    position: relative;
}
.knowledge-card-img::after { content: none !important; }
.knowledge-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.knowledge-card:hover .knowledge-card-img img,
.knowledge-card:focus-within .knowledge-card-img img { transform: scale(1.06); }
/* 图上的分类标签改为浮在图左上角，避免与卡片内 tag 重复 */
.knowledge-card { position: relative; overflow: hidden; }
.knowledge-card-img::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(4, 26, 36, 0.42) 0%, rgba(4, 26, 36, 0) 55%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .knowledge-card-img { height: 152px; }
}

/* ---------- 专利证书 ---------- */
/* 移动端标题换行控制 + 描述分块，避免末行孤字 / 行首顿号 */
.jm-br-sm { display: none; }
.jm-pat-hint { white-space: nowrap; }
.jm-pat-hint::before { content: " · "; }
.jm-patent-kpi {
    display: flex; justify-content: center; align-items: stretch;
    gap: clamp(14px, 4vw, 54px); margin: 0 auto 40px; text-align: center;
}
.jm-patent-kpi > div { position: relative; padding: 0 clamp(6px, 2vw, 18px); }
.jm-patent-kpi > div + div::before {
    content: ''; position: absolute; left: -2px; top: 12%; bottom: 12%; width: 1px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.jm-patent-kpi b {
    display: block; font-size: clamp(1.75rem, 4.2vw, 2.4rem); font-weight: 800;
    color: var(--primary-dark); line-height: 1.1; letter-spacing: -0.01em;
}
.jm-patent-kpi span { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--text-light); letter-spacing: 0.06em; }

.jm-carousel-wrap { position: relative; }
.jm-carousel {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.jm-carousel::-webkit-scrollbar { display: none; }
.jm-patent-card {
    flex: 0 0 232px; scroll-snap-align: start; margin: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; box-shadow: 0 4px 14px rgba(6, 47, 66, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.jm-patent-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6, 47, 66, 0.14); }
.jm-patent-media {
    position: relative; display: block; width: 100%; padding: 0; border: 0;
    background: #fff; cursor: zoom-in; aspect-ratio: 1 / 1.414; overflow: hidden;
}
.jm-patent-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.jm-patent-zoom {
    position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(11, 79, 108, 0.86); color: #fff;
    opacity: 0; transform: translateY(4px); transition: 0.25s;
}
.jm-patent-card:hover .jm-patent-zoom,
.jm-patent-media:focus-visible .jm-patent-zoom { opacity: 1; transform: none; }
@media (hover: none) { .jm-patent-zoom { opacity: 1; transform: none; } }
.jm-patent-card figcaption { padding: 12px 14px 15px; }
.jm-patent-kind {
    display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em;
    padding: 3px 8px; border-radius: 4px; margin-bottom: 8px;
}
.jm-kind-1 { color: #B3261E; background: #FDECEA; }
.jm-kind-2 { color: #0B4F6C; background: #E7F1F6; }
.jm-kind-3 { color: #1B6B4F; background: #E6F4EE; }
.jm-patent-card h4 {
    font-size: 0.83rem; line-height: 1.62; color: var(--primary-dark); font-weight: 600;
    margin: 0 0 6px; min-height: 2.7em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.jm-patent-num {
    display: block; font-size: 0.7rem; color: var(--text-light);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.01em;
}

.jm-carousel-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.jm-c-btn {
    flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); background: #fff; color: var(--primary-dark);
    font-size: 1.15rem; line-height: 1; cursor: pointer; transition: 0.25s;
}
.jm-c-btn:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.jm-c-track { flex: 1; height: 3px; background: #E4EDF2; border-radius: 2px; overflow: hidden; }
.jm-c-track span {
    display: block; height: 100%; width: 20%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 2px; transition: width 0.15s, transform 0.15s;
}

/* ---------- 证书灯箱 ---------- */
.jm-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    gap: clamp(4px, 1.5vw, 26px); padding: clamp(10px, 3vw, 32px);
    background: rgba(3, 16, 23, 0.95); backdrop-filter: blur(6px);
    animation: jmLbIn 0.22s ease;
}
.jm-lightbox[hidden] { display: none; }
@keyframes jmLbIn { from { opacity: 0; } to { opacity: 1; } }
.jm-lb-stage {
    max-width: min(94vw, 620px); max-height: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.jm-lightbox img {
    max-width: 100%; max-height: 78vh; width: auto; height: auto;
    object-fit: contain; background: #fff; border-radius: 6px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.jm-lb-cap { margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 0.82rem; line-height: 1.6; text-align: center; }
.jm-lb-num { display: inline-block; white-space: nowrap; margin-left: 0.6em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.jm-lb-close {
    position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.5rem;
    line-height: 1; cursor: pointer; transition: 0.25s; z-index: 2;
}
.jm-lb-close:hover, .jm-lb-nav:hover { background: rgba(255, 255, 255, 0.28); }
.jm-lb-nav {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.35rem;
    line-height: 1; cursor: pointer; transition: 0.25s;
}

/* ===========================================================
   企业文化
   =========================================================== */
.jm-culture-quote {
    text-align: center; padding: 10px 0 54px;
}
.jm-culture-quote .zh {
    font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 800;
    color: var(--primary-dark); letter-spacing: 0.16em; line-height: 1.9;
}
.jm-culture-quote .zh em { font-style: normal; color: var(--primary-green); }
.jm-culture-quote .en {
    margin-top: 16px; font-size: 0.74rem; letter-spacing: 0.32em;
    color: var(--text-light); text-transform: uppercase;
}
.jm-culture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.jm-culture-item {
    display: flex; gap: 20px; padding: 28px 26px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
    transition: var(--transition);
}
.jm-culture-item:hover { border-color: rgba(46,204,113,0.55); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.jm-culture-item .num {
    flex: 0 0 auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    color: var(--primary-green); padding-top: 5px;
}
.jm-culture-item h3 { font-size: 0.98rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; letter-spacing: 0.04em; }
.jm-culture-item p { font-size: 0.9rem; line-height: 1.95; color: var(--text-mid); }

/* ===========================================================
   产品：品牌矩阵
   =========================================================== */
.jm-brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.jm-brand-card {
    display: flex; gap: 24px; align-items: center;
    padding: 30px 28px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.jm-brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(46,204,113,0.5); }
.jm-brand-card .logo-box {
    flex: 0 0 128px; height: 128px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #f7fbfd, #eef6fa); border: 1px solid #eaf2f6;
}
.jm-brand-card .logo-box img { max-width: 106px; max-height: 106px; }
.jm-brand-card .info { flex: 1; min-width: 0; }
.jm-brand-card .info h3 { font-size: 1.12rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.jm-brand-card .info .en { font-size: 0.68rem; letter-spacing: 0.16em; color: var(--text-light); text-transform: uppercase; margin-bottom: 10px; }
.jm-brand-card .info p { font-size: 0.86rem; line-height: 1.8; color: var(--text-mid); }
.jm-brand-card .info .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.82rem; font-weight: 600; color: var(--primary-blue); }
.jm-brand-card .info .go span { transition: transform .3s; }
.jm-brand-card:hover .info .go span { transform: translateX(4px); }

/* ---------- 品牌详情页 ---------- */
.jm-brand-head { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.jm-brand-head .logo-box {
    flex: 0 0 140px; height: 140px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.jm-brand-head .logo-box img { max-width: 110px; max-height: 110px; }
.jm-brand-head .txt h2 { font-size: 1.6rem; color: var(--primary-dark); margin-bottom: 8px; }
.jm-brand-head .txt p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.95; max-width: 620px; }

.jm-product-item {
    display: grid; grid-template-columns: 300px 1fr; gap: 32px;
    padding: 30px; margin-top: 26px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.jm-product-shot {
    aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden;
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
    background:
        repeating-linear-gradient(135deg, rgba(11,79,108,0.04) 0 10px, transparent 10px 20px),
        linear-gradient(160deg, #f4f9fc, #e8f1f7);
    color: #7e9aa8; text-align: center; padding: 16px;
    border: 1px dashed #cfe0e8;
}
.jm-product-shot b { font-size: 0.82rem; font-weight: 600; }
.jm-product-shot small { font-size: 0.7rem; color: #9ab2be; }
.jm-product-main h3 { font-size: 1.28rem; color: var(--primary-dark); margin-bottom: 6px; }
.jm-product-main .jm-p-spec {
    display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.84rem; color: var(--text-mid);
    padding: 12px 0 16px; border-bottom: 1px dashed var(--border); margin-bottom: 16px;
}
.jm-product-main .jm-p-spec b { color: var(--primary-dark); font-weight: 600; }
.jm-feature { margin-bottom: 14px; }
.jm-feature h4 {
    font-size: 0.92rem; font-weight: 700; color: var(--primary-blue);
    margin-bottom: 4px; display: flex; align-items: center; gap: 8px;
}
.jm-feature h4 i {
    font-style: normal; width: 20px; height: 20px; border-radius: 50%;
    background: var(--light-green); color: #1a9c58; font-size: 0.68rem;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.jm-feature p { font-size: 0.88rem; line-height: 1.95; color: var(--text-mid); }

.jm-empty-card {
    padding: 40px 30px; text-align: center; margin-top: 24px;
    background: #fbfdfe; border: 1px dashed #cfe0e8; border-radius: var(--radius-lg);
}
.jm-empty-card strong { display: block; font-size: 0.98rem; color: var(--primary-dark); margin-bottom: 8px; }
.jm-empty-card span { font-size: 0.86rem; color: var(--text-mid); line-height: 1.9; }

/* ===========================================================
   改版说明浮层（预览专用）
   =========================================================== */
.jm-note-flag {
    position: fixed; right: 18px; bottom: 18px; z-index: 9999;
    background: rgba(11, 79, 108, 0.94); color: #fff;
    border-radius: 12px; padding: 12px 16px; max-width: 280px;
    font-size: 0.76rem; line-height: 1.75;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
}
.jm-note-flag b { color: var(--primary-green); display: block; margin-bottom: 4px; font-size: 0.8rem; }
.jm-note-flag a { color: #9ef2c4; text-decoration: underline; }

/* ===========================================================
   响应式
   =========================================================== */
@media (max-width: 1024px) {
    .jm-brand-strip { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
    .jm-base-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .jm-strength-grid { grid-template-columns: 1fr; }
    .jm-culture-grid { grid-template-columns: 1fr; }
    .jm-brand-grid { grid-template-columns: 1fr; }
    .jm-product-item { grid-template-columns: 1fr; }
    .jm-product-shot { max-width: 320px; }
    .jm-stat-band { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
    .jm-stat-band > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 768px) {
    .jm-hero { padding: 100px 0 64px; min-height: auto; }
    .jm-hero-title { font-size: 1.82rem; letter-spacing: 0.02em; white-space: nowrap; }
    .jm-hero-brandline { letter-spacing: 0.18em; }
    .jm-hero-sub { line-height: 1.95; }
    .jm-brand-item img { height: 50px; }
    .jm-strategy, .jm-section { padding: 60px 0; }
    .jm-page-hero { padding: 116px 0 56px; }
    .jm-page-hero h1 { font-size: clamp(1.58rem, 7.1vw, 2rem); letter-spacing: 0.04em; }
    .jm-page-hero p { font-size: 0.9rem; line-height: 1.9; }
    /* 避免末行只剩一个字（"…协同作 / 用"）：Chrome 117+ 支持，其余浏览器自动忽略 */
    .jm-page-hero p, .jm-hero-sub, .jm-page-hero h1 { text-wrap: pretty; }
    /* 窄屏省略可省字词，避免末行只剩一两个字 */
    .jm-hide-sm { display: none; }
    .jm-brand-card { flex-direction: column; text-align: center; gap: 16px; }
    .jm-brand-card .info .go { justify-content: center; }
    .navbar .nav-logo { margin-right: 8px; gap: 6px; }
    .nav-logo-tag { font-size: 0.68rem; letter-spacing: 0.06em; padding: 4px 5px 4px 7px; margin-left: 6px; border-width: 1.5px; border-radius: 2px; box-shadow: none; }
    .nav-logo img:first-child { height: 34px !important; }
    .nav-logo img:nth-child(2) { height: 26px !important; }
    .jm-note-flag { display: none; }
    /* 三大基地：单列 */
    .jm-bsec-grid { grid-template-columns: 1fr; gap: 14px; }
    .jm-bsec-card:first-child { grid-row: auto; }
    .jm-bsec-card, .jm-bsec-card:not(:first-child) { aspect-ratio: 16 / 10; }
    /* 专利证书：露出下一张的边缘，提示可滑动 */
    .jm-patent-kpi { margin-bottom: 30px; }
    .jm-patent-card { flex-basis: 62vw; }
}

/* 窄屏：基地卡改为「图上文下」，专利数字换行 */
@media (max-width: 600px) {
    .jm-bsec-card, .jm-bsec-card:not(:first-child) {
        aspect-ratio: auto; display: flex; flex-direction: column;
    }
    .jm-bsec-media { position: static; aspect-ratio: 16 / 10; }
    .jm-bsec-body { position: static; padding: 14px 16px 16px; background: #0A2A38; }
    .jm-bsec-body p { font-size: 0.82rem; line-height: 1.68; }
    .jm-bsec-tag { margin-bottom: 8px; }
    .jm-br-sm { display: inline; }
    .jm-pat-hint { display: block; white-space: normal; margin-top: 4px; }
    .jm-pat-hint::before { content: ""; }
    .jm-patent-card { flex-basis: 68vw; }
    .jm-patent-kpi { gap: 8px; }
    .jm-patent-kpi > div { padding: 0 8px; }
    .jm-patent-kpi b { font-size: 1.55rem; }
    .jm-patent-kpi span { font-size: 0.7rem; letter-spacing: 0; }
    .jm-lb-nav {
        position: absolute; top: 50%; transform: translateY(-50%);
        width: 38px; height: 38px; font-size: 1.15rem;
        background: rgba(3, 16, 23, 0.62); backdrop-filter: blur(3px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    }
    .jm-lb-prev { left: 8px; }
    .jm-lb-next { right: 8px; }
    .jm-lightbox { padding: 48px 8px 16px; }
    .jm-lightbox img { max-height: 70vh; }
    .jm-lb-cap { font-size: 0.76rem; }
}

@media (max-width: 380px) {
    .jm-patent-kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
    .jm-patent-kpi > div + div::before { display: none; }
}

/* ---------- Hero 公司名 —— 以辅助行呈现，保留品牌识别 ---------- */
.jm-hero-brandline {
    font-size: clamp(0.86rem, 1.15vw, 0.98rem);
    letter-spacing: 0.34em;
    color: rgba(255, 255, 255, 0.78);
    margin: -6px 0 20px;
    padding-left: 0.34em;
}

/* ---------- 首页：六大产品系列 ------------------------------- */
.jm-series-row {
    margin-top: 42px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: #f7fbfd;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.jm-series-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.08em;
    white-space: nowrap;
    padding-right: 18px;
    border-right: 1px solid var(--border);
}
.jm-series-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.jm-series-chips a {
    font-size: 0.82rem;
    color: var(--primary-blue);
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 13px;
    border-radius: 999px;
    transition: var(--transition);
}
.jm-series-chips a:hover {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}
.jm-series-more {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary-green);
    white-space: nowrap;
}

/* ---------- 导航：9 项菜单的宽度策略 --------------------------------------
   实测：9 项 + logo + 电话在 1024 会挤成两行，故 1024 及以下改用汉堡菜单，
   与 GitHub / Stripe 等同类长导航站点的处理一致。桌面端强制不换行。 */
.navbar .nav-links a,
.navbar .nav-phone span { white-space: nowrap; }

@media (max-width: 1024px) {
    .navbar .nav-links,
    .navbar .nav-phone { display: none; }
    .navbar .nav-mobile-toggle { display: block; }
}

@media (min-width: 1025px) and (max-width: 1240px) {
    .navbar .nav-links { gap: 20px; }
    .navbar .nav-links a { font-size: 0.9rem; }
    .navbar .nav-logo { margin-right: 18px; }
    .nav-logo-tag { font-size: 0.86rem; padding: 7px 8px 7px 10px; letter-spacing: 0.1em; }
    .navbar .nav-phone { font-size: 0.86rem; }
}

/* 1025–1120：徽标 + 9 项菜单 + 电话已到极限，再收一档 */
@media (min-width: 1025px) and (max-width: 1120px) {
    .navbar .nav-links { gap: 13px; }
    .navbar .nav-links a { font-size: 0.86rem; }
    .navbar .nav-logo { margin-right: 12px; }
    .nav-logo-tag { font-size: 0.8rem; padding: 6px 7px 6px 9px; letter-spacing: 0.06em; margin-left: 9px; }
    .navbar .nav-phone { font-size: 0.82rem; }
}

/* hero 内 SVG 海藻层在部分宽度会溢出 1px（子像素舍入）；clip 不创建滚动容器，不影响 sticky */
html { overflow-x: clip; }
