/* ============================================================
   上海盛沃律师事务所 · 股权纠纷法律咨询落地页
   主色 #A61C2E（深红） / 点缀 #C9A063（金）
   ============================================================ */

/* ---------- CSS 变量与重置 ---------- */
:root {
    --primary: #A61C2E;
    --primary-dark: #7E1422;
    --primary-deep: #5A0D18;
    --gold: #C9A063;
    --gold-light: #E5CFA4;
    --dark: #1B1B1D;
    --dark-soft: #26262A;
    --text: #3D3A3E;
    --text-light: #6E6A70;
    --bg: #FFFFFF;
    --bg-soft: #F7F3EC;
    --bg-line: #ECE5D9;
    --shadow: 0 10px 30px rgba(94, 12, 22, .08);
    --shadow-lg: 0 24px 60px rgba(94, 12, 22, .16);
    --radius: 14px;
    --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --serif: "Songti SC", "SimSun", "Noto Serif SC", serif;
    --header-h: 74px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

/* ---------- 通用组件 ---------- */
.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--bg-soft);
}

.section-dark {
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-soft) 100%);
}

.section-head {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.section-tag::before,
.section-tag::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.section-tag-light {
    color: var(--gold-light);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.35;
    color: var(--dark);
    font-weight: 700;
    letter-spacing: 1px;
}

.section-dark .section-title {
    color: #fff;
}

.section-desc {
    margin-top: 18px;
    color: var(--text-light);
    font-size: 16px;
}

.section-dark .section-desc {
    color: #B8B3B0;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all .3s ease;
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(166, 28, 46, .35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(166, 28, 46, .42);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1.5px solid var(--bg-line);
    color: var(--dark);
    padding: 9px 20px;
    font-size: 14px;
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #B98A4F 100%);
    color: #fff;
    box-shadow: 0 10px 26px rgba(201, 160, 99, .4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(201, 160, 99, .5);
}

.btn-xl {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-lg {
    padding: 15px 34px;
    font-size: 16px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: all .35s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--bg-line);
    box-shadow: 0 6px 24px rgba(27, 27, 29, .08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(166, 28, 46, .3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 16px;
    color: var(--dark);
    letter-spacing: 1px;
}

.brand-text small {
    font-size: 9.5px;
    color: var(--text-light);
    letter-spacing: 1.6px;
    margin-top: 2px;
}

.nav-list {
    display: flex;
    gap: 6px;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 14.5px;
    color: var(--text);
    border-radius: 8px;
    transition: all .25s ease;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
}

.header-phone svg {
    width: 18px;
    height: 18px;
}

.header-phone:hover {
    color: var(--primary-dark);
}

/* 汉堡按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    position: relative;
    z-index: 110;
    transition: background .3s;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--dark);
    transition: all .32s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mask {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(27, 27, 29, .55);
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
}

.nav-mask.show {
    opacity: 1;
    visibility: visible;
}

/* ---------- 首屏 Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 80% 60% at 82% 18%, rgba(201, 160, 99, .16) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 12% 88%, rgba(255, 255, 255, .07) 0%, transparent 60%),
        linear-gradient(155deg, #7E1422 0%, var(--primary) 45%, var(--primary-deep) 100%);
    padding: calc(var(--header-h) + 40px) 0 72px;
    overflow: hidden;
}

.hero-deco {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-size: 13.5px;
    letter-spacing: 2.5px;
    margin-bottom: 26px;
    padding: 7px 16px;
    border: 1px solid rgba(201, 160, 99, .45);
    border-radius: 999px;
    background: rgba(201, 160, 99, .08);
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.8); }
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(40px, 6.2vw, 68px);
    line-height: 1.2;
    color: #fff;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
}

.hero-title .gold {
    color: var(--gold);
}

.hero-sub {
    margin-top: 24px;
    font-size: 17px;
    color: rgba(255, 255, 255, .85);
    max-width: 540px;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.hero-points {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
}

.hero-points svg {
    width: 15px;
    height: 15px;
    color: var(--gold);
}

/* Hero 右侧卡片 */
.hero-card {
    background: rgba(255, 255, 255, .97);
    border-radius: 20px;
    padding: 34px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .6);
    transform: translateY(0);
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.hero-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--bg-line);
}

.hero-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-icon svg {
    width: 26px;
    height: 26px;
}

.hero-card-head h2 {
    font-size: 17px;
    color: var(--dark);
    font-weight: 700;
}

.hero-card-head p {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
}

.hero-card-phone {
    display: block;
    text-align: center;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    padding: 24px 0 20px;
    transition: color .3s;
}

.hero-card-phone:hover {
    color: var(--primary-dark);
}

.hero-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-card-tags span {
    font-size: 12.5px;
    color: var(--primary);
    background: rgba(166, 28, 46, .07);
    border: 1px solid rgba(166, 28, 46, .18);
    padding: 4px 12px;
    border-radius: 999px;
}

.hero-card-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 12px 14px;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .75);
    animation: bounceDown 2.2s ease infinite;
    z-index: 2;
}

.hero-scroll svg {
    width: 26px;
    height: 26px;
}

@keyframes bounceDown {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ---------- 数字条 ---------- */
.stats {
    background: var(--dark);
    border-bottom: 1px solid rgba(201, 160, 99, .2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 34px 20px;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item strong {
    display: block;
    font-family: var(--serif);
    font-size: 34px;
    color: var(--gold);
    letter-spacing: 1px;
}

.stat-item span {
    display: block;
    margin-top: 6px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .72);
    letter-spacing: 1px;
}

/* ---------- 关于律所 ---------- */
.about-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 56px;
    align-items: start;
}

.about-timeline {
    position: relative;
    padding-left: 30px;
}

.about-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--gold));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 4px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(166, 28, 46, .15);
}

