/* ============================================================
   危化品物流企业官网 - 重工工业风格样式表
   Template: hazmat
   存放路径: template/hazmat/css/style.css
   ============================================================ */

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #2D3748;
    background-color: #F8FAFC;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: all .2s ease; }
a:hover { color: #D97706; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: #0F172A; line-height: 1.4; }

/* ---------- 工具类 ---------- */
.container-hm { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
    font-size: 30px;
    color: #0F172A;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 10px;
}
.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: #D97706;
}
.section-title p {
    color: #64748B;
    font-size: 15px;
    letter-spacing: 1px;
}
.text-center { text-align: center; }
.text-muted { color: #64748B; }
.text-orange { color: #D97706; }
.btn-hm {
    display: inline-block;
    padding: 10px 28px;
    background: #D97706;
    color: #fff !important;
    border: 2px solid #D97706;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .25s ease;
}
.btn-hm:hover {
    background: transparent;
    color: #D97706 !important;
}
.btn-hm-outline {
    display: inline-block;
    padding: 10px 28px;
    background: transparent;
    color: #0F172A;
    border: 2px solid #0F172A;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .25s ease;
}
.btn-hm-outline:hover {
    background: #0F172A;
    color: #fff;
}

/* ---------- 顶栏（联系信息条） ---------- */
.hm-topbar {
    background: #0F172A;
    color: #CBD5E1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid #D97706;
}
.hm-topbar .container-hm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.hm-topbar .tb-info i { color: #D97706; margin-right: 5px; }
.hm-topbar .tb-info span { margin-right: 22px; }
.hm-topbar .tb-lg-switch {
    display: flex;
    gap: 10px;
}
.hm-topbar .tb-lg-switch a {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #334155;
    border-radius: 2px;
    font-size: 12px;
    color: #CBD5E1;
}
.hm-topbar .tb-lg-switch a.active,
.hm-topbar .tb-lg-switch a:hover {
    background: #D97706;
    border-color: #D97706;
    color: #fff;
}
@media (max-width: 768px) {
    .hm-topbar .tb-info span { margin-right: 12px; }
    .hm-topbar .container-hm { flex-direction: column; gap: 6px; }
}

/* ---------- 主导航 Header ---------- */
.hm-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15,23,42,.08);
}
.hm-header .container-hm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}
.hm-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hm-logo img {
    max-height: 52px;
}
.hm-logo .logo-text h1 {
    font-size: 20px;
    color: #0F172A;
    margin: 0;
    letter-spacing: 1px;
}
.hm-logo .logo-text p {
    font-size: 12px;
    color: #64748B;
    margin: 2px 0 0 0;
    letter-spacing: 2px;
}
.hm-nav {
    display: flex;
    align-items: center;
}
.hm-nav > ul {
    display: flex;
    gap: 0;
}
.hm-nav > ul > li {
    position: relative;
}
.hm-nav > ul > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    letter-spacing: .5px;
    border-bottom: 3px solid transparent;
}
.hm-nav > ul > li > a:hover,
.hm-nav > ul > li.active > a {
    color: #D97706;
    border-bottom-color: #D97706;
}
/* 二级菜单 */
.hm-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #0F172A;
    padding: 8px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .2s ease;
    z-index: 999;
}
.hm-nav ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hm-nav ul ul li a {
    display: block;
    padding: 9px 20px;
    color: #CBD5E1;
    font-size: 14px;
    border-left: 3px solid transparent;
}
.hm-nav ul ul li a:hover {
    background: #1E293B;
    color: #fff;
    border-left-color: #D97706;
}
/* 移动端菜单按钮 */
.hm-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 2px solid #0F172A;
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.hm-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0F172A;
    transition: .2s;
}
.hm-nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hm-nav-toggle.active span:nth-child(2) { opacity: 0; }
.hm-nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
    .hm-logo .logo-text p { display: none; }
    .hm-nav-toggle { display: flex; }
    .hm-nav {
        position: fixed;
        top: 0; right: -280px;
        width: 260px;
        height: 100vh;
        background: #0F172A;
        padding: 60px 0 20px;
        transition: right .3s ease;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
    }
    .hm-nav.open { right: 0; }
    .hm-nav > ul {
        flex-direction: column;
        width: 100%;
    }
    .hm-nav > ul > li > a {
        color: #E2E8F0;
        padding: 14px 24px;
        border-bottom: 1px solid #1E293B;
    }
    .hm-nav > ul > li.active > a,
    .hm-nav > ul > li > a:hover {
        background: #1E293B;
        border-bottom-color: #1E293B;
        border-left: 3px solid #D97706;
    }
    .hm-nav ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #1A2332;
        padding: 0;
    }
    .hm-nav ul ul li a {
        padding-left: 40px;
        font-size: 13px;
    }
    body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 998;
    }
}

