/* ===== 荣誉资质页面 - 高端设计 ===== */


/* 统计区域 */
.honors-stats-section {
    padding: 70px 0; background: var(--c-bg);
    border-bottom: 1px solid #f0f0f0;
}
.honors-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
    text-align: center;
}
.stat-card { padding: 30px 20px; position: relative; }
.stat-card::after {
    content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
    width: 1px; background: linear-gradient(to bottom, transparent, #ddd, transparent);
}
.stat-card:last-child::after { display: none; }
.stat-card .stat-icon {
    width: 50px; height: 50px; margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(184,150,62,0.1), rgba(184,150,62,0.05));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.stat-card .stat-icon i { font-size: 20px; color: var(--c-gold); }
.stat-card .stat-num {
    font-size: 48px; font-weight: 700; color: var(--c-primary);
    line-height: 1; margin-bottom: 8px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card .stat-num span { font-size: 24px; }
.stat-card .stat-label {
    font-size: 14px; color: var(--c-text-muted); letter-spacing: 2px;
}

/* ===== 左右交替时间线 ===== */
.honors-timeline-section {
    padding: 90px 0; background: #fafafa;
}
.timeline-header {
    text-align: center; margin-bottom: 60px;
}
.timeline-header .en-tag {
    font-size: 12px; color: var(--c-gold); letter-spacing: 4px;
    text-transform: uppercase; margin-bottom: 12px;
}
.timeline-header h2 {
    font-size: 32px; color: var(--c-primary); letter-spacing: 3px;
    margin-bottom: 16px;
}
.timeline-header .gold-line {
    width: 60px; height: 2px; background: var(--c-gold);
    margin: 0 auto 16px;
}
.timeline-header p {
    font-size: 15px; color: var(--c-text-muted); max-width: 600px; margin: 0 auto;
}

/* 时间线主体 */
.honors-timeline {
    position: relative; max-width: 1100px; margin: 0 auto; padding: 20px 0;
}
.honors-timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--c-gold) 10%, var(--c-gold) 90%, transparent);
    transform: translateX(-50%);
}

/* 时间线节点 */
.tl-item {
    display: flex; align-items: flex-start; margin-bottom: 50px;
    position: relative; width: 100%;
}
.tl-item:last-child { margin-bottom: 0; }

/* 中间圆点 */
.tl-dot {
    position: absolute; left: 50%; top: 30px;
    width: 18px; height: 18px;
    background: var(--c-gold); border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3; border: 4px solid #fafafa;
    box-shadow: 0 0 0 3px var(--c-gold);
    transition: all 0.3s;
}
.tl-item:hover .tl-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 3px var(--c-gold), 0 0 20px rgba(184,150,62,0.4);
}

/* 左侧卡片 */
.tl-item.tl-left .tl-content {
    width: calc(50% - 50px); margin-right: auto; text-align: right;
}
/* 右侧卡片 */
.tl-item.tl-right .tl-content {
    width: calc(50% - 50px); margin-left: auto; text-align: left;
}

/* 卡片样式 */
.tl-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f0f0f0; cursor: pointer;
    position: relative;
}
.tl-card::after {
    content: '\f00e'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(184,150,62,0.9); color: #fff; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s; z-index: 2;
}
.tl-card:hover::after { opacity: 1; }
.tl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(184,150,62,0.15);
    border-color: rgba(184,150,62,0.3);
}

.tl-card-img {
    width: 100%; height: 200px; overflow: hidden;
    background: #f8f8f8; display: flex; align-items: center; justify-content: center;
    padding: 20px; position: relative;
}
.tl-card-img::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(184,150,62,0.03), transparent);
}
.tl-card-img img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    position: relative; z-index: 1; transition: transform 0.4s;
}
.tl-card:hover .tl-card-img img { transform: scale(1.05); }

.tl-card-info { padding: 20px 24px; }
.tl-card-info .tl-year-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--c-gold); margin-bottom: 8px;
    background: rgba(184,150,62,0.08); padding: 3px 12px;
    border-radius: 20px;
}
.tl-card-info .tl-year-tag i { font-size: 10px; }
.tl-card-info h4 {
    font-size: 15px; color: var(--c-primary); line-height: 1.6;
    font-weight: 600; margin-bottom: 6px;
}
.tl-card-info .tl-desc {
    font-size: 13px; color: var(--c-text-muted); line-height: 1.7;
}

/* 箭头指向中心线 */
.tl-item.tl-left .tl-card::before {
    content: ''; position: absolute; right: -10px; top: 30px;
    border: 10px solid transparent; border-left-color: #fff;
    z-index: 1;
}
.tl-item.tl-right .tl-card::before {
    content: ''; position: absolute; left: -10px; top: 30px;
    border: 10px solid transparent; border-right-color: #fff;
    z-index: 1;
}

