/* ==========================================================
   博兴至信短视频 · 官网样式
   纯手写 CSS，无外部依赖，可直接部署
   ========================================================== */

:root {
    --ink: #0E1A2B;
    --ink-2: #3E4C60;
    --muted: #77869B;
    --line: #E4EAF2;
    --bg: #F5F8FC;
    --white: #FFFFFF;
    --brand: #0B4DA2;
    --brand-dark: #08366F;
    --brand-light: #E9F1FC;
    --accent: #FF6B1A;
    --accent-dark: #E4570A;
    --accent-light: #FFF1E8;
    --green: #12946A;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow-sm: 0 1px 2px rgba(14, 26, 43, .04), 0 4px 14px rgba(14, 26, 43, .05);
    --shadow-md: 0 10px 30px rgba(14, 26, 43, .08);
    --shadow-lg: 0 24px 60px rgba(11, 77, 162, .12);
    --container: 1180px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: 15px; }

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

/* ---------------- 通用元件 ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 26px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 26, .28); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 26px rgba(255, 107, 26, .34); }

.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }

.btn-outline { background: #fff; color: var(--brand); border: 1px solid #C9D8EE; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); box-shadow: var(--shadow-sm); }

.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: block; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 15.5px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------------- 顶部导航 ---------------- */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(14, 26, 43, .06); border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
    min-width: 42px; height: 40px; padding: 0 9px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, #1567C9 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; letter-spacing: -.4px;
    box-shadow: 0 6px 16px rgba(11, 77, 162, .22);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.brand-sub { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    position: relative;
    padding: 9px 13px;
    font-size: 15px;
    color: var(--ink-2);
    border-radius: 7px;
    transition: color .18s, background .18s;
    white-space: nowrap;
}
.nav a:hover { color: var(--brand); background: var(--brand-light); }
.nav a.is-active { color: var(--brand); font-weight: 600; }
.nav a.is-active::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 1px;
    width: 18px; height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 15px; font-weight: 700; color: var(--brand);
    padding: 0 6px;
}
.header-phone .icon { width: 17px; height: 17px; }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 8px; align-items: center; justify-content: center; color: var(--ink); }
.menu-toggle:hover { background: var(--bg); }

/* 移动端抽屉 */
.drawer {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(8, 20, 36, .45);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel {
    position: absolute; top: 0; right: 0;
    width: min(84vw, 360px); height: 100%;
    background: #fff; padding: 22px 22px 32px;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.drawer-nav a.is-active { color: var(--brand); font-weight: 700; }
.drawer-actions { margin-top: 26px; display: grid; gap: 10px; }
.drawer-actions .btn { width: 100%; }

/* ---------------- 首屏 ---------------- */

.hero {
    position: relative;
    padding: 150px 0 96px;
    background:
        radial-gradient(900px 480px at 82% -10%, rgba(255, 107, 26, .22), transparent 70%),
        radial-gradient(700px 420px at 8% 110%, rgba(37, 118, 209, .28), transparent 70%),
        linear-gradient(135deg, #071C33 0%, #0A3468 48%, #0B4DA2 100%);
    color: #fff;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 78%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
    background: linear-gradient(180deg, transparent, rgba(5, 16, 32, .35));
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .07);
    border-radius: 100px;
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE9B; box-shadow: 0 0 0 3px rgba(74, 222, 155, .2); }

.hero h1 {
    font-size: clamp(1.9rem, 3.6vw, 3.05rem);
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: #FFB35C; }
.hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
    margin-bottom: 34px;
}
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .66); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 16px; height: 16px; color: #8FC3FF; }

/* 首屏右侧链路卡 */
.flow-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    padding: 26px 26px 22px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(3, 12, 26, .35);
}
.flow-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.flow-card-head span { font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.flow-card-head b { font-size: 15px; color: #fff; letter-spacing: .02em; }
.flow-list { display: grid; gap: 4px; }
.flow-item { display: flex; align-items: center; gap: 14px; padding: 11px 0; position: relative; }
.flow-item:not(:last-child)::after {
    content: "";
    position: absolute; left: 19px; top: 44px; bottom: -5px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06));
}
.flow-icon {
    width: 38px; height: 38px; flex: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    display: flex; align-items: center; justify-content: center;
    color: #9CC7FF;
}
.flow-text { display: flex; flex-direction: column; line-height: 1.35; }
.flow-text b { font-size: 15px; color: #fff; font-weight: 600; }
.flow-text small { font-size: 12.5px; color: rgba(255, 255, 255, .58); margin-top: 3px; }
.flow-foot {
    margin-top: 20px; padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px; color: rgba(255, 255, 255, .62);
}
.flow-foot b { color: #FFB35C; font-size: 14px; }

/* 首屏下方数据条 */
.hero-strip { position: relative; margin-top: -46px; z-index: 2; }
.strip-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.strip-item { padding: 26px 24px; display: flex; align-items: center; gap: 14px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-icon { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.strip-item b { display: block; font-size: 16px; letter-spacing: -.01em; }
.strip-item small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------------- 服务卡片 ---------------- */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.svc-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px 26px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.svc-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand), #4D9BFF);
    opacity: 0; transition: opacity .25s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #D4E1F3; }
.svc-card:hover::before { opacity: 1; }
.svc-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc-icon.accent { background: var(--accent-light); color: var(--accent); }
.svc-card h3 { font-size: 18px; margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 5px; padding: 4px 9px; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--brand); }
.svc-link .icon { width: 15px; height: 15px; transition: transform .2s; }
.svc-card:hover .svc-link .icon { transform: translateX(4px); }

/* ---------------- 优势 ---------------- */

.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 46px; }
.adv-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.adv-num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .06em; flex: none; width: 26px; padding-top: 4px; }
.adv-body h3 { font-size: 17px; margin-bottom: 6px; }
.adv-body p { font-size: 14.2px; color: var(--ink-2); }

