/* 子页面共用：与首页视觉变量一致 */
:root {
    --bg: #f4f6fa;
    --surface: #ffffff;
    --ink: #0c1222;
    --muted: #5c6578;
    --line: rgba(12, 18, 34, 0.08);
    --accent: #c45c26;
    --accent-soft: rgba(196, 92, 38, 0.12);
    --navy-deep: #0f1a2e;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 4px 24px rgba(12, 18, 34, 0.06);
    --shadow-hover: 0 12px 40px rgba(12, 18, 34, 0.1);
    --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
    --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--ink);
}
.logo-link img { width: 52px; height: auto; }
.logo-text { font-weight: 700; font-size: 1.05rem; }
.nav-desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-desktop a {
    display: block;
    padding: 0.45rem 0.65rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
}
.nav-desktop a:hover {
    background: var(--accent-soft);
    color: var(--accent);
    text-decoration: none;
}
.nav-desktop a.is-active {
    background: var(--accent-soft);
    color: var(--accent);
}
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: none;
    background: var(--bg);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile a {
    display: block;
    padding: 0.85rem 0;
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}
@media (max-width: 1040px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: flex; }
}

.page-hero {
    padding: calc(var(--header-h) + 2.75rem) 0 2rem;
    background: linear-gradient(145deg, var(--navy-deep) 0%, #1e3a5f 100%);
    color: #e8ecf4;
}
.page-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #fff;
}
.page-hero .lead {
    margin: 0;
    max-width: 720px;
    color: rgba(232, 236, 244, 0.88);
    font-size: 1.02rem;
}

.section { padding: 2.5rem 0; }
.section--surface { background: var(--surface); }
.section h2 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
}
.section .sub {
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.35rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.65rem; font-size: 1.12rem; }
.card p { margin: 0; color: #3d4556; font-size: 0.96rem; line-height: 1.7; }
.card .tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
}

.case-card {
    border-left: 4px solid var(--accent);
}

.form-wrap {
    max-width: 640px;
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafbfc;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.25rem;
}
.btn {
    display: inline-block;
    padding: 0.7rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
}
.btn:hover { filter: brightness(1.05); }
.btn-secondary {
    background: var(--navy-deep);
    color: #fff !important;
    text-decoration: none !important;
    display: inline-block;
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
}
.btn-secondary:hover { filter: brightness(1.08); color: #fff !important; }
.form-hint { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }

.event-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.event-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.event-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.event-card .body { padding: 1.1rem 1.2rem; }
.event-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.event-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.timeline {
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
    margin: 1.5rem 0 0;
}
.timeline-item { margin-bottom: 1.25rem; }
.timeline-item strong { display: block; color: var(--navy-deep); margin-bottom: 0.25rem; }

details.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    margin-bottom: 0.65rem;
}
details.faq-item summary {
    font-weight: 700;
    cursor: pointer;
}
details.faq-item p {
    margin: 0.75rem 0 0;
    color: #3d4556;
    font-size: 0.96rem;
}

.legal-prose h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal-prose p, .legal-prose li { color: #3d4556; font-size: 0.96rem; }

.sitemap-list {
    columns: 2;
    gap: 2rem;
    padding-left: 1.25rem;
}
@media (max-width: 600px) { .sitemap-list { columns: 1; } }
.sitemap-list li { margin-bottom: 0.5rem; }

.site-footer {
    background: linear-gradient(180deg, #0c1222 0%, #151d30 100%);
    color: #94a3b8;
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.92rem;
}
.site-footer p { margin: 0.35rem 0; }
.site-footer a { color: #cbd5e1; }