/* ---------- 语言选择弹窗 ---------- */
.hm-lg-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.hm-lg-modal.show { display: flex; }
.hm-lg-box {
    background: #fff;
    border-radius: 4px;
    max-width: 520px;
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    border-top: 4px solid #D97706;
}
.hm-lg-box h3 {
    font-size: 22px;
    color: #0F172A;
    margin-bottom: 8px;
}
.hm-lg-box .sub {
    color: #64748B;
    margin-bottom: 30px;
    font-size: 14px;
}
.hm-lg-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hm-lg-options a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border: 2px solid #E2E8F0;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    color: #0F172A;
    text-align: left;
    transition: all .2s ease;
}
.hm-lg-options a:hover {
    border-color: #D97706;
    background: #FFF7ED;
    transform: translateY(-2px);
}
.hm-lg-options a .lang-flag {
    font-size: 22px;
    margin-right: 12px;
}
.hm-lg-options a .lang-main {
    flex: 1;
    display: flex;
    align-items: center;
}
.hm-lg-options a .lang-main small {
    display: block;
    font-size: 12px;
    color: #64748B;
    font-weight: 400;
    margin-top: 2px;
}
.hm-lg-options a .lang-arrow {
    color: #94A3B8;
    font-size: 18px;
}
.hm-lg-options a:hover .lang-arrow { color: #D97706; }
.hm-lg-skip {
    margin-top: 22px;
    color: #94A3B8;
    font-size: 13px;
    cursor: pointer;
    display: inline-block;
    padding: 4px 12px;
    border-bottom: 1px dotted #CBD5E1;
}
.hm-lg-skip:hover { color: #D97706; border-color: #D97706; }

@media (max-width: 480px) {
    .hm-lg-box { padding: 30px 20px; }
    .hm-lg-box h3 { font-size: 18px; }
}

/* ---------- 首页 Banner / Hero ---------- */
.hm-banner {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
}
.hm-banner .swiper-slide {
    position: relative;
    height: 560px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hm-banner .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,.78) 0%, rgba(15,23,42,.3) 100%);
}
.hm-banner .slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 640px;
}
.hm-banner .slide-content .tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(217,119,6,.9);
    color: #fff;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-radius: 2px;
}
.hm-banner .slide-content h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.25;
}
.hm-banner .slide-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: .92;
    line-height: 1.8;
}
.hm-banner .swiper-pagination-bullet {
    width: 12px; height: 12px;
    background: #fff;
    opacity: .5;
}
.hm-banner .swiper-pagination-bullet-active {
    background: #D97706;
    opacity: 1;
    width: 36px;
    border-radius: 6px;
}
.hm-banner .swiper-button-next,
.hm-banner .swiper-button-prev {
    color: #fff;
    background: rgba(15,23,42,.4);
    width: 48px; height: 48px;
    border-radius: 50%;
    transition: .2s;
}
.hm-banner .swiper-button-next:hover,
.hm-banner .swiper-button-prev:hover {
    background: #D97706;
}
.hm-banner .swiper-button-next::after,
.hm-banner .swiper-button-prev::after { font-size: 18px; }

@media (max-width: 768px) {
    .hm-banner, .hm-banner .swiper-slide { height: 420px; }
    .hm-banner .slide-content h2 { font-size: 26px; }
    .hm-banner .slide-content p { font-size: 14px; }
}

