/* ========== 合作与招聘 详情页 ========== */

/* Hero */
.cp-hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cp-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 16, 9, 0.55), rgba(12, 16, 9, 0.3));
    pointer-events: none;
}

.cp-hero-text {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.cp-hero-title {
    font-family: 'Ma Shan Zheng', 'Noto Sans SC', serif;
    font-size: 48px;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.cp-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

/* 通用 section */
.cp-section {
    padding: 90px 0;
}

.cp-section-head {
    margin-bottom: 48px;
}

/* 企业合作 三栏 */
.cp-corp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cp-corp-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cp-corp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20, 24, 15, 0.1);
}

.cp-corp-img {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.cp-corp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cp-corp-card:hover .cp-corp-img img {
    transform: scale(1.05);
}

.cp-corp-body {
    padding: 26px 28px 28px;
}

.cp-corp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(200, 245, 66, 0.16);
    color: var(--lime-deep);
    margin-bottom: 16px;
}

.cp-corp-icon svg {
    width: 22px;
    height: 22px;
}

.cp-corp-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.cp-corp-body > p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cp-corp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}

.cp-corp-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.cp-corp-list li::before {
    content: '';
    flex-shrink: 0;
    margin-top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime-deep);
}

/* 合作流程 */
.cp-flow {
    background: var(--bg-soft);
}

.cp-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.cp-flow-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 26px 22px;
    position: relative;
    transition: all 0.3s;
}

.cp-flow-step:hover {
    border-color: var(--lime-deep);
}

.cp-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--lime);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.cp-flow-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.cp-flow-step p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* 加入我们 */
.cp-jobs {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

/* 岗位列表 */
.cp-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cp-job {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s;
}

.cp-job:hover {
    border-color: var(--lime-deep);
    transform: translateX(4px);
}

.cp-job-title h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.cp-job-title small {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.cp-job-tag {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    white-space: nowrap;
}

.cp-job-loc,
.cp-job-type {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp-job-loc svg,
.cp-job-type svg {
    width: 13px;
    height: 13px;
    color: var(--lime-deep);
}

/* 团队文化侧栏 */
.cp-culture {
    background: var(--bg-dark);
    color: #fff;
    padding: 36px 32px;
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

.cp-culture-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--lime);
    margin-bottom: 12px;
}

.cp-culture h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.cp-culture > p {
    font-size: 13px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.cp-culture-values {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cp-culture-values li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.cp-culture-values li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--lime);
    margin-top: 2px;
}

/* 简历投递 */
.cp-resume {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
}

.cp-resume-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}

.cp-resume-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--lime);
    text-decoration: none;
    letter-spacing: 1px;
    word-break: break-all;
    transition: opacity 0.3s;
}

.cp-resume-email:hover {
    opacity: 0.85;
}

.cp-resume-email svg {
    width: 18px;
    height: 18px;
}

.cp-resume-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 10px;
    line-height: 1.7;
}

/* CTA */
.cp-cta {
    background: var(--bg-dark);
    padding: 70px 0;
}

.cp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cp-cta-text h2 {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.cp-cta-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式 */
@media (max-width: 1024px) {
    .cp-section {
        padding: 70px 0;
    }

    .cp-corp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-jobs {
        grid-template-columns: 1fr;
    }

    .cp-culture {
        position: static;
    }

    .cp-job {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cp-job-tag,
    .cp-job-loc,
    .cp-job-type {
        justify-self: start;
    }

    .cp-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cp-hero {
        height: 240px;
    }

    .cp-hero-title {
        font-size: 36px;
    }

    .cp-section {
        padding: 56px 0;
    }

    .cp-corp-grid {
        grid-template-columns: 1fr;
    }

    .cp-flow-grid {
        grid-template-columns: 1fr;
    }

    .cp-cta-text h2 {
        font-size: 22px;
    }

    .cp-cta .btn-lime {
        width: 100%;
        justify-content: center;
    }

    .cp-culture {
        padding: 28px 24px;
    }
}
