/* ============ 荣誉资质 · 横向滚动播放 ============ */
.honors{
    padding: 40px 0 28px;
    background: linear-gradient(180deg, #F8FBFF 0%, #fff 100%);
    overflow: hidden;
}

/* 滚动容器 */
.honors-scroll{
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* 滚动轨道 */
.honors-track{
    display: flex;
    gap: 24px;
    width: max-content;
    animation: honorsScroll 40s linear infinite;
}
.honors-track:hover{
    animation-play-state: paused;
}

@keyframes honorsScroll{
    0%{ transform: translateX(0); }
    100%{ transform: translateX(-50%); }
}

/* 单个荣誉卡片 */
.honor-slide{
    flex-shrink: 0;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.honor-slide:hover{
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--honor-color) 30%, transparent);
    border-color: color-mix(in srgb, var(--honor-color) 40%, transparent);
}

/* 荣誉 SVG 图标 */
.honor-slide-icon{
    width: 180px;
    height: 160px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #FFFEF8, #F8F6F0);
    border-radius: var(--radius-lg);
    padding: 12px;
    border: 1px solid rgba(218,165,32,.15);
    box-shadow:
        inset 0 1px 3px rgba(255,255,255,.8),
        0 4px 12px rgba(139,105,20,.08);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.honor-slide-icon svg{
    width: 100%;
    height: 100%;
}
.honor-slide:hover .honor-slide-icon{
    transform: scale(1.04);
    box-shadow:
        inset 0 1px 3px rgba(255,255,255,.8),
        0 8px 24px rgba(139,105,20,.15);
}

/* 荣誉文字 */
.honor-slide-body{
    text-align: center;
}
.honor-slide-body h4{
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
    line-height: 1.45;
}
.honor-slide-body p{
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0;
}

/* 响应式 */
@media (max-width: 768px){
    .honors{ padding: 64px 0 48px; }
    .honor-slide{ width: 260px; padding: 22px 18px; }
    .honor-slide-img{ height: 130px; }
    .honors-track{ gap: 16px; animation-duration: 30s; }
}
@media (max-width: 480px){
    .honor-slide{ width: 220px; padding: 18px 14px; }
    .honor-slide-img{ height: 110px; }
    .honor-slide-body h4{ font-size: 13px; }
    .honor-slide-body p{ font-size: 12px; }
}

/* ============ 保留原有师资相关样式 ============ */

/* 师资卡片增强 */
.teacher-avatar svg{
    width: 60px;
    height: 60px;
}

/* 师资头像 · 深蓝底 + 白色姓氏 + 学科色底边 */
.ta-frame{
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(145deg, #0F172A, #1E293B);
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}
.ta-frame--list{
    width: 96px; height: 96px;
}
.ta-frame--hero{
    width: 180px; height: 180px;
}
.ta-char{
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.ta-frame--hero .ta-char{
    font-size: 64px;
}
.ta-subject{
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 2px 10px;
    background: var(--ta-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.ta-frame--hero .ta-subject{
    padding: 4px 14px;
    font-size: 13px;
    bottom: -4px;
}
.teacher-motto{
    font-size: 12.5px;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.5;
    min-height: 38px;
}
.teacher-tags{
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.teacher-tags span{
    padding: 3px 10px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
}

/* ============ 数字滚动动画 ============ */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.result-stats li,
.teacher-stats li,
.hero-stats li{
    animation: countUp .6s var(--ease) both;
}
.result-stats li:nth-child(2),
.teacher-stats li:nth-child(2){ animation-delay: .1s; }
.result-stats li:nth-child(3),
.teacher-stats li:nth-child(3){ animation-delay: .2s; }
.result-stats li:nth-child(4),
.teacher-stats li:nth-child(4){ animation-delay: .3s; }

/* ============ Section 波浪分隔线 ============ */
.wave-divider{
    position: relative;
    height: 60px;
    overflow: hidden;
    margin-top: -1px;
}
.wave-divider svg{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
}
