/* 全局基础：浅灰大气主页，无大块黑色背景 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans SC", system-ui, -apple-system, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.75;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.1rem;
    color: #222;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.line-div {
    width: 72px;
    height: 2px;
    background: #b89c68;
    margin: 0 auto 64px;
}

.mb-20 {
    margin-bottom: 84px;
}

/* 头部Banner：浅灰背景，不使用大块黑色 */
.header-banner {
    width: 100%;
    min-height: 700px;
    background-color: #fff;
    background-image: none;
    display: flex;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid #e8e8e8;
}

.banner-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 70px;
}

.banner-img {
    width: 330px;
    flex-shrink: 0;
}

.banner-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    border: 3px solid rgba(184, 156, 104, 0.25);
}

.banner-text {
    flex: 1;
    color: #222;
}

.banner-text .tag-small {
    font-size: 17px;
    color: #777;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.banner-text h1 {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #b89c68;
}

.banner-text h2 {
    font-size: 23px;
    font-weight: 400;
    color: #444;
    margin-bottom: 32px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 42px;
}

.tag-list span {
    padding: 7px 20px;
    border: 1px solid rgba(184, 156, 104, 0.35);
    border-radius: 2px;
    font-size: 14px;
    color: #b89c68;
    background: rgba(184, 156, 104, 0.08);
}

.btn-group a {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 2px;
    margin-right: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-white {
    background: #b89c68;
    color: #fff;
}

.btn-white:hover {
    background: #c8aa75;
}

.btn-outline {
    border: 1px solid #b89c68;
    color: #b89c68;
}

.btn-outline:hover {
    background: rgba(184, 156, 104, 0.08);
}

/* 卡片通用：白底浅灰阴影，律所官网质感 */
.card {
    background: #ffffff;
    padding: 44px;
    border-radius: 2px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.card-item {
    padding: 32px;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.09);
}

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(184, 156, 104, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.card-icon i {
    font-size: 24px;
    color: #b89c68;
}

.card-item h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* 时间轴履历：金色线条，浅灰背景 */
.timeline {
    border-left: 2px solid #b89c68;
    padding-left: 38px;
    position: relative;
}

.timeline-item {
    margin-bottom: 42px;
    position: relative;
}

.timeline-item::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #b89c68;
    border-radius: 50%;
    position: absolute;
    left: -44px;
    top: 7px;
}

.timeline-item h4 {
    font-size: 20px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-item p {
    color: #555;
}

/* 联系板块：浅灰白底，不再使用黑色大块背景 */
.contact-wrap {
    background: #ffffff;
    color: #222;
    padding: 44px;
    border-radius: 2px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    border: 1px solid #eee;
}

.contact-box i {
    font-size: 30px;
    margin-bottom: 18px;
    width: 66px;
    height: 66px;
    line-height: 66px;
    border-radius: 50%;
    background: rgba(184, 156, 104, 0.1);
    display: inline-block;
    color: #b89c68;
}

.contact-box h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #222;
    font-weight: 500;
}

.contact-box p {
    color: #555;
}

/* 页脚：浅灰底，克制分隔 */
footer {
    background: #fff;
    color: #777;
    padding: 52px 0;
    text-align: center;
    margin-top: 100px;
    border-top: 1px solid #e8e8e8;
}

footer p {
    font-size: 14px;
}

footer p:last-child {
    font-size: 13px;
    margin-top: 10px;
    color: #666;
}

/* 移动端适配 */
@media screen and (max-width: 992px) {
    .banner-wrap {
        flex-direction: column;
        text-align: center;
    }

    .banner-img {
        width: 270px;
    }

    .banner-text h1 {
        font-size: 2.7rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .btn-group a {
        display: block;
        margin-bottom: 14px;
        margin-right: 0;
    }
}