@charset "utf-8";
/* ================================================================
   首页中间内容区样式 (home.css)
   仅作用于首页新版中间内容，不影响 header / footer
   主色: #c1216a  辅色: #e8347f  浅底: #fdeef4
   ================================================================ */

.home-wrap {
    --hm-main: #c1216a;
    --hm-main2: #e8347f;
    --hm-ink: #222;
    --hm-sub: #6b6b72;
    --hm-soft: #fdeef4;
    --hm-line: #f0d6e2;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--hm-ink);
    overflow: hidden;
}

.home-wrap .hm-inner {
    width: 1200px;
    max-width: 92%;
    margin: 0 auto;
}

/* 通用区块标题 */
.hm-sec-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 34px;
}

.hm-sec-title {
    display: inline-flex;
    align-items: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--hm-ink);
    line-height: 1;
}

.hm-sec-title::after {
    content: "";
    width: 46px;
    height: 3px;
    margin-left: 16px;
    background: var(--hm-main);
    border-radius: 2px;
}

.hm-more {
    font-size: 15px;
    color: var(--hm-main);
    display: inline-flex;
    align-items: center;
    transition: opacity .2s;
}

.hm-more:hover { opacity: .7; }
.hm-more i { font-style: normal; margin-left: 6px; }

/* ============================================================
   1. 产品展示  Products
   ============================================================ */
.hm-products { padding: 30px 0 30px; background: #fff; }

.hm-prod-row {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
    border-bottom: 1px solid var(--hm-line);
}
.hm-prod-row:last-child { border-bottom: none; }

/* 偶数行图文互换 */
.hm-prod-row.rev { flex-direction: row-reverse; }

/* 图片侧 */
.hm-prod-media {
    position: relative;
    flex: 0 0 46%;
    width: 46%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef4fa center/cover no-repeat;
    box-shadow: 0 12px 30px rgba(120, 30, 70, .10);
}
.hm-prod-media .hm-media-mask {
    position: absolute;
    inset: 0;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%);
}
.hm-prod-row.rev .hm-prod-media .hm-media-mask {
    background: linear-gradient(270deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%);
    text-align: right;
    align-items: flex-end;
}
.hm-media-code {
    font-size: 40px;
    font-weight: 800;
    color: var(--hm-main);
    letter-spacing: 1px;
    line-height: 1.05;
}
.hm-media-name {
    margin-top: 10px;
    font-size: 16px;
    color: #444;
    max-width: 60%;
}

/* 文字侧 */
.hm-prod-info { flex: 1; min-width: 0; }

.hm-prod-tag {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--hm-main);
    text-transform: uppercase;
}
.hm-prod-tag::after {
    content: "";
    width: 34px; height: 2px;
    margin-left: 12px;
    background: var(--hm-main);
}
.hm-prod-title {
    margin: 14px 0 6px;
    font-size: 30px;
    font-weight: 700;
    color: var(--hm-ink);
    line-height: 1.3;
}
.hm-prod-en {
    font-size: 15px;
    color: var(--hm-sub);
    margin-bottom: 18px;
}
.hm-prod-desc {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}
.hm-prod-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}
.hm-spec {
    font-size: 13px;
    color: var(--hm-main);
    background: var(--hm-soft);
    padding: 7px 14px;
    border-radius: 4px;
    white-space: nowrap;
}
.hm-spec b { font-weight: 400; color: #a3376b; }
.hm-prod-link {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    color: var(--hm-main);
    font-weight: 600;
}
.hm-prod-link i { font-style: normal; margin-left: 8px; transition: transform .2s; }
.hm-prod-link:hover i { transform: translateX(5px); }

/* ============================================================
   2. 应用领域  Application areas
   ============================================================ */
.hm-apps { padding: 60px 0; background: var(--hm-soft); }

.hm-app-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 0;
}
.hm-app-item {
    flex: 0 0 16.66%;
    max-width: 16.66%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 10px;
}
.hm-app-icon {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    color: var(--hm-main);
}
.hm-app-icon svg { width: 100%; height: 100%; display: block; }
.hm-app-name { font-size: 17px; font-weight: 700; color: var(--hm-ink); }
.hm-app-sub { font-size: 13px; color: var(--hm-sub); margin-top: 4px; }

