html {
    min-width: 0;
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body.home-modern {
    color: #1f2937;
    background: #ffffff;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.home-modern * {
    box-sizing: border-box;
}

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

.home-modern .wrp,
.home-modern .bg,
.mh-container {
    width: min(1200px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.home-modern .head_bg {
    height: 34px;
    line-height: 34px;
    background: #f7f9fc;
    border-bottom: 1px solid #e8edf3;
}

.home-modern .head_l {
    color: #475569;
    padding-left: 0;
}

.home-modern .head_r {
    color: #475569;
    padding-right: 0;
}

.home-modern .top_bg {
    width: 100%;
    height: auto;
    padding: 22px 0;
    background: #ffffff;
}

.home-modern .top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-modern .logo,
.home-modern .name,
.home-modern .h_lx {
    float: none;
    margin: 0;
}

.home-modern .logo a img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.home-modern .name {
    flex: 1 1 auto;
}

.home-modern .name p {
    height: auto;
    max-width: none;
    font-size: 30px;
    line-height: 1.2;
}

.home-modern .name span {
    color: #64748b;
    font-size: 15px;
}

.home-modern .h_lx {
    width: auto;
    height: auto;
    padding: 12px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.home-modern .h_lx p {
    padding-left: 0;
    color: #64748b;
}

.home-modern .h_lx p span {
    color: #d92d20;
    font-size: 24px;
    letter-spacing: 0;
}

.home-modern .menu {
    height: auto;
    background: #111827;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.home-modern .Nav {
    display: flex;
    justify-content: space-between;
}

.home-modern .Nav > li {
    float: none;
    width: auto;
    flex: 1 1 0;
}

.home-modern .Nav > li > a {
    line-height: 52px;
    font-size: 15px;
    color: #f8fafc;
}

.home-modern .Nav > li.cur > a,
.home-modern .Nav > li:hover > a {
    background: #d92d20;
}

.home-modern .focus,
.home-modern .prod_bg,
.home-modern > div[style*="background:#fafafa"],
.home-modern .about,
.home-modern > div[style*="dz_bg.png"],
.home-modern .app,
.home-modern > .top70,
.home-modern > div[style*="gg_bg.png"],
.home-modern .infor,
.home-modern > .top40,
.home-modern .wksp,
.home-modern > .top10,
.home-modern .index-one,
.home-modern .my-kefu,
.home-modern .embed-icon,
.home-modern .embed-invite,
.home-modern .embed-hot-issue-item {
    display: none !important;
    visibility: hidden !important;
}

.modern-home {
    overflow: hidden;
    background: #ffffff;
}

.mh-hero {
    position: relative;
    min-height: 560px;
    padding: 92px 0 82px;
    background:
        linear-gradient(115deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.76) 46%, rgba(15, 23, 42, 0.34) 100%),
        url("/upload/factory/hero-production.jpg") center/cover no-repeat;
}

.mh-hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
}

.mh-hero-grid {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 780px;
}

.mh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d92d20;
    font-weight: 700;
    letter-spacing: 0;
}

.mh-eyebrow:before {
    content: "";
    width: 28px;
    height: 2px;
    background: #d92d20;
}

.mh-hero-copy h1 {
    margin: 18px 0 20px;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.16;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.mh-hero-copy p {
    max-width: 650px;
    color: #d8dee8;
    font-size: 18px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.mh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.mh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 48px;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mh-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.mh-btn-primary {
    color: #ffffff;
    background: #d92d20;
    box-shadow: 0 14px 30px rgba(217, 45, 32, 0.26);
}

.mh-btn-primary:hover {
    color: #ffffff;
    background: #b42318;
}

.mh-btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.08);
}

.mh-btn-ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.mh-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 620px;
    margin-top: 38px;
}

.mh-stats div {
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.mh-stats strong {
    display: block;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
}

.mh-stats span {
    display: block;
    margin-top: 10px;
    color: #cbd5e1;
}

.mh-hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.75fr;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.28);
}

.mh-product-feature,
.mh-visual-stack img {
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
}

.mh-product-feature {
    position: relative;
    min-height: 360px;
}

.mh-product-feature img,
.mh-visual-stack img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    background: #ffffff;
}

.mh-product-feature span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    max-width: calc(100% - 36px);
    padding: 9px 14px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.82);
    border-radius: 6px;
    font-weight: 700;
}

