/* ============================================================
   首页 V2 高级感设计（深蓝 + 金）
   仅在首页模板 home.php 使用，全部以 .hm- 前缀隔离
   ============================================================ */
:root {
	--hm-navy: #0b2341;
	--hm-navy2: #123a6b;
	--hm-gold: #c9a25e;
	--hm-gold-l: #e6c98c;
	--hm-bg: #f5f7fa;
	--hm-text: #1f2d3d;
	--hm-sub: #5b6b7f;
	--hm-line: #e8edf3;
}
#content-wrapper { padding: 0; }
.blocks-container { max-width: none; }

/* ---------- 通用区块 ---------- */
.hm-sec { padding: 72px 0; }
.hm-sec.hm-bg { background: var(--hm-bg); }
.hm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hm-head { text-align: center; margin-bottom: 46px; }
.hm-head .en { display: block; font-size: 13px; letter-spacing: 4px; color: var(--hm-gold); font-weight: bold; margin-bottom: 10px; text-transform: uppercase; }
.hm-head h2 { font-size: 30px; color: var(--hm-navy); font-weight: bold; margin: 0 0 14px; }
.hm-head p { color: var(--hm-sub); font-size: 15px; max-width: 720px; margin: 0 auto; line-height: 1.8; }
.hm-head .bar { width: 46px; height: 3px; background: var(--hm-gold); margin: 16px auto 0; border-radius: 2px; }

