/* ============================================================
   内页通用专属样式
   ============================================================ */

/* ---------- 协会简介布局 ---------- */
.intro-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 50px;
    align-items: start;
}

.intro-visual {
    position: relative;
}

.intro-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

.intro-badge strong {
    display: block;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
}

.intro-badge span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.intro-quote {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 26px 24px;
    text-align: center;
    border: 1px dashed var(--border);
}

.intro-quote .motto {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.intro-quote .sub {
    font-size: 12px;
    color: var(--text-lighter);
    letter-spacing: 1px;
}

.intro-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2.1;
    text-align: justify;
    margin-bottom: 16px;
}

.intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.intro-tags span {
    padding: 7px 18px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 500;
}

/* ---------- 组织架构图 ---------- */
.org-chart {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.org-top, .org-mid {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 14px 44px;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
}

.org-top span, .org-mid span, .org-cell span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0;
}

.org-line {
    width: 2px;
    height: 28px;
    background: var(--primary);
    margin: 0 auto;
    opacity: 0.35;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.org-cell {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    box-shadow: var(--shadow);
    min-width: 130px;
}

.org-cell span {
    color: var(--text-lighter);
}

.org-cell.blue { border-top: 3px solid #1a5fb4; }
.org-cell.teal { border-top: 3px solid #0d7377; }
.org-cell.gold { border-top: 3px solid #c9922e; }

/* ---------- 领导班子 ---------- */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.leader-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    display: flex;
    gap: 24px;
    align-items: center;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.leader-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    flex-shrink: 0;
}

.leader-avatar.blue { background: linear-gradient(135deg, #1a5fb4, #3d8be0); }
.leader-avatar.teal { background: linear-gradient(135deg, #0d7377, #2ba3a1); }
.leader-avatar.gold { background: linear-gradient(135deg, #9a6a1f, #d4a54a); }
.leader-avatar.dark { background: linear-gradient(135deg, #2c3e50, #4a627e); }

.leader-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
}

.leader-info .role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.leader-info p:last-child {
    font-size: 13.5px;
    color: var(--text-lighter);
    line-height: 1.7;
}

/* ---------- 时间线（党建活动） ---------- */
.timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, var(--red), #e8899a);
}

.timeline-item {
    position: relative;
    padding: 0 0 34px 26px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--red);
    z-index: 1;
}

.timeline-item .tl-date {
    display: inline-block;
    font-size: 12.5px;
    color: var(--red);
    background: var(--red-light);
    padding: 2px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    font-weight: 500;
}

.timeline-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-item h3:hover {
    color: var(--red);
}

.timeline-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.9;
}

/* ---------- 产业园 ---------- */
.park-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.park-feature {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    border-top: 3px solid var(--teal);
    transition: all 0.3s ease;
}

.park-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.park-feature .icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--teal-light);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.park-feature h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.park-feature p {
    font-size: 13.5px;
    color: var(--text-lighter);
    line-height: 1.8;
}

.park-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.park-stat {
    background: linear-gradient(135deg, #084e51 0%, #0d7377 100%);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    color: #fff;
}

.park-stat strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.park-stat strong small {
    font-size: 15px;
    font-weight: 500;
}

.park-stat p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- 研究报告列表 ---------- */
.report-item {
    display: flex;
    align-items: center;
    gap: 22px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 26px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.report-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-hover);
}

.report-icon {
    width: 58px;
    height: 72px;
    border-radius: 6px;
    background: var(--teal-light);
    color: var(--teal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.report-icon strong {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.report-icon span {
    font-size: 11px;
}

.report-body {
    flex: 1;
    min-width: 0;
}

.report-body h3 {
    font-size: 16.5px;
    font-weight: 600;
    margin-bottom: 5px;
}

.report-item:hover .report-body h3 {
    color: var(--teal);
}

.report-body p {
    font-size: 13.5px;
    color: var(--text-lighter);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-body .meta {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--text-lighter);
}

.report-body .meta span {
    margin-right: 18px;
}

.report-dl {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--teal);
    border: 1px solid var(--teal);
    padding: 7px 18px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.report-dl:hover {
    background: var(--teal);
    color: #fff;
}

/* ---------- 治理页 ---------- */
.law-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.law-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.law-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.law-badge {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.law-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.5;
}

.law-item p {
    font-size: 13px;
    color: var(--text-lighter);
    line-height: 1.7;
}

.report-channel {
    background: linear-gradient(135deg, #8f1628 0%, #c41e3a 100%);
    border-radius: var(--radius);
    color: #fff;
    padding: 44px 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    box-shadow: var(--shadow);
}

.report-channel .ch {
    text-align: center;
}

.report-channel .ch .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 14px;
}

.report-channel .ch h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.report-channel .ch p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.report-channel .ch strong {
    font-size: 18px;
    letter-spacing: 1px;
}

.report-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-lighter);
    margin-top: 22px;
    line-height: 1.8;
}

/* ---------- 会员服务 ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px 26px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-item.blue { border-bottom-color: #1a5fb4; }
.service-item.red { border-bottom-color: #c41e3a; }
.service-item.teal { border-bottom-color: #0d7377; }
.service-item.gold { border-bottom-color: #c9922e; }
.service-item.purple { border-bottom-color: #7a5ba8; }
.service-item.gray { border-bottom-color: #6b7280; }

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-item .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.service-item.blue .icon { background: linear-gradient(135deg, #1a5fb4, #3d8be0); }
.service-item.red .icon { background: linear-gradient(135deg, #a01730, #d9536a); }
.service-item.teal .icon { background: linear-gradient(135deg, #0d7377, #2ba3a1); }
.service-item.gold .icon { background: linear-gradient(135deg, #9a6a1f, #d4a54a); }
.service-item.purple .icon { background: linear-gradient(135deg, #5b3a8e, #8c66c9); }
.service-item.gray .icon { background: linear-gradient(135deg, #4b5563, #6b7280); }

.service-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 13.5px;
    color: var(--text-lighter);
    line-height: 1.8;
}

/* 入会流程 */
.join-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    counter-reset: step;
}

.join-step {
    text-align: center;
    position: relative;
    padding: 0 14px;
}

.join-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(26, 95, 180, 0.35);
}

.join-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 29px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--border);
}

.join-step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.join-step p {
    font-size: 13px;
    color: var(--text-lighter);
    line-height: 1.8;
}

/* ---------- 联系我们 ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 44px;
    align-items: start;
}

.contact-info .ci {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--border);
}

.contact-info .ci:last-child {
    border-bottom: none;
}

.ci-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    flex-shrink: 0;
}

.ci-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.ci-body p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px 36px;
}

.contact-form h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-dark);
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    color: var(--text-light);
    margin-bottom: 7px;
    font-weight: 500;
}

.form-group label .req {
    color: var(--red);
    margin-right: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background: #fbfcfe;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.12);
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.form-result {
    display: none;
    background: #eefaf0;
    border: 1px solid #b7e4c0;
    color: #22703a;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13.5px;
    margin-bottom: 18px;
}

/* ---------- 会员墙 ---------- */
.member-wall {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.member-logo {
    height: 88px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: default;
    text-align: center;
    line-height: 1.4;
    padding: 0 10px;
}

.member-logo.blue { background: linear-gradient(135deg, #1a5fb4, #3d8be0); }
.member-logo.teal { background: linear-gradient(135deg, #0d7377, #2ba3a1); }
.member-logo.gold { background: linear-gradient(135deg, #9a6a1f, #d4a54a); }
.member-logo.purple { background: linear-gradient(135deg, #5b3a8e, #8c66c9); }
.member-logo.red { background: linear-gradient(135deg, #a01730, #d9536a); }
.member-logo.dark { background: linear-gradient(135deg, #2c3e50, #4a627e); }
.member-logo.gray { background: linear-gradient(135deg, #4b5563, #6b7280); }

.member-logo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 1024px) {
    .member-wall {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .member-wall {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .intro-layout {
        grid-template-columns: 1fr;
    }

    .leader-grid,
    .law-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .park-features,
    .service-grid,
    .park-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-channel {
        grid-template-columns: 1fr;
        padding: 34px 26px;
    }

    .join-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }

    .join-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .park-features,
    .service-grid,
    .park-stats,
    .form-row {
        grid-template-columns: 1fr;
    }

    .report-item {
        flex-wrap: wrap;
    }

    .join-steps {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px 20px;
    }
}
