﻿/* ============================================================
   奥煌科技官网 前台样式
   改文字内容请优先动 .aspx / .master，改配色改下面 :root 变量
   ============================================================ */

:root {
    --brand: #1656E0;
    --brand-600: #1B5FF3;
    --brand-300: #86AEFF;
    --brand-50: #EEF4FF;
    --brand-100: #DCE8FF;
    --ink: #101a2e;
    --ink-70: #35415a;
    --muted: #7d8798;
    --line: #e7ecf5;
    --bg: #f6f8fc;
    --ok: #12b76a;
    --warn: #ff8a3d;
    --sh-1: 0 2px 10px rgba(16, 35, 80, .05);
    --sh-2: 0 12px 30px rgba(16, 35, 80, .08);
    --sh-3: 0 22px 50px rgba(22, 86, 224, .16);
    --r-s: 8px;
    --r-m: 12px;
    --r-l: 18px;
    --nav-h: 72px;
}

* { box-sizing: border-box; }

/* scroll-padding-top：锚点跳转时给吸顶导航让位，否则 #dev 这类标题会被压在导航下面 */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink);
    background: #fff;
}

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.35; color: var(--ink); }
p { margin: 0 0 12px; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
img { max-width: 100%; border: 0; vertical-align: middle; }
ul, ol { margin: 0; padding-left: 20px; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.hide { display: none !important; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 42px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-s);
    font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: all .2s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(22, 86, 224, .22); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-line { background: #fff; color: var(--brand); border-color: var(--brand-100); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { color: var(--brand); background: #f2f6ff; }
.btn-ghostlight { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghostlight:hover { color: #fff; background: rgba(255, 255, 255, .24); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 30px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.nav {
    position: sticky; top: 0; z-index: 90; height: var(--nav-h);
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.is-stuck { border-color: var(--line); box-shadow: var(--sh-1); }
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { height: 34px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 19px; letter-spacing: .5px; }
.brand-text i { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: 1px; }

.menu { display: flex; align-items: center; gap: 6px; height: 100%; }
.menu-item {
    position: relative; display: flex; align-items: center; height: 100%;
    padding: 0 16px; font-size: 16px; font-weight: 500; color: var(--ink-70);
}
.menu-item:hover, .menu-item.is-on { color: var(--brand); }
.menu-item.is-on::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 16px; height: 3px;
    border-radius: 2px; background: var(--brand);
}
.menu-item.has-sub > a { display: flex; align-items: center; gap: 6px; }
/* 只画三角本身（8x4），盒子=墨迹，flex 居中后肉眼就是居中的；border:4px 写法墨迹只占上半，会偏上 */
.menu-item.has-sub > a::before { content: ""; display: block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; }
.sub {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    padding-top: 10px; opacity: 0; visibility: hidden; transition: all .18s;
}
.menu-item.has-sub:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-grid {
    display: grid; grid-template-columns: repeat(3, 216px); gap: 4px; padding: 14px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-2);
}
.sub-grid a { display: block; padding: 10px 12px; border-radius: var(--r-s); font-size: 15px; font-weight: 600; color: var(--ink); }
.sub-grid a:hover { background: var(--brand-50); color: var(--brand); }
.sub-grid a small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.5; }

.nav-side { display: flex; align-items: center; gap: 14px; margin-left: auto; flex: none; }
.nav-tel { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; color: var(--brand); }
.nav-tel .ico { width: 18px; height: 18px; fill: currentColor; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: .2s; }
.menu.is-open { display: block; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head h2 { font-size: 34px; letter-spacing: .5px; }
.sec-head p { margin: 10px auto 0; max-width: 720px; font-size: 16px; color: var(--muted); }
.sec-head .en { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: 3px; color: var(--brand-300); text-transform: uppercase; }
.sec-more { margin-top: 34px; text-align: center; }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
    box-shadow: var(--sh-1); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-100); }

.tagline { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 13px; font-weight: 600; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 62px 0 78px; background: linear-gradient(160deg, #eaf1ff 0%, #f7faff 46%, #fff 100%); }
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none;
}
.hero::before { width: 460px; height: 460px; right: -120px; top: -160px; background: rgba(61, 123, 247, .28); }
.hero::after { width: 320px; height: 320px; left: -120px; bottom: -140px; background: rgba(134, 174, 255, .3); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.25; letter-spacing: .5px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .hero-sub { margin: 18px 0 10px; font-size: 19px; color: var(--ink-70); }
.hero .hero-desc { font-size: 15px; color: var(--muted); max-width: 560px; }
.hero-btns { display: flex; gap: 14px; margin: 30px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--ink-70); }
.hero-points span::before { content: "✓"; margin-right: 6px; color: var(--ok); font-weight: 700; }

.hero-visual { position: relative; height: 400px; }
.hero-shot {
    position: absolute; overflow: hidden; border-radius: 14px; background: #fff;
    border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--sh-3);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-shot.s1 { width: 62%; height: 76%; left: 0; top: 12%; transform: rotate(-4deg); }
.hero-shot.s2 { width: 52%; height: 62%; right: 2%; top: 0; transform: rotate(3deg); }
.hero-shot.s3 { width: 44%; height: 46%; right: 8%; bottom: 0; transform: rotate(-2deg); }
.hero-chip {
    position: absolute; left: 46%; bottom: 8%; z-index: 2; display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: var(--sh-2); font-size: 14px; font-weight: 600;
}
.hero-chip b { color: var(--brand); font-size: 20px; }

/* ---------- 数字统计 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px 24px; text-align: center; }
.stat b { display: block; font-size: 38px; line-height: 1.1; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat b i { font-style: normal; font-size: 20px; margin-left: 2px; }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- 业务卡片 ---------- */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.biz-card { padding: 28px 22px; }
.biz-ico { width: 52px; height: 52px; margin-bottom: 16px; }
.biz-card h3 { font-size: 18px; }
.biz-card p { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.biz-card ul { margin: 12px 0 0; padding-left: 16px; font-size: 13px; color: var(--ink-70); }
.biz-card ul li { margin-bottom: 4px; }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card { overflow: hidden; display: flex; flex-direction: column; }
.case-card-img { position: relative; aspect-ratio: 4 / 3; background: var(--brand-50); overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-badge {
    position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 999px;
    background: rgba(16, 26, 46, .62); color: #fff; font-size: 12px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.case-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.case-card-body h3 { font-size: 17px; }
.case-card-body p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }
.case-card-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--ink-70); }
.case-card-foot .logo { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.case-card-foot .go { margin-left: auto; color: var(--brand); font-weight: 600; }

/* ---------- 新闻 ---------- */
.news-list { display: grid; gap: 16px; }
.news-item { display: flex; gap: 18px; padding: 20px 22px; align-items: center; }
.news-item-cover { width: 148px; height: 96px; flex: none; border-radius: var(--r-m); object-fit: cover; background: var(--brand-50); }
.news-item-main { flex: 1; min-width: 0; }
.news-item-main h3 { font-size: 18px; }
.news-item-main p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.news-item-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.news-item-meta .cate { color: var(--brand); }

.news-side-item { display: block; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.news-side-item:last-child { border-bottom: 0; }
.news-side-item h4 { font-size: 15px; font-weight: 600; line-height: 1.6; }
.news-side-item span { font-size: 12px; color: var(--muted); }

/* 首页「最新动态」= 新闻列表 + 热门阅读侧栏；写在样式表里才能跟着断点收成单列 */
.home-news { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }

/* ---------- 内页 Banner ---------- */
.page-head { padding: 54px 0 46px; background: linear-gradient(140deg, #123e9e 0%, var(--brand) 55%, #4b8bff 100%); color: #fff; }
.page-head h1 { color: #fff; font-size: 36px; }
.page-head p { margin: 12px 0 0; max-width: 780px; color: rgba(255, 255, 255, .85); font-size: 16px; }
.crumb { margin-bottom: 14px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.crumb a:hover { color: #fff; }
.crumb-light { color: var(--muted); }
.crumb-light a { color: var(--muted); }
.crumb-light a:hover { color: var(--brand); }

/* 数据库未连接时的提示条，只在配置读取失败时出现 */
.db-warn {
    padding: 12px 24px; background: #fff4ec; color: #b4530f; font-size: 14px;
    border-bottom: 1px solid #ffd9bd; text-align: center;
}

/* ---------- 筛选条 ---------- */
.filter { padding: 18px 0 6px; }
.filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; font-size: 14px; }
.filter-row .lab { flex: none; width: 76px; color: var(--muted); padding-top: 5px; }
.filter-row .box { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row a { padding: 4px 14px; border-radius: 999px; color: var(--ink-70); }
.filter-row a:hover { background: var(--brand-50); color: var(--brand); }
.filter-row a.is-on { background: var(--brand); color: #fff; }
.filter-result { padding: 14px 0 22px; font-size: 14px; color: var(--muted); }
.filter-result b { color: var(--brand); }

/* ---------- 案例详情 ---------- */
.case-hero { padding: 40px 0 30px; background: linear-gradient(180deg, var(--brand-50), #fff); }
.case-hero-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; align-items: start; }
.case-cover { width: 100%; border-radius: var(--r-l); box-shadow: var(--sh-2); background: #fff; }
.case-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.case-title-row h1 { font-size: 30px; }
.case-sub { margin: 6px 0 0; color: var(--brand); font-size: 16px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.case-meta span { padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--ink-70); }
.case-info { margin-top: 6px; }
.case-info dt { font-weight: 700; font-size: 15px; margin-top: 14px; }
.case-info dd { margin: 4px 0 0; color: var(--ink-70); font-size: 15px; }
.case-actions { display: flex; gap: 12px; margin-top: 22px; }
.case-body { padding: 20px 0 60px; }
.case-body-img { text-align: center; }
.case-body-img img { display: block; width: 100%; max-width: 1080px; margin: 0 auto 18px; border-radius: var(--r-m); box-shadow: var(--sh-1); }
.case-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; }
.case-nav a { flex: 1; padding: 16px 20px; }
.case-nav a span { display: block; font-size: 12px; color: var(--muted); }
.case-nav a b { font-size: 15px; font-weight: 600; }
.case-nav a.next { text-align: right; }

/* ---------- 业务介绍页 ---------- */
.svc-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 46px 0; border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: 0; }
.svc-block.rev .svc-text { order: 2; }
.svc-num { font-size: 13px; letter-spacing: 3px; color: var(--brand-300); }
.svc-text h2 { font-size: 28px; margin: 8px 0 14px; }
.svc-text p { color: var(--ink-70); }
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.svc-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-70); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 3px; background: var(--brand-100); border: 2px solid var(--brand); }
.svc-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc-cases a { overflow: hidden; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; }
.svc-cases img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.svc-cases b { display: block; padding: 10px 12px; font-size: 14px; font-weight: 600; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.flow-step { position: relative; padding: 24px 18px; }
.flow-step::before {
    counter-increment: step; content: "0" counter(step);
    font-size: 26px; font-weight: 800; color: var(--brand-100); letter-spacing: 1px;
}
.flow-step h3 { font-size: 17px; margin: 8px 0 6px; }
.flow-step p { font-size: 13px; color: var(--muted); margin: 0; }
.flow-step .dot { position: absolute; right: 18px; top: 26px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-70); }
.chip:hover { border-color: var(--brand-300); color: var(--brand); }

.faq-item { padding: 18px 22px; }
.faq-item h3 { font-size: 16px; display: flex; gap: 10px; }
.faq-item h3::before { content: "Q"; color: var(--brand); font-weight: 800; }
.faq-item p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 26px; align-items: start; }
.form-card { padding: 30px 32px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field label i { color: var(--warn); font-style: normal; margin-left: 2px; }
.field input, .field textarea, .field select {
    /* 16px 是下限：iOS Safari 聚焦小于 16px 的输入框会自动放大页面且回不去 */
    width: 100%; padding: 10px 14px; font-size: 16px; font-family: inherit; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); transition: .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 86, 224, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.field-tip { font-size: 13px; color: var(--muted); }
.form-msg { padding: 10px 14px; border-radius: var(--r-s); font-size: 14px; margin-bottom: 14px; }
.form-msg.ok { background: rgba(18, 183, 106, .1); color: #0a8a50; }
.form-msg.err { background: rgba(255, 138, 61, .12); color: #c2571b; }

.info-card { padding: 22px 24px; }
.info-card h3 { font-size: 17px; margin-bottom: 12px; }
.info-line { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; border-bottom: 1px dashed var(--line); }
.info-line:last-child { border-bottom: 0; }
.info-line .k { flex: none; width: 78px; color: var(--muted); }
.info-line .v { color: var(--ink); word-break: break-all; }
.info-qr { text-align: center; }
.info-qr img { width: 148px; height: 148px; border: 1px solid var(--line); border-radius: var(--r-m); padding: 6px; background: #fff; }

/* ---------- 分页 ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager-total { margin-right: 8px; font-size: 13px; color: var(--muted); }
.pager-btn, .pager-num {
    min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; font-size: 14px; color: var(--ink-70);
}
.pager-num:hover, .pager-btn:hover { border-color: var(--brand); color: var(--brand); }
.pager-num.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-btn.is-dis { color: #c3cad6; cursor: default; }
.pager-gap { color: var(--muted); }

/* ---------- 空状态 ---------- */
.empty { padding: 70px 20px; text-align: center; color: var(--muted); }
.empty b { display: block; font-size: 18px; color: var(--ink-70); margin-bottom: 8px; }

/* ---------- 富文本正文 ---------- */
.rich { font-size: 16px; line-height: 1.9; color: var(--ink-70); }
.rich img { max-width: 100%; height: auto; border-radius: var(--r-m); margin: 10px 0; }
.rich h2, .rich h3 { margin: 26px 0 12px; color: var(--ink); }
.rich p { margin: 0 0 14px; }
.rich ul, .rich ol { margin: 0 0 14px; }
.rich table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.rich table td, .rich table th { border: 1px solid var(--line); padding: 8px 12px; }
.rich blockquote { margin: 14px 0; padding: 12px 18px; background: var(--brand-50); border-left: 3px solid var(--brand); color: var(--ink-70); }

/* ---------- 文章页 ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 30px; }
.article-head h1 { font-size: 30px; line-height: 1.45; }
.article-meta { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.article-body { padding: 30px 34px; }
.article-rel { margin-top: 26px; }
.article-rel h3 { font-size: 18px; margin-bottom: 12px; }

/* ---------- 页脚 ---------- */
.footer { background: #0d1526; color: #a4aec2; font-size: 14px; }
.footer-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin: 0 -24px 46px; padding: 34px 40px;
    background: linear-gradient(120deg, rgba(22, 86, 224, .55), rgba(61, 123, 247, .18));
    border-radius: var(--r-l);
}
.footer-cta h3 { color: #fff; font-size: 24px; }
.footer-cta p { margin: 8px 0 0; color: rgba(255, 255, 255, .8); }
.footer-cta-btn { display: flex; gap: 12px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; padding: 4px 0; color: #a4aec2; }
.footer-col a:hover { color: #fff; }
.footer-col p { margin: 0 0 8px; line-height: 1.9; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-logo img { height: 44px; width: auto; display: block; }
.footer-tel { font-size: 22px; font-weight: 700; color: #fff; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 26px; }
.footer-bar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7f8ba1; }
.footer-links a { margin-right: 16px; color: #7f8ba1; }
.footer-bar-inner a:hover { color: #fff; }

/* ---------- 侧边工具 ---------- */
.side-tool { position: fixed; right: 18px; bottom: 90px; z-index: 80; display: flex; flex-direction: column; gap: 8px; }
.side-item {
    position: relative; width: 54px; min-height: 54px; padding: 8px 0; display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-1);
    font-size: 12px; text-align: center; color: var(--ink-70); cursor: pointer; line-height: 1.35;
}
.side-item:hover { color: var(--brand); border-color: var(--brand-300); }
.side-qr .side-pop { position: absolute; right: 62px; top: -20px; width: 150px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transition: .2s; }
.side-qr:hover .side-pop { opacity: 1; visibility: visible; }
.side-pop img { width: 100%; }
.side-pop i { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--muted); text-align: center; }
.side-top { border: 0; background: var(--brand); color: #fff; }
.side-top:hover { background: var(--brand-600); color: #fff; }

/* ---------- 404 ---------- */
.notfound { padding: 110px 0; text-align: center; }
.notfound b { display: block; font-size: 92px; color: var(--brand); line-height: 1; }
.notfound p { margin: 16px 0 26px; color: var(--muted); font-size: 16px; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .case-grid { grid-template-columns: repeat(3, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .flow { grid-template-columns: repeat(3, 1fr); }
    .sub-grid { grid-template-columns: repeat(2, 216px); }
}

@media (max-width: 960px) {
    .menu { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); height: auto; flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); padding: 8px 0; }
    .menu-item { height: auto; padding: 12px 24px; }
    .menu-item.is-on::after { display: none; }
    .menu-item.has-sub > a::before { display: none; }
    .sub { position: static; transform: none; opacity: 1; visibility: visible; padding: 0; }
    .sub-grid { grid-template-columns: repeat(2, 1fr); border: 0; box-shadow: none; padding: 0 24px 12px; gap: 0 10px; }
    .sub-grid a { padding: 12px; }
    .menu-toggle { display: block; }
    .nav-tel span { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { height: 300px; margin-top: 10px; }
    .hero h1 { font-size: 34px; }
    /* 平板宽度两列比一列更耐看，窄屏再收到一列 */
    .stats, .grid-4, .grid-3, .case-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .svc-block, .contact-grid, .case-hero-grid, .home-news { grid-template-columns: 1fr; }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .svc-block.rev .svc-text { order: 0; }
    .case-cover { max-width: 260px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .side-tool { display: none; }
    .section { padding: 54px 0; }
    .sec-head h2 { font-size: 26px; }
    .page-head h1 { font-size: 26px; }
}

@media (max-width: 620px) {
    .grid-5, .flow, .stats, .case-grid, .grid-3, .grid-4, .footer-cols, .form-row, .svc-list, .svc-cases { grid-template-columns: 1fr; }
    .wrap { padding: 0 16px; }
    /* 顶部放不下"获取方案报价"：手机隐藏它，抽屉里本来就有"提交需求" */
    .nav-inner { gap: 10px; }
    .nav-side { gap: 10px; }
    .nav-side .btn { display: none; }
    .nav-tel { min-height: 40px; }
    .menu-toggle { width: 44px; height: 44px; }
    .hero { padding: 34px 0 46px; }
    .hero h1 { font-size: 28px; }
    .hero-btns { flex-wrap: wrap; }
    .hero-btns .btn { flex: 1; }
    .news-item { flex-direction: column; align-items: flex-start; }
    .news-item-cover { width: 100%; height: 170px; }
    .article-body { padding: 20px; }
    .article-meta { gap: 10px; flex-wrap: wrap; }
    .footer-cta { padding: 24px; margin: 0 -16px 40px; }
    .footer-col a { padding: 8px 0; }
    .btn-sm { height: 40px; padding: 0 12px; }
    .filter-row { flex-direction: column; gap: 6px; }
    .filter-row .lab { width: auto; padding-top: 0; }
    .filter-row a { padding: 8px 14px; }
    .pager-btn, .pager-num { min-width: 42px; height: 42px; }
    .case-nav { flex-direction: column; }
    .case-actions { flex-wrap: wrap; }
    .case-actions .btn { flex: 1; min-width: 140px; }
    .crumb { font-size: 14px; }
    .crumb a { display: inline-block; padding: 6px 0; }
    .footer-links a { display: inline-block; padding: 8px 0; margin-right: 14px; }
    .sec-head h2 { font-size: 24px; }
}
