/* 藏雅蓝 主题 - 企业集团投资/文旅模板 (xh) */
:root {
    --xh-primary: #14456F;
    --xh-primary-dark: #0C2B47;
    --xh-accent: #CBA55F;
    --xh-accent-dark: #9C7A38;
    --xh-hero-btn: #14456F;
    --xh-hero-btn-hover: #0C2B47;
    --xh-cta: #CBA55F;
    --xh-bg: #ffffff;
    --xh-sub-bg: #EEF3F8;
    --xh-text: #1B2733;
    --xh-text2: #5C6C7A;
    --xh-dark1: #0A1D30;
    --xh-dark2: #123354;
    --xh-topbar-bg: #0C2B47;
    --xh-update-grad: linear-gradient(135deg, #14456F, #0C2B47);
    --xh-line: #E4E8EC;
}

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

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

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

/* ============ Hero (居中 Banner 轮播) ============ */
.xh-hero { margin-top: 112px; }
.xh-hero .carousel, .xh-hero .carousel-inner, .xh-hero .carousel-item { height: 540px; }
.xh-hero .carousel-item { background: var(--xh-dark1); }
.xh-hero .xh-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.xh-hero .xh-hero-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.25) 60%, rgba(0,0,0,.45)); }
.xh-hero .xh-hero-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; z-index: 3; padding: 0 20px; }
.xh-hero .xh-hero-txt .xh-eyebrow { letter-spacing: 4px; font-size: 15px; color: var(--xh-cta); font-weight: 600; margin-bottom: 14px; }
.xh-hero .xh-hero-txt h1 { font-size: 46px; font-weight: 800; margin: 0 0 18px; line-height: 1.18; text-shadow: 0 3px 14px rgba(0,0,0,.35); }
.xh-hero .xh-hero-txt p { font-size: 19px; max-width: 760px; color: rgba(255,255,255,.92); margin: 0 0 30px; }
.xh-btn-hero { display: inline-block; padding: 15px 38px; background: var(--xh-hero-btn); color: #fff; font-weight: 700; border-radius: 34px; font-size: 17px; transition: all .2s; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.xh-btn-hero:hover { background: var(--xh-hero-btn-hover); color: #fff; transform: translateY(-2px); }
.xh-hero .carousel-indicators { margin-bottom: 22px; }
.xh-hero .carousel-indicators button { width: 34px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.5); border: 0; }
.xh-hero .carousel-indicators .active { background: var(--xh-cta); }

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

/* ============ 投资产业 (3板块) ============ */
.xh-ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.xh-ind-card { position: relative; border-radius: 14px; overflow: hidden; height: 340px; box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.xh-ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.xh-ind-card:hover img { transform: scale(1.08); }
.xh-ind-card .xh-ind-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72)); }
.xh-ind-card .xh-ind-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; z-index: 2; }
.xh-ind-card .xh-ind-txt .xh-tag { display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--xh-cta); font-weight: 700; margin-bottom: 8px; }
.xh-ind-card .xh-ind-txt h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.xh-ind-card .xh-ind-txt p { font-size: 14px; color: rgba(255,255,255,.85); margin: 0 0 12px; line-height: 1.6; }
.xh-ind-card .xh-ind-more { font-size: 14px; font-weight: 700; color: #fff; }
.xh-ind-card .xh-ind-more i { margin-left: 4px; transition: transform .2s; }
.xh-ind-card:hover .xh-ind-more i { transform: translateX(4px); }

/* ============ 集团简介 (简介 + 数据) ============ */
.xh-about .xh-row { display: flex; flex-wrap: wrap; align-items: center; gap: 46px; }
.xh-about .xh-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; }
.xh-about .xh-about-img img { width: 100%; height: 100%; object-fit: cover; }
.xh-about .xh-about-txt { flex: 1 1 44%; }
.xh-about .xh-about-txt .xh-en { letter-spacing: 3px; font-size: 14px; color: var(--xh-accent-dark); font-weight: 700; }
.xh-about .xh-about-txt h2 { font-size: 30px; font-weight: 800; color: var(--xh-text); margin: 8px 0 16px; }
.xh-about .xh-about-txt p { color: var(--xh-text2); font-size: 16px; line-height: 1.95; margin: 0 0 14px; }
.xh-about .xh-points { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xh-about .xh-points li { display: flex; align-items: center; gap: 10px; color: var(--xh-text); font-size: 15px; }
.xh-about .xh-points li i { color: var(--xh-cta); }

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

/* ============ 集团优势 (8 项) ============ */
.xh-adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.xh-adv-card { background: #fff; border: 1px solid var(--xh-line); border-radius: 12px; padding: 28px 24px; transition: all .25s; }
.xh-adv-card:hover { border-color: var(--xh-primary); box-shadow: 0 12px 28px rgba(0,0,0,.09); transform: translateY(-4px); }
.xh-adv-card .xh-adv-icon { width: 58px; height: 58px; border-radius: 12px; background: var(--xh-sub-bg); color: var(--xh-primary); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; transition: all .25s; }
.xh-adv-card:hover .xh-adv-icon { background: var(--xh-primary); color: #fff; }
.xh-adv-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--xh-text); }
.xh-adv-card p { font-size: 14px; color: var(--xh-text2); margin: 0; line-height: 1.7; }

/* ============ 星华动态 (新闻区) ============ */
.xh-news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.xh-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(--xh-line); }
.xh-news-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.xh-news-card .xh-news-img { aspect-ratio: 16/9; overflow: hidden; background: var(--xh-update-grad); }
.xh-news-card .xh-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.xh-news-card:hover .xh-news-img img { transform: scale(1.06); }
.xh-news-card .xh-news-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.xh-news-card .xh-news-body h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; line-height: 1.5; }
.xh-news-card .xh-news-body h3 a { color: var(--xh-text); }
.xh-news-card .xh-news-body h3 a:hover { color: var(--xh-primary); }
.xh-news-card .xh-news-body p { font-size: 14px; color: var(--xh-text2); margin: 0 0 14px; flex: 1; }
.xh-news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--xh-text2); }
.xh-news-meta i { color: var(--xh-primary); margin-right: 3px; }
.xh-news-more { font-size: 13px; font-weight: 700; color: var(--xh-primary); letter-spacing: 1px; }

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

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

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

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

/* ============ 返回顶部 ============ */
.xh-totop { position: fixed; right: 22px; bottom: 26px; width: 46px; height: 46px; border-radius: 10px; background: var(--xh-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); }
.xh-totop:hover { background: var(--xh-primary-dark); color: #fff; }

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