.mh-visual-stack {
    display: grid;
    gap: 18px;
}

.mh-hero-note {
    position: absolute;
    right: 30px;
    bottom: -24px;
    max-width: 300px;
    padding: 14px 18px;
    color: #0f172a;
    font-weight: 700;
    background: #fbbf24;
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.mh-section {
    padding: 82px 0;
}

.mh-section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.mh-section-head span {
    color: #d92d20;
    font-weight: 800;
    text-transform: uppercase;
}

.mh-section-head h2,
.mh-copy-panel h2,
.mh-about h2 {
    margin: 10px 0 12px;
    color: #111827;
    font-size: 34px;
    line-height: 1.28;
}

.mh-section-head p,
.mh-copy-panel p,
.mh-about p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
}

.mh-products {
    background: #ffffff;
}

.mh-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.mh-category-row a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    color: #334155;
    border: 1px solid #dbe3ed;
    border-radius: 6px;
    background: #ffffff;
}

.mh-category-row a:hover {
    color: #d92d20;
    border-color: #d92d20;
}

.mh-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mh-product-card {
    display: block;
    overflow: hidden;
    min-height: 360px;
    padding: 14px 14px 20px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mh-product-card:hover {
    transform: translateY(-4px);
    color: #1f2937;
    border-color: rgba(217, 45, 32, 0.35);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.mh-product-card img {
    width: 100%;
    aspect-ratio: 1 / 0.82;
    object-fit: contain;
    padding: 12px;
    border-radius: 6px;
    background: #ffffff;
}

.mh-product-card strong {
    display: block;
    margin-top: 16px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}

.mh-product-card span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    line-height: 1.6;
}

.mh-strength {
    background: #f7f9fc;
}

.mh-factory {
    background: #ffffff;
}

.mh-factory-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 22px;
}

.mh-factory-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 8px;
    background: #111827;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12);
}

.mh-factory-card-large {
    grid-row: span 2;
    min-height: 548px;
}

.mh-factory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.mh-factory-card:hover img {
    transform: scale(1.035);
    opacity: 1;
}

.mh-factory-card:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 56%;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.86));
}

.mh-factory-card div {
    position: absolute;
    z-index: 1;
    left: 22px;
    right: 22px;
    bottom: 20px;
}

.mh-factory-card strong,
.mh-factory-card span {
    display: block;
}

.mh-factory-card strong {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.35;
}

.mh-factory-card span {
    margin-top: 8px;
    color: #d8dee8;
    line-height: 1.55;
}

.mh-specs {
    background: #f7f9fc;
}

.mh-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.mh-spec-card {
    display: block;
    overflow: hidden;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mh-spec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.13);
}

.mh-spec-card img {
    width: 100%;
    aspect-ratio: 1.46 / 1;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
}

.mh-spec-card strong {
    display: block;
    margin-top: 14px;
    color: #111827;
    font-size: 17px;
}

.mh-split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: 54px;
    align-items: center;
}

.mh-image-panel {
    overflow: hidden;
    border-radius: 8px;
    background: #e5e7eb;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.mh-image-panel img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.mh-feature-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.mh-feature-list div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 16px 18px;
    border-left: 4px solid #d92d20;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.mh-feature-list b {
    color: #111827;
    font-size: 17px;
}

.mh-feature-list span {
    color: #64748b;
    line-height: 1.6;
}

.mh-engineering {
    background: #ffffff;
}

.mh-engineering-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: stretch;
}

.mh-drawing-card,
.mh-process-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.mh-drawing-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 14px;
}

.mh-drawing-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
}

.mh-process-card {
    padding: 26px;
    color: #ffffff;
    background: #111827;
}

.mh-process-card h3 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 24px;
}

.mh-process-card ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mh-process-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    color: #e5e7eb;
    font-size: 15px;
}

.mh-process-card li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    color: #111827;
    background: #fbbf24;
    border-radius: 4px;
    font-weight: 800;
}

.mh-applications {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.78)),
        url("/upload/factory/mold-storage.jpg") center/cover no-repeat;
}

.mh-section-head-light h2,
.mh-section-head-light p {
    color: #ffffff;
}

.mh-section-head-light p {
    color: #d8dee8;
}

