/* ===========================================
   生态伙伴页面专用样式（扁平科技插画风）
   =========================================== */

/* ---------- 通用 section ---------- */
.partner-section {
    padding: 80px 0;
    background: #fff;
    scroll-margin-top: 100px; /* 锚点偏移：避开固定导航栏 */
}
.partner-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 12px;
    letter-spacing: 2px;
}
.section-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0 0 56px;
    line-height: 1.7;
}

/* ---------- Banner ---------- */
/* PC 端全屏 Banner：宽度铺满，高度占满整个视口，无黑边 */
.partner-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #12313d; /* 兜底背景色，图片优先通过后台栏目配置 */
    color: #fff;
}
.partner-banner-mask {
    position: absolute;
    inset: 0;
    background: rgba(9, 26, 34, 0.38);
}
.partner-banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.partner-banner-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 18px;
    letter-spacing: 5px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.4);
}
.partner-banner-subtitle {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 28px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.partner-banner-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    color: rgba(255, 255, 255, 0.93);
    margin: 0 0 40px;
    max-width: 940px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.partner-banner-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 36px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.btn-primary {
    background: #f59f00;
    color: #fff;
}
.btn-primary:hover {
    background: #e08c00;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.btn-primary:disabled {
    background: #aaa;
    cursor: not-allowed;
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* ---------- 合作伙伴生态（logo 墙） ---------- */
.partner-ecosystem {
    background: #f8fafc;
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}
.logo-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.25s ease;
}
.logo-card:hover {
    border-color: #ddd;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}
.logo-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 8px;
}
.logo-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

/* ---------- 伙伴类型（3 卡片） ---------- */
.type-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.type-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.type-card:hover {
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}
.type-card-img {
    height: 190px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a5f6e;
}
.type-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.type-card:hover .type-card-img img {
    transform: scale(1.05);
}
.type-card-content {
    padding: 26px 26px 30px;
}
.type-card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    position: relative;
    padding-left: 14px;
}
.type-card-content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: #2a8c95;
    border-radius: 2px;
}
.type-card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ---------- 合作咨询（电话联系） ---------- */
.partner-apply {
    background: #fff;
}
.contact-card {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    padding: 52px 36px 56px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
}
.contact-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #1a5f6e 0%, #2a8c95 100%);
}
.contact-label {
    font-size: 16px;
    color: #666;
    letter-spacing: 2px;
    margin: 0 0 12px;
}
.contact-phone {
    display: inline-block;
    font-size: 42px;
    font-weight: 700;
    color: #1a5f6e;
    letter-spacing: 2px;
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.25s ease;
}
.contact-phone:hover {
    color: #2a8c95;
    text-decoration: none;
}
.contact-desc {
    max-width: 560px;
    margin: 18px auto 0;
    font-size: 15px;
    line-height: 1.9;
    color: #888;
}

/* ---------- FAQ ---------- */
.partner-faq {
    max-width: 920px;
    margin: 60px auto 0;
}
.faq-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 36px;
    letter-spacing: 2px;
}
.faq-list {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 16px 32px;
}
.faq-item {
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}
.faq-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    line-height: 24px;
    text-align: center;
    background: #2a8c95;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}
.faq-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    padding-left: 38px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1400px) {
    .partner-banner-title { font-size: 50px; }
    .partner-banner-subtitle { font-size: 23px; letter-spacing: 6px; }
    .partner-banner-desc { font-size: 17px; }
}
@media (max-width: 992px) {
    .partner-banner-title { font-size: 38px; letter-spacing: 3px; }
    .partner-banner-subtitle { font-size: 19px; letter-spacing: 4px; margin-bottom: 20px; }
    .partner-banner-desc { font-size: 15px; margin-bottom: 30px; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .type-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .partner-section { padding: 56px 0; }
    .section-title { font-size: 26px; }
    .section-desc { margin-bottom: 36px; }
    /* 手机端竖屏：适当降低高度，避免文案溢出 */
	    .partner-banner { height: 80vh; min-height: 500px; }
    .partner-banner-title { font-size: 28px; letter-spacing: 2px; margin-bottom: 12px; }
    .partner-banner-subtitle { font-size: 16px; letter-spacing: 3px; margin-bottom: 16px; }
    .partner-banner-desc { font-size: 14px; margin-bottom: 24px; }
    .logo-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-card { padding: 36px 24px 40px; }
    .contact-phone { font-size: 30px; letter-spacing: 1px; }
    .contact-desc { font-size: 14px; }
    .faq-list { padding: 8px 20px; }
}