/* ---------- 板块：关于我们 About ---------- */
.hm-about { background: #fff; }
.hm-about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hm-about-img {
    position: relative;
}
.hm-about-img img {
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.hm-about-img::before {
    content: "";
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 3px solid #D97706;
    z-index: -1;
    border-radius: 3px;
}
.hm-about-text h2 {
    font-size: 28px;
    margin-bottom: 12px;
}
.hm-about-text .h2-en {
    font-size: 14px;
    color: #D97706;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
    display: inline-block;
}
.hm-about-text .desc {
    color: #475569;
    line-height: 1.9;
    margin-bottom: 24px;
}
.hm-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}
.hm-about-stats .stat-item h3 {
    font-size: 32px;
    color: #D97706;
    margin-bottom: 4px;
}
.hm-about-stats .stat-item p {
    font-size: 13px;
    color: #64748B;
}
@media (max-width: 768px) {
    .hm-about-row { grid-template-columns: 1fr; gap: 36px; }
    .hm-about-stats { grid-template-columns: repeat(2, 1fr); }
    .hm-about-text h2 { font-size: 22px; }
}

/* ---------- 板块：运输服务 Services ---------- */
.hm-services { background: #F1F5F9; }
.hm-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.hm-service-card {
    background: #fff;
    padding: 36px 26px;
    border-bottom: 3px solid transparent;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.hm-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(15,23,42,.12);
    border-bottom-color: #D97706;
}
.hm-service-card .icon {
    width: 62px; height: 62px;
    background: #FFF7ED;
    color: #D97706;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: .3s;
}
.hm-service-card:hover .icon {
    background: #D97706;
    color: #fff;
}
.hm-service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #0F172A;
}
.hm-service-card p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.hm-service-card .more {
    color: #D97706;
    font-size: 13px;
    font-weight: 600;
}
.hm-service-card .more::after {
    content: " →";
}
@media (max-width: 992px) {
    .hm-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .hm-service-grid { grid-template-columns: 1fr; }
}

/* ---------- 板块：车辆展示 Fleet ---------- */
.hm-fleet { background: #fff; }
.hm-fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.hm-fleet-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    transition: all .3s ease;
    overflow: hidden;
}
.hm-fleet-card:hover {
    border-color: #D97706;
    box-shadow: 0 12px 28px rgba(15,23,42,.12);
    transform: translateY(-4px);
}
.hm-fleet-card .img-wrap {
    position: relative;
    padding-top: 62%;
    overflow: hidden;
    background: #F1F5F9;
}
.hm-fleet-card .img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hm-fleet-card:hover .img-wrap img {
    transform: scale(1.06);
}
.hm-fleet-card .info {
    padding: 22px 22px 26px;
}
.hm-fleet-card .info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.hm-fleet-card .info p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.hm-fleet-card .info .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.hm-fleet-card .info .tags span {
    display: inline-block;
    padding: 3px 10px;
    background: #F1F5F9;
    color: #475569;
    font-size: 12px;
    border-radius: 2px;
}
.hm-fleet-card .info .tags span.warn {
    background: #FEF3C7;
    color: #92400E;
}
@media (max-width: 992px) {
    .hm-fleet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .hm-fleet-grid { grid-template-columns: 1fr; }
}

/* ---------- 板块：项目案例 Cases ---------- */
.hm-cases { background: #0F172A; color: #E2E8F0; }
.hm-cases .section-title h2 { color: #fff; }
.hm-cases .section-title p { color: #94A3B8; }
.hm-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.hm-case-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 22px;
    background: #1E293B;
    border-radius: 3px;
    transition: .3s;
    border-left: 3px solid transparent;
}
.hm-case-item:hover {
    background: #273449;
    border-left-color: #D97706;
    transform: translateX(4px);
}
.hm-case-item .case-img {
    width: 100%;
    padding-top: 66%;
    background: #334155;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.hm-case-item .case-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hm-case-item .case-info h3 {
    color: #F8FAFC;
    font-size: 17px;
    margin-bottom: 10px;
}
.hm-case-item .case-info .meta {
    color: #94A3B8;
    font-size: 13px;
    margin-bottom: 10px;
}
.hm-case-item .case-info .meta span { margin-right: 14px; }
.hm-case-item .case-info p {
    color: #CBD5E1;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .hm-case-grid { grid-template-columns: 1fr; }
    .hm-case-item { grid-template-columns: 1fr; }
    .hm-case-item .case-img { padding-top: 45%; }
}

/* ---------- 板块：新闻资讯 News ---------- */
.hm-news { background: #F8FAFC; }
.hm-news-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px;
}
.hm-news-featured {
    border-bottom: 3px solid transparent;
    background: #fff;
    transition: .3s;
    overflow: hidden;
}
.hm-news-featured:hover {
    border-bottom-color: #D97706;
    box-shadow: 0 10px 26px rgba(15,23,42,.08);
}
.hm-news-featured .feat-img {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}
.hm-news-featured .feat-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: .5s;
}
.hm-news-featured:hover .feat-img img { transform: scale(1.06); }
.hm-news-featured .feat-info {
    padding: 22px 24px 26px;
}
.hm-news-featured .feat-info .date {
    color: #D97706;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}
.hm-news-featured .feat-info h3 {
    font-size: 20px;
    margin: 10px 0 14px;
    line-height: 1.5;
}
.hm-news-featured .feat-info p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hm-news-list .news-item {
    display: flex;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px dashed #CBD5E1;
}
.hm-news-list .news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.hm-news-list .news-item .date-block {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    background: #fff;
    border: 1px solid #E2E8F0;
    padding: 8px 4px;
}
.hm-news-list .news-item .date-block .d {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1;
}
.hm-news-list .news-item .date-block .m {
    font-size: 11px;
    color: #64748B;
    margin-top: 4px;
    letter-spacing: 1px;
}
.hm-news-list .news-item .news-info h4 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hm-news-list .news-item .news-info p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 992px) {
    .hm-news-grid { grid-template-columns: 1fr; }
}

/* ---------- 页面内：面包屑 ---------- */
.hm-page-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hm-page-banner::before {
    content: "";
    position: absolute;
    right: -40px; top: -40px;
    width: 280px; height: 280px;
    border: 40px solid rgba(217,119,6,.12);
    border-radius: 50%;
}
.hm-page-banner .pb-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.hm-page-banner .pb-crumb {
    color: #CBD5E1;
    font-size: 14px;
    position: relative;
    z-index: 2;
}
.hm-page-banner .pb-crumb a:hover { color: #D97706; }
.hm-page-banner .pb-crumb .sep { margin: 0 8px; color: #64748B; }
@media (max-width: 768px) {
    .hm-page-banner { padding: 40px 0; }
    .hm-page-banner .pb-title { font-size: 22px; }
}

/* ---------- 列表页 List ---------- */
.hm-list-wrap {
    padding: 50px 0 70px;
}
.hm-list-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}
@media (max-width: 992px) {
    .hm-list-grid { grid-template-columns: 1fr; }
}
.hm-list-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    padding: 22px;
    background: #fff;
    margin-bottom: 22px;
    border: 1px solid #E2E8F0;
    transition: .3s;
}
.hm-list-item:hover {
    border-color: #D97706;
    box-shadow: 0 8px 22px rgba(15,23,42,.08);
}
.hm-list-item .li-img {
    position: relative;
    padding-top: 68%;
    overflow: hidden;
    background: #F1F5F9;
}
.hm-list-item .li-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: .5s;
}
.hm-list-item:hover .li-img img { transform: scale(1.05); }
.hm-list-item .li-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.hm-list-item .li-info .meta {
    color: #94A3B8;
    font-size: 13px;
    margin-bottom: 12px;
}
.hm-list-item .li-info .meta span { margin-right: 14px; }
.hm-list-item .li-info p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 576px) {
    .hm-list-item { grid-template-columns: 1fr; }
}