/* ===== Lightbox 弹窗 ===== */
.honor-lightbox {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.35s;
}
.honor-lightbox.active { display: flex; opacity: 1; }
.honor-lightbox-content {
    position: relative; max-width: 800px; width: 90%;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.8); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: none;
}
.honor-lightbox.active .honor-lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,0,0,0.6); color: #fff; border: none;
    font-size: 18px; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: all 0.3s;
}
.lightbox-close:hover { background: var(--c-gold); transform: rotate(90deg); }
.lightbox-img {
    width: 100%; height: 400px; background: #f8f8f8;
    display: flex; align-items: center; justify-content: center;
    padding: 40px; overflow: hidden;
}
.lightbox-img img {
    max-width: 100%; max-height: 100%; object-fit: contain;
}
.lightbox-info { padding: 30px 36px; }
.lightbox-info .lightbox-year {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--c-gold); margin-bottom: 12px;
    border: 1px solid rgba(184,150,62,0.3); padding: 4px 16px;
    border-radius: 20px; background: rgba(184,150,62,0.04);
}
.lightbox-info .lightbox-year i { font-size: 11px; }
.lightbox-info h3 {
    font-size: 22px; color: var(--c-primary); margin-bottom: 12px;
    letter-spacing: 1px; font-weight: 600;
}
.lightbox-info .lightbox-desc {
    font-size: 14px; color: var(--c-text-muted); line-height: 1.8;
}
.lightbox-nav {
    display: flex; gap: 12px; margin-top: 20px;
}
.lightbox-nav button {
    padding: 8px 20px; border: 1px solid #ddd; background: #fff;
    color: var(--c-text-body); font-size: 13px; cursor: pointer;
    border-radius: 6px; transition: all 0.3s;
    display: flex; align-items: center; gap: 6px;
}
.lightbox-nav button:hover {
    border-color: var(--c-gold); color: var(--c-gold);
}
.lightbox-nav button:disabled {
    opacity: 0.3; cursor: not-allowed;
}

/* CTA 区域 */
.honors-cta {
    padding: 80px 0; text-align: center;
    background: linear-gradient(135deg, var(--c-primary) 0%, #1a1a2e 100%);
    position: relative; overflow: hidden;
}
.honors-cta::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M0 15h30M15 0v30" stroke="rgba(184,150,62,0.06)" stroke-width="0.5"/></pattern></defs><rect fill="url(%23p)" width="100" height="100"/></svg>');
}
.honors-cta-content { position: relative; z-index: 2; }
.honors-cta h3 {
    font-size: 28px; color: #fff; letter-spacing: 3px; margin-bottom: 16px;
    font-weight: 300;
}
.honors-cta h3 span { color: var(--c-gold); font-weight: 600; }
.honors-cta p {
    font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 30px;
    letter-spacing: 1px;
}
.honors-cta .cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 40px; border: 1px solid var(--c-gold);
    color: var(--c-gold); font-size: 14px; letter-spacing: 2px;
    text-decoration: none; transition: all 0.3s;
}
.honors-cta .cta-btn:hover {
    background: var(--c-gold); color: var(--c-primary);
}

/* 空状态 */
.honors-empty {
    text-align: center; padding: 120px 20px;
}
.honors-empty .empty-icon {
    width: 100px; height: 100px; margin: 0 auto 24px;
    border: 2px dashed #ddd; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.honors-empty .empty-icon i { font-size: 40px; color: #ddd; }
.honors-empty h3 { font-size: 22px; color: var(--c-text-muted); margin-bottom: 10px; }
.honors-empty p { font-size: 14px; color: #bbb; }

/* 响应式 */
@media (max-width: 992px) {
    .honors-hero { height: 340px; }
    .honors-hero h1 { font-size: 32px; letter-spacing: 5px; }
    .honors-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-card:nth-child(2)::after { display: none; }
    .tl-card-img { height: 170px; }
}
@media (max-width: 768px) {
    .honors-hero { height: 280px; }
    .honors-hero h1 { font-size: 26px; letter-spacing: 3px; }
    .honors-hero-icon { width: 60px; height: 60px; }
    .honors-hero-icon i { font-size: 24px; }
    .honors-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-card { padding: 20px 10px; }
    .stat-card .stat-num { font-size: 36px; }
    .stat-card::after { display: none; }
    /* 手机端时间线变为单列 */
    .honors-timeline::before { left: 20px; }
    .tl-dot { left: 20px; }
    .tl-item.tl-left .tl-content,
    .tl-item.tl-right .tl-content {
        width: calc(100% - 50px); margin-left: auto; margin-right: 0; text-align: left;
    }
    .tl-item.tl-left .tl-card::before { display: none; }
    .tl-item.tl-right .tl-card::before {
        left: -10px; border-right-color: #fff;
    }
    .tl-card-img { height: 150px; }
    .lightbox-img { height: 250px; padding: 20px; }
    .lightbox-info { padding: 20px 24px; }
    .lightbox-info h3 { font-size: 18px; }
    .honors-cta h3 { font-size: 22px; }
}
@media (max-width: 480px) {
    .honors-stats-grid { grid-template-columns: 1fr 1fr; }
    .lightbox-img { height: 200px; }
}
