/* ==========================================================================
   嘉兴博威计算机科技有限公司 - 前台样式
   全新编写，无第三方 CSS 框架
   ========================================================================== */

:root {
    --brand: #c20e17;
    --brand-dark: #9d0b12;
    --ink: #333333;
    --ink-2: #555555;
    --muted: #888888;
    --line: #e6e6e6;
    --soft: #f5f6f7;
    --dark: #1b1c1e;
    --container: 1200px;
    --radius: 4px;
    --shadow: 0 10px 34px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.35; color: var(--ink); }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 86px 0; }
.center-title { text-align: center; font-size: 30px; margin-bottom: 44px; }
.empty-tip { text-align: center; color: var(--muted); padding: 60px 0; }

/* ------------------------------------------------ 顶部导航 */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 88px;
    background: transparent;
    transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-solid {
    background: #fff;
    box-shadow: 0 2px 18px rgba(0, 0, 0, .08);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { max-height: 52px; width: auto; display: block; }
.logo .logo-dark { display: none; }
.logo .logo-light { display: block; }
.site-header.is-solid .logo .logo-dark { display: block; }
.site-header.is-solid .logo .logo-light { display: none; }

.main-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.main-nav ul { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.main-nav a { white-space: nowrap; }
.main-nav a {
    display: block;
    padding: 0 23px;
    line-height: 88px;
    font-size: 16px;
    color: #fff;
    position: relative;
}
.site-header.is-solid .main-nav a { color: var(--ink); }
.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 22px;
    width: 0; height: 2px;
    background: var(--brand);
    transform: translateX(-50%);
    transition: width .25s ease;
}
.main-nav li.on > a,
.main-nav a:hover { color: var(--brand); }
.main-nav li.on > a::after,
.main-nav a:hover::after { width: 26px; }

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    color: #ef5019;
    letter-spacing: .5px;
    white-space: nowrap;
}
.header-phone .ico {
    width: 34px; height: 34px;
    padding: 8px;
    border-radius: 50%;
    background: #fff;
    fill: var(--brand);
    box-sizing: border-box;
}