.timeline-card {
    background: var(--bg);
    border: 1px solid var(--bg-line);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow);
    transition: all .3s ease;
}

.timeline-card:hover {
    border-color: rgba(166, 28, 46, .35);
    transform: translateX(6px);
    box-shadow: var(--shadow-lg);
}

.timeline-card h3 {
    font-size: 16.5px;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-card h3::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--gold);
    margin-right: 10px;
    transform: rotate(45deg);
}

.timeline-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 为什么选择盛沃 */
.about-content h3 {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 24px;
}

.about-list {
    display: grid;
    gap: 14px;
    margin-bottom: 32px;
}

.about-list li {
    display: flex;
    gap: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--bg-line);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: all .3s ease;
}

.about-list li:hover {
    border-color: rgba(166, 28, 46, .3);
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.check-ico {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-ico svg {
    width: 17px;
    height: 17px;
}

.about-list li strong {
    display: block;
    font-size: 15.5px;
    color: var(--dark);
    margin-bottom: 3px;
}

.about-list li p {
    font-size: 13.5px;
    color: var(--text-light);
}

/* ---------- 常见困境 ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.case-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 30px 28px;
    position: relative;
    border: 1px solid var(--bg-line);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all .35s ease;
}

.case-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.case-card:hover::before {
    transform: scaleX(1);
}

.case-num {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 700;
    color: rgba(166, 28, 46, .14);
    position: absolute;
    top: 16px;
    right: 22px;
    transition: color .3s;
}

.case-card:hover .case-num {
    color: rgba(166, 28, 46, .35);
}

.case-card h3 {
    font-size: 17.5px;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-card h3::before {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
}

.case-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ---------- 纠纷类型全景 ---------- */
.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.type-card {
    background: var(--bg-soft);
    border: 1px solid var(--bg-line);
    border-radius: var(--radius);
    padding: 30px 24px;
    position: relative;
    transition: all .35s ease;
}

.type-card::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    pointer-events: none;
    transition: border-color .35s ease;
}

.type-card:hover {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.type-card:hover::after {
    border-color: rgba(229, 207, 164, .4);
}

.type-card:hover .type-index {
    color: var(--gold-light);
}

.type-card:hover h3 {
    color: #fff;
}

.type-card:hover p {
    color: rgba(255, 255, 255, .82);
}

.type-index {
    display: inline-block;
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(166, 28, 46, .08);
    border: 1px solid rgba(166, 28, 46, .2);
    padding: 3px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
    transition: all .3s ease;
}

.type-card:hover .type-index {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(229, 207, 164, .5);
}

.type-card h3 {
    font-size: 17px;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 10px;
    transition: color .3s;
}

.type-card p {
    font-size: 13.5px;
    color: var(--text-light);
    transition: color .3s;
}

/* ---------- 专业知识 ---------- */
.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.guide-card {
    background: var(--bg);
    border: 1px solid var(--bg-line);
    border-radius: var(--radius);
    padding: 34px 32px;
    box-shadow: var(--shadow);
}

.guide-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    color: var(--dark);
    font-weight: 700;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px dashed var(--bg-line);
}

.guide-ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-ico svg {
    width: 21px;
    height: 21px;
}

.guide-list {
    display: grid;
    gap: 14px;
}

.guide-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.85;
}

