/* ==========================================================================
   嘉美好官网 · 首页视觉 v3（2026-11-18）
   仅由 index.html 引入。目标：
   1) 统一区块头部（eyebrow + h2 + lead）与卡片语言（圆角 / 细边 / 柔影）
   2) 企业文化由「六宫格表单」改为「左侧叙事 + 右侧 2×2 玻璃卡 + 底部职责带」
   3) 去掉 emoji 图标，统一为线性 SVG；理顺背景节奏
   ========================================================================== */

:root {
    --h-ink: #0A2E3E;
    --h-ink2: #0B4F6C;
    --h-green: #1FA463;
    --h-mint: #8FE3C6;
    --h-line: #E3EDF1;
    --h-muted: #5C727D;
    --h-soft: #F6FAF9;
    --h-r: 16px;
    --h-shadow: 0 16px 38px -30px rgba(11, 79, 108, .45);
    --h-shadow-hi: 0 26px 52px -28px rgba(11, 79, 108, .34);
}

/* ========================= 1. 区块节奏 ========================= */
.jm-strategy { padding: 88px 0 84px; }
.about-section { padding: 84px 0 80px; background: #fff; }
.page-home .about-container { align-items: start; }

/* 左栏 = 图片 + 企业速览，与右栏正文高度接近，避免图片下方大片空白 */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.products { padding: 88px 0 74px; background: #fff; }
.jm-insights { padding: 88px 0 92px; }

/* ========================= 2. 区块头部统一 ========================= */
.jm-sec-head,
.section-title,
.jm-prices-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 44px;
}

.jm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .69rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-indent: .3em;
    color: #1A8B6E;
    margin-bottom: 12px;
}
.jm-eyebrow::before {
    content: "";
    width: 20px;
    height: 1.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(46, 204, 113, .15), #2ECC71);
    flex: none;
}
.jm-sec-head .jm-eyebrow,
.section-title .jm-eyebrow,
.jm-prices-head .jm-eyebrow { margin-bottom: 14px; }

/* h2 在 style.css 里是 inline-block，会与 eyebrow 并排 —— 这里必须改回块级 */
.page-home .section-title h2 { display: block; }
/* 已有 eyebrow 的短线，去掉旧版标题下方的装饰横线，避免重复 */
.page-home .section-title h2::after { display: none; }
.page-home .section-title h2 { margin-bottom: 14px; }

.jm-sec-head h2,
.section-title h2,
.jm-prices-head h2 {
    font-size: clamp(1.6rem, 2.45vw, 2.1rem);
    font-weight: 800;
    line-height: 1.36;
    letter-spacing: .01em;
    color: var(--h-ink2);
    margin: 0 0 14px;
}
.jm-sec-head h2 em,
.section-title h2 em {
    font-style: normal;
    color: #2ECC71;
    margin: 0 .14em;
    font-weight: 400;
}
.jm-sec-head > p,
.section-title > p,
.jm-prices-head > p {
    font-size: .93rem;
    line-height: 1.85;
    color: var(--h-muted);
    letter-spacing: .01em;
    margin: 0;
}

