/* ==================================================================
   鑫宇视智能 · 企业网站样式
   主色调：工程蓝 + 深灰 + 白色
   ================================================================== */
:root {
    --blue:        #0b5cad;
    --blue-dark:   #08467f;
    --blue-deep:   #062f57;
    --blue-light:  #eaf3fb;
    --accent:      #17a2e0;
    --gray:        #2b3038;
    --text:        #3a4048;
    --muted:       #7a838f;
    --bg:          #f5f7fa;
    --line:        #e3e8ee;
    --white:       #ffffff;
    --shadow:      0 6px 24px rgba(11, 60, 110, .08);
    --shadow-hover:0 12px 32px rgba(11, 60, 110, .16);
    --radius:      6px;
    --header-h:    76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--gray); font-weight: 700; line-height: 1.35; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.bg-gray { background: var(--bg); }
.section.bg-blue { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; }
.section.bg-blue h2, .section.bg-blue h3 { color: #fff; }

/* ---------- 标题 ---------- */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .sub {
    display: inline-block; color: var(--blue); font-size: 13px; letter-spacing: 3px;
    font-weight: 600; text-transform: uppercase; margin-bottom: 8px;
}
.sec-head h2 { font-size: 32px; margin-bottom: 12px; }
.sec-head p { color: var(--muted); max-width: 720px; margin: 0 auto; }
.sec-head .line { width: 56px; height: 3px; background: var(--blue); margin: 14px auto 0; border-radius: 2px; }
.section.bg-blue .sec-head .sub { color: #8ec7f2; }
.section.bg-blue .sec-head p { color: #cfe2f5; }
.section.bg-blue .sec-head .line { background: #8ec7f2; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block; padding: 12px 30px; border-radius: 4px; font-size: 15px;
    font-weight: 600; border: 2px solid transparent; cursor: pointer; transition: all .25s;
    text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,92,173,.3); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--blue); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 7px 18px; font-size: 13px; }

/* ---------- 顶部条 ---------- */
.topbar { background: var(--blue-deep); color: #cfe0f2; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #cfe0f2; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 24px; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { width: 14px; height: 14px; fill: none; stroke: #8ec7f2; stroke-width: 2; }

/* ---------- 头部导航 ---------- */
.header {
    background: #fff; position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.logo-text { display: flex; align-items: center; }
.logo-text .slogan {
    font-size: 12.5px; font-weight: 600; color: var(--blue-dark); letter-spacing: .5px;
    line-height: 1.45; max-width: 168px;
}
.nav { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.nav a {
    padding: 9px 11px; color: var(--gray); font-weight: 600; font-size: 14.5px;
    border-radius: 4px; position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); }
.nav a.active::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
    height: 3px; background: var(--blue); border-radius: 2px;
}
.nav .nav-cta { background: var(--blue); color: #fff !important; margin-left: 10px; padding: 9px 18px; white-space: nowrap; }
.nav .nav-cta:hover { background: var(--blue-dark); }
.nav .nav-cta::after { display: none; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--gray); margin: 5px auto; border-radius: 2px; transition: .3s; }

/* ---------- 首屏轮播 ---------- */
.hero { position: relative; overflow: hidden; }
.hero-slides { position: relative; height: 620px; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease; display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(4,28,55,.88) 0%, rgba(6,47,87,.72) 45%, rgba(6,47,87,.35) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 720px; }
.hero-content .tag {
    display: inline-block; background: rgba(23,162,224,.25); border: 1px solid rgba(142,199,242,.5);
    color: #bfe0fa; padding: 5px 16px; border-radius: 20px; font-size: 13px; margin-bottom: 20px;
    letter-spacing: 1px;
}
.hero-content h1 { color: #fff; font-size: 46px; line-height: 1.3; margin-bottom: 18px; }
.hero-content p { font-size: 18px; color: #d6e6f7; margin-bottom: 32px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button {
    width: 36px; height: 4px; border: none; background: rgba(255,255,255,.35);
    border-radius: 2px; cursor: pointer; transition: .3s;
}
.hero-dots button.active { background: #fff; width: 56px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
    background: rgba(6,47,87,.35); color: #fff; font-size: 20px; cursor: pointer; transition: .3s;
}
.hero-arrow:hover { background: var(--blue); border-color: var(--blue); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ---------- 业务快速入口 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 26px; text-align: center; transition: all .3s; position: relative; overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--blue); transform: scaleX(0); transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
    width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 14px;
    background: var(--blue-light); color: var(--blue); display: flex; align-items: center;
    justify-content: center; transition: .3s;
}
.service-card .icon svg { width: 36px; height: 36px; }
.service-card:hover .icon { background: var(--blue); color: #fff; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14px; }
.service-card .more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--blue); opacity: 0; transform: translateY(6px); transition: .3s; }
.service-card:hover .more { opacity: 1; transform: translateY(0); }

/* ---------- 核心优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-item { text-align: center; padding: 20px 10px; }
.adv-item .num { font-size: 46px; font-weight: 800; color: #fff; line-height: 1; }
.adv-item .num small { font-size: 22px; font-weight: 700; }
.adv-item .label { color: #cfe2f5; margin-top: 10px; font-size: 15px; }
.adv-item .desc { color: #9fc3e6; font-size: 13px; margin-top: 4px; }

/* ---------- 服务流程（浅底配色） ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; margin-top: 20px; }
.process-step { text-align: center; position: relative; }
.process-step .circle {
    width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%;
    background: #fff; border: 2px solid var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
    color: var(--blue); position: relative; z-index: 2; transition: .3s;
    box-shadow: var(--shadow);
}
.process-step:hover .circle { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }
.process-step:not(:last-child) .circle::after {
    content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%);
    color: var(--blue); opacity: .5; font-size: 18px; z-index: 1;
}
.process-step h4 { color: var(--gray); font-size: 16px; margin-bottom: 4px; }
.process-step p { color: var(--muted); font-size: 12.5px; }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: all .3s; display: block;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); color: var(--text); }
.case-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-thumb img { transform: scale(1.07); }
.case-thumb .badge {
    position: absolute; left: 14px; top: 14px; background: rgba(11,92,173,.92); color: #fff;
    font-size: 12px; padding: 4px 12px; border-radius: 3px;
}
.case-body { padding: 20px 22px 24px; }
.case-body h3 { font-size: 17px; margin-bottom: 8px; }
.case-body p { color: var(--muted); font-size: 14px; }
.case-body .meta { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--blue); display: flex; justify-content: space-between; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: .3s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-body .date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: 16.5px; margin-bottom: 10px; }
.news-body h3 a { color: var(--gray); }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { color: var(--muted); font-size: 14px; flex: 1; }
.news-body .more { margin-top: 14px; font-size: 13px; font-weight: 600; }

/* ---------- CTA ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 60%, var(--accent) 130%);
    color: #fff; padding: 54px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: #cfe2f5; font-size: 16px; }
.cta-band .phone-big { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 1px; }

/* ---------- 页脚 ---------- */
.footer { background: #1c2530; color: #a9b4c2; padding-top: 60px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2.5px; background: var(--blue); }
.footer .f-about img { height: 42px; margin-bottom: 16px; background: #fff; padding: 6px 10px; border-radius: 4px; }
.footer .f-about p { line-height: 1.9; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a9b4c2; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; line-height: 1.6; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; stroke: var(--accent); fill: none; stroke-width: 2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px; color: #7c8898; }
.footer-bottom a { color: #7c8898; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 内页横幅 ---------- */
.page-banner {
    background: linear-gradient(rgba(6,34,66,.86), rgba(8,52,99,.86)), var(--bg) center/cover;
    color: #fff; padding: 64px 0; text-align: center;
}
.page-banner h1 { color: #fff; font-size: 34px; margin-bottom: 10px; }
.page-banner p { color: #c9def3; font-size: 16px; }
.crumb { font-size: 13px; color: #9fc3e6; margin-top: 12px; }
.crumb a { color: #c9def3; }
.crumb a:hover { color: #fff; }

/* ---------- 通用内容排版 ---------- */
.content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.article-content { font-size: 15.5px; line-height: 1.95; }
.article-content h2 { font-size: 24px; margin: 34px 0 16px; padding-left: 12px; border-left: 4px solid var(--blue); }
.article-content h3 { font-size: 19px; margin: 26px 0 12px; color: var(--blue-dark); }
.article-content p { margin-bottom: 14px; }
.article-content ul { margin: 0 0 16px 0; }
.article-content ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.article-content ul li::before { content: "▪"; color: var(--blue); position: absolute; left: 0; }
.article-content img { border-radius: 6px; margin: 18px 0; box-shadow: var(--shadow); }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.article-content table th, .article-content table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-content table th { background: var(--blue-light); color: var(--blue-dark); }

/* ---------- 侧边栏 ---------- */
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 26px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-box .side-title { background: var(--blue); color: #fff; padding: 14px 20px; font-weight: 700; font-size: 16px; }
.side-box .side-body { padding: 18px 20px; }
.side-nav a {
    display: block; padding: 11px 14px; border-bottom: 1px dashed var(--line);
    color: var(--text); font-weight: 500; border-left: 3px solid transparent;
}
.side-nav a:last-child { border-bottom: none; }
.side-nav a:hover, .side-nav a.active { background: var(--blue-light); color: var(--blue); border-left-color: var(--blue); }
.side-contact { background: linear-gradient(160deg, var(--blue-deep), var(--blue)); color: #fff; border: none; }
.side-contact .side-body { color: #cfe2f5; }
.side-contact .side-body .phone { font-size: 24px; font-weight: 800; color: #fff; margin: 8px 0; }
.side-contact .btn { margin-top: 14px; width: 100%; background: #fff; color: var(--blue); border: none; }
.side-contact .btn:hover { background: #d7e9fa; color: var(--blue-dark); }
.side-news li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.side-news li:last-child { border-bottom: none; }
.side-news a { color: var(--text); font-size: 14px; display: block; }
.side-news a:hover { color: var(--blue); }
.side-news .date { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------- 筛选 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; align-items: center; }
.filter-bar .label { font-weight: 700; color: var(--gray); margin-right: 6px; }
.filter-bar a {
    padding: 8px 20px; border: 1px solid var(--line); border-radius: 20px; color: var(--text);
    font-size: 14px; background: #fff;
}
.filter-bar a:hover, .filter-bar a.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span {
    min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center;
    justify-content: center; border: 1px solid var(--line); border-radius: 4px; color: var(--text);
    font-weight: 600; background: #fff;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; color: var(--gray); margin-bottom: 7px; font-size: 14px; }
.form-group label .req { color: #e53; }
.form-control {
    width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px;
    font-size: 15px; font-family: inherit; transition: .2s; background: #fbfcfe;
}
.form-control:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(11,92,173,.12); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 4px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: #e8f7ee; color: #1a7f43; border: 1px solid #b6e6c8; }
.form-msg.err { display: block; background: #fdecec; color: #c62f2f; border: 1px solid #f5c6c6; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.contact-info-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.contact-info-item .ci-icon {
    width: 48px; height: 48px; border-radius: 10px; background: var(--blue-light); color: var(--blue);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .ci-icon svg { width: 24px; height: 24px; }
.contact-info-item h4 { font-size: 15px; color: var(--muted); font-weight: 600; }
.contact-info-item .ci-val { font-size: 17px; color: var(--gray); font-weight: 700; }
.map-box {
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    background: linear-gradient(135deg, #e8f1fa, #d3e6f7); min-height: 260px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    text-align: center; padding: 30px;
}
.map-box .map-pin { width: 56px; height: 56px; }
.map-box h3 { font-size: 19px; }
.map-box p { color: var(--muted); }

/* ---------- 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
.about-intro img { border-radius: 8px; box-shadow: var(--shadow-hover); }
.about-intro h2 { font-size: 28px; margin-bottom: 18px; }
.about-intro p { color: var(--muted); margin-bottom: 14px; }
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px; background: var(--blue-light); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before {
    content: ""; position: absolute; left: -34px; top: 6px; width: 14px; height: 14px;
    border-radius: 50%; background: var(--blue); border: 3px solid var(--blue-light);
}
.timeline-item .year { font-size: 20px; font-weight: 800; color: var(--blue); }
.timeline-item h4 { font-size: 17px; margin: 4px 0 6px; }
.timeline-item p { color: var(--muted); font-size: 14.5px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px;
    text-align: center; transition: .3s;
}
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cert-card .cert-icon { width: 58px; height: 58px; margin: 0 auto 14px; color: var(--blue); }
.cert-card .cert-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cert-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: var(--muted); }
.customer-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.customer-wall .cw-item {
    background: #fff; border: 1px solid var(--line); border-radius: 4px; height: 78px;
    display: flex; align-items: center; justify-content: center; color: var(--gray);
    font-weight: 700; font-size: 15px; transition: .3s; text-align: center; padding: 8px;
}
.customer-wall .cw-item:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }

/* ---------- 运维页 ---------- */
.response-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.response-item {
    background: rgba(255,255,255,.07); border: 1px solid rgba(142,199,242,.25);
    border-radius: var(--radius); padding: 26px 22px; text-align: center;
}
.response-item .rt { font-size: 34px; font-weight: 800; color: #8ec7f2; }
.response-item h4 { color: #fff; font-size: 16px; margin: 8px 0 6px; }
.response-item p { color: #b9d4ef; font-size: 13px; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.package-card {
    background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
    transition: .3s; display: flex; flex-direction: column;
}
.package-card.featured { border-color: var(--blue); box-shadow: var(--shadow-hover); transform: translateY(-8px); }
.package-card .pkg-head { padding: 26px; text-align: center; background: var(--bg); }
.package-card.featured .pkg-head { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; }
.package-card .pkg-head h3 { font-size: 20px; }
.package-card.featured .pkg-head h3 { color: #fff; }
.package-card .pkg-price { font-size: 15px; color: var(--muted); margin-top: 6px; }
.package-card.featured .pkg-price { color: #c9def3; }
.package-card .pkg-body { padding: 24px 26px; flex: 1; }
.package-card .pkg-body li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; display: flex; gap: 8px; }
.package-card .pkg-body li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.package-card .pkg-foot { padding: 0 26px 26px; }
.package-card .pkg-foot .btn { width: 100%; }

/* ---------- 方案/服务详情头图 ---------- */
.detail-hero { position: relative; aspect-ratio: 21/7; border-radius: 8px; overflow: hidden; margin-bottom: 30px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .dh-mask {
    position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,87,.85), rgba(6,47,87,.35));
    display: flex; flex-direction: column; justify-content: center; padding: 0 46px; color: #fff;
}
.detail-hero .dh-mask h1 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.detail-hero .dh-mask p { color: #d6e6f7; max-width: 600px; }

/* ---------- 案例详情 ---------- */
.case-meta-row { display: flex; gap: 30px; flex-wrap: wrap; background: var(--blue-light); border-radius: 6px; padding: 18px 26px; margin-bottom: 28px; }
.case-meta-row .cm-item .cm-label { font-size: 13px; color: var(--muted); }
.case-meta-row .cm-item .cm-val { font-weight: 700; color: var(--blue-dark); }
.feedback-box {
    background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 4px;
    padding: 24px 28px; margin: 28px 0;
}
.feedback-box .fb-title { font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; font-size: 16px; }
.feedback-box p { color: var(--text); font-style: italic; }

/* ---------- 新闻详情 ---------- */
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 26px; }
.article-head h1 { font-size: 28px; margin-bottom: 14px; }
.article-meta { color: var(--muted); font-size: 14px; display: flex; gap: 20px; flex-wrap: wrap; }
.article-cover { border-radius: 8px; margin-bottom: 28px; }

/* ---------- 返回顶部 ---------- */
.back-top {
    position: fixed; right: 26px; bottom: 40px; width: 46px; height: 46px; border-radius: 6px;
    background: var(--blue); color: #fff; border: none; cursor: pointer; font-size: 20px;
    opacity: 0; visibility: hidden; transition: .3s; z-index: 90; box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blue-dark); }

/* ---------- 浮动咨询 ---------- */
.float-contact {
    position: fixed; left: 26px; bottom: 40px; z-index: 90; display: flex; flex-direction: column; gap: 10px;
}
.float-contact a,
.float-contact button {
    width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-hover);
    display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 12px;
    font-weight: 700; text-align: center; line-height: 1.2; border: 1px solid var(--line);
    font-family: inherit; cursor: pointer; padding: 0;
}
.float-contact a:hover,
.float-contact button:hover { background: var(--blue); color: #fff; }

/* ---------- 扫码报修卡片 ---------- */
.qr-card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 42px 32px; text-align: center;
}
.qr-card .qr-img {
    display: inline-block; padding: 14px; border: 1px solid var(--line);
    border-radius: 12px; background: #fff; line-height: 0;
}
.qr-card .qr-img img { display: block; width: 240px; height: 240px; object-fit: contain; }
.qr-card h3 { font-size: 24px; color: var(--blue-dark); margin: 22px 0 10px; letter-spacing: 2px; }
.qr-card .qr-desc { color: var(--gray); font-size: 15px; line-height: 1.8; }
.qr-card .qr-hot { margin-top: 18px; font-size: 14px; color: var(--muted); }
.qr-card .qr-hot a { color: var(--blue); font-weight: 700; }

/* ---------- 二维码弹窗 ---------- */
.qr-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.qr-modal.open { display: block; }
.qr-modal .qr-mask { position: absolute; inset: 0; background: rgba(13, 30, 52, .55); }
.qr-modal .qr-dialog {
    position: relative; width: 320px; max-width: 90vw; margin: 9vh auto 0;
    background: #fff; border-radius: 14px; padding: 30px 26px 26px; text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.28); animation: qrPop .25s ease;
}
@keyframes qrPop { from { transform: translateY(16px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.qr-modal .qr-close {
    position: absolute; top: 6px; right: 10px; width: 36px; height: 36px;
    border: none; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer;
}
.qr-modal .qr-close:hover { color: var(--gray); }
.qr-modal h3 { font-size: 21px; color: var(--blue-dark); margin-bottom: 16px; letter-spacing: 2px; }
.qr-modal img {
    width: 210px; height: 210px; object-fit: contain;
    border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff;
}
.qr-modal .qr-tip { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--gray); }
.qr-modal .qr-hot { margin-top: 10px; font-size: 13px; color: var(--muted); }
.qr-modal .qr-hot a { color: var(--blue); font-weight: 700; }

/* ==================================================================
   响应式
   ================================================================== */

/* 中屏以下：隐藏 LOGO 副标题（LOGO 本身已含品牌名），保证导航有足够空间 */
@media (max-width: 1366px) {
    .logo-text { display: none; }
}

/* 1200px 以下启用汉堡下拉菜单，避免 8 个导航项被挤压换行 */
@media (max-width: 1200px) {
    .menu-toggle { display: block; }
    .nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
        box-shadow: 0 12px 20px rgba(0,0,0,.1); max-height: 0; overflow: hidden; transition: max-height .35s;
    }
    .nav.open { max-height: 600px; }
    .nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav a.active::after { display: none; }
    .nav .nav-cta { margin: 14px 0 0; text-align: center; border-radius: 4px; }
}

@media (max-width: 1024px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .process { grid-template-columns: repeat(3, 1fr); gap: 30px 12px; }
    .process-step:nth-child(3) .circle::after { display: none; }
    .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .customer-wall { grid-template-columns: repeat(3, 1fr); }
    .response-grid { grid-template-columns: repeat(2, 1fr); }
    .content-wrap, .about-intro, .contact-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .hero-content h1 { font-size: 36px; }
    .hero-slides { height: 540px; }
}

@media (max-width: 768px) {
    .section { padding: 52px 0; }
    .sec-head h2 { font-size: 26px; }
    .topbar { display: none; }
    .menu-toggle { display: block; }
    .nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
        box-shadow: 0 12px 20px rgba(0,0,0,.1); max-height: 0; overflow: hidden; transition: max-height .35s;
    }
    .nav.open { max-height: 600px; }
    .nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav a.active::after { display: none; }
    .nav .nav-cta { margin: 14px 0 0; text-align: center; border-radius: 4px; }
    .service-grid, .case-grid, .news-grid, .package-grid { grid-template-columns: 1fr; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .process-step .circle::after { display: none; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-item .num { font-size: 34px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .customer-wall { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 24px 20px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .hero-slides { height: 480px; }
    .hero-arrow { display: none; }
    .cta-band .container { flex-direction: column; text-align: center; }
    .detail-hero .dh-mask { padding: 0 24px; }
    .detail-hero .dh-mask h1 { font-size: 22px; }
    .page-banner h1 { font-size: 26px; }
    .float-contact { display: none; }
    .logo { gap: 8px; }
    .logo img { height: 36px; }
    .logo-text .slogan { font-size: 10.5px; letter-spacing: 0; line-height: 1.35; white-space: normal; max-width: 150px; font-weight: 600; }
}