/* 侧边栏 */
.hm-sidebar .sb-block {
    background: #fff;
    border: 1px solid #E2E8F0;
    margin-bottom: 24px;
}
.hm-sidebar .sb-title {
    padding: 16px 20px;
    background: #0F172A;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-left: 4px solid #D97706;
}
.hm-sidebar .sb-body { padding: 18px 20px; }
.hm-sidebar .sb-nav li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px dashed #E2E8F0;
    color: #475569;
    font-size: 14px;
}
.hm-sidebar .sb-nav li:last-child a { border-bottom: none; }
.hm-sidebar .sb-nav li a::before {
    content: "›";
    color: #D97706;
    font-weight: bold;
    margin-right: 10px;
}
.hm-sidebar .sb-nav li a:hover,
.hm-sidebar .sb-nav li.active a {
    color: #D97706;
}
.hm-sidebar .sb-news li {
    padding: 12px 0;
    border-bottom: 1px dashed #E2E8F0;
    font-size: 14px;
}
.hm-sidebar .sb-news li:last-child { border-bottom: none; }
.hm-sidebar .sb-news li a {
    color: #334155;
    display: block;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hm-sidebar .sb-news li a:hover { color: #D97706; }
.hm-sidebar .sb-news li .date {
    display: block;
    color: #94A3B8;
    font-size: 12px;
    margin-top: 5px;
}

/* 分页 */
.hm-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.hm-pagination a,
.hm-pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #E2E8F0;
    background: #fff;
    color: #475569;
    font-size: 14px;
    border-radius: 2px;
    transition: .2s;
}
.hm-pagination a:hover,
.hm-pagination .current {
    background: #D97706;
    color: #fff;
    border-color: #D97706;
}

/* ---------- 内容页 Content ---------- */
.hm-content-wrap {
    padding: 50px 0 70px;
}
.hm-content-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}
@media (max-width: 992px) {
    .hm-content-grid { grid-template-columns: 1fr; }
}
.hm-article {
    background: #fff;
    padding: 36px 40px;
    border: 1px solid #E2E8F0;
}
.hm-article .art-title {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #0F172A;
}
.hm-article .art-meta {
    padding: 14px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    color: #94A3B8;
    font-size: 13px;
    margin-bottom: 26px;
}
.hm-article .art-meta span { margin-right: 22px; }
.hm-article .art-body {
    font-size: 15px;
    line-height: 1.95;
    color: #334155;
}
.hm-article .art-body img {
    max-width: 100%;
    max-height: 560px;
    height: auto;
    width: auto;
    display: block;
    margin: 18px auto;
    border-radius: 2px;
    object-fit: contain;
    background: #F8FAFC;
    padding: 4px;
}
.hm-article .art-body p { margin-bottom: 16px; }
.hm-article .art-body h2,
.hm-article .art-body h3,
.hm-article .art-body h4 {
    margin: 26px 0 14px;
    color: #0F172A;
}
.hm-article-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}
.hm-article-nav .prev,
.hm-article-nav .next {
    padding: 10px 0;
    font-size: 14px;
    color: #475569;
}
.hm-article-nav .prev strong,
.hm-article-nav .next strong {
    color: #0F172A;
    margin-right: 10px;
    display: inline-block;
    min-width: 68px;
}
.hm-article-nav a:hover { color: #D97706; }
@media (max-width: 576px) {
    .hm-article { padding: 24px 20px; }
    .hm-article .art-title { font-size: 20px; }
}

/* 询价表单区域 */
.hm-inquiry {
    background: #F1F5F9;
    padding: 50px 0 70px;
}
.hm-inquiry-box {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #E2E8F0;
    border-top: 4px solid #D97706;
}
.hm-inquiry-box h3 {
    font-size: 22px;
    margin-bottom: 6px;
    text-align: center;
}
.hm-inquiry-box .tip {
    text-align: center;
    color: #64748B;
    margin-bottom: 30px;
    font-size: 14px;
}
.hm-form-row {
    margin-bottom: 18px;
}
.hm-form-row label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
}
.hm-form-row label .req { color: #DC2626; margin-left: 3px; }
.hm-form-row input[type=text],
.hm-form-row input[type=tel],
.hm-form-row input[type=email],
.hm-form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 2px;
    font-size: 14px;
    color: #0F172A;
    font-family: inherit;
    transition: border-color .2s;
    background: #fff;
}
.hm-form-row input:focus,
.hm-form-row textarea:focus {
    outline: none;
    border-color: #D97706;
    box-shadow: 0 0 0 3px rgba(217,119,6,.1);
}
.hm-form-row textarea { min-height: 120px; resize: vertical; }
.hm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.hm-form-code {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
    align-items: center;
}
.hm-form-code img {
    height: 42px;
    cursor: pointer;
    border: 1px solid #E2E8F0;
}
.hm-form-submit {
    text-align: center;
    margin-top: 26px;
}
.hm-form-submit .btn-hm {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    letter-spacing: 4px;
}
@media (max-width: 576px) {
    .hm-inquiry-box { padding: 24px 20px; }
    .hm-form-grid { grid-template-columns: 1fr; }
}