/* ========================= 3. 战略布局 ========================= */
.jm-base-card {
    background: #fff;
    border: 1px solid var(--h-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--h-shadow);
    transition: transform .38s cubic-bezier(.22, .61, .36, 1), box-shadow .38s ease, border-color .3s ease;
}
.jm-base-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 204, 113, .38);
    box-shadow: var(--h-shadow-hi);
}
.jm-base-media { overflow: hidden; }
.jm-base-media img {
    transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.jm-base-card:hover .jm-base-media img { transform: scale(1.045); }
.jm-base-index {
    background: rgba(6, 42, 58, .58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: .62rem;
    letter-spacing: .16em;
    padding: 4px 9px;
    border-radius: 6px;
}
.jm-base-tags span {
    background: rgba(46, 204, 113, .08);
    border: 1px solid rgba(46, 204, 113, .16);
    color: #1B7A52;
    font-size: .72rem;
    border-radius: 6px;
    padding: 3px 9px;
}

/* 数据条：加一层细网格与内高光，数字等宽 */
.jm-stat-band {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(520px 200px at 12% 0%, rgba(46, 204, 113, .28), transparent 70%),
        linear-gradient(112deg, #0A3A4F 0%, #0C5A5C 52%, #0E6B52 100%);
    box-shadow: 0 24px 48px -30px rgba(6, 47, 66, .6);
}
.jm-stat-band::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 84px 100%;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.jm-stat-band > div { position: relative; z-index: 1; }
.jm-stat-band b { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.jm-stat-band span { letter-spacing: .1em; }

/* 段末长注释：降为注脚体量，避免喧宾夺主 */
.jm-strategy-note {
    max-width: 940px;
    margin: 26px auto 0;
    font-size: .82rem;
    line-height: 1.95;
    color: #7A8C95;
    text-align: center;
    border-top: 1px solid var(--h-line);
    padding-top: 22px;
}

/* ========================= 4. 关于我们 ========================= */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(46, 204, 113, .09);
    border: 1px solid rgba(46, 204, 113, .2);
    color: #1B7A52;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 6px 13px 6px 9px;
    border-radius: 999px;
}
.about-badge svg { width: 15px; height: 15px; flex: none; color: #1FA463; }
.about-badge span { display: none; }

.about-section h2 {
    font-size: clamp(1.54rem, 2.2vw, 1.92rem);
    font-weight: 800;
    color: var(--h-ink2);
    letter-spacing: .01em;
    margin: 14px 0 16px;
}
.about-section h2 span { color: #1FA463; }
.about-text {
    font-size: .9rem;
    line-height: 1.98;
    color: #4E6470;
    letter-spacing: .005em;
    text-align: left;
}

/* 四张小卡：浅底 + 描边，图标区固定 40 宽，标题层级统一 */
.about-highlights { gap: 12px; }
.about-highlight-item {
    background: linear-gradient(170deg, #FBFEFD, #F5FAF8);
    border: 1px solid var(--h-line);
    border-radius: 14px;
    padding: 18px 18px 16px 16px;
    gap: 13px;
    transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.about-highlight-item:hover {
    border-color: rgba(46, 204, 113, .34);
    background: #fff;
    transform: translateY(-2px);
}
.about-highlight-icon {
    width: 34px;
    height: 34px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(46, 204, 113, .1);
    color: #1B8A5E;
    font-size: 0;
}
.about-highlight-icon svg { width: 19px; height: 19px; display: block; }
.about-highlight-item h3,
.about-highlight-item h4 {
    font-size: .92rem;
    font-weight: 700;
    color: var(--h-ink2);
    margin: 0 0 5px;
    line-height: 1.5;
}
.about-highlight-item p {
    text-wrap: pretty;
    font-size: .79rem;
    line-height: 1.8;
    color: #6D8189;
    margin: 0;
}

/* 企业速览：改为浅色描边卡，避免与下方深色企业文化区撞色 */
.about-mission {
    margin-top: 0;
    padding: 20px 22px 18px;
    background: linear-gradient(160deg, #F7FCFA, #FFFFFF);
    border: 1px solid rgba(46, 204, 113, .24);
    border-left: 3px solid #2ECC71;
    border-radius: 14px;
    box-shadow: 0 12px 30px -26px rgba(11, 79, 108, .5);
}
.mission-label {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .26em;
    color: #1A8B6E;
    margin-bottom: 10px;
}
.mission-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
}
.mission-text .mi {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mission-text .mi i {
    font-style: normal;
    font-size: .69rem;
    letter-spacing: .16em;
    color: #93A5AD;
}
.mission-text .mi b {
    font-size: .85rem;
    font-weight: 700;
    color: var(--h-ink2);
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
}
.mission-text span {
    color: var(--h-ink2);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.about-mission > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: .83rem;
    font-weight: 600;
    color: var(--h-green) !important;
}
.about-mission > a:hover { color: #0E7A48 !important; }

/* ========================= 5. 企业文化（重做） ========================= */
.jm-culture-band {
    position: relative;
    padding: 96px 0 88px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(620px 300px at 95% -6%, rgba(46, 204, 113, .15), transparent 62%),
        radial-gradient(800px 420px at -4% 106%, rgba(28, 104, 152, .3), transparent 66%),
        linear-gradient(157deg, #072B3B 0%, #0A4055 48%, #062632 100%);
}
/* 顶部与底部各一条极细的分界光，收住深色块 */
.jm-culture-band::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 227, 198, .34), transparent);
}
.jm-culture-band::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 227, 198, .22), transparent);
}
/* 首页无页内子导航，锚点只需让开 64px 主导航 */
.page-home #culture { scroll-margin-top: 76px; }
/* 海藻剪影：延续首屏语言，不抢内容 */
.jm-cul-art {
    position: absolute;
    right: -4%;
    bottom: -12%;
    width: min(620px, 52vw);
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}
.jm-cul-art svg { width: 100%; height: auto; display: block; }
.jm-culture-band .container { position: relative; z-index: 2; }

.jm-cul-grid {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    gap: 56px 64px;
    align-items: center;
}

/* —— 左：叙事 —— */
.jm-cul-lead .jm-eyebrow { color: var(--h-mint); }
.jm-cul-lead .jm-eyebrow::before { background: linear-gradient(90deg, rgba(143, 227, 198, .1), var(--h-mint)); }
.jm-cul-lead h2 {
    font-size: clamp(1.78rem, 3vw, 2.44rem);
    font-weight: 800;
    line-height: 1.36;
    letter-spacing: .035em;
    color: #fff;
    margin: 4px 0 16px;
}
.jm-cul-lead h2 span {
    color: rgba(255, 255, 255, .3);
    font-weight: 300;
    margin: 0 .1em;
}
.jm-cul-lead h2 em {
    font-style: normal;
    background: linear-gradient(96deg, #B6F2DA 0%, #57D98F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.jm-cul-en {
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .2em;
    color: rgba(143, 227, 198, .74);
    margin-bottom: 18px;
}
.jm-cul-en i { font-style: normal; opacity: .5; margin: 0 .2em; }
.jm-cul-text {
    text-wrap: pretty;
    font-size: .89rem;
    line-height: 2;
    color: rgba(255, 255, 255, .62);
    margin-bottom: 26px;
}
.jm-cul-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px 11px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(143, 227, 198, .32);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.jm-cul-cta svg {
    width: 15px;
    height: 15px;
    transition: transform .3s ease;
}
.jm-cul-cta:hover {
    background: #2ECC71;
    border-color: #2ECC71;
    color: #062A38;
}
.jm-cul-cta:hover svg { transform: translateX(4px); }

/* —— 右：2×2 玻璃卡 —— */
.jm-cul-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}
.jm-cul-card {
    position: relative;
    padding: 24px 24px 22px;
    border-radius: var(--h-r);
    background:
        linear-gradient(168deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022)),
        rgba(3, 26, 36, .28);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .34s ease, border-color .34s ease, transform .34s ease;
}
.jm-cul-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    border-radius: var(--h-r);
}
.jm-cul-card:hover {
    background:
        linear-gradient(168deg, rgba(46, 204, 113, .16), rgba(255, 255, 255, .04)),
        rgba(3, 26, 36, .2);
    border-color: rgba(143, 227, 198, .36);
    transform: translateY(-3px);
}
.jm-cul-meta {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
}
.jm-cul-meta .no {
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: rgba(143, 227, 198, .52);
    font-variant-numeric: tabular-nums;
}
.jm-cul-meta .k {
    position: relative;
    padding-left: 11px;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .24em;
    color: rgba(255, 255, 255, .44);
}
.jm-cul-meta .k::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 1px;
    background: rgba(255, 255, 255, .24);
}
.jm-cul-card h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.62;
    letter-spacing: .02em;
    color: #fff;
    margin: 0 0 8px;
}
.jm-cul-card p {
    text-wrap: pretty;
    font-size: .8rem;
    line-height: 1.86;
    color: rgba(255, 255, 255, .55);
    margin: 0;
}

