/**
 * 律师详情页 - 高级极简风格 (Editorial Minimalism)
 * Apple-style 杂志级排版，极致呼吸感
 */

/* ===========================================
   专属色彩系统与变量
   =========================================== */
:root {
    /* 专属色彩系统 */
    --primary-burgundy: #4a0d2b;
    --primary-burgundy-light: #8c1951;
    --accent-navy: #122179;

    /* Apple-style 高级灰阶与背景 */
    --bg-page: #ffffff;
    --bg-hero: #fbfbfd;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --border-light: rgba(0, 0, 0, 0.06);

    /* 呼吸感间距系统 */
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 120px;

    /* 字体栈：优先使用本机可用字体，避免特殊字体缺失后退回到浏览器默认样式 */
    --lawyer-font-sans: "Inter", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", Arial, sans-serif;
    --lawyer-font-serif: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", "Microsoft YaHei", serif;
    --lawyer-font-label: "Inter", "Avenir Next", "Century Gothic", "Segoe UI", Arial, sans-serif;
}

.lawyer-premium-page {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--lawyer-font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.lawyer-premium-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.lawyer-premium-page .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===========================================
   Hero 沉浸式头部
   =========================================== */
.premium-hero {
    background-color: var(--bg-hero);
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.premium-hero .hero-grid {
    width: 100%;
    height: 70vh;
    display: grid;
    grid-template-columns: 5fr 5fr;
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.hero-text-block {
    padding-bottom: var(--space-xl);
    padding-top: var(--space-xl);
}

.premium-hero .label {
    font-family: var(--lawyer-font-label);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-navy);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    display: block;
}

.premium-hero .lawyer-name {
    font-family: var(--lawyer-font-serif);
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 900;
    color: var(--primary-burgundy);
    line-height: 1.05;
    margin-bottom: var(--space-sm);
    letter-spacing: 0;
}

.premium-hero .lawyer-title {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.lawyer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-lg);
    font-size: 16px;
    letter-spacing: 0.02em;
}

.premium-hero .lawyer-email {
    font-weight: 400;
    color: var(--text-muted);
}

.premium-hero .lawyer-phone {
    font-weight: 400;
    color: var(--text-muted);
}

.contact-divider {
    color: var(--text-muted);
    font-size: 14px;
}

.premium-hero .practice-areas {
    display: flex;
    gap: 24px;
    margin-bottom: var(--space-lg);
}

.premium-hero .practice-areas span {
    font-size: 18px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 4px;
    transition: border-color 0.3s ease;
}

.premium-hero .practice-areas span:hover {
    border-color: var(--primary-burgundy);
}

.hero-image-block {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    object-position: bottom;
    width: 100%;
    min-height: 600px;
}

/* 背景极简水印 */
.bg-watermark {
    position: absolute;
    right: -5%;
    top: 10%;
    font-family: var(--lawyer-font-serif);
    font-size: 30vw;
    color: var(--primary-burgundy);
    opacity: 0.02;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
}

/* ===========================================
   杂志级正文排版
   =========================================== */
.premium-body {
    padding: 80px 0 0;
}

.editorial-row {
    display: grid;
    grid-template-columns: 3fr 9fr;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

.editorial-row:last-child {
    border-bottom: none;
}

.section-heading h3 {
    font-family: var(--lawyer-font-label);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-heading span {
    font-family: var(--lawyer-font-serif);
    font-size: 28px;
    color: var(--primary-burgundy);
}

.lead-paragraph {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
    color: var(--text-main);
    max-width: 800px;
}

/* 数据网格 */
.data-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.data-grid .data-item {
    width: 100%;
}

.data-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.data-key {
    font-family: var(--lawyer-font-sans);
    font-size: 13px;
    color: var(--text-muted);
}

.data-value {
    font-family: var(--lawyer-font-serif);
    font-size: 22px;
    color: var(--text-main);
}

/* 干净列表 */
.clean-list {
    list-style: none;
    column-count: 2;
    column-gap: var(--space-lg);
}

.clean-list li {
    position: relative;
    padding-left: 0;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-main);
    break-inside: avoid;
}

.clean-list li::before {
    content: none;
}

/* ===========================================
   响应式适配
   =========================================== */
@media (max-width: 992px) {
    .premium-hero {
        align-items: center;
    }
    .premium-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    .hero-text-block {
        padding-bottom: 40px;
        padding-top: 80px;
    }
    .premium-hero .practice-areas {
        justify-content: center;
    }
    .hero-image-block {
        justify-content: center;
    }
    .bg-watermark {
        font-size: 60vw;
        top: 20%;
        right: 50%;
        transform: translateX(50%);
    }
    .editorial-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .data-grid {
        grid-template-columns: 1fr;
    }
    .clean-list {
        column-count: 1;
    }
}

@media (max-width: 768px) {
    .lawyer-premium-page .container {
        padding: 0 20px;
    }

    .premium-hero {
        min-height: auto;
        padding: 52px 0 0;
        align-items: stretch;
    }

    .premium-hero .hero-grid {
        height: auto;
        min-height: auto;
        gap: 24px;
        text-align: left;
    }

    .hero-text-block {
        padding: 0;
    }

    .premium-hero .label {
        font-size: 11px;
        margin-bottom: 18px;
    }

    .premium-hero .lawyer-name {
        font-size: clamp(40px, 13vw, 56px);
        line-height: 1.12;
        margin-bottom: 12px;
    }

    .premium-hero .lawyer-title {
        font-size: 18px;
    }

    .lawyer-contact {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px 10px;
        margin-bottom: 28px;
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .premium-hero .practice-areas {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 0;
    }

    .premium-hero .practice-areas span {
        padding: 6px 10px;
        border: 1px solid var(--border-light);
        border-radius: 999px;
        font-size: 14px;
        background: #fff;
    }

    .hero-image-block {
        justify-content: center;
        align-items: flex-end;
        min-height: 280px;
    }

    .hero-img {
        width: min(78vw, 320px);
        min-height: 0;
        max-height: 420px;
    }

    .bg-watermark {
        font-size: 64vw;
        top: 28%;
        opacity: 0.025;
    }

    .premium-body {
        padding: 0;
    }

    .editorial-row {
        padding: 42px 0;
        gap: 18px;
    }

    .section-heading span {
        font-size: 24px;
    }

    .lead-paragraph {
        font-size: 16px;
        line-height: 1.85;
    }

    .data-grid {
        gap: 24px;
    }

    .data-value {
        font-size: 18px;
        line-height: 1.65;
    }

    .clean-list li {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 12px;
    }

    .back-to-list {
        padding: 42px 20px;
    }

    .btn-back,
    .btn-premium {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .not-found-number {
        font-size: 86px;
        margin-bottom: -28px;
    }

    .not-found-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 420px) {
    .premium-hero {
        padding-top: 42px;
    }

    .premium-hero .lawyer-name {
        font-size: clamp(36px, 13vw, 50px);
    }

    .hero-image-block {
        min-height: 250px;
    }

    .hero-img {
        width: min(82vw, 290px);
        max-height: 370px;
    }
}

/* ===========================================
   返回按钮
   =========================================== */
.back-to-list {
    padding: var(--space-lg) 0;
    display: flex;
    justify-content: center;
    background-color: var(--bg-page);
    border-top: 1px solid var(--border-light);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: var(--primary-burgundy-light);
    border: 1px solid var(--primary-burgundy-light);
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-back:hover {
    background-color: var(--primary-burgundy);
    border-color: var(--primary-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 13, 43, 0.3);
}

.btn-back svg {
    transition: transform 0.3s ease;
}

.btn-back:hover svg {
    transform: translateX(-4px);
}

/* ===========================================
   404 页面
   =========================================== */
.premium-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-hero);
}

.not-found-content {
    text-align: center;
}

.not-found-number {
    font-family: var(--lawyer-font-serif);
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-burgundy);
    opacity: 0.1;
    line-height: 1;
    display: block;
    margin-bottom: -40px;
}

.not-found-content h2 {
    font-family: var(--lawyer-font-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 16px 0;
}

.not-found-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 30px 0;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--primary-burgundy);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    background: var(--primary-burgundy-light);
    transform: translateY(-2px);
}
