/* =========================================================
   广西壮族自治区陆川县公证处 官网样式
   主色：司法红 #c8102e  辅色：深蓝 #1f2a44  金色 #f5e6c8
   ========================================================= */

:root {
    --red: #c8102e;
    --red-dark: #a50d25;
    --red-soft: #fbf1f2;
    --navy: #1f2a44;
    --navy-dark: #171f33;
    --gold: #f5e6c8;
    --gold-deep: #d9b878;
    --ink: #2b2b2b;
    --ink-soft: #555;
    --muted: #8a8a8a;
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --line: #e7e9ee;
    --radius: 10px;
    --shadow-sm: 0 2px 8px rgba(31, 42, 68, 0.06);
    --shadow-md: 0 8px 28px rgba(31, 42, 68, 0.10);
    --container: 1140px;
    --header-h: 76px; /* 吸顶导航高度，锚点偏移与移动端抽屉顶部留白共用 */
}

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

html {
    scroll-behavior: smooth;
    /* 关键修复：锚点跳转时预留吸顶导航高度，避免标题被盖住 */
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-locked {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 键盘可达性：为所有可交互元素提供清晰的焦点态 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(200, 16, 46, 0.45);
    outline-offset: 2px;
    border-radius: 4px;
}

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

/* ============ 顶部信息条 ============ */
.topbar {
    background: var(--navy-dark);
    color: #cfd6e4;
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
    flex-wrap: wrap;
    padding-top: 6px;
    padding-bottom: 6px;
}

.topbar-links {
    display: flex;
    gap: 18px;
}

.topbar-links a:hover {
    color: #fff;
}

/* ============ 页头 ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--red);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
}

.brand-emblem {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-emblem svg {
    display: block;
}

.brand-logo {
    display: block;
    height: 58px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.brand-sub {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-link {
    padding: 7px 11px;
    font-size: 14px;
    color: var(--ink-soft);
    border-radius: 6px;
    transition: color .15s, background .15s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--red);
    background: var(--red-soft);
}

.nav-link.active {
    color: var(--red);
    font-weight: 600;
}

.nav-link-highlight {
    background: var(--red);
    color: #fff !important;
    font-weight: 600;
    margin-left: 6px;
}

.nav-link-highlight:hover {
    background: var(--red-dark);
    color: #fff !important;
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: transform .2s, opacity .2s;
}

/* 抽屉遮罩层（JS 动态插入） */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(23, 31, 51, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 110;
}

.nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* ============ Hero ============ */
.hero {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #1f2a44 0%, #2c3a5e 55%, #3a2b4a 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(200, 16, 46, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(217, 184, 120, 0.20) 0%, transparent 40%);
}

.hero-inner {
    position: relative;
    padding: 88px 20px 96px;
    text-align: center;
}

.hero-kicker {
    font-size: 15px;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 18px;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1.25;
}

.hero-sub {
    font-size: 18px;
    color: #d6dbe7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--red);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.btn-block {
    width: 100%;
}

/* ============ 快速入口 ============ */
.quick {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.quick-grid {
    display: grid;
    /* 关键修复：8 个入口固定 4 列，避免 auto-fit 出现“孤儿卡片” */
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 28px 20px;
}

.quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 12px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: 1px solid transparent;
    transition: all .2s;
}

.quick-card:hover {
    border-color: var(--red);
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.quick-icon {
    color: var(--red);
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quick-icon svg {
    width: 28px;
    height: 28px;
}

.quick-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

/* ============ 通用 section ============ */
.section {
    padding: 76px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    text-align: center;
    margin-bottom: 44px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 52px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
}

.section-sub {
    color: var(--muted);
    font-size: 15px;
    letter-spacing: 1px;
}

/* ============ 正文 prose ============ */
.prose {
    max-width: 860px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--ink-soft);
}

.prose p {
    margin-bottom: 16px;
    text-indent: 2em;
}

.prose ul {
    margin: 8px 0 16px 1.5em;
    color: var(--ink-soft);
}

.prose ul li {
    margin-bottom: 8px;
}

.prose strong {
    color: var(--red);
}

/* ============ 分栏 ============ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.split-col {
    min-width: 0;
}

.block-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    padding-left: 14px;
    border-left: 4px solid var(--red);
    margin-bottom: 18px;
}

/* ============ 卡片 ============ */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.card h4 {
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 8px;
}

.card p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.card p:last-child {
    margin-bottom: 0;
}

/* ============ 业务范围 ============ */
.scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.scope-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: all .2s;
}

.scope-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--gold-deep);
}