.mh-app-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.mh-app-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    padding: 16px;
    color: #ffffff;
    text-align: center;
    line-height: 1.45;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.mh-app-grid a:hover {
    color: #ffffff;
    background: rgba(217, 45, 32, 0.88);
}

.mh-about {
    background: #f7f9fc;
}

.mh-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 54px;
    align-items: center;
}

.mh-about-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.mh-text-link {
    display: inline-flex;
    margin-top: 22px;
    color: #d92d20;
    font-weight: 800;
}

.mh-text-link:hover {
    color: #b42318;
}

.mh-cta {
    padding: 48px 0;
    background: #111827;
}

.mh-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mh-cta-box span,
.mh-cta-box strong {
    display: block;
}

.mh-cta-box span {
    color: #fbbf24;
    font-weight: 800;
}

.mh-cta-box strong {
    margin-top: 8px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.45;
}

.mh-cta-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 54px;
    color: #ffffff;
    border-radius: 6px;
    background: #d92d20;
    font-size: 24px;
    font-weight: 800;
}

.mh-cta-box a:hover {
    color: #ffffff;
    background: #b42318;
}

.home-modern .footer_bg {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .mh-hero-grid,
    .mh-split,
    .mh-factory-grid,
    .mh-about-grid {
        grid-template-columns: 1fr;
    }

    .mh-factory-card-large {
        grid-row: auto;
        min-height: 360px;
    }

    .mh-hero-visual {
        max-width: 680px;
    }

    .mh-engineering-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mh-process-card {
        grid-column: 1 / -1;
    }

    .mh-app-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    .home-modern .wrp,
    .home-modern .bg,
    .mh-container {
        width: min(100% - 28px, 1200px);
    }

    .home-modern .head_bg {
        display: none;
    }

    .home-modern .top {
        flex-wrap: wrap;
    }

    .home-modern .name p {
        font-size: 24px;
    }

    .home-modern .h_lx {
        width: 100%;
    }

    .home-modern .Nav {
        flex-wrap: wrap;
        overflow: visible;
        justify-content: flex-start;
    }

    .home-modern .Nav > li {
        flex: 1 0 25%;
        min-width: 0;
    }

    .home-modern .Nav > li > a {
        display: block;
        line-height: 44px;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mh-hero {
        min-height: auto;
        padding: 58px 0 56px;
    }

    .mh-hero-copy h1 {
        font-size: 34px;
    }

    .mh-hero-copy p {
        font-size: 16px;
    }

    .mh-stats,
    .mh-products-grid,
    .mh-spec-grid,
    .mh-factory-grid,
    .mh-engineering-grid {
        grid-template-columns: 1fr;
    }

    .mh-hero-visual {
        grid-template-columns: 1fr;
    }

    .mh-hero-note {
        position: static;
        max-width: none;
        margin-top: 0;
    }

    .mh-product-feature {
        min-height: 300px;
    }

    .mh-section {
        padding: 58px 0;
    }

    .mh-section-head h2,
    .mh-copy-panel h2,
    .mh-about h2 {
        font-size: 28px;
    }

    .mh-image-panel img {
        height: 360px;
    }

    .mh-factory-card,
    .mh-factory-card-large {
        min-height: 280px;
    }

    .mh-app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mh-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-modern .footer_bg {
        padding: 34px 0;
    }

    .home-modern .footer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .home-modern .footer li,
    .home-modern .footer li:nth-child(2),
    .home-modern .footer li:nth-child(3),
    .home-modern .footer li:nth-child(4) {
        float: none;
        width: auto;
        height: auto;
        margin: 0;
        border-right: 0;
    }

    .home-modern .footer li .dbdh a {
        float: none;
        width: auto;
    }
}

@media (max-width: 520px) {
    .home-modern .logo a img {
        width: 58px;
        height: 58px;
    }

    .home-modern .name p {
        font-size: 21px;
    }

    .home-modern .name span {
        font-size: 13px;
    }

    .mh-hero-copy h1 {
        font-size: 28px;
        line-height: 1.24;
    }

    .mh-actions {
        display: grid;
    }

    .mh-btn,
    .mh-cta-box a {
        width: 100%;
    }

    .mh-app-grid {
        grid-template-columns: 1fr;
    }

    .mh-feature-list div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .mh-cta-box strong {
        font-size: 20px;
    }

    .home-modern .footer {
        grid-template-columns: 1fr;
    }
}