/* —— 底部：社会职责带 —— */
.jm-cul-foot {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px 28px;
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.jm-cul-foot .k {
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .26em;
    color: rgba(143, 227, 198, .78);
    white-space: nowrap;
}
.jm-cul-foot .v {
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
    line-height: 1.6;
}
.jm-cul-foot .d {
    font-size: .78rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .46);
    max-width: 400px;
    text-align: right;
}

/* ========================= 6. 产品服务 ========================= */
.jm-brand-grid { gap: 16px; }
.jm-brand-card {
    background: #fff;
    border: 1px solid var(--h-line);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: var(--h-shadow);
    transition: transform .36s cubic-bezier(.22, .61, .36, 1), box-shadow .36s ease, border-color .3s ease;
}
.jm-brand-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 204, 113, .42);
    box-shadow: var(--h-shadow-hi);
}
.jm-brand-card .logo-box {
    width: 96px;
    height: 96px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(160deg, #F8FCFA, #EEF6F3);
    border: 1px solid rgba(11, 79, 108, .07);
    padding: 8px;
}

/* >>> BRAND-LOGO-FIT：logo 一律约束在方框内，禁止溢出压字（P22） */
.jm-brand-card .logo-box img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.jm-brand-card .info h3 {
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--h-ink2);
    letter-spacing: .01em;
}
.jm-brand-card .info .en {
    font-size: .64rem;
    letter-spacing: .2em;
    color: #9AACB4;
}
.jm-brand-card .info p {
    font-size: .83rem;
    line-height: 1.82;
    color: #5E737D;
}
.jm-brand-card .info .go {
    font-size: .8rem;
    color: var(--h-green);
}