.burger {
    display: none;
    width: 42px; height: 42px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.burger span { display: block; height: 2px; background: var(--ink); transition: .3s; }
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------------------------ 首页大图 */
.hero {
    position: relative;
    height: 958px;
    min-height: 480px;
    overflow: hidden;
    background: #111;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, .26) 45%, rgba(0, 0, 0, .48) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.hero-content h1 {
    font-size: 38px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
    animation: heroIn .9s ease both;
}
.hero-content p {
    max-width: 860px;
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
    animation: heroIn 1.1s .15s ease both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------ 通用标题 */
.section-head { margin-bottom: 46px; }
.section-head .eyebrow {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section-head h2 { font-size: 32px; font-weight: 700; }
.section-head.center { text-align: center; }
.section-head.center p { color: var(--muted); margin-top: 12px; }

/* ------------------------------------------------ 首页服务 */
.services-band { background: #fff; }
.service-lead { color: var(--ink-2); max-width: 880px; margin: -20px 0 44px; }

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.svc-card {
    position: relative;
    padding: 38px 26px 30px;
    background: #fafafa;
    border-top: 3px solid transparent;
    transition: .3s ease;
    display: block;
}
.svc-card:hover {
    background: #fff;
    border-top-color: var(--brand);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}
.svc-index {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #dcdcdc;
    line-height: 1;
    margin-bottom: 18px;
    transition: color .3s;
}
.svc-card:hover .svc-index { color: var(--brand); }
.svc-card h3 { font-size: 21px; margin-bottom: 14px; }
.svc-desc { color: var(--ink-2); font-size: 14px; line-height: 1.9; min-height: 84px; }
.svc-tags { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.svc-tags li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.svc-tags .dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--brand);
    flex: 0 0 5px;
}

/* ------------------------------------------------ 团队定制 */
.team-band {
    background-color: #16181a;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 92px 0;
    color: #fff;
}
.team-band::before {
    content: "";
    position: absolute; inset: 0;
    background: rgba(12, 13, 15, .78);
}
.team-inner {
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 70px;
    align-items: center;
}
.team-left span {
    display: block;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}
.team-left span:last-child { color: var(--brand); }
.team-right h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.team-accent { color: #d6b3b5; margin-bottom: 22px; }
.team-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 12px;
}
.team-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 6px; height: 6px;
    background: var(--brand);
}

/* ------------------------------------------------ 合作伙伴 */
.partners { background: var(--soft); }
.partner-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.partner-logo {
    background: #fff;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    filter: grayscale(100%);
    opacity: .82;
    transition: .3s;
}
.partner-logo:hover { filter: none; opacity: 1; box-shadow: var(--shadow); }
.partner-logo img { max-height: 74px; width: auto; }

/* ------------------------------------------------ 合作流程 */
.process { background: #fff; }
.process-img { text-align: center; }
.process-img img { width: 100%; }

/* ------------------------------------------------ 内页大图 */
.sub-hero {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: #222;
}
.sub-hero-short { height: 560px; }
.sub-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-hero-mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .18));
}
.sub-hero-text {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.sub-hero-text h1 {
    color: #fff;
    font-size: 44px;
    letter-spacing: 3px;
    border-left: 4px solid var(--brand);
    padding-left: 20px;
}

/* ------------------------------------------------ 服务项目总览 */
.svc-hero {
    position: relative;
    height: 720px;
    overflow: hidden;
    background: #111;
}
.svc-hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.svc-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .28) 58%, rgba(0, 0, 0, .04) 100%);
}
.svc-hero.is-right::after {
    background: linear-gradient(270deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .28) 58%, rgba(0, 0, 0, .04) 100%);
}
.svc-hero-box {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    height: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}
.svc-hero.is-right .svc-hero-box { align-items: flex-end; text-align: right; }
.svc-hero-box h2 { color: #fff; font-size: 36px; font-weight: 700; letter-spacing: 2px; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.svc-hero-box .rule {
    display: block;
    width: 46px; height: 3px;
    background: var(--brand);
    margin: 22px 0;
}
.svc-hero.is-right .rule { margin-left: auto; }
.svc-hero-box p { max-width: 520px; color: rgba(255, 255, 255, .94); line-height: 2; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

.btn-outline {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 34px;
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    transition: .3s;
}
.btn-outline:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.btn-solid {
    display: inline-block;
    padding: 13px 36px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    transition: .3s;
}
.btn-solid:hover { background: var(--brand-dark); color: #fff; }

/* ------------------------------------------------ 标签页 */
.tabs-section { background: var(--soft); }
.tab-head {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    padding: 12px 34px;
    font-size: 15px;
    cursor: pointer;
    transition: .25s;
    font-family: inherit;
}
.tab-btn.active, .tab-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 60px;
    align-items: center;
    background: #fff;
    padding: 50px;
}
.tab-copy h3 { font-size: 26px; margin-bottom: 16px; }
.tab-copy p { color: var(--ink-2); margin-bottom: 20px; }
.check-list { margin-bottom: 26px; }
.check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--ink-2);
    margin-bottom: 8px;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 11px;
    width: 10px; height: 10px;
    border: 2px solid var(--brand);
}
.tab-media img { width: 100%; }

