/* 场地森绿 主题 - 体育企业模板 (hm) */
:root {
    --hm-primary: #217A52;
    --hm-primary-dark: #155B3C;
    --hm-accent: #46A878;
    --hm-accent-dark: #2C8A5F;
    --hm-hero-btn: #217A52;
    --hm-hero-btn-hover: #155B3C;
    --hm-cta: #46A878;
    --hm-bg: #ffffff;
    --hm-sub-bg: #E7F4ED;
    --hm-text: #16241D;
    --hm-text2: #587066;
    --hm-dark1: #0F3D29;
    --hm-dark2: #155B3C;
    --hm-topbar-bg: #155B3C;
    --hm-update-grad: linear-gradient(135deg, #217A52, #155B3C);
    --hm-line: #E4E9ED;
}

* { box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--hm-text); background: var(--hm-bg); margin: 0; padding: 0; line-height: 1.7; }
a { color: var(--hm-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--hm-primary-dark); }
img { max-width: 100%; display: block; }
.hm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ============ 顶部欢迎条 ============ */
.hm-topbar { background: var(--hm-topbar-bg); color: rgba(255,255,255,.85); font-size: 13px; }
.hm-topbar .hm-wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.hm-topbar i { color: var(--hm-cta); margin-right: 6px; }
.hm-topbar a { color: rgba(255,255,255,.85); margin-left: 18px; }
.hm-topbar a:hover { color: var(--hm-cta); }