.scope-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.scope-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--red);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    flex-shrink: 0;
}

.scope-card-head h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.scope-body {
    margin-bottom: 14px;
}

.scope-body:last-child {
    margin-bottom: 0;
}

.scope-body h4 {
    font-size: 15.5px;
    color: var(--red-dark);
    margin-bottom: 6px;
}

.scope-body p {
    font-size: 15px;
    color: var(--ink-soft);
}

.scope-list {
    margin-left: 1.3em;
    color: var(--ink-soft);
    font-size: 15px;
}

.scope-list li {
    margin-bottom: 8px;
}

/* ============ 公证流程图 ============ */
.flow-chart {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-node {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 22px;
    min-width: 168px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
}

.flow-node.main {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 6px 16px rgba(31, 42, 68, 0.22);
}

.flow-node.done {
    background: var(--red);
    color: #fff;
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.28);
}

.flow-arrow {
    font-size: 22px;
    color: var(--red);
    line-height: 1;
    margin: 8px 0;
}

.flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    flex-wrap: wrap;
}

.flow-connector {
    width: 40px;
    height: 0;
    border-top: 2px dashed var(--muted);
}

.flow-branch {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14.5px;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

.flow-branch.reject {
    background: #fdf0f0;
    border: 1px solid #e08a8a;
    color: #9c2b2b;
    font-weight: 600;
}

.flow-branch.reject span {
    display: block;
    font-size: 12px;
    color: #b06060;
    font-weight: 400;
    margin-top: 2px;
}

.flow-loop {
    margin: 4px 0 8px;
    padding: 8px 18px;
    background: #fff8ec;
    border: 1px dashed var(--gold-deep);
    color: #8a6a20;
    font-size: 14px;
    border-radius: 20px;
    font-weight: 600;
}

.flow-slogan {
    max-width: 560px;
    margin: 40px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    letter-spacing: 1px;
}

.flow-slogan p {
    margin-bottom: 8px;
}

/* ============ 服务举措 ============ */
.measure-grid {
    display: grid;
    /* 关键修复：auto-fit 让 5 个卡片在宽屏下尽量单行/均衡排布，避免孤儿 */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.measure-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
    transition: all .2s;
}

.measure-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--gold-deep);
}

.measure-num {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.measure-item h4 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 8px;
}

.measure-item p {
    font-size: 14.5px;
    color: var(--ink-soft);
}

/* ============ 办证指南列表 ============ */
.req-list,
.plain-list {
    margin-left: 1.4em;
    color: var(--ink-soft);
    font-size: 15px;
}

.req-list li,
.plain-list li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.req-list {
    list-style: decimal;
}

.plain-list {
    list-style: disc;
}

.note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--red);
    font-weight: 600;
}

/* 材料清单入口横幅 */
.materials-cta {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(120deg, var(--navy) 0%, #2c3a5e 100%);
    color: #fff;
    padding: 26px 30px;
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.materials-cta h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.materials-cta p {
    color: #cfd6e4;
    font-size: 14px;
}

/* ============ 服务网点 ============ */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.location-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold-deep));
}