.guide-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--gold);
    transform: rotate(45deg);
}

.guide-list li strong {
    color: var(--dark);
    font-weight: 600;
}

.guide-tip {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    color: var(--primary);
    background: rgba(166, 28, 46, .06);
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 14px 16px;
    line-height: 1.7;
}

.guide-tip svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold);
}

/* ---------- 解决路径 ---------- */
.steps-list {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.steps-list::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--gold));
    border-radius: 2px;
}

.step-item {
    position: relative;
    padding: 0 0 30px 84px;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(166, 28, 46, .12);
}

.step-body {
    background: var(--bg);
    border: 1px solid var(--bg-line);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    transition: all .3s ease;
}

.step-body:hover {
    border-color: rgba(166, 28, 46, .3);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.step-body h3 {
    font-size: 17px;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 6px;
}

.step-body p {
    font-size: 14px;
    color: var(--text-light);
}

.steps-cta {
    max-width: 860px;
    margin: 44px auto 0;
    text-align: center;
    background: var(--bg-soft);
    border: 1px dashed var(--gold);
    border-radius: var(--radius);
    padding: 22px 28px;
    font-size: 15px;
    color: var(--text);
}

.link-phone {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 1px;
    margin: 0 4px;
}

.link-phone:hover {
    color: var(--primary-dark);
}

/* ---------- 法律依据 ---------- */
.law-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.law-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all .35s ease;
}

.law-card:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(201, 160, 99, .45);
    transform: translateY(-5px);
}

.law-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(201, 160, 99, .14);
    color: var(--gold);
    margin-bottom: 18px;
}

.law-ico svg {
    width: 24px;
    height: 24px;
}

.law-card h3 {
    font-size: 15.5px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}

.law-card p {
    font-size: 13px;
    color: #B8B3B0;
    line-height: 1.85;
}

.law-note {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #98928F;
}

/* ---------- 常见问答 ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--bg-line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}

.faq-item.active {
    border-color: rgba(166, 28, 46, .4);
    box-shadow: var(--shadow);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    transition: color .3s;
}

.faq-q:hover {
    color: var(--primary);
}

.faq-arrow {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid var(--bg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all .35s ease;
}

.faq-arrow svg {
    width: 13px;
    height: 13px;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.faq-a p {
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.95;
    border-top: 1px dashed var(--bg-line);
    padding-top: 18px;
}

/* ---------- 联系我们 CTA ---------- */
.section-cta {
    background:
        radial-gradient(ellipse 70% 90% at 20% 0%, rgba(201, 160, 99, .14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 80% at 90% 100%, rgba(255, 255, 255, .06) 0%, transparent 55%),
        linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-deep) 100%);
    text-align: center;
}

.cta-inner {
    position: relative;
}

.cta-title {
    font-family: var(--serif);
    font-size: clamp(26px, 3.6vw, 38px);
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
}