/* ============================================================
   3. 质量与技术优势  Advantages
   ============================================================ */
.hm-adv { padding: 20px 0; background: #fff; }

.hm-adv-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 0;
}
.hm-adv-item {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    gap: 18px;
    padding: 6px 0 6px 0;
}
.hm-adv-icon {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    color: var(--hm-main);
}
.hm-adv-icon svg { width: 100%; height: 100%; display: block; }
.hm-adv-title { font-size: 19px; font-weight: 700; color: var(--hm-ink); margin-bottom: 8px; }
.hm-adv-desc { font-size: 13px; line-height: 1.7; color: var(--hm-sub); }

/* ============================================================
   4. 新闻动态  News
   ============================================================ */
.hm-news { padding: 60px 0 70px; background: #fff; }

.hm-news-grid {
    display: flex;
    gap: 34px;
}
.hm-news-item {
    flex: 1;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.hm-news-thumb {
    flex: 0 0 120px;
    width: 120px; height: 84px;
    border-radius: 6px;
    overflow: hidden;
    background: #eef4fa center/cover no-repeat;
}
.hm-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-news-date { font-size: 14px; color: var(--hm-main); font-weight: 700; margin-bottom: 8px; }
.hm-news-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--hm-ink);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hm-news-item:hover .hm-news-title { color: var(--hm-main); }
.hm-news-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--hm-sub);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   5. 联系 CTA
   ============================================================ */
.hm-cta { background: linear-gradient(90deg, #fbe3ee 0%, #fdeef4 100%); padding: 44px 0; }
.hm-cta .hm-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; }
.hm-cta-text { flex: 1; min-width: 260px; }
.hm-cta-title { font-size: 24px; font-weight: 700; color: var(--hm-main); margin-bottom: 8px; }
.hm-cta-sub { font-size: 15px; color: #7a5566; }
.hm-cta-btn {
    display: inline-flex; align-items: center;
    background: var(--hm-main); color: #fff;
    font-size: 16px; padding: 14px 30px; border-radius: 30px;
    transition: background .2s;
}
.hm-cta-btn:hover { background: var(--hm-main2); }
.hm-cta-btn i { font-style: normal; margin-left: 8px; }
.hm-cta-info { display: flex; gap: 40px; }
.hm-cta-cell { display: flex; gap: 12px; align-items: center; }
.hm-cta-cell .hm-ci-icon { width: 26px; height: 26px; color: var(--hm-main); flex: 0 0 26px; }
.hm-cta-cell .hm-ci-icon svg { width: 100%; height: 100%; }
.hm-cta-cell b { display: block; font-size: 17px; color: var(--hm-ink); font-weight: 700; }
.hm-cta-cell span { font-size: 12px; color: #8a6b78; }

/* ============================================================
   响应式
   ============================================================ */
@media screen and (max-width: 1000px) {
    .hm-app-item { flex: 0 0 33.33%; max-width: 33.33%; }
    .hm-adv-item { flex: 0 0 50%; max-width: 50%; }
    .hm-news-grid { flex-direction: column; }
    .hm-cta-info { flex-wrap: wrap; gap: 20px; }
}
@media screen and (max-width: 767px) {
    .hm-products { padding: 40px 0 10px; }
    .hm-prod-row, .hm-prod-row.rev { flex-direction: column; gap: 24px; padding: 30px 0; }
    .hm-prod-media { flex: none; width: 100%; height: 220px; }
    .hm-sec-title { font-size: 24px; }
    .hm-prod-title { font-size: 24px; }
    .hm-app-item { flex: 0 0 50%; max-width: 50%; }
    .hm-adv-item { flex: 0 0 100%; max-width: 100%; }
    .hm-cta .hm-inner { flex-direction: column; align-items: flex-start; }
}
