/* 蓝城蓝 主题 - 蓝城代建企业集团模板 (btg) */
:root {
    --btg-primary: #0A3B95;
    --btg-primary-dark: #072A6E;
    --btg-accent: #B41B36;
    --btg-accent-dark: #8A1526;
    --btg-hero-btn: #0A3B95;
    --btg-hero-btn-hover: #072A6E;
    --btg-cta: #B41B36;
    --btg-bg: #ffffff;
    --btg-sub-bg: #EEF2FA;
    --btg-text: #1E2430;
    --btg-text2: #5A6478;
    --btg-dark1: #0B1B36;
    --btg-dark2: #071227;
    --btg-topbar-bg: #F3F6FB;
    --btg-topbar-text: #3A4660;
    --btg-update-grad: linear-gradient(135deg, #0A3B95, #072A6E);
    --btg-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(--btg-text); background: var(--btg-bg); margin: 0; padding: 0; line-height: 1.7; }
a { color: var(--btg-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--btg-primary-dark); }
img { max-width: 100%; display: block; }
.btg-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ============ 顶部欢迎条 + 搜索 ============ */
.btg-topbar { background: var(--btg-topbar-bg); color: var(--btg-topbar-text); font-size: 13px; position: fixed; top: 0; left: 0; right: 0; z-index: 1001; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btg-topbar .btg-wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.btg-topbar .btg-welcome i { color: var(--btg-primary); margin-right: 6px; }
.btg-topbar form { display: flex; align-items: center; }
.btg-topbar input { height: 26px; border: 1px solid #D6DEEA; border-right: 0; border-radius: 4px 0 0 4px; padding: 0 10px; font-size: 12px; width: 170px; background: #fff; color: var(--btg-text); }
.btg-topbar button { height: 26px; border: 0; border-radius: 0 4px 4px 0; background: var(--btg-primary); color: #fff; padding: 0 12px; font-size: 12px; cursor: pointer; }
.btg-topbar button:hover { background: var(--btg-primary-dark); }
.btg-topbar a { color: var(--btg-topbar-text); margin-left: 16px; }
.btg-topbar a:hover { color: var(--btg-primary); }

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

/* ============ Hero (居中 Banner 轮播) ============ */
.btg-hero { margin-top: 118px; }
.btg-hero .carousel, .btg-hero .carousel-inner, .btg-hero .carousel-item { height: 560px; }
.btg-hero .carousel-item { background: var(--btg-dark1); }
.btg-hero .btg-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.btg-hero .btg-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)); }
.btg-hero .btg-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; }
.btg-hero .btg-hero-txt .btg-eyebrow { letter-spacing: 4px; font-size: 15px; color: var(--btg-cta); font-weight: 600; margin-bottom: 14px; text-transform: uppercase; }
.btg-hero .btg-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); }
.btg-hero .btg-hero-txt p { font-size: 19px; max-width: 780px; color: rgba(255,255,255,.92); margin: 0 0 30px; }
.btg-btn-hero { display: inline-block; padding: 15px 38px; background: var(--btg-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); }
.btg-btn-hero:hover { background: var(--btg-hero-btn-hover); color: #fff; transform: translateY(-2px); }
.btg-hero .carousel-indicators { margin-bottom: 22px; }
.btg-hero .carousel-indicators button { width: 34px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.5); border: 0; }
.btg-hero .carousel-indicators .active { background: var(--btg-cta); }

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

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

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

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

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

/* ============ 理想小镇特色带 ============ */
.btg-town { display: flex; flex-wrap: wrap; gap: 34px; align-items: center; }
.btg-town .btg-town-img { flex: 1 1 48%; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.15); aspect-ratio: 16/10; }
.btg-town .btg-town-img img { width: 100%; height: 100%; object-fit: cover; }
.btg-town .btg-town-txt { flex: 1 1 44%; }
.btg-town .btg-town-txt h3 { font-size: 26px; font-weight: 800; margin: 0 0 14px; }
.btg-town .btg-town-txt p { color: var(--btg-text2); font-size: 15.5px; line-height: 1.95; margin: 0 0 16px; }
.btg-town .btg-town-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.btg-town .btg-town-tags span { padding: 7px 16px; border-radius: 24px; background: #fff; border: 1px solid var(--btg-line); color: var(--btg-primary); font-size: 14px; font-weight: 600; }

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

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

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

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

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

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

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .btg-burger { display: flex; }
    .btg-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.16); padding: 8px 0; max-height: 74vh; overflow: auto; }
    .btg-nav-toggle:checked ~ .btg-nav { display: flex; }
    .btg-nav > a, .btg-nav .btg-drop > button { display: block; width: 100%; text-align: left; border-radius: 0; padding: 13px 22px; font-size: 15px; }
    .btg-nav .btg-drop { position: static; }
    .btg-nav .btg-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; min-width: 0; padding: 0 22px 6px 38px; display: block; }
    .btg-nav .btg-drop-menu a { padding: 8px 0; font-size: 13.5px; white-space: normal; }
    .btg-nav .btg-cta { margin: 12px 22px 6px; text-align: center; border-radius: 30px; }
    .btg-hero .carousel, .btg-hero .carousel-inner, .btg-hero .carousel-item { height: 420px; }
    .btg-hero .btg-hero-txt h1 { font-size: 30px; }
    .btg-hero .btg-hero-txt p { font-size: 16px; }
    .btg-about .btg-row { flex-direction: column; }
    .btg-town { flex-direction: column; }
    .btg-footer .btg-footer-grid { grid-template-columns: 1fr 1fr; }
    .btg-topbar form { display: none; }
}
@media (max-width: 768px) {
    .btg-topbar { display: none; }
    .btg-header { top: 0; }
    .btg-hero { margin-top: 78px; }
    .btg-pagehead { margin-top: 78px; }
    .btg-topbar .btg-welcome { display: none; }
    .btg-section { padding: 48px 0; }
    .btg-head h2 { font-size: 24px; }
    .btg-stats-item .btg-stats-num { font-size: 32px; }
    .btg-about .btg-points { grid-template-columns: 1fr; }
    .btg-footer .btg-footer-grid { grid-template-columns: 1fr; }
    .btg-ctaband .btg-wrap { flex-direction: column; text-align: center; }
    .btg-hero .btg-hero-txt h1 { font-size: 24px; }
}