/* 六大系列：由灰底横条改为浅薄荷带 + 左侧标签竖线 */
.jm-series-row {
    margin-top: 22px;
    padding: 18px 24px 18px 22px;
    background: linear-gradient(96deg, #F5FBF8 0%, #FBFEFD 60%, #F5FBF8 100%);
    border: 1px solid rgba(46, 204, 113, .18);
    border-radius: 16px;
}
.jm-series-label {
    position: relative;
    padding-left: 14px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: #17694A;
}
.jm-series-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, #2ECC71, #1FA463);
}
.jm-series-chips a {
    background: #fff;
    border: 1px solid rgba(11, 79, 108, .1);
    color: #3E5B67;
    font-size: .8rem;
    border-radius: 8px;
    padding: 6px 13px;
    transition: border-color .26s ease, color .26s ease, background .26s ease;
}
.jm-series-chips a:hover {
    border-color: rgba(46, 204, 113, .48);
    color: #14764E;
    background: rgba(46, 204, 113, .05);
}

/* ========================= 7. 今日肥价（覆盖内联 style） ========================= */
.jm-prices .jm-prices-head h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.jm-prices .jm-prices-head h2 svg {
    width: 24px;
    height: 24px;
    color: #1FA463;
    flex: none;
}
.jm-prices .jm-prices-head > p {
    font-size: .9rem;
    color: #6C8189;
}
.jm-prices .jm-price-board { gap: 13px; align-items: stretch; }
.jm-prices .jm-price-card { height: 100%; display: flex; flex-direction: column; }

