:root {
    --navy: #0e2340;
    --navy-deep: #09182d;
    --gold: #c6a56a;
    --gold-soft: #e6d3af;
    --ink: #1f2937;
    --muted: #667085;
    --line: #dde3ec;
    --paper: #f7f5f1;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(9, 24, 45, 0.12);
    --radius: 22px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fbfaf7;
    font: 16px/1.7 "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

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

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 24, 45, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bar,
.footer-top,
.hero-grid,
.two-column,
.contact-grid,
.content-grid {
    display: grid;
    gap: 24px;
}

.header-bar {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 82px;
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.brand-mark strong {
    color: var(--white);
    font-size: 22px;
    letter-spacing: 0.04em;
}

.brand-mark span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.nav-list a.is-active,
.nav-list a:hover {
    color: var(--white);
}

.nav-list a.is-active::after,
.nav-list a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}

.contact-badge,
.button,
.tag,
.metric,
.list-card,
.panel,
.article-card,
.case-card,
.lawyer-card,
.practice-card,
.info-card,
.service-card {
    border-radius: var(--radius);
}

.contact-badge {
    padding: 10px 18px;
    border: 1px solid rgba(198, 165, 106, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-soft);
    font-weight: 600;
}

.mobile-nav {
    display: none;
}

.hero-section {
    background:
        radial-gradient(circle at top left, rgba(198, 165, 106, 0.18), transparent 32%),
        linear-gradient(135deg, var(--navy-deep), var(--navy));
    color: var(--white);
    padding: 88px 0 72px;
}

.hero-grid {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-soft);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--gold);
}

.hero-title,
.page-title {
    margin: 18px 0 18px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.14;
}

.hero-text,
.page-intro,
.muted {
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--gold), #d7b683);
    color: var(--navy-deep);
    box-shadow: 0 12px 30px rgba(198, 165, 106, 0.3);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.hero-side {
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.metric-grid,
.card-grid {
    display: grid;
    gap: 18px;
}

.metric-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
}

.metric {
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 28px;
    color: var(--gold-soft);
}

.metric span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.section {
    padding: 84px 0;
}

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

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.section-head h2 {
    margin: 10px 0 0;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--navy);
}

.section-copy {
    max-width: 580px;
    color: var(--muted);
}

.card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.practice-card,
.lawyer-card,
.case-card,
.article-card,
.info-card,
.service-card,
.panel,
.list-card {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.practice-card,
.lawyer-card,
.case-card,
.article-card,
.info-card,
.service-card {
    padding: 26px;
}

.service-section {
    background:
        linear-gradient(180deg, #fbfaf7 0%, #f1ece2 100%);
}

.service-head {
    margin-bottom: 36px;
}

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

.service-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,245,238,0.96));
}

.service-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(198,165,106,0.18), rgba(198,165,106,0));
}

.service-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(14, 35, 64, 0.08);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.service-card h3 {
    margin: 18px 0 12px;
    font-size: 28px;
    line-height: 1.2;
    color: var(--navy);
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

.service-result {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #8b6a31;
    font-weight: 700;
}

.service-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.service-link {
    color: var(--navy);
    font-weight: 700;
}

.article-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.article-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 700;
    transition: all 0.18s ease;
}

.article-filter-chip:hover,
.article-filter-chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.article-list {
    display: grid;
    gap: 18px;
}

.article-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 28px;
    align-items: center;
    padding: 26px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-row-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.article-row-date {
    color: var(--muted);
    font-size: 14px;
}

.article-row-title {
    margin: 14px 0 10px;
    font-size: 28px;
    line-height: 1.25;
    color: var(--navy);
}

.article-row-title a:hover {
    color: #8b6a31;
}

.article-row-summary {
    margin: 0;
    color: var(--muted);
}

.article-row-side {
    display: grid;
    gap: 14px;
    justify-items: end;
}

.article-row-author {
    color: var(--navy);
    font-weight: 700;
}

.article-row-button {
    min-width: 120px;
    color: #0e2340;
    border-color: #c6a56a;
    background: #fff;
}

.article-empty {
    padding: 34px 28px;
    text-align: center;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(198, 165, 106, 0.16);
    color: #8b6a31;
    font-size: 13px;
    font-weight: 700;
}

.card-title {
    margin: 16px 0 10px;
    font-size: 22px;
    color: var(--navy);
}

.card-desc {
    color: var(--muted);
    margin: 0;
}

.card-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--navy);
    font-weight: 700;
}

.panel {
    padding: 32px;
}

.two-column {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
}

.feature-list,
.plain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li,
.plain-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
}

.feature-list li::before,
.plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
}

.page-hero {
    background:
        linear-gradient(160deg, rgba(9, 24, 45, 0.96), rgba(14, 35, 64, 0.9)),
        linear-gradient(90deg, rgba(198, 165, 106, 0.08), rgba(255, 255, 255, 0));
    color: var(--white);
    padding: 72px 0 54px;
}

.page-title {
    font-size: clamp(30px, 4vw, 46px);
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.content-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.sidebar-stack {
    display: grid;
    gap: 18px;
}

.list-card {
    padding: 22px;
}

.list-card h3 {
    margin: 0 0 14px;
    color: var(--navy);
}

.simple-links {
    display: grid;
    gap: 12px;
}

.simple-links a {
    color: var(--ink);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.simple-links a:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.detail-content {
    display: grid;
    gap: 22px;
}

.detail-content p {
    margin: 0;
    color: var(--muted);
}

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

.contact-box {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-box strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 20px;
}

.inquiry-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: var(--navy);
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    background: var(--white);
    color: var(--ink);
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.floating-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--navy);
    color: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 64px;
}

.footer-top {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
    margin: 0 0 12px;
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0 32px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .nav-list,
    .header-contact {
        display: none;
    }

    .mobile-nav {
        display: block;
        justify-self: end;
        color: var(--white);
    }

    .mobile-nav summary {
        list-style: none;
        cursor: pointer;
        padding: 10px 14px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-nav[open] .mobile-nav-panel {
        display: grid;
    }

    .mobile-nav-panel {
        display: none;
        position: absolute;
        right: 16px;
        top: 72px;
        width: min(280px, calc(100vw - 32px));
        background: var(--navy);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        padding: 14px;
        gap: 12px;
        box-shadow: var(--shadow);
    }

    .hero-grid,
    .two-column,
    .content-grid,
    .contact-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .article-row {
        grid-template-columns: 1fr;
    }

    .article-row-side {
        justify-items: start;
    }

    .card-grid.cols-3,
    .card-grid.cols-4,
    .metric-grid,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .hero-section {
        padding: 72px 0 58px;
    }

    .section {
        padding: 64px 0;
    }

    .header-bar {
        min-height: 74px;
    }

    .brand-mark strong {
        font-size: 18px;
    }

    .form-row,
    .card-grid.cols-3,
    .card-grid.cols-4,
    .metric-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .article-row {
        padding: 22px 20px;
        gap: 18px;
    }

    .article-row-title {
        font-size: 22px;
    }

    .section-head,
    .footer-bottom {
        display: grid;
    }

    .floating-cta {
        left: 16px;
        right: 16px;
        justify-content: center;
    }
}