.location-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.location-name {
    font-size: 21px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.location-row {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px dashed var(--line);
    font-size: 15px;
}

.location-key {
    flex-shrink: 0;
    width: 64px;
    color: var(--muted);
    font-weight: 600;
}

.location-val {
    color: var(--ink);
    line-height: 1.8;
}

.location-val a {
    color: var(--red);
    font-weight: 600;
}

.location-val a:hover {
    text-decoration: underline;
}

.holiday-tip {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff8ec;
    border: 1px solid var(--gold-deep);
    color: #7a5b1e;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 15px;
}

.holiday-icon {
    font-size: 22px;
    color: var(--red);
    line-height: 0;
    display: inline-flex;
}

.holiday-icon svg {
    width: 24px;
    height: 24px;
}

/* ============ 核验横幅 ============ */
.verify-banner {
    background: linear-gradient(120deg, var(--red) 0%, #a50d25 100%);
    color: #fff;
}

.verify-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 20px;
    flex-wrap: wrap;
}

.verify-banner h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.verify-banner p {
    color: #ffd9de;
    font-size: 15px;
}

/* ============ 页脚 ============ */
.footer {
    background: var(--navy-dark);
    color: #b9c1d4;
    font-size: 14px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
    padding: 48px 20px 36px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.footer-sub {
    font-size: 11px;
    color: #8d97ac;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-desc {
    color: #8d97ac;
    font-size: 13px;
}

.footer-head {
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 15px;
}

.footer-col a,
.footer-col p {
    display: block;
    margin-bottom: 10px;
    color: #b9c1d4;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    font-size: 13px;
    color: #8d97ac;
    text-align: center;
}

/* ============ 证明材料清单页 ============ */
.materials-page {
    background: var(--bg-alt);
    padding: 56px 0 80px;
    min-height: 60vh;
}

.materials-inner {
    max-width: 900px;
}

.materials-head {
    text-align: center;
    margin-bottom: 30px;
}

.materials-head h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.materials-head p {
    color: var(--muted);
    font-size: 15px;
}

.materials-search {
    position: relative;
    max-width: 560px;
    margin: 0 auto 18px;
}

.materials-search input {
    width: 100%;
    padding: 14px 44px 14px 18px;
    font-size: 16px;
    border: 1px solid #d8dce4;
    border-radius: 10px;
    outline: none;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: border .15s, box-shadow .15s;
    font-family: inherit;
}

.materials-search input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.materials-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    line-height: 0;
    pointer-events: none;
}

.materials-search-icon svg {
    width: 20px;
    height: 20px;
}

.materials-tip {
    max-width: 560px;
    margin: 0 auto 20px;
    font-size: 14px;
    color: var(--red);
    text-align: center;
}

.materials-list .cat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.materials-list .cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.materials-list .cat-head::-webkit-details-marker {
    display: none;
}

.cat-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
}

.cat-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    flex: 1;
}

.cat-count {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--muted);
    background: var(--bg-alt);
    padding: 3px 10px;
    border-radius: 14px;
}

.cat-arrow {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 16px;
    transition: transform .2s;
}

.materials-list .cat[open] .cat-arrow {
    transform: rotate(180deg);
}

.cat-body {
    padding: 4px 22px 22px;
    border-top: 1px dashed var(--line);
}

.mi {
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
}

.mi:last-child {
    border-bottom: none;
}

.mi-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--red-dark);
    margin-bottom: 8px;
}

.mi-list {
    margin-left: 1.4em;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.8;
}

.mi-list li {
    margin-bottom: 4px;
}

.materials-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 15px;
}

/* ============ 核验页 ============ */
.verify-page {
    background: var(--bg-alt);
    padding: 60px 0 80px;
    min-height: 60vh;
}

.verify-page-inner {
    max-width: 680px;
}

.verify-page-head {
    text-align: center;
    margin-bottom: 32px;
}

.verify-page-head h1 {
    font-size: 34px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.verify-page-head p {
    color: var(--muted);
    font-size: 15px;
}

.verify-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 36px 34px;
    border: 1px solid var(--line);
}

.verify-form .form-group {
    margin-bottom: 22px;
}

.verify-form label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.verify-form input {
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    border: 1px solid #d8dce4;
    border-radius: 8px;
    outline: none;
    transition: border .15s, box-shadow .15s;
    font-family: inherit;
}

.verify-form input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

/* ============ 文件上传区 ============ */
.upload-zone {
    border: 2px dashed #c9cfdb;
    border-radius: 12px;
    padding: 38px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    background: #fbfcfd;
    outline: none;
}

.upload-zone:hover,
.upload-zone:focus {
    border-color: var(--red);
    background: #fdf5f6;
}

.upload-zone.drag-over {
    border-color: var(--red);
    background: #fdeeef;
}

.upload-zone.has-file {
    border-color: #5cb87a;
    background: #f4fbf6;
}

.upload-icon {
    color: var(--red);
    line-height: 0;
    margin-bottom: 12px;
}

.upload-icon svg {
    width: 38px;
    height: 38px;
}

.upload-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.upload-hint {
    font-size: 13px;
    color: var(--muted);
}