/* ============ Header (固定白色 + 下拉导航) ============ */
.hm-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.hm-header .hm-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.hm-logo { display: flex; align-items: center; gap: 10px; }
.hm-logo .hm-logo-badge { width: 42px; height: 42px; border-radius: 10px; background: var(--hm-update-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.hm-logo .hm-logo-text { font-size: 22px; font-weight: 800; color: var(--hm-text); letter-spacing: .5px; }
.hm-logo .hm-logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--hm-text2); letter-spacing: 2px; }
.hm-nav { display: flex; align-items: center; gap: 4px; }
.hm-nav > a, .hm-nav .hm-drop > button { color: var(--hm-text); font-weight: 600; font-size: 15px; padding: 10px 15px; border: 0; background: none; cursor: pointer; border-radius: 6px; transition: all .2s; font-family: inherit; }
.hm-nav > a:hover, .hm-nav .hm-drop.show > button, .hm-nav > a.active { color: var(--hm-primary); }
.hm-nav .hm-drop { position: relative; }
.hm-nav .hm-drop-menu { position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.14); border-radius: 10px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s; }
.hm-nav .hm-drop:hover .hm-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hm-nav .hm-drop-menu a { display: block; padding: 9px 14px; color: var(--hm-text); font-size: 14px; border-radius: 6px; }
.hm-nav .hm-drop-menu a:hover { background: var(--hm-sub-bg); color: var(--hm-primary); }
.hm-nav .hm-cta { background: var(--hm-primary); color: #fff !important; font-weight: 700; border-radius: 30px; padding: 10px 22px; }
.hm-nav .hm-cta:hover { background: var(--hm-primary-dark); }

/* ============ Hero (双栏 左文右图) ============ */
.hm-hero { margin-top: 112px; background: var(--hm-dark1); position: relative; overflow: hidden; }
.hm-hero .hm-hero-mask { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,.72), rgba(0,0,0,.35)); }
.hm-hero .hm-wrap { position: relative; z-index: 3; display: flex; align-items: center; gap: 44px; padding: 70px 16px; }
.hm-hero .hm-hero-txt { flex: 1 1 52%; color: #fff; }
.hm-hero .hm-hero-txt .hm-eyebrow { letter-spacing: 4px; font-size: 15px; color: var(--hm-cta); font-weight: 600; margin-bottom: 14px; }
.hm-hero .hm-hero-txt h1 { font-size: 46px; font-weight: 800; margin: 0 0 16px; line-height: 1.18; text-shadow: 0 3px 14px rgba(0,0,0,.4); }
.hm-hero .hm-hero-txt .hm-en { font-size: 15px; letter-spacing: 2px; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.hm-hero .hm-hero-txt p { font-size: 18px; max-width: 560px; color: rgba(255,255,255,.92); margin: 0 0 28px; }
.hm-hero .hm-hero-media { flex: 1 1 44%; }
.hm-hero .hm-hero-media img { width: 100%; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.4); aspect-ratio: 4/3; object-fit: cover; }
.hm-btn-hero { display: inline-block; padding: 14px 34px; background: var(--hm-hero-btn); color: #fff; font-weight: 700; border-radius: 34px; font-size: 16px; transition: all .2s; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.hm-btn-hero:hover { background: var(--hm-hero-btn-hover); color: #fff; transform: translateY(-2px); }
.hm-btn-hero.ghost { background: transparent; border: 2px solid rgba(255,255,255,.6); box-shadow: none; }
.hm-btn-hero.ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.hm-hero .hm-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hm-hero .hm-hero-stats { display: flex; gap: 34px; margin-top: 32px; }
.hm-hero .hm-hero-stats div { color: #fff; }
.hm-hero .hm-hero-stats b { font-size: 30px; font-weight: 800; color: var(--hm-cta); display: block; }
.hm-hero .hm-hero-stats span { font-size: 13px; color: rgba(255,255,255,.75); }

/* ============ Section base ============ */
.hm-section { padding: 78px 0; }
.hm-section.alt { background: var(--hm-sub-bg); }
.hm-head { text-align: center; margin-bottom: 46px; }
.hm-head .hm-en { letter-spacing: 3px; font-size: 14px; color: var(--hm-accent-dark); font-weight: 700; text-transform: uppercase; }
.hm-head h2 { font-size: 32px; font-weight: 800; margin: 8px 0 10px; color: var(--hm-text); }
.hm-head .hm-bar { width: 54px; height: 3px; background: var(--hm-cta); margin: 0 auto 14px; border-radius: 3px; }
.hm-head p { color: var(--hm-text2); margin: 0; font-size: 16px; }

/* ============ 关于我们 (图文双栏) ============ */
.hm-about .hm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 46px; }
.hm-about .hm-about-img { flex: 1 1 48%; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.15); aspect-ratio: 16/10; }
.hm-about .hm-about-img img { width: 100%; height: 100%; object-fit: cover; }
.hm-about .hm-about-txt { flex: 1 1 44%; }
.hm-about .hm-about-txt .hm-en { letter-spacing: 3px; font-size: 14px; color: var(--hm-accent-dark); font-weight: 700; }
.hm-about .hm-about-txt h2 { font-size: 30px; font-weight: 800; color: var(--hm-text); margin: 8px 0 16px; }
.hm-about .hm-about-txt p { color: var(--hm-text2); font-size: 16px; line-height: 1.95; margin: 0 0 14px; }
.hm-about .hm-points { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-about .hm-points li { display: flex; align-items: center; gap: 10px; color: var(--hm-text); font-size: 15px; }
.hm-about .hm-points li i { color: var(--hm-cta); }

/* ============ 全方位服务 (3卡) ============ */
.hm-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.hm-svc-card { background: #fff; border: 1px solid var(--hm-line); border-radius: 14px; overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.hm-svc-card:hover { border-color: var(--hm-primary); box-shadow: 0 16px 34px rgba(0,0,0,.12); transform: translateY(-6px); }
.hm-svc-card .hm-svc-img { aspect-ratio: 16/9; overflow: hidden; }
.hm-svc-card .hm-svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hm-svc-card:hover .hm-svc-img img { transform: scale(1.07); }
.hm-svc-card .hm-svc-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.hm-svc-card .hm-svc-body .hm-svc-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--hm-sub-bg); color: var(--hm-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.hm-svc-card:hover .hm-svc-body .hm-svc-icon { background: var(--hm-update-grad); color: #fff; }
.hm-svc-card .hm-svc-body h3 { font-size: 20px; font-weight: 800; margin: 0 0 10px; color: var(--hm-text); }
.hm-svc-card .hm-svc-body p { font-size: 14px; color: var(--hm-text2); margin: 0 0 16px; flex: 1; line-height: 1.75; }
.hm-svc-card .hm-svc-more { font-size: 14px; font-weight: 700; color: var(--hm-primary); }
.hm-svc-card .hm-svc-more i { margin-left: 4px; transition: transform .2s; }
.hm-svc-card:hover .hm-svc-more i { transform: translateX(4px); }

/* ============ 热门栏目 (深色底·图文卡网格) ============ */
.hm-cats { background: var(--hm-dark2); color: #fff; padding: 78px 0; }
.hm-cats .hm-head h2 { color: #fff; }
.hm-cats .hm-head p { color: rgba(255,255,255,.72); }
.hm-cats .hm-head .hm-en { color: var(--hm-cta); }
.hm-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.hm-cat-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.hm-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hm-cat-card:hover img { transform: scale(1.08); }
.hm-cat-card .hm-cat-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78)); }
.hm-cat-card .hm-cat-txt { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3; color: #fff; }
.hm-cat-card .hm-cat-txt h3 { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.hm-cat-card .hm-cat-txt p { font-size: 13px; color: rgba(255,255,255,.82); margin: 0; }
.hm-cat-card .hm-cat-txt i { color: var(--hm-cta); margin-right: 6px; }

/* ============ 客户口碑 (浅色底·评价卡) ============ */
.hm-rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.hm-rev-card { background: #fff; border: 1px solid var(--hm-line); border-radius: 14px; padding: 30px 28px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.hm-rev-card .hm-rev-stars { color: var(--hm-cta); font-size: 15px; margin-bottom: 14px; }
.hm-rev-card p { color: var(--hm-text); font-size: 15px; line-height: 1.85; margin: 0 0 20px; }
.hm-rev-card .hm-rev-user { display: flex; align-items: center; gap: 12px; }
.hm-rev-card .hm-rev-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--hm-update-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.hm-rev-card .hm-rev-name { font-weight: 700; color: var(--hm-text); }
.hm-rev-card .hm-rev-role { font-size: 13px; color: var(--hm-text2); }

/* ============ 数据指标 ============ */
.hm-stats { background: var(--hm-update-grad); color: #fff; padding: 58px 0; }
.hm-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.hm-stats-item .hm-stats-num { font-size: 46px; font-weight: 800; line-height: 1; }
.hm-stats-item .hm-stats-num i { font-size: 30px; margin-right: 8px; opacity: .9; }
.hm-stats-item .hm-stats-label { font-size: 15px; color: rgba(255,255,255,.88); margin-top: 12px; }

/* ============ 体育资讯 (文章区) ============ */
.hm-news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.hm-news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.07); transition: all .3s; display: flex; flex-direction: column; border: 1px solid var(--hm-line); }
.hm-news-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.hm-news-card .hm-news-img { aspect-ratio: 16/9; overflow: hidden; background: var(--hm-update-grad); }
.hm-news-card .hm-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hm-news-card:hover .hm-news-img img { transform: scale(1.06); }
.hm-news-card .hm-news-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.hm-news-card .hm-news-body h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; line-height: 1.5; }
.hm-news-card .hm-news-body h3 a { color: var(--hm-text); }
.hm-news-card .hm-news-body h3 a:hover { color: var(--hm-primary); }
.hm-news-card .hm-news-body p { font-size: 14px; color: var(--hm-text2); margin: 0 0 14px; flex: 1; }
.hm-news-meta { display: flex; gap: 14px; font-size: 12px; color: var(--hm-text2); }
.hm-news-meta i { color: var(--hm-primary); margin-right: 3px; }

/* ============ CTA band ============ */
.hm-ctaband { background: var(--hm-dark1); color: #fff; padding: 52px 0; }
.hm-ctaband .hm-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.hm-ctaband h2 { margin: 0; font-size: 27px; font-weight: 800; }
.hm-ctaband h2 span { color: var(--hm-cta); }
.hm-ctaband p { margin: 6px 0 0; color: rgba(255,255,255,.75); font-size: 15px; }
.hm-ctaband .hm-cta-btn { background: var(--hm-cta); color: var(--hm-dark1); padding: 15px 34px; border-radius: 34px; font-weight: 800; font-size: 17px; }
.hm-ctaband .hm-cta-btn:hover { background: #fff; color: var(--hm-dark1); }

/* ============ 内页 Banner / 详情 ============ */
.hm-pagehead { background: var(--hm-update-grad); color: #fff; padding: 60px 0; text-align: center; margin-top: 112px; }
.hm-pagehead h1 { margin: 0; font-size: 32px; font-weight: 800; }
.hm-pagehead p { margin: 10px 0 0; color: rgba(255,255,255,.85); }
.hm-crumb { font-size: 14px; color: var(--hm-text2); margin-bottom: 22px; }
.hm-crumb a { color: var(--hm-text2); }
.hm-crumb a:hover { color: var(--hm-primary); }
.hm-detail { max-width: 880px; margin: 0 auto; }
.hm-detail h1.hm-detail-title { font-size: 30px; font-weight: 800; color: var(--hm-text); margin: 0 0 16px; line-height: 1.4; }
.hm-detail .hm-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--hm-text2); font-size: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--hm-line); margin-bottom: 26px; }
.hm-detail .hm-detail-meta i { color: var(--hm-primary); margin-right: 4px; }
.hm-detail-body { font-size: 17px; line-height: 1.95; color: #353a40; word-break: break-word; }
.hm-detail-body img { border-radius: 10px; margin: 16px auto; height: auto; }
.hm-back { display: inline-block; margin-top: 34px; padding: 11px 24px; background: var(--hm-primary); color: #fff; border-radius: 8px; }
.hm-back:hover { background: var(--hm-primary-dark); color: #fff; }

/* ============ Pagination / search / tags ============ */
.hm-page { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.hm-page a, .hm-page span { padding: 8px 14px; border: 1px solid var(--hm-line); border-radius: 8px; color: var(--hm-text2); font-size: 14px; }
.hm-page .active, .hm-page a:hover { background: var(--hm-primary); color: #fff; border-color: var(--hm-primary); }
.hm-searchbar { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 40px; }
.hm-searchbar input { flex: 1; padding: 13px 18px; border: 1px solid var(--hm-line); border-radius: 10px; font-size: 16px; }
.hm-searchbar button { padding: 13px 30px; background: var(--hm-primary); color: #fff; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; }
.hm-searchbar button:hover { background: var(--hm-primary-dark); }
.hm-tagcloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.hm-tagcloud a { padding: 8px 18px; background: var(--hm-sub-bg); color: var(--hm-primary); border-radius: 24px; font-size: 14px; border: 1px solid transparent; }
.hm-tagcloud a:hover { background: var(--hm-primary); color: #fff; }

/* ============ Footer (深色 4 列 富角页) ============ */
.hm-footer { background: var(--hm-dark1); color: rgba(255,255,255,.7); padding: 60px 0 24px; }
.hm-footer .hm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hm-footer .hm-footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.4fr; gap: 34px; margin-bottom: 34px; }
.hm-footer h5 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 18px; }
.hm-footer .hm-brand-text { font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.hm-footer .hm-brand-text i { color: var(--hm-cta); margin-right: 6px; }
.hm-footer p { font-size: 14px; line-height: 1.9; margin: 0; }
.hm-footer ul { list-style: none; padding: 0; margin: 0; }
.hm-footer ul li { margin-bottom: 11px; }
.hm-footer ul li a { color: rgba(255,255,255,.68); font-size: 14px; }
.hm-footer ul li a:hover { color: var(--hm-cta); }
.hm-footer .hm-contact li { display: flex; gap: 10px; align-items: flex-start; }
.hm-footer .hm-contact i { color: var(--hm-cta); margin-top: 4px; }
.hm-footer .hm-qr { display: flex; gap: 16px; margin-top: 16px; }
.hm-footer .hm-qr div { text-align: center; font-size: 12px; color: rgba(255,255,255,.6); }
.hm-footer .hm-qr i { font-size: 46px; color: rgba(255,255,255,.35); display: block; margin-bottom: 6px; }
.hm-footer .hm-copy { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.9; }

/* ============ 返回顶部 ============ */
.hm-totop { position: fixed; right: 22px; bottom: 26px; width: 46px; height: 46px; border-radius: 10px; background: var(--hm-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 900; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.hm-totop:hover { background: var(--hm-primary-dark); color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .hm-nav { display: none; }
    .hm-hero .hm-wrap { flex-direction: column; padding: 48px 16px; }
    .hm-hero .hm-hero-txt h1 { font-size: 32px; }
    .hm-about .hm-row { flex-direction: column; }
    .hm-footer .hm-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hm-topbar .hm-welcome { display: none; }
    .hm-section { padding: 48px 0; }
    .hm-head h2 { font-size: 24px; }
    .hm-stats-item .hm-stats-num { font-size: 34px; }
    .hm-about .hm-points { grid-template-columns: 1fr; }
    .hm-hero .hm-hero-stats { gap: 22px; }
    .hm-footer .hm-footer-grid { grid-template-columns: 1fr; }
    .hm-ctaband .hm-wrap { flex-direction: column; text-align: center; }
    .hm-hero .hm-hero-txt h1 { font-size: 27px; }
}