/* ---------------- 流程 ---------------- */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-size: 12px; font-weight: 800; letter-spacing: .08em;
    color: var(--accent); margin-bottom: 10px;
}
.step h3 { font-size: 15.5px; margin-bottom: 7px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---------------- 案例 ---------------- */

.case-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-cover {
    height: 168px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0B4DA2, #1667C6);
}
.case-cover.c2 { background: linear-gradient(135deg, #A84E12, #FF7D2E); }
.case-cover.c3 { background: linear-gradient(135deg, #0F6B57, #17A87C); }
.case-cover::after {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: .6;
}
.case-cover .icon { width: 54px; height: 54px; opacity: .95; position: relative; z-index: 1; stroke-width: 1.4; }
.case-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case-tag { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .04em; margin-bottom: 9px; }
.case-body h3 { font-size: 17px; margin-bottom: 12px; }
.case-line { font-size: 13.5px; color: var(--ink-2); margin-bottom: 7px; }
.case-line span { color: var(--muted); }
.case-result {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    font-size: 13px;
    color: var(--muted);
}
.case-result b { color: var(--accent); font-size: 15px; }

/* ---------------- FAQ ---------------- */

.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 12px; overflow: hidden; }
.faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 19px 22px;
    font-size: 15.5px; font-weight: 600; color: var(--ink);
    text-align: left;
    transition: background .18s;
}
.faq-q:hover { background: #FAFCFF; }
.faq-q .icon { width: 18px; height: 18px; color: var(--muted); transition: transform .25s ease; flex: none; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a div { padding: 0 22px 20px; font-size: 14.2px; color: var(--ink-2); line-height: 1.8; }

/* ---------------- 咨询 CTA ---------------- */

.cta-band {
    position: relative;
    background: linear-gradient(120deg, #071C33 0%, #0B3773 60%, #0B4DA2 100%);
    color: #fff;
    padding: 68px 0;
    overflow: hidden;
}
.cta-band::after {
    content: "";
    position: absolute; right: -80px; top: -80px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(255, 107, 26, .22), transparent 65%);
    pointer-events: none;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, .74); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 内页头 ---------------- */

.page-head {
    padding: 132px 0 64px;
    background: linear-gradient(135deg, #071C33 0%, #0A3468 55%, #0B4DA2 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-head::before {
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 85%);
}
.page-head .container { position: relative; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.page-head p { color: rgba(255, 255, 255, .76); font-size: 15.5px; max-width: 720px; }

/* ---------------- 服务详情 ---------------- */

.svc-detail {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 34px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 24px;
    scroll-margin-top: 100px;
}
.svc-detail-head h2 { font-size: 22px; margin-bottom: 10px; }
.svc-detail-head .svc-icon { margin-bottom: 16px; }
.svc-for { font-size: 13.5px; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 12px 14px; margin-top: 16px; }
.svc-for b { color: var(--brand); }
.svc-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; }
.svc-item { display: flex; gap: 10px; font-size: 14.2px; color: var(--ink-2); }
.svc-item .icon { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }
.svc-item b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.svc-item p { font-size: 13px; color: var(--muted); }

/* 套餐表 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 15px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
thead th { background: #F9FBFE; font-weight: 700; color: var(--ink); font-size: 13.5px; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
td.price { font-weight: 700; color: var(--brand); white-space: nowrap; }
td.center, th.center { text-align: center; }
.yes { color: var(--green); font-weight: 700; }
.no { color: #C3CBD8; }

/* ---------------- 干货文章 ---------------- */

.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 26px 22px;
    display: flex; flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.post-cat { background: var(--brand-light); color: var(--brand); font-weight: 700; padding: 3px 9px; border-radius: 5px; font-size: 12px; }
.post h3 { font-size: 17.5px; margin-bottom: 10px; line-height: 1.45; }
.post p.excerpt { font-size: 14px; color: var(--ink-2); flex: 1; }
.post-more { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.post-body { margin-top: 14px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); line-height: 1.85; display: none; }
.post.open .post-body { display: block; }
.post-body p + p { margin-top: 12px; }
.post-body strong { color: var(--ink); }
.post.open .post-more .icon { transform: rotate(45deg); }
.post-more .icon { width: 14px; height: 14px; transition: transform .2s; }

/* ---------------- 联系页 ---------------- */

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; }
.contact-card h2 { font-size: 20px; margin-bottom: 6px; }
.contact-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.contact-row { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .icon { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.contact-row .label { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.contact-row .value { font-size: 15.5px; font-weight: 600; margin-top: 2px; word-break: break-all; }
.contact-row .value a:hover { color: var(--brand); }
.qr-block { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 18px; background: var(--bg); border-radius: 11px; }
.qr-block img { width: 118px; height: 118px; border-radius: 8px; background: #fff; padding: 5px; border: 1px solid var(--line); }
.qr-block b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.qr-block p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.qr-block p span { display: block; }

/* 表单 */
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field label span { color: var(--accent); }
.field input, .field textarea, .field select {
    width: 100%;
    border: 1px solid #D8E2EF;
    border-radius: 8px;
    padding: 11px 13px;
    color: var(--ink);
    background: #FCFDFF;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 77, 162, .1);
}
.field textarea { resize: vertical; min-height: 104px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-tip { font-size: 12.5px; color: var(--muted); }
.form-msg { font-size: 13.5px; padding: 10px 13px; border-radius: 8px; display: none; }
.form-msg.ok { display: block; background: #E9F8F1; color: #0E7A56; }
.form-msg.err { display: block; background: #FDEEEA; color: #B33A1A; }

/* ---------------- 页脚 ---------------- */

.site-footer { background: #0A1626; color: rgba(255, 255, 255, .62); padding: 60px 0 30px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .45); }
.footer-desc { margin-top: 16px; line-height: 1.85; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 700; letter-spacing: .02em; }
.footer-col a, .footer-col li { display: block; margin-bottom: 10px; color: rgba(255, 255, 255, .58); }
.footer-col a:hover { color: #fff; }
.footer-col .icon { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; color: #6FA8E8; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255, 255, 255, .4); }

/* ---------------- 弹窗 ---------------- */

.modal {
    position: fixed; inset: 0; z-index: 120;
    background: rgba(7, 18, 33, .58);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
    background: #fff; border-radius: 16px;
    padding: 30px 28px 26px;
    width: min(92vw, 380px);
    text-align: center;
    transform: translateY(12px) scale(.98);
    transition: transform .25s ease;
    position: relative;
}
.modal.open .modal-box { transform: none; }
.modal-box h3 { font-size: 17px; margin-bottom: 4px; }
.modal-box .sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.modal-box img { width: 210px; height: 210px; margin: 0 auto 14px; border-radius: 10px; border: 1px solid var(--line); padding: 6px; }
.modal-id { font-size: 13px; color: var(--ink-2); background: var(--bg); border-radius: 7px; padding: 9px 12px; margin-bottom: 6px; }
.modal-id b { color: var(--brand); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.modal-close:hover { background: var(--bg); color: var(--ink); }

/* 移动端底部悬浮条 */
.mobile-bar {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    gap: 10px;
}
.mobile-bar a, .mobile-bar button {
    flex: 1; height: 44px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    font-size: 14.5px; font-weight: 600;
}
.mobile-bar .mb-call { background: var(--brand); color: #fff; }
.mobile-bar .mb-wx { background: var(--accent); color: #fff; }

/* 滚动渐入 */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
    .nav a { padding: 9px 10px; font-size: 14.5px; }
    .header-phone { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .flow-card { max-width: 480px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .svc-detail { grid-template-columns: 1fr; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 860px) {
    .nav { display: none; }
    .header-actions .btn { display: none; }
    .menu-toggle { display: flex; }
    .header-inner { height: 66px; }
    .hero { padding: 118px 0 84px; }
    .section { padding: 64px 0; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; gap: 0; }
    .strip-box { grid-template-columns: repeat(2, 1fr); }
    .strip-item:nth-child(3) { border-left: 0; }
    .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .post-list { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .mobile-bar { display: flex; }
    body { padding-bottom: 72px; }
    .page-head { padding: 108px 0 50px; }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .hero { padding: 104px 0 72px; }
    .hero-cta .btn { width: 100%; }
    .hero-meta { gap: 14px; font-size: 12.5px; }
    .grid-4 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .svc-items { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .svc-detail { padding: 26px 22px; }
    .contact-card { padding: 26px 22px; }
    .section-head h2 { font-size: 1.4rem; }
    .section-head { margin-bottom: 34px; }
    .section-head p { font-size: 14px; }

    /* 数据条改单列，避免文字被挤成两行 */
    .strip-box { grid-template-columns: 1fr; }
    .strip-item { padding: 16px 18px; gap: 14px; }
    .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }
    .strip-item:nth-child(3) { border-left: 0; }
    .strip-icon { width: 38px; height: 38px; }
    .strip-item b { font-size: 15px; }
    .strip-item small { font-size: 12px; }

    /* 二维码块改为上下排列 */
    .qr-block { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
    .qr-block img { width: 148px; height: 148px; }
    .qr-block p { font-size: 12.5px; line-height: 1.75; }
}

@media print {
    .site-header, .mobile-bar, .cta-band, .site-footer { display: none; }
}