.upload-file {
    margin-top: 12px;
    font-size: 14px;
    color: #1e6b36;
    font-weight: 600;
    word-break: break-all;
}

.verify-result {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.7;
}

.verify-result.pending {
    background: #fff8ec;
    border: 1px solid var(--gold-deep);
    color: #7a5b1e;
}

.verify-result.success {
    background: #eefaf1;
    border: 1px solid #5cb87a;
    color: #1e6b36;
}

.verify-result.fail {
    background: #fdf0f0;
    border: 1px solid #e08a8a;
    color: #9c2b2b;
}

.verify-result-detail {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,.12);
    font-size: 14px;
}

.verify-result-detail p {
    margin: 4px 0;
}

.verify-result-detail span {
    display: inline-block;
    min-width: 88px;
    color: inherit;
    opacity: .75;
}

.verify-note {
    margin-top: 24px;
    background: #fff;
    border-left: 4px solid var(--gold-deep);
    padding: 18px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.verify-note p {
    margin-bottom: 6px;
}

.verify-note p:last-child {
    margin-bottom: 0;
}

/* ============ 核验加载遮罩 ============ */
.verify-mask {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(23, 31, 51, 0.58);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.verify-mask[hidden] {
    display: none;
}

.verify-mask-inner {
    background: #fff;
    border-radius: 14px;
    padding: 38px 46px;
    text-align: center;
    min-width: 280px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    animation: verify-mask-in 0.28s ease;
}

@keyframes verify-mask-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.verify-spinner {
    width: 46px;
    height: 46px;
    margin: 0 auto 18px;
    border: 4px solid rgba(200, 16, 46, 0.14);
    border-top-color: var(--red);
    border-right-color: var(--red);
    border-radius: 50%;
    animation: verify-spin 0.8s linear infinite;
}

@keyframes verify-spin {
    to {
        transform: rotate(360deg);
    }
}

.verify-mask-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.verify-mask-sub {
    font-size: 13px;
    color: var(--muted);
}

/* ============ 办证大厅实景横幅 ============ */
.office-band {
    position: relative;
    height: 380px;
    background-image: url("../img/gw.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* ============ 响应式 ============ */
/* 中等屏：先收窄到抽屉菜单，彻底规避导航横向溢出 */
@media (max-width: 1100px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-h) + 24px) 24px 24px;
        gap: 2px;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
        transition: right .25s ease;
        overflow-y: auto;
        z-index: 120;
        margin-left: 0;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 12px;
        font-size: 16px;
        border-bottom: 1px solid var(--line);
    }

    .nav-link-highlight {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .measure-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 720px) {
    .brand-title {
        font-size: 16px;
    }

    .brand-sub {
        display: none;
    }

    .brand-emblem svg {
        width: 38px;
        height: 38px;
    }

    .brand-logo {
        height: 44px;
    }

    .topbar-text {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .hero-inner {
        padding: 64px 20px 72px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-kicker {
        letter-spacing: 4px;
    }

    .section {
        padding: 52px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .office-band {
        height: 190px;
    }

    .split,
    .location-grid,
    .measure-grid,
    .scope-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .verify-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============ “最多跑一次”清单入口按钮 ============ */
.once-cta {
    text-align: center;
    margin-top: 32px;
}

/* ============ “最多跑一次”公证事项清单 ============ */
.once-batch {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.once-batch:last-child {
    margin-bottom: 0;
}

.once-batch-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--red-soft);
}

.once-batch-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.once-count {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    padding: 5px 12px;
    border-radius: 20px;
}

.once-list {
    columns: 3;
    column-gap: 40px;
    list-style: none;
    counter-reset: once;
}

.once-list li {
    counter-increment: once;
    break-inside: avoid;
    font-size: 14.5px;
    color: var(--ink-soft);
    padding: 6px 0;
    border-bottom: 1px dashed var(--line);
}

.once-list li::before {
    content: counter(once) ". ";
    color: var(--red);
    font-weight: 600;
    margin-right: 2px;
}

@media (max-width: 1100px) {
    .once-list {
        columns: 2;
    }
}

@media (max-width: 720px) {
    .once-list {
        columns: 1;
    }

    .once-batch {
        padding: 18px 20px;
    }
}