/* ---------- 联系我们 Contact 信息块 ---------- */
.hm-contact { background: #fff; }
.hm-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hm-contact-info h2 {
    font-size: 28px;
    margin-bottom: 22px;
}
.hm-contact-list { margin-bottom: 30px; }
.hm-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed #E2E8F0;
}
.hm-contact-list li:last-child { border-bottom: none; }
.hm-contact-list li .c-icon {
    width: 40px; height: 40px;
    background: #FFF7ED;
    color: #D97706;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.hm-contact-list li .c-info h4 {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 4px;
    font-weight: 500;
}
.hm-contact-list li .c-info p {
    font-size: 16px;
    color: #0F172A;
    font-weight: 600;
}
/* 地图容器（Leaflet 渲染瓦片 + marker） */
.hm-contact-map {
    width: 100%;
    min-height: 300px;
    border: 1px solid #E2E8F0;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    background: #F1F5F9;
}
.hm-contact-map iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
/* Leaflet 地图内 marker 图标 */
.hm-map-marker {
    width: 28px;
    height: 28px;
    color: #D97706;
    font-size: 28px;
    line-height: 28px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}
/* Leaflet popup 样式微调（浮窗） */
#hmContactMap .leaflet-popup-content-wrapper {
    border-radius: 4px;
}
#hmContactMap .leaflet-popup-content {
    margin: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
}
#hmContactMap .leaflet-control-zoom a {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 18px;
    font-weight: bold;
    color: #0F172A;
    background: #fff;
    border: 1px solid #E2E8F0;
}
/* 点击提示遮罩（hover 出现） */
.hm-contact-map .map-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.0);
    color: #fff;
    transition: background 0.2s;
    z-index: 1000; /* 盖在 Leaflet 之上 */
    cursor: pointer;
    pointer-events: auto;
}
.hm-contact-map:hover .map-overlay {
    background: rgba(15, 23, 42, 0.25);
}
.hm-contact-map .map-overlay i {
    font-size: 32px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.2s;
}
.hm-contact-map .map-overlay span {
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.2s;
    background: rgba(15, 23, 42, 0.55);
    padding: 6px 14px;
    border-radius: 20px;
}
.hm-contact-map:hover .map-overlay i,
.hm-contact-map:hover .map-overlay span {
    opacity: 1;
}
@media (max-width: 768px) {
    .hm-contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.hm-footer {
    background: #0B1220;
    color: #94A3B8;
    padding-top: 60px;
}
.hm-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.hm-footer .f-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.hm-footer .f-logo img { max-height: 46px; }
.hm-footer .f-logo .logo-txt h4 {
    color: #F1F5F9;
    font-size: 18px;
    margin: 0;
}
.hm-footer .f-logo .logo-txt p {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin: 2px 0 0 0;
    color: #64748B;
}
.hm-footer .f-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.hm-footer h5 {
    color: #F1F5F9;
    font-size: 16px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1E293B;
    position: relative;
}
.hm-footer h5::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 36px; height: 2px;
    background: #D97706;
}
.hm-footer ul li {
    padding: 7px 0;
    font-size: 14px;
}
.hm-footer ul li a::before {
    content: "›";
    margin-right: 10px;
    color: #D97706;
    font-weight: bold;
}
.hm-footer ul li a:hover { color: #D97706; }
.hm-footer .f-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.6;
}
.hm-footer .f-contact li i {
    color: #D97706;
    margin-top: 4px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.hm-copyright {
    padding: 20px 0;
    border-top: 1px solid #1E293B;
    text-align: center;
    font-size: 13px;
    color: #64748B;
    line-height: 1.8;
}
.hm-copyright a:hover { color: #D97706; }
@media (max-width: 992px) {
    .hm-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .hm-footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- 返回顶部 ---------- */
.hm-back-top {
    position: fixed;
    right: 20px; bottom: 30px;
    width: 44px; height: 44px;
    background: #0F172A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    font-size: 18px;
    border: 1px solid #334155;
}
.hm-back-top.show {
    opacity: 1; visibility: visible;
}
.hm-back-top:hover {
    background: #D97706;
    border-color: #D97706;
}