/* ------------------------------------------------ 服务详情 */
.feature-section { padding-top: 76px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-grid li { text-align: center; padding: 10px 12px; }
.feature-icon {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.feature-icon img { max-height: 88px; width: auto; }
.feature-grid h3 { font-size: 19px; margin-bottom: 10px; }
.feature-grid p { color: var(--muted); font-size: 14px; line-height: 1.9; }

.detail-section { background: var(--soft); }
.detail-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: start;
}
.detail-copy h2 { font-size: 30px; margin-bottom: 18px; }
.detail-lead { color: var(--ink-2); margin-bottom: 30px; }
.detail-points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.detail-points h4 {
    font-size: 17px;
    padding-left: 14px;
    border-left: 3px solid var(--brand);
    margin-bottom: 8px;
}
.detail-points p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.detail-aside { background: #fff; padding: 32px; box-shadow: var(--shadow); }
.detail-aside h3 { font-size: 20px; margin-bottom: 12px; }
.detail-aside p { color: var(--ink-2); font-size: 14px; margin-bottom: 20px; }
.detail-aside img { width: 100%; }

.cta-band { background: var(--dark); color: #fff; padding: 56px 0; }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-inner p { color: rgba(255, 255, 255, .66); }

/* ------------------------------------------------ 案例列表 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.case-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    padding: 0 0 26px;
    transition: .3s;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case-enter {
    position: absolute;
    right: 0; top: 0;
    z-index: 3;
    background: rgba(194, 14, 23, .92);
    color: #fff;
    font-size: 13px;
    padding: 7px 16px;
}
.case-enter:hover { color: #fff; background: var(--brand-dark); }
.case-thumb { background: #f2f2f2; overflow: hidden; height: 300px; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-thumb img { transform: scale(1.04); }
.case-title { font-size: 18px; padding: 20px 24px 10px; }
.case-text { color: var(--muted); font-size: 13.5px; line-height: 1.9; padding: 0 24px; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pager-item {
    min-width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 14px;
}
.pager-item:hover, .pager-item.on {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* ------------------------------------------------ 新闻列表 */
.subnav-wrap { border-bottom: 1px solid var(--line); background: #fff; }
.subnav { display: flex; justify-content: center; flex-wrap: wrap; }
.subnav a {
    display: block;
    padding: 20px 26px;
    color: var(--ink-2);
    font-size: 15px;
    position: relative;
}
.subnav li.on a { color: var(--brand); }
.subnav li.on a::after {
    content: "";
    position: absolute;
    left: 26px; right: 26px; bottom: 0;
    height: 2px;
    background: var(--brand);
}
.subnav a:hover { color: var(--brand); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: #fff;
    border: 1px solid var(--line);
    padding-bottom: 22px;
    transition: .3s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-thumb { display: block; height: 224px; overflow: hidden; background: #f2f2f2; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 40px;
    font-weight: 700;
    color: #cfcfcf;
    letter-spacing: 4px;
}
.news-title { font-size: 17px; line-height: 1.7; padding: 18px 22px 8px; }
.news-intro {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.9;
    padding: 0 22px 12px;
    min-height: 76px;
}
.news-date { display: block; padding: 0 22px; color: #a8a8a8; font-size: 13px; }

/* ------------------------------------------------ 文章详情 */
.article-section { padding-top: 60px; }
.article-container { max-width: 920px; }
.article-title { font-size: 30px; line-height: 1.5; text-align: center; }
.article-meta {
    display: flex;
    justify-content: center;
    gap: 26px;
    color: #9a9a9a;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
    padding: 16px 0 22px;
    margin-bottom: 34px;
}
.article-body { font-size: 16px; line-height: 2.05; color: #3b3b3b; }
.article-body p { margin: 0 0 18px; }
.article-body h2 { font-size: 22px; margin: 32px 0 14px; }
.article-body h3 { font-size: 18px; margin: 26px 0 12px; }
.article-body img { max-width: 100%; height: auto; margin: 14px 0; }
.article-body ul, .article-body ol { padding-left: 24px; list-style: disc; margin-bottom: 18px; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px; }
.article-body a { color: var(--brand); text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 10px 12px; }
.article-body blockquote {
    margin: 0 0 18px;
    padding: 14px 20px;
    background: var(--soft);
    border-left: 3px solid var(--brand);
    color: var(--ink-2);
}
.article-nav {
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink-2);
}
.article-nav p { margin-bottom: 8px; }
.article-back { margin-top: 26px; }
.article-enter { margin: 26px 0 6px; }
.case-title a:hover { color: var(--brand); }
.article-back a { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------ 关于我们 */
.who-band { background: #e8e8e8; padding: 60px 0; text-align: center; }
.who-band h2 { font-size: 20px; color: var(--ink); }
.who-band .rule { display: block; width: 16px; height: 2px; background: var(--brand); margin: 16px auto; }
.who-band p { max-width: 900px; margin: 0 auto; font-size: 26px; line-height: 1.7; color: var(--ink); }

.about-blocks { padding-top: 70px; }
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}
.about-block.is-reverse .about-media { order: 2; }
.about-media img { width: 100%; display: block; }
.about-copy h3 { font-size: 30px; margin-bottom: 20px; }
.about-text { color: var(--ink-2); line-height: 2.1; }

/* ------------------------------------------------ 联系方式 */
.contact-cards { padding-bottom: 40px; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.contact-grid li { padding: 34px 18px; background: #fafafa; transition: .3s; }
.contact-grid li:hover { background: #fff; box-shadow: var(--shadow); }
.contact-grid img { margin-bottom: 16px; }
.contact-grid h3 { font-size: 17px; margin-bottom: 8px; }
.contact-grid p { color: var(--ink-2); font-size: 14px; word-break: break-all; }

.visit-section { background: var(--soft); }
.visit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.visit-map img { width: 100%; display: block; }
.visit-item { margin-bottom: 20px; }
.visit-item h4 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.visit-item p { color: var(--ink-2); font-size: 14px; line-height: 1.95; margin-bottom: 4px; }

/* ------------------------------------------------ 页脚 */
.site-footer { background: #16171a; color: rgba(255, 255, 255, .72); padding: 70px 0 0; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.footer-top {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h3 { font-size: 16px; color: #fff; margin-bottom: 18px; }
.footer-col h3 a:hover { color: var(--brand); }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: rgba(255, 255, 255, .66); }
.footer-col a:hover { color: #fff; }
.friend-links a { display: inline-block; }

.footer-contact { display: flex; gap: 18px; align-items: flex-start; }
.footer-qr img { width: 104px; height: 104px; object-fit: cover; background: #fff; }
.footer-contact-text .lbl { font-size: 13px; color: rgba(255, 255, 255, .45); margin-top: 6px; }
.footer-contact-text .val { font-size: 19px; color: #e0a02a; font-weight: 700; line-height: 1.5; }

.footer-bottom { padding: 24px 0 28px; font-size: 13px; color: rgba(255, 255, 255, .45); }
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom p { margin-bottom: 6px; }

/* ------------------------------------------------ 悬浮工具条 */
.float-bar {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.float-item {
    width: 58px;
    height: 58px;
    background: var(--brand);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    position: relative;
    transition: background .25s;
}
.float-item svg { width: 20px; height: 20px; fill: #fff; }
.float-item:hover { background: var(--brand); color: #fff; }
.float-item em {
    position: absolute;
    right: 74px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--brand);
    color: #fff;
    font-style: normal;
    font-size: 13px;
    padding: 8px 14px;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
}
.float-phone:hover em { opacity: 1; visibility: visible; }

/* ------------------------------------------------ 错误页 */
.error-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    padding: 120px 20px 60px;
}
.error-box { text-align: center; background: #fff; padding: 60px 70px; box-shadow: var(--shadow); }
.error-code { font-size: 76px; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 10px; }
.error-box h1 { font-size: 22px; margin-bottom: 12px; }
.error-msg { color: var(--muted); margin-bottom: 26px; }

/* ------------------------------------------------ 响应式 */
@media (max-width: 1180px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-logos { grid-template-columns: repeat(3, 1fr); }
    .tab-panel.active { grid-template-columns: 1fr; padding: 34px; }
    .tab-media { order: -1; }
    .detail-inner { grid-template-columns: 1fr; }
    .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 22px 30px; }
    .team-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 900px) {
    .header-phone { display: none; }
    .burger { display: flex; }
    .main-nav {
        position: fixed;
        top: 88px;
        left: 0; right: 0;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
        transform: translateY(-140%);
        transition: transform .3s ease;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav a { line-height: 54px; padding: 0 24px; border-bottom: 1px solid #f0f0f0; }
    .main-nav a::after { display: none; }

    .hero { height: 74vh; min-height: 420px; }
    .hero-content h1 { font-size: 34px; }
    .hero-content p { font-size: 15px; }
    .section { padding: 54px 0; }
    .section-head h2 { font-size: 24px; }
    .sub-hero, .sub-hero-short { height: 300px; }
    .sub-hero-text h1 { font-size: 30px; }
    .svc-hero { height: 420px; }
    .svc-hero-box h2 { font-size: 28px; }
    .svc-hero-box p { font-size: 14px; }
    .svc-hero::after, .svc-hero.is-right::after { background: rgba(0, 0, 0, .5); }
    .svc-hero.is-right .svc-hero-box { align-items: flex-start; text-align: left; }
    .svc-hero.is-right .rule { margin-left: 0; }
    .about-block { grid-template-columns: 1fr; gap: 24px; margin-bottom: 46px; }
    .about-block.is-reverse .about-media { order: 0; }
    .about-copy h3 { font-size: 22px; }
    .who-band p { font-size: 18px; }
    .visit-inner { grid-template-columns: 1fr; }
    .float-bar { display: none; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .article-title { font-size: 22px; }
    .detail-points { grid-template-columns: 1fr; }
    .case-thumb { height: 220px; }
}

@media (max-width: 620px) {
    .svc-grid, .feature-grid, .case-grid, .news-grid, .contact-grid, .footer-cols { grid-template-columns: 1fr; }
    .partner-logos { grid-template-columns: 1fr 1fr; }
    .svc-desc { min-height: 0; }
    .team-left span { font-size: 28px; }
    .tab-panel.active { padding: 24px; }
    .footer-contact { flex-direction: row; }
    .pager-item { min-width: 36px; height: 36px; line-height: 34px; padding: 0 10px; font-size: 13px; }
    .subnav a { padding: 14px 14px; font-size: 14px; }
    .subnav li.on a::after { left: 14px; right: 14px; }
    .article-container { padding: 0 16px; }
}

/* ------------------------------------------------ 可访问性 / SEO 辅助 */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------ 面包屑 */
.breadcrumb {
    background: #f7f8f9;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: #8b9298;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 0;
    list-style: none;
}
.breadcrumb li + li::before {
    content: "/";
    color: #c9ced3;
    margin-right: 8px;
}
.breadcrumb a { color: #8b9298; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: #4a5158; }

/* 详情页横幅文字（非 h1，避免标题重复） */
.sub-hero-text .hero-title {
    display: block;
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 3px;
    border-left: 4px solid var(--brand);
    padding-left: 20px;
}
.footer-bottom address { display: inline; font-style: normal; }
.foot-map { margin-left: 14px; color: rgba(255, 255, 255, .5); }
.foot-map:hover { color: #fff; }

/* ------------------------------------------------ 网站地图页 */
.map-section { padding: 60px 0 80px; }
.map-group { margin-bottom: 44px; }
.map-group h2 {
    font-size: 20px;
    padding-left: 12px;
    border-left: 3px solid var(--brand);
    margin-bottom: 18px;
}
.map-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 26px; }
.map-list a { color: var(--ink-2); font-size: 14.5px; }
.map-list a:hover { color: var(--brand); }
.map-list .date { color: #a8a8a8; font-size: 12px; margin-left: 8px; }
@media (max-width: 900px) {
    .map-list { grid-template-columns: 1fr; }
    .sub-hero-text .hero-title { font-size: 30px; }
}
