/* ============================================================
   制造能力页 zhizao.html —— 与海鹏辉全站风格一致（蓝色主题/MiSans/WOW/响应式）
   配色对齐 zznl.html / pzgl.html / muju.html：
   主色 #0056b7 / 亮蓝 #4d7ccc / 藏青 #08284f / 正文 #172f4b / 次要 #687b90 / 浅底 #f5f8fc
   ============================================================ */

/* ---------- 板块分类导航（与 muju.html 分类导航栏一致：白色圆角条、纯文本项、左对齐） ---------- */
html {
    scroll-behavior: smooth;
}
.mj-cat-nav {
    background: transparent;
    border-bottom: none;
    padding: 0;
    margin-top: -.6rem;
    position: relative;
    z-index: 10;
}
.mj-cat-nav .container {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
    padding: .1rem .3rem;
}
.mj-cat-link {
    position: relative;
    padding: .25rem .4rem;
    font-size: .2rem;
    font-weight: 600;
    color: #666;
    border: none;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    transition: all .25s ease;
    cursor: pointer;
    line-height: 1.5;
}
.mj-cat-link::after {
    display: none;
}
.mj-cat-link:hover {
    color: #0056b7;
    background: transparent;
    transform: none;
}
.mj-cat-link.active {
    color: #0056b7;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
    font-weight: 700;
}
#zz-equipment,
#zz-process,
#zz-quality,
#zz-team {
    scroll-margin-top: 90px;
}

/* ---------- Banner（与 muju.html / lxwm.html 完全一致） ---------- */
.mj-banner-tall {
    position: relative;
    min-height: clamp(360px, 38vw, 600px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background: #0056b7;
}

.mj-banner-tall .x-con {
    width: 100%;
    min-height: clamp(360px, 38vw, 600px);
    position: relative;
    display: flex;
    align-items: flex-end;
}

.mj-banner-tall .public-img {
    position: absolute;
    inset: 0;
}

.mj-banner-tall .public-img::before {
    display: none;
}

.mj-banner-tall .public-img::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 21, 47, .78), rgba(7, 21, 47, .36) 58%, rgba(7, 21, 47, .08));
    content: "";
}

.mj-banner-tall .public-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mj-banner-tall .container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 80px 0 clamp(60px, 7vw, 110px);
}

.mj-banner-tall .x-title {
    margin: 0;
    color: #fff;
    font-size: .50rem !important;
    font-weight: 400;
    line-height: calc(60/50);
    max-width: none;
    letter-spacing: normal;
}

.mj-banner-tall .x-title br {
    display: none;
}

.mj-banner-desc {
    max-width: 6.6rem;
    margin: .22rem 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: .18rem;
    line-height: calc(32/18);
    font-weight: 400;
}

@media (max-width: 991px) {
    .mj-banner-tall,
    .mj-banner-tall .x-con {
        min-height: clamp(360px, 38vw, 600px);
    }
}

/* ---------- 通用区块 ---------- */
.zz-section {
    padding: .9rem 0 1.05rem;
}
.zz-section-gray {
    background: #f5f8fc;
}
.zz-head {
    margin-bottom: .6rem;
    text-align: center;
}
.zz-title {
    color: #172f4b;
    font-family: "MiSans", "Microsoft YaHei", sans-serif;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0 0 .12rem;
    position: relative;
}
.zz-title::after {
    background: #0056b7;
    border-radius: 2px;
    bottom: -.24rem;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 52px;
}
.zz-desc {
    color: #687b90;
    font-size: 15px;
    line-height: 1.75;
    margin: .32rem auto 0;
    max-width: 8.6rem;
}

