/* ==========================================================================
   企业网站前台样式表
   配色：企业蓝主色 + 浅灰底 + 深色区块
   ========================================================================== */

:root {
    --brand: #1667d1;
    --brand-dark: #0e4a9e;
    --brand-light: #e8f1fd;
    --brand-soft: #f4f8fe;
    --accent: #ff8a3d;
    --ink: #14203a;
    --ink-2: #33415c;
    --muted: #6c7a95;
    --line: #e5eaf3;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --dark: #101a30;
    --dark-2: #18243f;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 8px rgba(20, 32, 58, .06);
    --shadow: 0 10px 30px rgba(20, 32, 58, .08);
    --shadow-lg: 0 24px 60px rgba(20, 32, 58, .14);
    --container: 1200px;
    --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-2);
    background: var(--bg);
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s, background-color .25s, border-color .25s, transform .25s; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; line-height: 1.35; }
input, textarea, select, button { font-family: inherit; font-size: inherit; outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 22px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
    transition: all .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 6px 18px rgba(22, 103, 209, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(22, 103, 209, .34); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); }
.btn-lg { padding: 13px 32px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, .72); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar strong { color: #fff; font-weight: 600; letter-spacing: .3px; }
.topbar a:hover { color: #fff; }

/* ---------- 头部 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(20, 32, 58, .09); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.logo-mark {
    width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; font-size: 20px; font-weight: 700;
    box-shadow: 0 6px 16px rgba(22, 103, 209, .28);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 19px; letter-spacing: .5px; color: var(--ink); }
.logo-text small { font-size: 10px; letter-spacing: 1.6px; color: var(--muted); text-transform: uppercase; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block; padding: 0 16px; height: var(--header-h); line-height: var(--header-h);
    font-size: 15px; font-weight: 600; color: var(--ink-2); position: relative;
}
.main-nav > ul > li > a::after {
    content: ""; position: absolute; left: 50%; bottom: 20px; width: 0; height: 2px;
    background: var(--brand); transform: translateX(-50%); transition: width .28s;
}
.main-nav > ul > li > a:hover, .main-nav a.active { color: var(--brand); }
.main-nav > ul > li > a:hover::after, .main-nav a.active::after { width: 22px; }

.sub-nav {
    position: absolute; top: calc(var(--header-h) - 6px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 180px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
    padding: 8px; opacity: 0; visibility: hidden; transition: all .25s ease; border: 1px solid var(--line);
}
.has-sub:hover .sub-nav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-nav a { display: block; padding: 9px 14px; border-radius: 7px; font-size: 14px; color: var(--ink-2); }
.sub-nav a:hover { background: var(--brand-light); color: var(--brand-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
    display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink-2); border-radius: 2px; transition: .3s; }

/* ---------- 首屏轮播 ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--dark); }
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
    background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, #0b1730 0%, #10305e 55%, #1667d1 100%);
}
.hero-slide[style*="url("]::before { opacity: .08; }
.hero-mask {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(9, 20, 42, .92) 0%, rgba(10, 28, 60, .78) 45%, rgba(10, 28, 60, .35) 100%);
}
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 700px; }
.hero-content h1 { color: #fff; font-size: 46px; letter-spacing: 1px; margin-bottom: 18px; }
.hero-content p { color: rgba(255, 255, 255, .84); font-size: 17px; max-width: 560px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-slide.active .hero-content h1 { animation: heroUp .8s .1s both; }
.hero-slide.active .hero-content p { animation: heroUp .8s .25s both; }
.hero-slide.active .hero-btns { animation: heroUp .8s .4s both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 34px; height: 4px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: .3s; }
.hero-dots button.active { background: #fff; width: 52px; }

/* ---------- 数据条 ---------- */
.stats-band { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 34px 10px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.stat-item:last-child { border-right: 0; }
.stat-num { font-size: 40px; font-weight: 700; line-height: 1.1; }
.stat-num em { font-size: 16px; font-style: normal; margin-left: 3px; font-weight: 500; }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-gray { background: var(--bg-soft); }
.section-dark { background: var(--dark); }
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-dark .section-sub { color: rgba(255, 255, 255, .62); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head.center { justify-content: center; text-align: center; }
.section-title { font-size: 32px; letter-spacing: .5px; }
.section-sub { color: var(--muted); margin-top: 10px; font-size: 15px; }
.eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.4px;
    color: var(--brand); text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow.light { color: #6fa8ff; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-badge {
    position: absolute; right: -18px; bottom: -22px; background: #fff; border-radius: 14px;
    padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; border-left: 4px solid var(--brand);
}
.about-badge strong { display: block; color: var(--brand); font-size: 17px; letter-spacing: .5px; }
.about-badge span { font-size: 12px; color: var(--muted); }
.about-desc { color: var(--muted); margin: 16px 0 22px; }
.check-list { display: grid; gap: 10px; margin-bottom: 28px; }
.check-list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.check-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin-top: 4px;
    background: var(--brand-light); color: var(--brand); border-radius: 50%;
    font-size: 11px; display: grid; place-items: center; font-weight: 700;
}

/* ---------- 卡片网格 ---------- */
.card-grid { display: grid; gap: 26px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfe0f8; }
.pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-light); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .pc-img img { transform: scale(1.06); }
.pc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 17px; margin: 6px 0 10px; }
.pc-body p { color: var(--muted); font-size: 14px; flex: 1; }
.pc-more { color: var(--brand); font-size: 13px; font-weight: 600; margin-top: 16px; }
.pc-meta { font-size: 13px; color: var(--muted); margin-top: 8px; }
.tag {
    display: inline-block; align-self: flex-start; font-size: 12px; padding: 2px 10px;
    background: var(--brand-light); color: var(--brand-dark); border-radius: 999px; font-weight: 600;
}
.tag-red { background: #ffeceb; color: #d9473f; margin-right: 6px; }

.adv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 26px; transition: .3s; }
.adv-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
.adv-num { font-size: 34px; font-weight: 800; color: var(--brand-light); line-height: 1; display: block; margin-bottom: 14px; -webkit-text-stroke: 1px #bcd6f7; }
.adv-card h3 { font-size: 17px; margin-bottom: 10px; }
.adv-card p { color: var(--muted); font-size: 14px; }

.case-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--dark-2); display: block; }
.case-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; opacity: .78; transition: .5s; }
.case-card:hover img { opacity: .5; transform: scale(1.05); }
.case-body { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(transparent, rgba(8, 16, 34, .92)); }
.case-body h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.case-body p { color: rgba(255, 255, 255, .7); font-size: 13px; }
.case-client { display: inline-block; margin-top: 10px; font-size: 12px; color: #8fbaff; }

.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mini-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.mini-card h4 { font-size: 14px; padding: 12px 14px 4px; }
.mini-card span { display: block; padding: 0 14px 14px; font-size: 12px; color: var(--muted); }

/* ---------- 首页新闻 ---------- */
.news-list-home { display: grid; gap: 14px; }
.news-item {
    display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.news-item:hover { border-color: #cfe0f8; box-shadow: var(--shadow); transform: translateX(5px); }
.news-date { text-align: center; min-width: 74px; border-right: 1px solid var(--line); padding-right: 20px; }
.news-date strong { display: block; font-size: 30px; color: var(--brand); line-height: 1.1; }
.news-date span { font-size: 12px; color: var(--muted); }
.news-main { flex: 1; min-width: 0; }
.news-main h3 { font-size: 16px; margin-bottom: 6px; }
.news-main p { color: var(--muted); font-size: 13.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-arrow { color: var(--brand); font-size: 20px; opacity: .35; transition: .3s; }
.news-item:hover .news-arrow { opacity: 1; transform: translateX(4px); }

/* ---------- 内页头部 ---------- */
.page-hero {
    background: linear-gradient(120deg, #0d2242 0%, #103a70 55%, #1667d1 100%);
    color: #fff; padding: 66px 0 58px; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
    border-radius: 50%; background: rgba(255, 255, 255, .05);
}
.page-hero h1 { color: #fff; font-size: 34px; letter-spacing: 1px; }
.page-hero p { color: rgba(255, 255, 255, .72); margin-top: 12px; max-width: 680px; }
.page-hero-sm { padding: 44px 0 40px; }
.page-hero-sm h1 { font-size: 26px; }
.breadcrumb { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .7); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb em { font-style: normal; color: #fff; }

/* ---------- 筛选栏 ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-cats a { padding: 8px 20px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.filter-cats a:hover { background: var(--brand-light); color: var(--brand-dark); }
.filter-cats a.active { background: var(--brand); color: #fff; }
.filter-search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.filter-search input { border: 0; padding: 10px 18px; width: 200px; background: transparent; }
.filter-search button { border: 0; padding: 0 22px; background: var(--brand); color: #fff; cursor: pointer; font-weight: 600; }
.filter-search button:hover { background: var(--brand-dark); }
.search-tip { margin-bottom: 24px; color: var(--muted); }

/* ---------- 新闻列表页 ---------- */
.news-list-full { display: grid; gap: 20px; }
.news-row { display: flex; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; padding: 20px; box-shadow: var(--shadow-sm); }
.news-row:hover { box-shadow: var(--shadow); border-color: #cfe0f8; }
.news-thumb { width: 230px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--brand-light); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.news-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-row-body h3 { font-size: 18px; margin-bottom: 8px; }
.news-row:hover .news-row-body h3 { color: var(--brand); }
.news-row-body p { color: var(--muted); font-size: 14px; flex: 1; }
.news-meta { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); margin-top: 12px; flex-wrap: wrap; }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 46px; }
.pager a, .pager span {
    min-width: 40px; height: 40px; padding: 0 13px; border-radius: 9px; display: grid; place-items: center;
    border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager .disabled { opacity: .45; }
.pager .gap { border: 0; background: transparent; }
.pager .total { border: 0; background: transparent; margin-left: 8px; color: var(--muted); font-size: 13px; }

/* ---------- 详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 46px; align-items: start; }
.article { background: #fff; }
.article-title { font-size: 28px; line-height: 1.45; text-align: center; }
.article-meta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 16px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 26px; }
.article-summary { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px; margin-bottom: 26px; }
.article-content { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); word-break: break-word; }
.article-content p { margin-bottom: 18px; }
.article-content h2 { font-size: 21px; margin: 32px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); }
.article-content h3 { font-size: 18px; margin: 26px 0 12px; }
.article-content ul, .article-content ol { margin: 0 0 18px 22px; }
.article-content ul li { list-style: disc; margin-bottom: 8px; }
.article-content ol li { list-style: decimal; margin-bottom: 8px; }
.article-content img { border-radius: 10px; margin: 18px auto; max-width: 100%; }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 10px 14px; }
.article-content th { background: var(--bg-soft); font-weight: 600; }
.article-content blockquote { border-left: 4px solid var(--line); padding: 8px 18px; color: var(--muted); background: var(--bg-soft); border-radius: 6px; margin: 18px 0; }
.article-content a { color: var(--brand); text-decoration: underline; }

.article-spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 30px 0 0; padding: 20px; background: var(--bg-soft); border-radius: var(--radius); }
.article-spec div { font-size: 14px; }
.article-spec span { color: var(--muted); display: block; font-size: 13px; margin-bottom: 4px; }
.article-spec strong { color: var(--brand-dark); }

.article-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.article-nav a { color: var(--ink-2); }
.article-nav a:hover { color: var(--brand); }
.muted { color: var(--muted); }

.related-block { margin-top: 56px; }
.block-title { font-size: 20px; margin-bottom: 22px; padding-left: 12px; border-left: 4px solid var(--brand); }

.detail-side { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.side-cta { background: linear-gradient(150deg, var(--brand), var(--brand-dark)); border: 0; color: #fff; text-align: center; }
.side-cta h3 { color: #fff; font-size: 17px; }
.side-cta p { color: rgba(255, 255, 255, .78); font-size: 13px; margin: 8px 0 14px; }
.side-phone { font-size: 22px; font-weight: 700; letter-spacing: .5px; margin-bottom: 18px; }
.side-title { font-size: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-list { display: grid; gap: 11px; }
.side-list li a { display: block; font-size: 14px; color: var(--ink-2); padding-left: 14px; position: relative; }
.side-list li a::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.side-list li a:hover { color: var(--brand); }

/* ---------- 单页 ---------- */
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.page-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.page-side h3 { background: var(--dark); color: #fff; font-size: 16px; padding: 18px 22px; }
.page-side ul li a { display: block; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.page-side ul li a:hover { background: var(--brand-soft); color: var(--brand); padding-left: 28px; }
.page-side ul li.active a { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; border-left: 3px solid var(--brand); }
.page-side-contact { padding: 22px; background: var(--bg-soft); text-align: center; }
.page-side-contact span { display: block; font-size: 12px; color: var(--muted); }
.page-side-contact strong { font-size: 18px; color: var(--brand); }
.page-main { background: #fff; }
.page-cover { border-radius: var(--radius-lg); margin-bottom: 26px; }
.page-lead { font-size: 16px; color: var(--ink-2); background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 8px; margin-bottom: 26px; }

/* ---------- 联系我们 ---------- */
.contact-cards { margin-top: -80px; position: relative; z-index: 5; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow); text-align: center; }
.contact-card:hover { transform: translateY(-5px); }
.cc-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-light); color: var(--brand); font-size: 24px; }
.contact-card h3 { font-size: 17px; margin-bottom: 10px; }
.contact-card p { color: var(--muted); font-size: 14px; }
.cc-strong { color: var(--ink) !important; font-size: 16px !important; font-weight: 700; margin-bottom: 8px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: start; }
.contact-lead { color: var(--muted); margin: 16px 0 26px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 30px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 3px solid var(--brand-light); }
.ci-label { font-size: 12.5px; color: var(--muted); }
.contact-list strong { color: var(--ink); font-size: 15.5px; }
.req { color: #e05353; font-style: normal; }

.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map-box iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-placeholder { height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); background: repeating-linear-gradient(45deg, #f8fafd, #f8fafd 12px, #f2f6fc 12px, #f2f6fc 24px); }
.map-placeholder span { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.map-placeholder small { font-size: 12.5px; }

/* ---------- 表单 ---------- */
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-item { display: block; margin-bottom: 18px; }
.form-item > span { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-item > span i { color: #e05353; font-style: normal; }
.form-item input[type=text], .form-item input[type=email], .form-item input[type=tel],
.form-item textarea, .form-item select {
    width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--bg-soft); transition: .25s; color: var(--ink); font-size: 14.5px;
}
.form-item input:focus, .form-item textarea:focus, .form-item select:focus {
    border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(22, 103, 209, .12);
}
.form-item textarea { resize: vertical; min-height: 110px; }
.form-tip { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.alert { padding: 13px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #eaf7ef; color: #1c7a45; border-left: 4px solid #34a853; }
.alert-error { background: #fdeceb; color: #b32d26; border-left: 4px solid #e05353; }
.alert-info { background: var(--brand-light); color: var(--brand-dark); border-left: 4px solid var(--brand); }

/* ---------- 空状态 ---------- */
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-icon { font-size: 46px; margin-bottom: 14px; opacity: .6; }
.empty-state p { margin-bottom: 20px; }
.empty-tip { color: var(--muted); padding: 30px 0; }

/* ---------- 底部行动区 ---------- */
.cta-band { background: linear-gradient(120deg, #0e4a9e, #1667d1 55%, #2b86f0); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 0; flex-wrap: wrap; }
.cta-inner h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .8); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .62); padding-top: 62px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.f-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.f-brand p { font-size: 14px; margin-bottom: 20px; }
.f-contact { display: grid; gap: 9px; font-size: 14px; }
.f-contact span { display: inline-block; width: 44px; color: rgba(255, 255, 255, .4); }
.f-col ul { display: grid; gap: 11px; }
.f-col ul a { font-size: 14px; }
.f-col ul a:hover { color: #fff; padding-left: 4px; }
.f-qr img, .qr-placeholder { width: 110px; height: 110px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.qr-placeholder { display: grid; place-items: center; font-size: 12px; color: rgba(255, 255, 255, .45); }
.f-qr-tip { font-size: 12.5px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.fb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.fb-links a:hover { color: #fff; }

/* ---------- 右侧悬浮「联系我们」 ---------- */
.side-contact {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%);
    z-index: 880; font-size: 14px;
}

/* 收起状态：贴右侧的竖条标签 */
.sc-tab {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    width: 54px; padding: 16px 0 15px; border: 0; cursor: pointer;
    border-radius: 12px 0 0 12px; color: #fff;
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
    box-shadow: -6px 8px 22px rgba(20, 32, 58, .2);
    transition: background .25s ease, box-shadow .25s ease;
}
.sc-tab:hover { background: linear-gradient(160deg, var(--brand-dark) 0%, #0a3a7d 100%); box-shadow: -8px 10px 28px rgba(20, 32, 58, .28); }
.sc-tab:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.sc-tab-ico { display: block; line-height: 0; }
.sc-tab-txt { writing-mode: vertical-rl; text-orientation: upright; letter-spacing: 3px; font-size: 12.5px; font-weight: 600; }

/* 展开面板：位于标签左侧，与标签无缝贴合（保证鼠标滑入面板时不会误收起） */
.sc-panel {
    position: absolute; right: 100%; top: 50%; margin-right: -4px;
    width: 274px; max-height: calc(100vh - 180px); overflow-y: auto;
    padding: 16px 18px 18px; background: #fff; border: 1px solid var(--line);
    border-radius: 14px 4px 4px 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(16px, -50%);
    transition: opacity .26s ease, transform .26s ease, visibility .26s;
}

.side-contact.open .sc-panel { opacity: 1; visibility: visible; transform: translate(0, -50%); }
@media (hover: hover) {
    .side-contact:hover .sc-panel { opacity: 1; visibility: visible; transform: translate(0, -50%); }
}

.sc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; }
.sc-head strong { font-size: 15.5px; color: var(--ink); }
.sc-close { border: 0; background: transparent; color: var(--muted); font-size: 21px; line-height: 1; cursor: pointer; padding: 0 2px; }
.sc-close:hover { color: var(--brand); }

.sc-block { padding: 12px 0; border-top: 1px dashed var(--line); }
.sc-cap { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.sc-tel { display: inline-flex; align-items: center; gap: 7px; font-size: 19px; font-weight: 800; color: var(--brand); letter-spacing: .4px; line-height: 1.35; }
.sc-tel svg { flex-shrink: 0; }
.sc-tel:hover { color: var(--brand-dark); }
.sc-sub { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }

.sc-wechat { text-align: center; }
.sc-qr { width: 136px; height: 136px; margin: 8px auto 6px; display: block; border-radius: 10px; }
img.sc-qr { object-fit: cover; border: 1px solid var(--line); background: #fff; }
.sc-qr-ph { display: grid; place-items: center; background: var(--brand-soft); border: 1px dashed #bcd6f7; color: var(--muted); font-size: 12.5px; }
.sc-wechat-id { margin-top: 2px; }
.sc-wechat-id strong { color: var(--brand); }
.sc-wechat .sc-cap { text-align: center; }

.sc-actions { display: flex; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sc-btn { flex: 1; padding: 9px 12px; font-size: 13.5px; }

/* ---------- 返回顶部 ---------- */
.to-top {
    position: fixed; right: 26px; bottom: 32px; width: 46px; height: 46px; border-radius: 12px;
    border: 0; background: var(--brand); color: #fff; font-size: 19px; cursor: pointer;
    box-shadow: 0 10px 24px rgba(22, 103, 209, .35); opacity: 0; visibility: hidden;
    transition: .3s; z-index: 800;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand-dark); transform: translateY(-3px); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --header-h: 64px; }
    .tb-hide-sm { display: none; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: #fff; padding: 12px 0 40px; overflow-y: auto;
        transform: translateX(-102%); transition: transform .35s ease; z-index: 890;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { transform: none; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li > a { height: auto; line-height: 1.4; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 16px; }
    .main-nav > ul > li > a::after { display: none; }
    .sub-nav { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 20px; background: var(--bg-soft); border-radius: 0; }
    .sub-nav a { padding: 12px 20px; border-bottom: 1px solid var(--line); }
    .nav-toggle { display: flex; }
    .header-actions .btn { display: none; }
    /* 汉堡动画 */
    .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero { height: 470px; }
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 15px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 26px; }
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 520px; }
    .page-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .contact-cards { margin-top: -60px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: 0; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .18); }
    .section-head { flex-direction: column; align-items: flex-start; }

    .sc-tab { width: 48px; padding: 13px 0 12px; }
    .sc-tab-txt { font-size: 11.5px; letter-spacing: 2px; }
    .sc-panel { width: 244px; margin-right: -4px; padding: 14px 15px 16px; }
    .sc-qr { width: 120px; height: 120px; }
    .sc-tel { font-size: 17.5px; }
}

@media (max-width: 620px) {
    body { font-size: 14.5px; }
    .topbar-inner { justify-content: center; }
    .topbar-right { display: none; }
    .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
    .hero { height: 420px; }
    .hero-content h1 { font-size: 26px; }
    .hero-btns .btn { padding: 11px 22px; font-size: 14px; }
    .section-title { font-size: 22px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-wrap { padding: 24px 20px; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
    .news-date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; text-align: left; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
    .news-date strong { font-size: 20px; }
    .news-arrow { display: none; }
    .news-row { flex-direction: column; gap: 14px; }
    .news-thumb { width: 100%; }
    .article-title { font-size: 21px; }
    .article-meta { justify-content: flex-start; gap: 12px; }
    .filter-search { width: 100%; }
    .filter-search input { flex: 1; width: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .page-hero { padding: 46px 0 40px; }
    .page-hero h1 { font-size: 25px; }
    .contact-cards { margin-top: -40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 30px; }
    .to-top { right: 16px; bottom: 20px; }

    .sc-tab { width: 44px; padding: 12px 0 11px; gap: 6px; }
    .sc-tab-ico svg { width: 18px; height: 18px; }
    .sc-tab-txt { font-size: 11px; letter-spacing: 1px; }
    .sc-panel { width: 226px; margin-right: -4px; padding: 13px 14px 15px; border-radius: 12px 4px 4px 12px; }
    .sc-qr { width: 108px; height: 108px; }
    .sc-tel { font-size: 16.5px; }
    .sc-actions { gap: 8px; }
    .sc-btn { font-size: 13px; padding: 8px 10px; }
}