/* ---------- HERO ---------- */
.hm-hero { position: relative; }
.hm-hero .swiper-slide { position: relative; height: 560px; overflow: hidden; }
.hm-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-hero .hero-mask { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,35,65,.92) 0%, rgba(11,35,65,.72) 42%, rgba(11,35,65,.25) 75%, rgba(11,35,65,.05) 100%); }
.hm-hero .hero-cnt { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hm-hero .hero-tag { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--hm-gold-l); border: 1px solid rgba(201,162,94,.55); padding: 6px 16px; border-radius: 999px; margin-bottom: 22px; width: fit-content; }
.hm-hero h1 { font-size: 42px; line-height: 1.35; color: #fff; font-weight: bold; margin: 0 0 16px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hm-hero h1 em { font-style: normal; color: var(--hm-gold-l); }
.hm-hero .hero-h2 { font-size: 40px; line-height: 1.35; color: #fff; font-weight: bold; margin: 0 0 16px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hm-hero .hero-h2 em { font-style: normal; color: var(--hm-gold-l); }
.hm-hero .hero-sub { font-size: 16px; color: rgba(255,255,255,.82); line-height: 1.9; max-width: 560px; margin-bottom: 32px; }
.hm-hero .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hm-btn { display: inline-block; padding: 13px 34px; border-radius: 4px; font-size: 15px; letter-spacing: 1px; transition: all .25s; }
.hm-btn-gold { background: linear-gradient(135deg, #d8b878, var(--hm-gold)); color: #12233c; font-weight: bold; }
.hm-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,162,94,.45); color: #12233c; }
.hm-btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.hm-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.hm-hero .pagination { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; text-align: center; }
.hm-hero .swiper-pagination-switch { display: inline-block; width: 26px; height: 3px; background: rgba(255,255,255,.35); margin: 0 4px; border-radius: 2px; cursor: pointer; }
.hm-hero .swiper-active-switch { background: var(--hm-gold); }
.hm-hero .slider-arrow { display: none; }

/* ---------- 数据条 ---------- */
.hm-stats { background: var(--hm-navy); padding: 34px 0; }
.hm-stats .hm-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hm-stat { text-align: center; color: #fff; position: relative; }
.hm-stat + .hm-stat:before { content: ""; position: absolute; left: -10px; top: 12%; height: 76%; width: 1px; background: rgba(255,255,255,.14); }
.hm-stat .num { font-size: 34px; font-weight: bold; color: var(--hm-gold-l); line-height: 1.2; }
.hm-stat .num small { font-size: 18px; }
.hm-stat .lbl { font-size: 13px; color: rgba(255,255,255,.68); margin-top: 4px; letter-spacing: 1px; }

/* ---------- WHY US ---------- */
.hm-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hm-why-card { background: #fff; border: 1px solid var(--hm-line); border-radius: 10px; padding: 30px 24px; transition: all .3s; position: relative; overflow: hidden; }
.hm-why-card:before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--hm-gold), transparent); opacity: 0; transition: opacity .3s; }
.hm-why-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(11,35,65,.1); border-color: transparent; }
.hm-why-card:hover:before { opacity: 1; }
.hm-why-ico { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, rgba(201,162,94,.16), rgba(201,162,94,.05)); color: var(--hm-gold); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.hm-why-card h3 { font-size: 17px; color: var(--hm-navy); margin: 0 0 10px; }
.hm-why-card p { font-size: 13px; color: var(--hm-sub); line-height: 1.9; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 服务范围 ---------- */
.hm-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-svc-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--hm-line); border-radius: 10px; padding: 24px 22px; transition: all .3s; position: relative; }
.hm-svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,35,65,.1); border-color: var(--hm-gold); }
.hm-svc-ico { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--hm-navy); color: var(--hm-gold-l); display: flex; align-items: center; justify-content: center; }
.hm-svc-ico svg { width: 26px; height: 26px; }
.hm-svc-info { flex: 1; min-width: 0; }
.hm-svc-info h3 { font-size: 17px; color: var(--hm-navy); margin: 0 0 4px; }
.hm-svc-info .price { font-size: 13px; color: var(--hm-gold); font-weight: bold; }
.hm-svc-arrow { color: #c4ccd8; font-size: 18px; transition: all .3s; }
.hm-svc-card:hover .hm-svc-arrow { color: var(--hm-gold); transform: translateX(4px); }
.hm-more { text-align: center; margin-top: 36px; }
.hm-more a { display: inline-block; padding: 11px 40px; border: 1px solid var(--hm-navy); color: var(--hm-navy); border-radius: 4px; font-size: 14px; letter-spacing: 2px; transition: all .25s; }
.hm-more a:hover { background: var(--hm-navy); color: #fff; }

/* ---------- 关于我们 ---------- */
.hm-about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.hm-about-img { position: relative; }
.hm-about-img img { width: 100%; border-radius: 12px; box-shadow: 0 20px 50px rgba(11,35,65,.18); display: block; }
.hm-about-img:before { content: ""; position: absolute; right: -16px; bottom: -16px; width: 110px; height: 110px; border-right: 3px solid var(--hm-gold); border-bottom: 3px solid var(--hm-gold); border-radius: 0 0 12px 0; }
.hm-about-img .exp { position: absolute; left: -18px; top: 26px; background: var(--hm-navy); color: #fff; border-radius: 8px; padding: 14px 20px; text-align: center; box-shadow: 0 10px 26px rgba(11,35,65,.35); }
.hm-about-img .exp b { display: block; font-size: 26px; color: var(--hm-gold-l); }
.hm-about-img .exp span { font-size: 12px; color: rgba(255,255,255,.75); }
.hm-about-cnt .en { display: block; font-size: 13px; letter-spacing: 4px; color: var(--hm-gold); font-weight: bold; margin-bottom: 10px; }
.hm-about-cnt h2 { font-size: 28px; color: var(--hm-navy); margin: 0 0 18px; line-height: 1.4; }
.hm-about-cnt .desc { font-size: 14px; color: var(--hm-sub); line-height: 2; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.hm-about-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.hm-about-points li { font-size: 14px; color: var(--hm-text); padding-left: 26px; position: relative; }
.hm-about-points li:before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; line-height: 18px; text-align: center; font-size: 11px; color: #fff; background: var(--hm-gold); border-radius: 50%; }
.hm-btn-navy { background: var(--hm-navy); color: #fff; }
.hm-btn-navy:hover { background: var(--hm-navy2); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,35,65,.3); }

/* ---------- 新闻资讯（4列网格） ---------- */
.hm-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hm-news-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--hm-line); transition: all .3s; display: flex; flex-direction: column; }
.hm-news-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(11,35,65,.12); }
.hm-news-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eef1f6; }
.hm-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.hm-news-card:hover .hm-news-thumb img { transform: scale(1.06); }
.hm-news-date { position: absolute; left: 12px; top: 12px; background: rgba(11,35,65,.85); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 4px; letter-spacing: 1px; }
.hm-news-body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.hm-news-body h3 { font-size: 15px; line-height: 1.55; color: var(--hm-navy); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.hm-news-body h3 a { color: inherit; }
.hm-news-body h3 a:hover { color: var(--hm-gold); }
.hm-news-body p { font-size: 13px; color: var(--hm-sub); line-height: 1.75; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.hm-news-more { font-size: 13px; color: var(--hm-gold); font-weight: bold; }
.hm-news-more:after { content: " →"; transition: margin .25s; }
.hm-news-card:hover .hm-news-more:after { margin-left: 4px; }

/* ---------- CTA 横幅 ---------- */
.hm-cta { background: linear-gradient(120deg, var(--hm-navy) 0%, var(--hm-navy2) 100%); padding: 58px 0; position: relative; overflow: hidden; }
.hm-cta:before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 40px solid rgba(201,162,94,.14); border-radius: 50%; }
.hm-cta .hm-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; flex-wrap: wrap; }
.hm-cta h2 { color: #fff; font-size: 26px; margin: 0 0 8px; }
.hm-cta p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }
.hm-cta .phone { display: flex; align-items: center; gap: 16px; }
.hm-cta .phone .num { font-size: 30px; font-weight: bold; color: var(--hm-gold-l); letter-spacing: 1px; }
.hm-cta .phone .lbl { font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
	.hm-why-grid, .hm-news-grid { grid-template-columns: repeat(2, 1fr); }
	.hm-svc-grid { grid-template-columns: repeat(2, 1fr); }
	.hm-about-grid { grid-template-columns: 1fr; gap: 40px; }
	.hm-stats .hm-wrap { grid-template-columns: repeat(2, 1fr); }
	.hm-stat + .hm-stat:before { display: none; }
	.hm-hero .swiper-slide { height: 480px; }
	.hm-hero h1 { font-size: 32px; }
	.hm-hero .hero-h2 { font-size: 30px; }
}
@media (max-width: 600px) {
	.hm-sec { padding: 48px 0; }
	.hm-why-grid, .hm-news-grid, .hm-svc-grid { grid-template-columns: 1fr; }
	.hm-hero .swiper-slide { height: 420px; }
	.hm-hero h1 { font-size: 26px; }
	.hm-hero .hero-h2 { font-size: 24px; }
	.hm-hero .hero-sub { font-size: 14px; }
	.hm-head h2 { font-size: 24px; }
	.hm-cta .phone .num { font-size: 22px; }
}