.jm-prices .jm-price-card {
    border: 1px solid var(--h-line);
    border-top: 2px solid #1A6B9C;
    border-radius: 14px;
    padding: 15px 16px 14px;
    box-shadow: 0 12px 30px -26px rgba(11, 79, 108, .5);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.jm-prices .jm-price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -26px rgba(11, 79, 108, .42);
    border-color: rgba(46, 204, 113, .3);
    border-top-color: #1A6B9C;
}
.jm-prices .jm-price-card.futures { border-top-color: #E8A93C; }
.jm-prices .jm-p-name { font-size: .86rem; letter-spacing: .01em; }
.jm-prices .jm-p-tag { font-size: .61rem; padding: 2px 8px; border-radius: 999px; }
.jm-prices .jm-p-value {
    font-size: 1.42rem;
    letter-spacing: -.01em;
    margin: 9px 0 3px;
}
.jm-prices .jm-p-change { font-size: .76rem; }
.jm-prices .jm-price-meta {
    font-size: .74rem;
    color: #93A5AD;
    padding: 16px 0 4px;
}
.jm-prices .jm-price-note {
    font-size: .73rem;
    color: #A2B1B8;
    line-height: 1.8;
}

/* ========================= 8. 农技资讯 / 常见问题 微调 ========================= */
.jm-insights .jm-sec-head { margin-bottom: 32px; }
.jm-insights .jm-sec-head h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }

.jm-faq {
    background: linear-gradient(180deg, #FBFDFC 0%, #FFFFFF 46%);
    border-top: 1px solid #EEF4F2;
    padding: 88px 0 92px;
}
.jm-faq::before {
    background: radial-gradient(560px 200px at 14% 0%, rgba(46, 204, 113, .07), transparent 72%);
}

/* ========================= 9. 响应式 ========================= */
@media (max-width: 1080px) {
    .jm-cul-grid { grid-template-columns: 1fr; gap: 38px; }
    .jm-cul-lead h2 { font-size: clamp(1.6rem, 4.4vw, 2.2rem); }
    .jm-cul-text { max-width: none; }
    .jm-cul-art { width: 420px; right: -14%; bottom: -6%; opacity: .28; }
    .jm-cul-foot { grid-template-columns: auto 1fr; }
    .jm-cul-foot .d { grid-column: 1 / -1; text-align: left; max-width: none; }
}

/* 平板：2 列，避免 1024 以下被压成单列、4 张卡纵向拉成两屏 */
@media (max-width: 1024px) and (min-width: 761px) {
    .jm-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .jm-brand-card { padding: 20px; gap: 16px; }
    .jm-brand-card .logo-box { width: 88px; height: 88px; padding: 7px; }
    .jm-brand-card .info p { font-size: .8rem; }
}

@media (max-width: 968px) {
    .page-home .about-content-area { order: 1; }
    .page-home .about-left { order: 2; }
    .mission-text { gap: 10px 18px; }
}

@media (max-width: 760px) {
    .jm-strategy { padding: 60px 0 58px; }
    .about-section { padding: 56px 0 52px; }
    .products { padding: 60px 0 52px; }
    .jm-insights { padding: 62px 0 66px; }
    .jm-culture-band { padding: 64px 0 58px; }
    .jm-sec-head, .section-title, .jm-prices-head { margin-bottom: 30px; }
    .jm-sec-head > p, .section-title > p { font-size: .86rem; }

    .jm-cul-cards { gap: 11px; }
    .jm-cul-card { padding: 19px 18px 17px; }
    .jm-cul-card h3 { font-size: .94rem; }
    .jm-cul-card p { font-size: .78rem; }
    .jm-cul-foot { margin-top: 34px; padding-top: 22px; grid-template-columns: 1fr; gap: 10px; }
    .jm-cul-foot .d { text-align: left; }
    .jm-cul-cta { width: 100%; justify-content: center; }

    .jm-brand-card { padding: 18px; }
    .jm-brand-card .logo-box { width: 92px; height: 92px; padding: 6px; }
    .jm-series-row { padding: 16px 16px; }
    .jm-strategy-note { font-size: .78rem; line-height: 1.9; }
}

@media (max-width: 520px) {
    .jm-cul-cards { grid-template-columns: 1fr; }
    .jm-cul-lead h2 { letter-spacing: .02em; }
    .about-highlight-item { padding: 16px 14px 14px 14px; }
}
