/* 知识产权法律服务站点 · 浅色专业风
   设计原则：可信 > 花哨。律师网站的转化率来自专业感与信息密度，而非动效。 */

:root {
    --brand: #123a63;
    --brand-deep: #0b2743;
    --brand-soft: #eaf1f8;
    --accent: #b3873b;
    --accent-soft: #fdf7ec;
    --danger: #b3352c;
    --warn: #a86a1d;
    --ink: #1e2430;
    --ink-2: #4b5462;
    --ink-3: #7c8695;
    --line: #e3e7ee;
    --bg: #ffffff;
    --bg-soft: #f6f8fa;
    --radius: 10px;
    --max: 1140px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
            "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.85;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    line-height: 1.4;
    margin: 0 0 .6em;
    font-weight: 700;
    color: var(--brand-deep);
    letter-spacing: -.01em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.18rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .45em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部 ---------- */
.site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.head-inner {
    max-width: var(--max); margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; gap: 24px;
}
.brand-mark { display: flex; align-items: baseline; gap: 10px; font-weight: 700; color: var(--brand-deep); font-size: 1.1rem; }
.brand-mark small { font-weight: 400; color: var(--ink-3); font-size: .78rem; }

.nav { display: flex; gap: 22px; margin-left: auto; font-size: .94rem; }
.nav a { color: var(--ink-2); }
.nav a:hover, .nav a.on { color: var(--brand); text-decoration: none; }
.nav a.on { font-weight: 600; }

.head-cta {
    margin-left: 8px;
    background: var(--brand); color: #fff !important;
    padding: 8px 18px; border-radius: 6px; font-size: .92rem; white-space: nowrap;
}
.head-cta:hover { background: var(--brand-deep); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 62%, #1c4a78 100%);
    color: #fff; padding: 68px 0 60px; position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; right: -120px; top: -80px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(179,135,59,.30), transparent 62%);
}
.hero h1 { color: #fff; font-size: 2.25rem; max-width: 780px; }
.hero .lead { font-size: 1.06rem; color: #d6e4f2; max-width: 700px; margin-bottom: 1.4em; }
.hero .kicker {
    display: inline-block; font-size: .8rem; letter-spacing: .16em;
    color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: .92rem; color: #c9dcee; }
.hero-meta b { color: #fff; font-weight: 600; }

.btn {
    display: inline-block; background: var(--accent); color: #fff !important;
    padding: 12px 30px; border-radius: 6px; font-weight: 600; border: none; cursor: pointer;
    font-size: 1rem; font-family: var(--font);
}
.btn:hover { background: #9d7430; text-decoration: none; }
.btn-ghost {
    display: inline-block; border: 1px solid rgba(255,255,255,.55); color: #fff !important;
    padding: 12px 26px; border-radius: 6px; margin-left: 12px; font-size: 1rem;
}
.btn-outline {
    display: inline-block; border: 1px solid var(--brand); color: var(--brand) !important;
    padding: 10px 24px; border-radius: 6px; font-weight: 600;
}
.btn-outline:hover { background: var(--brand-soft); text-decoration: none; }

/* ---------- 区块 ---------- */
section { padding: 56px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 30px; }
.sec-head h2 { margin-bottom: .3em; }
.sec-head p { color: var(--ink-2); max-width: 720px; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18,58,99,.10); border-color: #cdd9e7; }
.card h3 { margin-bottom: .4em; font-size: 1.1rem; }
.card p { color: var(--ink-2); font-size: .95rem; margin-bottom: .6em; }
.card .more { font-size: .92rem; font-weight: 600; }

.badge {
    display: inline-block; font-size: .76rem; padding: 3px 10px; border-radius: 999px;
    background: var(--brand-soft); color: var(--brand); font-weight: 600; margin-bottom: 12px;
}

/* 五业务入口 */
.area-card { border-left: 3px solid var(--accent); }
.area-card .kw { font-size: .82rem; color: var(--ink-3); line-height: 1.7; margin-top: 10px; }

/* 痛点清单 */
.pain { list-style: none; padding: 0; }
.pain li {
    position: relative; padding-left: 26px; margin-bottom: .7em;
    color: var(--ink-2); font-size: .96rem; line-height: 1.7;
}
.pain li::before {
    content: ""; position: absolute; left: 6px; top: .72em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.pain.warn li::before { background: var(--danger); }

.check li { list-style: none; position: relative; padding-left: 26px; }
.check li::before {
    content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700;
}
ul.check { padding-left: 0; }

/* ---------- FAQ 折叠 ---------- */
.faq-item {
    border: 1px solid var(--line); border-radius: var(--radius);
    margin-bottom: 12px; background: #fff; overflow: hidden;
}
.faq-item summary {
    cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--brand-deep);
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-body { padding: 0 20px 18px; color: var(--ink-2); font-size: .96rem; border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- 流程 ---------- */
.steps { counter-reset: s; padding: 0; list-style: none; }
.steps li {
    counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 18px;
}
.steps li::before {
    content: counter(s); position: absolute; left: 0; top: 0;
    width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft);
    color: var(--brand); font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 1px solid #d5e2f0;
}
.steps b { display: block; color: var(--brand-deep); }
.steps span { color: var(--ink-2); font-size: .94rem; }

/* ---------- 面包屑 ---------- */
.crumb { font-size: .85rem; color: var(--ink-3); padding: 16px 0 0; }
.crumb a { color: var(--ink-3); }
.crumb span { margin: 0 8px; }

/* ---------- 文章体 ---------- */
.article-body { font-size: 1.02rem; color: #2b323d; }
.article-body h2 { margin-top: 1.8em; padding-top: .4em; border-top: 1px solid var(--line); }
.article-body h3 { margin-top: 1.5em; }
.article-body blockquote {
    margin: 1.4em 0; padding: 14px 20px; background: var(--accent-soft);
    border-left: 4px solid var(--accent); color: #6b5326; border-radius: 0 6px 6px 0;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--bg-soft); font-weight: 600; }

.notice {
    background: var(--brand-soft); border: 1px solid #d5e2f0; border-radius: var(--radius);
    padding: 16px 20px; font-size: .93rem; color: #2f4a6b; margin: 1.6em 0;
}

/* 文章卡片 */
.post-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff;
}
.post h3 { font-size: 1.05rem; margin-bottom: .3em; }
.post .meta { font-size: .82rem; color: var(--ink-3); margin-bottom: .5em; }
.post p { font-size: .93rem; color: var(--ink-2); margin: 0; }

/* ---------- CTA ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand));
    color: #fff; padding: 52px 0; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfdff0; max-width: 640px; margin: 0 auto 1.4em; }
.cta-phone { font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: .02em; }

/* ---------- 表单 ---------- */
.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; box-shadow: 0 10px 30px rgba(18,58,99,.06);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 6px; color: var(--brand-deep); }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid #cfd8e3; border-radius: 6px;
    font-family: var(--font); font-size: 1rem; color: var(--ink); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,58,99,.10);
}
.form-note { font-size: .84rem; color: var(--ink-3); margin-top: 12px; line-height: 1.7; }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--brand-deep); color: #a9bdd1; padding: 44px 0 28px; font-size: .9rem; }
.site-foot a { color: #c9dbec; }
.site-foot h4 { color: #fff; font-size: .98rem; margin-bottom: 12px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-foot ul { list-style: none; padding: 0; }
.site-foot li { margin-bottom: 7px; }
.copy { border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 18px; font-size: .84rem; color: #7f96ad; }

.disclaimer-box {
    background: var(--bg-soft); border: 1px dashed #c9d3e0; border-radius: 8px;
    padding: 14px 18px; font-size: .85rem; color: var(--ink-3); margin-top: 26px; line-height: 1.75;
}

/* ---------- 移动端 ---------- */
.mobile-bar { display: none; }
@media (max-width: 860px) {
    .nav { display: none; }
    h1 { font-size: 1.6rem; }
    .hero { padding: 46px 0 40px; }
    .hero h1 { font-size: 1.7rem; }
    .head-cta { margin-left: auto; }
    section { padding: 40px 0; }
    .form-card { padding: 22px; }
    .mobile-bar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
        background: #fff; border-top: 1px solid var(--line); padding: 10px 16px;
        gap: 10px; box-shadow: 0 -4px 16px rgba(0,0,0,.06);
    }
    .mobile-bar a {
        flex: 1; text-align: center; padding: 11px 0; border-radius: 6px;
        font-weight: 600; font-size: .95rem; text-decoration: none;
    }
    .mobile-bar .m-call { background: #fff; border: 1px solid var(--brand); color: var(--brand); }
    .mobile-bar .m-consult { background: var(--accent); color: #fff; }
    body { padding-bottom: 68px; }
}