.cta-desc {
    max-width: 640px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, .85);
    font-size: 15.5px;
    line-height: 1.9;
}

.cta-phone {
    margin-top: 36px;
}

.cta-note {
    margin-top: 18px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .75);
    letter-spacing: 1px;
}

/* ---------- 页脚 ---------- */
.site-footer {
    background: var(--dark);
    color: #98928F;
    padding-top: 64px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand-footer .brand-text strong {
    color: #fff;
}

.brand-footer .brand-text small {
    color: #8B8683;
}

.footer-brand > p {
    margin-top: 18px;
    font-size: 13.5px;
    max-width: 460px;
    line-height: 1.85;
}

.footer-contact h3 {
    font-size: 15px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer-tel {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    transition: color .3s;
}

.footer-tel:hover {
    color: var(--gold-light);
}

.footer-contact p {
    font-size: 13px;
    margin-top: 4px;
}

.footer-tags {
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-tags h3 {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    font-size: 12.5px;
    color: #8B8683;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: 5px 14px;
    transition: all .3s ease;
}

.tag-cloud a:hover {
    color: var(--gold-light);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 26px 0;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.9;
}

.footer-bottom p + p {
    margin-top: 4px;
}

/* ---------- 移动端拨号栏 ---------- */
.m-callbar {
    display: none;
}

/* ---------- 回顶部 ---------- */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 100;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(166, 28, 46, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .35s ease;
}

.to-top svg {
    width: 18px;
    height: 18px;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--primary-dark);
}

/* ---------- 滚动入场动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1024px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .law-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .section {
        padding: 72px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: min(300px, 78vw);
        background: #fff;
        z-index: 100;
        padding: calc(var(--header-h) + 16px) 24px 24px;
        box-shadow: -12px 0 40px rgba(27, 27, 29, .18);
        transform: translateX(100%);
        transition: transform .38s ease;
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 2px;
    }

    .nav-link {
        padding: 13px 16px;
        font-size: 15.5px;
        border-bottom: 1px solid var(--bg-line);
        border-radius: 0;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        color: var(--primary);
        background: rgba(166, 28, 46, .06);
    }

    .header-consult {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-card {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }
}

@media (max-width: 560px) {
    :root {
        --header-h: 62px;
    }

    .section {
        padding: 60px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .brand-badge {
        width: 40px;
        height: 40px;
        font-size: 17px;
        border-radius: 10px;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(166, 28, 46, .08);
        justify-content: center;
        color: var(--primary);
    }

    .hero {
        padding: calc(var(--header-h) + 28px) 0 56px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-points {
        flex-direction: column;
        gap: 10px;
    }

    .hero-card {
        padding: 26px 22px;
    }

    .hero-card-phone {
        font-size: 28px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .law-grid {
        grid-template-columns: 1fr;
    }

    .stat-item strong {
        font-size: 26px;
    }

    .steps-list::before {
        left: 18px;
    }

    .step-item {
        padding-left: 58px;
    }

    .step-num {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .step-body {
        padding: 20px;
    }

    .step-body:hover {
        transform: translateX(0);
    }

    .timeline-card:hover {
        transform: translateX(0);
    }

    .faq-q {
        font-size: 15px;
        padding: 17px 18px;
    }

    .faq-a p {
        padding: 16px 18px 18px;
    }

    /* 移动端固定拨号栏 */
    .m-callbar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 130;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, rgba(27, 27, 29, .9), rgba(27, 27, 29, .98));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(201, 160, 99, .3);
    }

    .m-callbar-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        width: 100%;
        padding: 13px 0;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--primary), var(--primary-deep));
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 2px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
    }

    .m-callbar-btn svg {
        width: 18px;
        height: 18px;
        animation: pulse 2s ease infinite;
    }

    .m-callbar-btn:active {
        transform: scale(.97);
    }

    body {
        padding-bottom: 64px;
    }

    .to-top {
        right: 16px;
        bottom: 84px;
        width: 42px;
        height: 42px;
    }

    .footer-tel {
        font-size: 26px;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}