/* ---------- 先进设备展示 ---------- */
.zz-equip-grid {
    display: grid;
    gap: .26rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: .42rem;
}
.zz-equip-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(8, 40, 79, .07);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.zz-equip-card:hover {
    border-color: rgba(0, 86, 183, .28);
    box-shadow: 0 16px 40px rgba(8, 40, 79, .13);
    transform: translateY(-6px);
}
.zz-equip-img {
    aspect-ratio: 4 / 3;
    background: #eef3f9;
    overflow: hidden;
    position: relative;
}
.zz-equip-img img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    width: 100%;
}
.zz-equip-card:hover .zz-equip-img img {
    transform: scale(1.06);
}
.zz-equip-body {
    padding: .26rem .26rem .3rem;
}
.zz-equip-tag {
    background: rgba(0, 86, 183, .09);
    border-radius: 999px;
    color: #0056b7;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 4px 12px;
}
.zz-equip-name {
    color: #172f4b;
    font-family: "MiSans", "Microsoft YaHei", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: .14rem 0 .08rem;
}
.zz-equip-desc {
    color: #687b90;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- 全工艺生产流程（4+3 两行紧凑排列，对齐参考图） ---------- */
.zz-steps-wrap {
    margin-top: .4rem;
}
.zz-steps {
    display: grid;
    gap: .3rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: .4rem;
    position: relative;
}
.zz-step {
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(8, 40, 79, .07);
    display: flex;
    gap: .14rem;
    padding: .24rem .2rem .24rem .24rem;
    position: relative;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
/* 卡片之间圆形箭头（每行末张与最后一张不显示） */
.zz-step::after {
    align-items: center;
    background: #0056b7;
    border: 3px solid #f5f8fc;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 86, 183, .3);
    color: #fff;
    content: "→";
    display: flex;
    font-size: 15px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    z-index: 2;
}
.zz-step:nth-child(4n)::after,
.zz-step:last-child::after {
    display: none;
}
.zz-step:hover {
    border-color: rgba(0, 86, 183, .3);
    box-shadow: 0 14px 32px rgba(8, 40, 79, .12);
    transform: translateY(-5px);
}
.zz-step-num {
    align-items: center;
    background: #0056b7;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 86, 183, .3);
    color: #fff;
    display: flex;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 700;
    height: 46px;
    justify-content: center;
    letter-spacing: .02em;
    transition: transform .3s ease;
    width: 46px;
}
.zz-step:hover .zz-step-num {
    transform: scale(1.08);
}
.zz-step-body {
    min-width: 0;
}
.zz-step-name {
    color: #172f4b;
    font-family: "MiSans", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
}
.zz-step-desc {
    color: #687b90;
    font-size: 12px;
    line-height: 1.5;
    margin: 2px 0 0;
    white-space: nowrap;
}

/* 工艺图片展示 */
.zz-process-showcase {
    display: grid;
    gap: .26rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: .44rem;
}
.zz-process-item {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(8, 40, 79, .07);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.zz-process-item:hover {
    border-color: rgba(0, 86, 183, .28);
    box-shadow: 0 16px 38px rgba(8, 40, 79, .13);
    transform: translateY(-5px);
}
.zz-process-img {
    aspect-ratio: 4 / 3;
    background: #eef3f9;
    overflow: hidden;
    position: relative;
}
.zz-process-img img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    width: 100%;
}
.zz-process-item:hover .zz-process-img img {
    transform: scale(1.06);
}
.zz-process-overlay {
    background: linear-gradient(180deg, transparent 32%, rgba(8, 40, 79, .72));
    bottom: 0;
    left: 0;
    padding: .18rem .18rem .18rem .2rem;
    position: absolute;
    right: 0;
}
.zz-process-tag {
    align-items: center;
    background: linear-gradient(135deg, #0056b7, #4d7ccc);
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(0, 86, 183, .32);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    width: 44px;
}
.zz-process-info {
    padding: .22rem .26rem .26rem;
}
.zz-process-name {
    color: #172f4b;
    font-family: "MiSans", "Microsoft YaHei", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 .06rem;
}
.zz-process-desc {
    color: #687b90;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- 品质管控体系（对齐品质页 pzgl.html 设计语言） ---------- */
.zz-quality-grid {
    display: grid;
    gap: .3rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: .42rem;
}
.zz-quality-card {
    background: #fff;
    border: 1px solid rgba(0, 86, 183, .14);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 86, 183, .07);
    overflow: hidden;
    padding: .42rem .38rem .4rem;
    position: relative;
    transition: box-shadow .4s ease, transform .4s ease, border-color .4s ease;
}
.zz-quality-card::before {
    background: linear-gradient(90deg, #0056b7 0%, #4d7ccc 100%);
    content: "";
    height: 4px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity .4s ease;
}
.zz-quality-card:hover {
    border-color: rgba(0, 86, 183, .35);
    box-shadow: 0 20px 46px rgba(0, 86, 183, .14);
    transform: translateY(-6px);
}
.zz-quality-card:hover::before {
    opacity: 1;
}
.zz-quality-icon {
    align-items: center;
    background: #f4f8fd;
    border-radius: 14px;
    display: flex;
    font-size: 24px;
    height: 58px;
    justify-content: center;
    margin-bottom: .2rem;
    transition: background .4s ease, transform .4s ease;
    width: 58px;
}
.zz-quality-card:hover .zz-quality-icon {
    background: linear-gradient(135deg, #0056b7 0%, #4d7ccc 100%);
    transform: scale(1.06);
}
.zz-quality-name {
    color: #172f4b;
    font-family: "MiSans", "Microsoft YaHei", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 .14rem;
}
.zz-quality-list {
    color: #687b90;
    font-size: 14px;
    line-height: 2;
    list-style: none;
    margin: 0;
    padding: 0;
}
.zz-quality-list li {
    padding-left: .24rem;
    position: relative;
    transition: color .3s ease;
}
.zz-quality-list li:hover {
    color: #0056b7;
}
.zz-quality-list li::before {
    background: #0056b7;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 86, 183, .12);
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    top: .68em;
    width: 6px;
}

/* 品质 · 数字统计（整条渐变数据带，对齐品质页 pz-data） */
.zz-quality-stats {
    background: linear-gradient(135deg, #08284f 0%, #0b3a77 55%, #0d4a96 100%);
    border-radius: 20px;
    display: grid;
    gap: .22rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: .44rem;
    padding: .5rem;
}
.zz-quality-stat {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    padding: .34rem .2rem .32rem;
    text-align: center;
    transition: background .4s ease, transform .4s ease, box-shadow .4s ease;
}
.zz-quality-stat:hover {
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 12px 28px rgba(2, 22, 48, .35);
    transform: translateY(-4px);
}
.zz-quality-stat-num {
    color: #fff;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.zz-quality-stat-num span {
    color: #8ab6ff;
    font-size: 20px;
    margin-left: 2px;
}
.zz-quality-stat-label {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    letter-spacing: .05em;
    margin-top: .08rem;
}

/* ---------- 专业人才团队 ---------- */
.zz-team-stats {
    display: grid;
    gap: .26rem;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: .4rem;
    margin-top: .4rem;
}
.zz-team-stat {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    overflow: hidden;
    padding: .32rem .2rem .3rem;
    position: relative;
    text-align: center;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.zz-team-stat::before {
    background: #0056b7;
    border-radius: 999px;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 0;
    transition: width .35s ease;
}
.zz-team-stat:hover {
    border-color: rgba(0, 86, 183, .25);
    box-shadow: 0 14px 32px rgba(8, 40, 79, .12);
    transform: translateY(-4px);
}
.zz-team-stat:hover::before {
    width: 56px;
}
.zz-team-stat-num {
    color: #172f4b;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.zz-team-stat-num span {
    color: #0056b7;
    font-size: 20px;
    margin-left: 2px;
}
.zz-team-stat-label {
    color: #687b90;
    font-size: 14px;
    letter-spacing: .05em;
    margin-top: .08rem;
}
.zz-team-grid {
    display: grid;
    gap: .26rem;
    grid-template-columns: repeat(4, 1fr);
}
.zz-team-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(8, 40, 79, .07);
    overflow: hidden;
    text-align: center;
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.zz-team-card:hover {
    border-color: rgba(0, 86, 183, .28);
    box-shadow: 0 14px 36px rgba(8, 40, 79, .13);
    transform: translateY(-5px);
}
.zz-team-avatar {
    aspect-ratio: 4 / 3;
    background: #eef3f9;
    overflow: hidden;
    position: relative;
}
.zz-team-avatar::after {
    background: linear-gradient(180deg, transparent 55%, rgba(8, 40, 79, .35));
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.zz-team-avatar img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    width: 100%;
}
.zz-team-card:hover .zz-team-avatar img {
    transform: scale(1.05);
}
.zz-team-body {
    padding: .26rem .24rem .3rem;
}
.zz-team-name {
    color: #172f4b;
    font-family: "MiSans", "Microsoft YaHei", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}
.zz-team-position {
    color: #0056b7;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    margin: 6px 0 8px;
    padding-bottom: 2px;
    position: relative;
    text-transform: uppercase;
}
.zz-team-position::after {
    background: #4d7ccc;
    bottom: 0;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 24px;
}
.zz-team-desc {
    color: #687b90;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .zz-equip-grid,
    .zz-process-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    .zz-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .zz-step::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .mj-cat-nav .container {
        gap: .08rem;
    }

    .mj-cat-link {
        padding: .07rem .18rem;
        font-size: .13rem;
    }

    .zz-section {
        padding: .6rem 0 .7rem;
    }
    .zz-title {
        font-size: 28px;
    }
    .zz-equip-grid,
    .zz-process-showcase,
    .zz-quality-grid,
    .zz-team-grid {
        gap: .18rem;
        grid-template-columns: 1fr 1fr;
    }
    .zz-quality-stats,
    .zz-team-stats {
        grid-template-columns: 1fr 1fr;
    }
    .zz-quality-stats {
        border-radius: 16px;
        padding: .3rem;
    }
    .zz-steps {
        gap: .18rem;
    }
    .zz-step {
        padding: .18rem .16rem .18rem .18rem;
    }
    .zz-step-num {
        font-size: 13px;
        height: 40px;
        width: 40px;
    }
    .zz-quality-stat-num {
        font-size: 34px;
    }
    .zz-team-stat-num {
        font-size: 30px;
    }
}

@media (max-width: 420px) {
    .zz-equip-grid,
    .zz-process-showcase,
    .zz-quality-grid,
    .zz-team-grid {
        grid-template-columns: 1fr;
    }
}
