/* ========== 平台资质公示 - 页面样式 ========== */

/* --- Hero Banner --- */
.zy-qualification-page .zy-qual-hero {
    background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 40%, #1e4976 70%, #1a3a5c 100%);
    padding: 80px 0 68px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.zy-qualification-page .zy-qual-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
}
.zy-qualification-page .zy-qual-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -50px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 50%;
}
.zy-qual-hero .zy-qual-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 3px;
    position: relative;
}
.zy-qual-hero .zy-qual-desc {
    font-size: 16px;
    opacity: 0.8;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
}

/* --- Container --- */
.zy-qual-container {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #f9fafb;
}

/* --- Section Header --- */
.zy-qual-section {
    margin-bottom: 56px;
}
.zy-qual-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8ecf2;
    position: relative;
}
.zy-qual-section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2c6faa, #4a9fd8);
    border-radius: 2px;
}
.zy-qual-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #eaf2fa, #dce8f5);
    border-radius: 10px;
    font-size: 18px;
    color: #2c6faa;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(44,111,170,.1);
}
.zy-qual-section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0;
    flex: 1;
    letter-spacing: 1px;
}
.zy-qual-section-count {
    font-size: 12px;
    color: #2c6faa;
    background: linear-gradient(135deg, #eaf2fa, #dce8f5);
    padding: 5px 16px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: .5px;
}

/* --- Section Note --- */
.zy-qual-section-note {
    font-size: 13px;
    color: #8a7230;
    background: linear-gradient(135deg, #fffdf5, #fdf8e8);
    border: 1px solid #f0e4b8;
    border-radius: 8px;
    padding: 12px 18px;
    margin: -4px 0 24px;
    line-height: 1.6;
}
.zy-qual-section-note .fa {
    color: #c9a030;
    margin-right: 5px;
}

/* --- Cards Grid --- */
.zy-qual-list {
    margin-left: -12px;
    margin-right: -12px;
}
.zy-qual-list > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
}

/* --- Card --- */
.zy-qual-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all .35s cubic-bezier(.25,.46,.45,.94);
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    border: 1px solid #eef1f6;
}
.zy-qual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(26,58,92,.12);
    border-color: #c4d8ec;
}

/* --- Card Image Area --- */
.zy-qual-card-img {
    position: relative;
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #f4f6f9 0%, #eef1f6 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.zy-qual-card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    border-radius: 2px;
}
.zy-qual-card:hover .zy-qual-card-img img {
    transform: scale(1.06);
}

/* --- Card Overlay --- */
.zy-qual-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26,58,92,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 1;
}
.zy-qual-card-overlay span {
    color: #fff;
    font-size: 14px;
    border: 1.5px solid rgba(255,255,255,.8);
    padding: 8px 22px;
    border-radius: 6px;
    letter-spacing: 1px;
    font-weight: 500;
}
.zy-qual-card:hover .zy-qual-card-overlay {
    opacity: 1;
}

/* --- Card Body --- */
.zy-qual-card-body {
    padding: 16px 18px 18px;
    border-top: 1px solid #f4f6f9;
    background: #fff;
}
.zy-qual-card-body h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a3a5c;
    margin: 0 0 8px;
    letter-spacing: .3px;
}
.zy-qual-card-tag {
    font-size: 11px;
    color: #2c6faa;
    margin: 0;
    background: #eaf2fa;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 10px;
    font-weight: 500;
}

/* --- Statement --- */
.zy-qual-statement {
    background: linear-gradient(135deg, #f8fafc 0%, #eef3f9 100%);
    border-left: 4px solid #2c6faa;
    border-radius: 8px;
    padding: 24px 30px;
    margin-top: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,.03);
}
.zy-qual-statement h4 {
    font-size: 16px;
    color: #1a3a5c;
    margin: 0 0 10px;
    font-weight: 600;
}
.zy-qual-statement h4 .fa {
    color: #2c6faa;
    margin-right: 6px;
}
.zy-qual-statement p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* --- Lightbox --- */
.zy-qual-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.zy-qual-lightbox.active {
    display: flex;
}
.zy-qual-lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    text-align: center;
    animation: zyQualFadeIn .3s ease;
}
@keyframes zyQualFadeIn {
    from { opacity: 0; transform: scale(.94); }
    to   { opacity: 1; transform: scale(1); }
}
.zy-qual-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 12px 60px rgba(0,0,0,.5);
    background: #fff;
}
.zy-qual-lightbox-content p {
    color: #ccc;
    font-size: 15px;
    margin-top: 18px;
    letter-spacing: 1px;
}
.zy-qual-lightbox-close {
    position: absolute;
    top: 28px;
    right: 40px;
    font-size: 44px;
    color: #888;
    cursor: pointer;
    transition: color .25s;
    z-index: 1;
    line-height: 1;
}
.zy-qual-lightbox-close:hover {
    color: #fff;
}
.zy-qual-lightbox-prev,
.zy-qual-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #888;
    cursor: pointer;
    padding: 18px 14px;
    user-select: none;
    transition: color .25s;
    z-index: 1;
}
.zy-qual-lightbox-prev:hover,
.zy-qual-lightbox-next:hover {
    color: #fff;
}
.zy-qual-lightbox-prev {
    left: 20px;
}
.zy-qual-lightbox-next {
    right: 20px;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .zy-qual-hero {
        padding: 44px 0 38px;
    }
    .zy-qual-hero .zy-qual-title {
        font-size: 26px;
        letter-spacing: 2px;
    }
    .zy-qual-hero .zy-qual-desc {
        font-size: 13px;
    }
    .zy-qual-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .zy-qual-section-header h2 {
        font-size: 18px;
    }
    .zy-qual-card-img {
        height: 220px;
        padding: 8px;
    }
    .zy-qual-card-body {
        padding: 12px 14px 14px;
    }
    .zy-qual-card-body h4 {
        font-size: 13px;
    }
    .zy-qual-card-tag {
        font-size: 10px;
        padding: 2px 10px;
    }
    .zy-qual-lightbox-prev,
    .zy-qual-lightbox-next {
        font-size: 28px;
        padding: 10px 8px;
    }
    .zy-qual-lightbox-close {
        top: 12px;
        right: 16px;
        font-size: 32px;
    }
}
