/* ===== 资质荣誉页 - 现代化样式 ===== */

/* 面包屑 */
.honors-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    color: rgba(255,255,255,.6);
    font-size: 14px;
}
.honors-breadcrumb a { color: rgba(255,255,255,.7); transition: color .25s ease; }
.honors-breadcrumb a:hover { color: #fff; }
.honors-breadcrumb span { color: rgba(255,255,255,.9); font-weight: 600; }

/* Hero */
.honors-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    color: #fff;
    padding: 40px 0 70px;
    overflow: hidden;
    position: relative;
}
.honors-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
            repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0px, rgba(255,255,255,.015) 1px, transparent 1px, transparent 60px),
            repeating-linear-gradient(0deg, rgba(255,255,255,.01) 0px, rgba(255,255,255,.01) 1px, transparent 1px, transparent 60px);
}
.honors-hero-inner {
    display: flex;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 1;
}
.honors-hero-visual {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}
.hhv-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(108,196,255,.15);
}
.hhv-ring-1 { width: 200px; height: 200px; animation: hhvSpin 20s linear infinite; }
.hhv-ring-2 { width: 150px; height: 150px; animation: hhvSpin 15s linear infinite reverse; border-color: rgba(47,125,246,.2); }
.hhv-ring-3 { width: 100px; height: 100px; animation: hhvSpin 10s linear infinite; border-color: rgba(108,196,255,.25); }
.hhv-ring-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-2, #6cc4ff);
    top: -4px; left: 50%; transform: translateX(-50%);
}
@keyframes hhvSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hhv-icon {
    position: relative;
    z-index: 2;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(47,125,246,.15);
    display: grid;
    place-items: center;
    border: 1px solid rgba(47,125,246,.3);
    animation: hhvFloat 3s ease-in-out infinite;
}
@keyframes hhvFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.honors-hero-tag {
    font-size: 12px;
    letter-spacing: 3px;
    opacity: 0.7;
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 14px;
    border: 1px solid rgba(108,196,255,.3);
    border-radius: 999px;
    color: var(--accent-2, #6cc4ff);
}
.honors-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    font-weight: 800;
}
.honors-hero-content > p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 560px;
    font-size: .95rem;
}
.honors-hero-stats { display: flex; gap: 36px; }
.hhs-item { display: flex; flex-direction: column; }
.hhs-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-2, #6cc4ff);
    line-height: 1;
}
.hhs-label {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
    letter-spacing: .05em;
}

