/* 沧海蓝 主题 - 经典企业模板 (qh) */
:root {
    --qh-primary: #2D688A;
    --qh-primary-dark: #19445C;
    --qh-accent: #5186A3;
    --qh-accent-dark: #316380;
    --qh-hero-btn: #2D688A;
    --qh-cta: #CC7747;
    --qh-bg: #FFFFFF;
    --qh-sub-bg: #EAF3F7;
    --qh-text: #222629;
    --qh-text2: #6D7478;
    --qh-dark1: #0E1A21;
    --qh-dark2: #19445C;
    --qh-header-bg: #19445C;
    --qh-line: #E4E8EE;
    --qh-grad: linear-gradient(135deg, #2D688A, #19445C);
}
* { box-sizing: border-box; }
body { font-family: "PingFang SC","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; color: var(--qh-text); background: var(--qh-bg); margin: 0; padding: 0; line-height: 1.7; }
a { color: var(--qh-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--qh-primary); }
img { max-width: 100%; display: block; border: 0; }
ul { list-style: none; padding: 0; margin: 0; }
.qh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== 顶部工具条 ===== */
.qh-topbar { background: #f4f5f7; border-bottom: 1px solid var(--qh-line); font-size: 13px; color: var(--qh-text2); }
.qh-topbar .qh-wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.qh-topbar a { color: var(--qh-text2); }
.qh-topbar a:hover { color: var(--qh-primary); }

/* ===== 头部 Logo + 导航 ===== */
.qh-header { background: #fff; border-bottom: 2px solid var(--qh-primary); }
.qh-header .qh-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.qh-logo { display: flex; align-items: center; gap: 12px; }
.qh-logo .qh-logo-mark { width: 46px; height: 46px; border-radius: 8px; background: var(--qh-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.qh-logo .qh-logo-txt { font-size: 24px; font-weight: 800; color: var(--qh-primary); line-height: 1.2; }
.qh-logo .qh-logo-sub { font-size: 13px; color: var(--qh-text2); font-weight: 400; }
.qh-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.qh-nav a { padding: 10px 18px; font-size: 16px; font-weight: 600; border-radius: 6px 6px 0 0; }
.qh-nav a:hover, .qh-nav a.qh-on { background: var(--qh-primary); color: #fff; }

/* ===== Banner 轮播 ===== */
.qh-banner { position: relative; background: var(--qh-dark1); }
.qh-banner .carousel-item img { width: 100%; height: 480px; object-fit: cover; opacity: .9; }
.qh-banner .qh-banner-cap { position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 8%; z-index: 3; pointer-events: none; }
.qh-banner .qh-banner-cap h2 { color: #fff; font-size: 42px; font-weight: 800; margin: 0 0 12px; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.qh-banner .qh-banner-cap p { color: rgba(255,255,255,.92); font-size: 18px; margin: 0 0 22px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.qh-banner .qh-banner-cap a { pointer-events: auto; }
.qh-btn { display: inline-block; padding: 12px 28px; background: var(--qh-hero-btn); color: #fff !important; border-radius: 6px; font-size: 16px; font-weight: 700; transition: all .2s; }
.qh-btn:hover { background: var(--qh-primary-dark); }
.qh-banner .carousel-indicators button { width: 34px; height: 4px; border-radius: 2px; }

/* ===== Section 通用 ===== */
.qh-section { padding: 60px 0; }
.qh-section.alt { background: var(--qh-sub-bg); }
.qh-title { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--qh-primary); padding-bottom: 10px; margin: 0 0 30px; }
.qh-title h2 { font-size: 24px; font-weight: 800; color: var(--qh-primary); margin: 0; position: relative; }
.qh-title h2::before { content: ''; display: inline-block; width: 6px; height: 20px; background: var(--qh-cta); margin-right: 10px; vertical-align: -2px; border-radius: 2px; }
.qh-title .qh-more { font-size: 14px; color: var(--qh-text2); }
.qh-title .qh-more:hover { color: var(--qh-primary); }

/* ===== 公司简介 ===== */
.qh-about .qh-row { display: flex; flex-wrap: wrap; gap: 34px; align-items: center; }
.qh-about .qh-about-img { flex: 0 0 42%; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.12); aspect-ratio: 16/10; }
.qh-about .qh-about-img img { width: 100%; height: 100%; object-fit: cover; }
.qh-about .qh-about-txt { flex: 1 1 44%; }
.qh-about .qh-about-txt p { color: var(--qh-text2); font-size: 15px; line-height: 1.95; margin: 0 0 14px; text-indent: 2em; }
.qh-about .qh-feats { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 18px 0; }
.qh-about .qh-feats span { color: var(--qh-text); font-size: 15px; }
.qh-about .qh-feats i { color: var(--qh-primary); margin-right: 6px; }

/* ===== 新闻中心 ===== */
.qh-news .qh-row { display: flex; flex-wrap: wrap; gap: 30px; }
.qh-news .qh-news-img { flex: 0 0 32%; }
.qh-news .qh-news-img a { display: block; }
.qh-news .qh-news-img img { width: 100%; height: 210px; object-fit: cover; border-radius: 8px; }
.qh-news .qh-news-img .qh-nh { margin-top: 14px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.qh-news .qh-news-list { flex: 1 1 58%; }
.qh-news .qh-news-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--qh-line); }
.qh-news .qh-news-list li:hover a { color: var(--qh-primary); }
.qh-news .qh-n_date { flex: 0 0 66px; text-align: center; background: var(--qh-sub-bg); border-radius: 6px; padding: 6px 0; color: var(--qh-primary); }
.qh-news .qh-n_date b { display: block; font-size: 22px; line-height: 1; }
.qh-news .qh-n_date span { font-size: 12px; color: var(--qh-text2); }
.qh-news .qh-n_main { flex: 1; }
.qh-news .qh-n_main a { font-size: 16px; font-weight: 600; }
.qh-news .qh-n_main p { margin: 4px 0 0; font-size: 13px; color: var(--qh-text2); line-height: 1.6; }

/* ===== 产品展示 ===== */
.qh-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.qh-prod { background: #fff; border: 1px solid var(--qh-line); border-radius: 10px; overflow: hidden; transition: all .25s; }
.qh-prod:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12); border-color: var(--qh-primary); }
.qh-prod img { width: 100%; height: 165px; object-fit: cover; }
.qh-prod .qh-prod-b { padding: 14px 16px; text-align: center; }
.qh-prod .qh-prod-b h4 { margin: 0; font-size: 16px; font-weight: 700; }

/* ===== 服务承诺 ===== */
.qh-serv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.qh-serv .qh-sv { text-align: center; padding: 24px 16px; }
.qh-serv .qh-sv i { font-size: 38px; color: var(--qh-primary); margin-bottom: 12px; }
.qh-serv .qh-sv h4 { margin: 0 0 8px; font-size: 17px; }
.qh-serv .qh-sv p { margin: 0; font-size: 14px; color: var(--qh-text2); }

/* ===== 联系 CTA ===== */
.qh-contact { background: var(--qh-grad); color: #fff; padding: 46px 0; }
.qh-contact .qh-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.qh-contact h2 { margin: 0; font-size: 25px; font-weight: 800; }
.qh-contact p { margin: 6px 0 0; color: rgba(255,255,255,.9); }
.qh-contact a { background: #fff; color: var(--qh-primary); padding: 13px 30px; border-radius: 6px; font-weight: 700; font-size: 16px; }
.qh-contact a:hover { background: var(--qh-dark1); color: #fff; }

/* ===== 内页 / 详情 ===== */
.qh-pagehead { background: var(--qh-grad); color: #fff; padding: 46px 0; text-align: center; }
.qh-pagehead h1 { margin: 0; font-size: 30px; font-weight: 800; }
.qh-pagehead p { margin: 8px 0 0; color: rgba(255,255,255,.88); }
.qh-detail { max-width: 860px; margin: 0 auto; }
.qh-detail h1.qh-detail-title { font-size: 28px; font-weight: 800; color: var(--qh-text); margin: 0 0 14px; line-height: 1.4; }
.qh-detail .qh-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--qh-text2); font-size: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--qh-line); margin-bottom: 22px; }
.qh-detail .qh-detail-meta i { color: var(--qh-primary); margin-right: 4px; }
.qh-detail-body { font-size: 17px; line-height: 1.9; color: #374151; word-break: break-word; }
.qh-detail-body img { border-radius: 8px; margin: 16px auto; height: auto; }
.qh-back { display: inline-block; margin-top: 30px; padding: 10px 22px; background: var(--qh-primary); color: #fff !important; border-radius: 6px; }

/* ===== 列表 / 分页 / 搜索 / 标签 ===== */
.qh-list .qh-news-list { max-width: 900px; margin: 0 auto; }
.qh-page { display: flex; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.qh-page a, .qh-page span { padding: 8px 14px; border: 1px solid var(--qh-line); border-radius: 6px; color: var(--qh-text2); font-size: 14px; }
.qh-page .active, .qh-page a:hover { background: var(--qh-primary); color: #fff; border-color: var(--qh-primary); }
.qh-searchbar { display: flex; gap: 10px; max-width: 620px; margin: 0 auto 34px; }
.qh-searchbar input { flex: 1; padding: 12px 18px; border: 1px solid var(--qh-line); border-radius: 6px; font-size: 16px; }
.qh-searchbar button { padding: 12px 28px; background: var(--qh-primary); color: #fff; border: 0; border-radius: 6px; font-weight: 700; cursor: pointer; }
.qh-tagcloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin: 0 auto; }
.qh-tagcloud a { padding: 8px 18px; background: var(--qh-sub-bg); color: var(--qh-primary); border-radius: 22px; font-size: 14px; }
.qh-tagcloud a:hover { background: var(--qh-primary); color: #fff; }

/* ===== 页脚 ===== */
.qh-footer { background: var(--qh-dark1); color: rgba(255,255,255,.72); padding: 48px 0 20px; }
.qh-footer .qh-fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; margin-bottom: 28px; }
.qh-footer h5 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.qh-footer .qh-fbrand { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.qh-footer .qh-fbrand i { color: var(--qh-cta); margin-right: 8px; }
.qh-footer p { font-size: 14px; line-height: 1.9; margin: 0; }
.qh-footer ul li { margin-bottom: 9px; }
.qh-footer ul li a { color: rgba(255,255,255,.68); font-size: 14px; }
.qh-footer ul li a:hover { color: var(--qh-cta); }
.qh-footer .qh-fcontact li { display: flex; gap: 10px; align-items: flex-start; }
.qh-footer .qh-fcontact i { color: var(--qh-cta); margin-top: 4px; }
.qh-footer .qh-copy { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .qh-header .qh-wrap { flex-direction: column; gap: 10px; min-height: 0; padding-top: 14px; padding-bottom: 14px; }
    .qh-nav a { padding: 7px 12px; font-size: 14px; }
    .qh-banner .carousel-item img { height: 240px; }
    .qh-banner .qh-banner-cap h2 { font-size: 26px; }
    .qh-banner .qh-banner-cap p { font-size: 15px; }
    .qh-prods, .qh-serv { grid-template-columns: repeat(2, 1fr); }
    .qh-about .qh-about-img, .qh-news .qh-news-img { flex: 1 1 100%; }
    .qh-footer .qh-fgrid { grid-template-columns: 1fr 1fr; }
    .qh-section { padding: 40px 0; }
}