/* 统计条 */
.honors-stats-bar {
    background: #fff;
    margin-top: -36px;
    position: relative;
    z-index: 5;
    border-radius: 18px;
    box-shadow: 0 10px 50px rgba(2,13,38,.1);
    border: 1px solid rgba(15,23,42,.06);
    overflow: hidden;
}
.hs-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hs-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    position: relative;
    transition: all .3s ease;
}
.hs-item::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; height: 60%; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(15,23,42,.08), transparent);
}
.hs-item:last-child::after { display: none; }
.hs-item:hover { background: rgba(47,125,246,.03); }
.hs-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(47,125,246,.08);
    color: var(--accent, #2f7df6);
    flex-shrink: 0;
    transition: all .3s ease;
}
.hs-item:hover .hs-icon {
    background: linear-gradient(135deg, var(--accent, #2f7df6), #6cc4ff);
    color: #fff;
    transform: scale(1.08) rotate(-5deg);
}
.hs-text { display: flex; flex-direction: column; }
.hs-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary, #0f172a);
    line-height: 1;
}
.hs-num span {
    font-size: .9rem;
    font-weight: 600;
    color: var(--accent, #2f7df6);
    margin-left: 2px;
}
.hs-label {
    font-size: .82rem;
    color: var(--muted, #6b7280);
    margin-top: 4px;
}

/* 证书展示区 */
.honors-gallery-section {
    padding: 80px 0;
    background: #f8fafc;
}
.honors-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}
.hgh-en {
    display: block;
    font-size: .78rem;
    letter-spacing: .3em;
    color: var(--accent, #2f7df6);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.honors-gallery-header h2 {
    font-size: 2rem;
    margin: 0 0 14px;
    color: var(--primary, #0f172a);
    font-weight: 800;
}
.hgh-line {
    width: 48px; height: 3px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent, #2f7df6), var(--accent-2, #6cc4ff));
}
.honors-gallery-header p {
    color: var(--muted, #6b7280);
    margin: 0;
    font-size: .95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 筛选标签 */
.cert-filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.cert-filter-btn {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(15,23,42,.1);
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: .88rem;
    color: var(--muted, #6b7280);
    transition: all .3s ease;
}
.cert-filter-btn:hover {
    border-color: rgba(47,125,246,.3);
    color: var(--accent, #2f7df6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47,125,246,.1);
}
.cert-filter-btn.active {
    background: linear-gradient(135deg, var(--accent, #2f7df6), #1a5fd4);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(47,125,246,.3);
}

/* 证书网格 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cert-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.06);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px);
}
.cert-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(2,13,38,.12);
    border-color: rgba(47,125,246,.2);
}
.cert-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.cert-card-img-inner {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.cert-card:hover .cert-card-img-inner {
    transform: scale(1.05);
}
.cert-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
}
.cert-card:hover .cert-card-overlay { opacity: 1; }
.cert-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    padding: 10px 22px;
    border: 1.5px solid rgba(255,255,255,.8);
    border-radius: 999px;
    transform: translateY(10px);
    transition: transform .35s ease;
}
.cert-card:hover .cert-view-btn { transform: translateY(0); }
.cert-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.cert-card-badge.intl {
    background: linear-gradient(135deg, var(--accent, #2f7df6), var(--accent-2, #6cc4ff));
    color: #fff;
}
.cert-card-badge.domestic {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
}
.cert-card-badge.industry {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
}
.cert-card-body {
    padding: 20px;
}
.cert-card-body h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--primary, #0f172a);
    font-weight: 700;
    transition: color .3s ease;
}
.cert-card:hover .cert-card-body h4 { color: var(--accent, #2f7df6); }
.cert-card-body p {
    margin: 0;
    font-size: .84rem;
    color: var(--muted, #6b7280);
    line-height: 1.6;
}
.cert-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid rgba(15,23,42,.06);
}
.cert-card-year {
    font-size: .78rem;
    color: var(--muted, #6b7280);
    font-weight: 600;
}
.cert-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent, #2f7df6);
    transition: all .25s ease;
}
.cert-card-link:hover { gap: 8px; }

/* 灯箱 */
.cert-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
}
.cert-lightbox.show {
    opacity: 1;
    visibility: visible;
}
.cert-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.15);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .3s ease;
    z-index: 2;
}
.cert-lightbox-close:hover {
    background: rgba(255,255,255,.3);
    transform: rotate(90deg) scale(1.1);
}
.cert-lightbox-content {
    max-width: 70vw;
    max-height: 80vh;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    display: grid;
    place-items: center;
    transform: scale(.9);
    transition: transform .35s ease;
    overflow: auto;
}
.cert-lightbox.show .cert-lightbox-content {
    transform: scale(1);
}

/* 荣誉时间线 */
.honors-timeline-section {
    padding: 80px 0;
    background: #fff;
}
.honors-timeline-header {
    text-align: center;
    margin-bottom: 56px;
}
.honors-timeline-header h2 {
    font-size: 2rem;
    margin: 0 0 14px;
    color: var(--primary, #0f172a);
    font-weight: 800;
}
.hth-line {
    width: 48px; height: 3px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent, #2f7df6), var(--accent-2, #6cc4ff));
}
.honors-timeline-header p {
    color: var(--muted, #6b7280);
    margin: 0;
    font-size: .95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent, #2f7df6), var(--accent-2, #6cc4ff), var(--accent, #2f7df6));
    transform: translateX(-50%);
    opacity: .2;
}
.tl-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.tl-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.tl-item:nth-child(odd) .tl-content { grid-column: 1; text-align: right; }
.tl-item:nth-child(odd) .tl-node { grid-column: 2; }
.tl-item:nth-child(odd) .tl-badge { grid-column: 3; }
.tl-item:nth-child(even) .tl-badge { grid-column: 1; }
.tl-item:nth-child(even) .tl-node { grid-column: 2; }
.tl-item:nth-child(even) .tl-content { grid-column: 3; text-align: left; }

.tl-node {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.tl-node-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent, #2f7df6), var(--accent-2, #6cc4ff));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .88rem;
    box-shadow: 0 6px 24px rgba(47,125,246,.3);
    transition: all .3s ease;
}
.tl-item:hover .tl-node-inner {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(47,125,246,.45);
}
.tl-content {
    padding: 22px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: 0 4px 20px rgba(2,13,38,.06);
    transition: all .3s ease;
}
.tl-item:hover .tl-content {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(2,13,38,.1);
    border-color: rgba(47,125,246,.15);
}
.tl-content h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--primary, #0f172a);
    font-weight: 700;
}
.tl-content p {
    margin: 0;
    font-size: .85rem;
    color: var(--muted, #6b7280);
    line-height: 1.7;
}
.tl-badge {
    display: flex;
    justify-content: center;
    align-items: center;
}
.tl-year-badge {
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(47,125,246,.08);
    color: var(--accent, #2f7df6);
    font-weight: 700;
    font-size: .88rem;
    border: 1px solid rgba(47,125,246,.15);
    transition: all .3s ease;
}
.tl-item:hover .tl-year-badge {
    background: rgba(47,125,246,.12);
    transform: scale(1.05);
}

/* 品质承诺 */
.honors-promise-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}
.honors-promise-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
            repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0px, rgba(255,255,255,.015) 1px, transparent 1px, transparent 60px),
            repeating-linear-gradient(0deg, rgba(255,255,255,.01) 0px, rgba(255,255,255,.01) 1px, transparent 1px, transparent 60px);
}
.honors-promise-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}
.honors-promise-header h2 {
    font-size: 2rem;
    margin: 0 0 14px;
    color: #fff;
    font-weight: 800;
}
.hph-line {
    width: 48px; height: 3px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent, #2f7df6), var(--accent-2, #6cc4ff));
}
.honors-promise-header p {
    color: rgba(255,255,255,.65);
    margin: 0;
    font-size: .95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}
.promise-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    transform: translateY(30px);
}
.promise-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.promise-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(108,196,255,.3);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.pc-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: rgba(47,125,246,.15);
    color: var(--accent-2, #6cc4ff);
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.promise-card:hover .pc-icon {
    background: linear-gradient(135deg, var(--accent, #2f7df6), var(--accent-2, #6cc4ff));
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(47,125,246,.3);
}
.promise-card h4 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}
.promise-card p {
    margin: 0;
    font-size: .84rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
}

/* CTA横幅 */
.honors-cta-banner {
    background: linear-gradient(135deg, var(--accent, #2f7df6), #1a5fd4);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.honors-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.honors-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -5%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.hcb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
}
.hcb-text h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 8px;
    font-weight: 800;
}
.hcb-text p {
    color: rgba(255,255,255,.8);
    margin: 0;
    font-size: .95rem;
}
.hcb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: var(--accent, #2f7df6);
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    transition: all .3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    white-space: nowrap;
}
.hcb-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* 滚动入场 */
.honors-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.honors-fade-up.honors-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 移动端 */
@media(max-width: 980px) {
    .honors-hero-inner { flex-direction: column; text-align: center; gap: 24px; }
    .honors-hero-visual { width: 150px; height: 150px; }
    .hhv-ring-1 { width: 150px; height: 150px; }
    .hhv-ring-2 { width: 110px; height: 110px; }
    .hhv-ring-3 { width: 75px; height: 75px; }
    .honors-hero-stats { justify-content: center; }
    .hs-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .promise-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline::before { left: 40px; }
    .tl-item { grid-template-columns: 80px 1fr; }
    .tl-item:nth-child(odd) .tl-content { grid-column: 2; text-align: left; }
    .tl-item:nth-child(odd) .tl-node { grid-column: 1; }
    .tl-item:nth-child(odd) .tl-badge { display: none; }
    .tl-item:nth-child(even) .tl-badge { display: none; }
    .tl-item:nth-child(even) .tl-node { grid-column: 1; }
    .tl-item:nth-child(even) .tl-content { grid-column: 2; text-align: left; }
    .hcb-inner { flex-direction: column; text-align: center; }
}
@media(max-width: 680px) {
    .hs-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }
    .promise-grid { grid-template-columns: 1fr; }
    .honors-hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .cert-filter-bar { gap: 6px; }
    .cert-filter-btn { padding: 8px 16px; font-size: .82rem; }
    .nav-links {
        position: absolute;
        top: 70px; left: 0; width: 100%;
        background: rgba(15,23,42,.98);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,.12);
        display: none;
    }
    .nav-links.show-mobile { display: flex; }
    .mobile-toggle { display: block; }
}
