/* ============ 顶部工具条 ============ */
.site-topbar{
    background: #0F172A;
    color: #CBD5E1;
    font-size: 13px;
    padding: 8px 0;
}
.site-topbar .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-topbar .tb-welcome{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-topbar .tb-right{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.site-topbar .tb-link{ color: #CBD5E1; transition: color .2s var(--ease); }
.site-topbar .tb-link:hover{ color: #fff; }
.site-topbar .tb-sep{ color: #475569; }
.site-topbar .tb-tel{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FBBF24;
    font-weight: 600;
}
.site-topbar .tb-tel svg{ width: 12px; height: 12px; }
@media (max-width: 720px){
    .site-topbar .tb-welcome{ display: none; }
    .site-topbar .container{ justify-content: flex-end; }
    .site-topbar .tb-link:not(.tb-tel){ display: none; }
    .site-topbar .tb-sep{ display: none; }
}

/* ============ 通用 section-head 对齐扩展 ============ */
.section-head.align-left{
    text-align: left;
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.section-head.align-left h2{ margin-bottom: 0; }
.news-more{
    color: var(--color-primary);
    font-weight: 500;
    white-space: nowrap;
}

/* ============ 课程体系 ============ */
.courses{ padding: 96px 0; background: #fff; }
.tabs{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}
.tab{
    padding: 14px 26px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: all .25s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 170px;
}
.tab:hover{
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.tab.active{
    background: linear-gradient(135deg, var(--color-primary), #1B50BF);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.tab-label{ font-size: 17px; font-weight: 700; }
.tab-desc{ font-size: 12px; opacity: .75; }
.tab-panel{ display: none; }
.tab-panel.active{ display: block; animation: fadeIn .35s var(--ease); }
@keyframes fadeIn{ from{ opacity: 0; transform: translateY(10px); } to{ opacity: 1; transform: none; } }

.course-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.course-card{
    position: relative;
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.course-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46,107,230,.35);
}
.course-tag{
    position: absolute;
    top: 14px; right: 14px;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 999px;
    font-weight: 500;
}
.course-tag.tag-热门{ background: #FFF3EB; color: var(--color-accent); }
.course-tag.tag-推荐{ background: #EFF4FF; color: var(--color-primary); }
.course-tag.tag-启蒙,
.course-tag.tag-中考,
.course-tag.tag-高考,
.course-tag.tag-新增{ background: #F0FDF4; color: #16A34A; }
.course-card h3{ font-size: 20px; margin-bottom: 8px; }
.course-card p{ font-size: 14px; color: var(--color-text-light); line-height: 1.6; min-height: 42px; margin-bottom: 18px; }
.course-foot{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
    font-size: 13px;
    color: var(--color-text-light);
}
.course-link{ color: var(--color-primary); font-weight: 500; }

/* ============ 师资团队 ============ */
.teachers{
    padding: 40px 0;
    background: linear-gradient(180deg, #F8FBFF 0%, #fff 80%);
}
.teacher-stats{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto 48px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.teacher-stats li{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    position: relative;
}
.teacher-stats li:not(:last-child)::after{
    content:"";
    position: absolute;
    right: -8px; top: 10%;
    width: 1px; height: 80%;
    background: var(--color-border);
}
.teacher-stats .num{
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.3px;
}
.teacher-stats .label{
    font-size: 13px;
    color: var(--color-text-light);
}
.teacher-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.teacher-card{
    position: relative;
    padding: 28px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.teacher-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.teacher-tag{
    position: absolute;
    top: 12px; left: 12px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent), #FF9A6E);
    color: #fff;
}
.teacher-avatar{
    width: 96px; height: 96px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid; place-items: center;
    font-size: 36px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}
.teacher-card h3{ font-size: 18px; margin-bottom: 4px; }
.teacher-subject{
    display: inline-block;
    padding: 3px 10px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 10px;
}
.teacher-meta{ font-size: 13px; color: var(--color-text-light); margin-bottom: 16px; }
.teacher-cta{ font-size: 13px; color: var(--color-primary); font-weight: 500; }
.teacher-actions{
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
}
.teacher-actions .teacher-cta.ghost{
    color: var(--color-text-light);
    padding-right: 14px;
    border-right: 1px solid var(--color-border);
}
.teachers-foot{
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(100deg, #EEF4FF, #FFF3EB);
    border-radius: var(--radius-lg);
}
.teachers-foot p{ margin-bottom: 16px; color: var(--color-text); font-size: 16px; }
.teachers-foot p strong{ color: var(--color-primary); font-weight: 700; }

@media (max-width: 960px){
    .teacher-grid{ grid-template-columns: repeat(2, 1fr); }
    .teacher-stats{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .teacher-stats li:not(:last-child)::after{ display: none; }
}
@media (max-width: 480px){
    .teacher-grid{ grid-template-columns: 1fr; }
}

/* ============ 学员成果 ============ */
.results{ padding: 40px 0; background: #fff; }
.result-stats{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}
.result-stats li{
    padding: 28px 20px;
    background: linear-gradient(160deg, var(--color-primary) 0%, #1B50BF 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.result-stats li:nth-child(2){ background: linear-gradient(160deg, #FF7A45, #E85C23); }
.result-stats li:nth-child(3){ background: linear-gradient(160deg, #7C3AED, #5B21B6); }
.result-stats li:nth-child(4){ background: linear-gradient(160deg, #16A34A, #15803D); }
.result-stats .num{
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.result-stats .num em{
    font-size: 18px;
    font-weight: 600;
    margin-left: 4px;
    font-style: normal;
    opacity: .9;
}
.result-stats .label{ font-size: 13.5px; opacity: .9; }

/* 提分榜滚动墙 */
.result-wall{
    position: relative;
    padding: 10px 0 20px;
    margin-bottom: 40px;
    overflow: hidden;
    --wall-card-w: 340px;
    --wall-card-gap: 16px;
}
.result-wall::before,
.result-wall::after{
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.result-wall::before{ left: 0;  background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.result-wall::after{  right: 0; background: linear-gradient(-90deg, #fff, rgba(255,255,255,0)); }

.wall-row{
    overflow: hidden;
    margin-bottom: 16px;
}
.wall-row:last-child{ margin-bottom: 0; }

.wall-track{
    display: flex;
    gap: var(--wall-card-gap);
    width: max-content;
    will-change: transform;
}
.wall-row-ltr .wall-track{ animation: wall-scroll-ltr 60s linear infinite; }
.wall-row-rtl .wall-track{ animation: wall-scroll-rtl 70s linear infinite; }
.result-wall:hover .wall-track{ animation-play-state: paused; }

@keyframes wall-scroll-ltr{
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - var(--wall-card-gap) / 2)); }
}
@keyframes wall-scroll-rtl{
    0%   { transform: translateX(calc(-50% - var(--wall-card-gap) / 2)); }
    100% { transform: translateX(0); }
}

.wall-card{
    flex: 0 0 var(--wall-card-w);
    width: var(--wall-card-w);
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wall-card-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.wall-who strong{ font-size: 15px; font-weight: 700; display: block; }
.wall-who span{ font-size: 12.5px; color: var(--color-text-light); }
.wall-gain{
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--color-accent), #FF9A6E);
    color: #fff;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255,122,69,.3);
}
.wall-scores{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
}
.wall-score{
    flex: 1;
    text-align: center;
}
.wall-score span{
    display: block;
    font-size: 11px;
    color: var(--color-text-light);
    margin-bottom: 2px;
}
.wall-score b{
    font-size: 24px;
    font-weight: 800;
    color: #9CA3AF;
    line-height: 1;
}
.wall-score.after b{ color: var(--color-primary); }
.wall-scores svg{
    width: 34px; height: 14px;
    color: var(--color-accent);
    flex-shrink: 0;
}
.wall-story{
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.6;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wall-foot{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--color-border);
    font-size: 12px;
    color: var(--color-text-light);
}
.wall-foot span:first-child{
    padding: 2px 8px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 4px;
    font-weight: 600;
}

.result-cta-wrap{
    background: linear-gradient(135deg, #EFF5FF 0%, #E8F0FE 50%, #F3E8FF 100%);
    padding: 56px 0;
    margin-top: 48px;
}
.result-cta{
    text-align: center;
}
.result-cta h3{
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 10px;
}
.result-cta p{
    color: var(--color-text-light);
    margin-bottom: 24px;
    font-size: 16px;
}
.result-cta-btns{
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============ 通用板块底部 CTA（掌门式 每板块一个立即体验/立即预约） ============ */
.section-cta{
    margin-top: 52px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.section-cta .btn{
    min-width: 320px;
    padding: 20px 52px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 12px;
    justify-content: center;
}
.section-cta .btn-primary{
    background: linear-gradient(90deg, #FF7A45 0%, #DC2626 100%);
    box-shadow: 0 20px 40px -10px rgba(220,38,38,.5);
    border: none;
    color: #fff;
}
.section-cta .btn-primary:hover{
    filter: brightness(1.06);
    transform: translateY(-3px);
    box-shadow: 0 26px 48px -10px rgba(220,38,38,.6);
}
.section-cta .btn-ghost{
    padding: 20px 40px;
    font-size: 17px;
}
@media (max-width: 640px){
    .section-cta{ margin-top: 34px; gap: 12px; }
    .section-cta .btn{ min-width: 0; flex: 1 1 100%; padding: 15px 24px; font-size: 16px; letter-spacing: .5px; }
    .section-cta .btn-ghost{ padding: 15px 24px; font-size: 15px; }
}

@media (max-width: 860px){
    .result-stats{ grid-template-columns: repeat(2, 1fr); }
    .result-wall{ --wall-card-w: 280px; }
}

/* ============ 家长评价 ============ */
.testimonials{ padding: 40px 0; background: var(--color-bg-soft); }
.testi-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testi-card{
    position: relative;
    padding: 30px 26px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testi-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.testi-quote{
    position: absolute;
    top: 18px; right: 20px;
    width: 28px; height: 28px;
    color: var(--color-primary-light);
    fill: var(--color-primary-light);
}
.testi-card blockquote{
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.testi-rating{
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}
.testi-rating svg{ width: 16px; height: 16px; }
.testi-card figcaption{
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
}
.testi-card figcaption strong{
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}
.testi-card figcaption span{
    font-size: 12.5px;
    color: var(--color-text-light);
}
@media (max-width: 960px){ .testi-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .testi-grid{ grid-template-columns: 1fr; } }

/* ============ 栏目页 Hero ============ */
.page-hero{
    padding: 48px 0 40px;
    background:
        radial-gradient(800px 400px at 85% -20%, color-mix(in srgb, var(--page-hero-accent) 18%, transparent) 0%, transparent 60%),
        radial-gradient(600px 400px at 0% 120%, #FFF3EB 0%, transparent 60%),
        linear-gradient(180deg, #F8FBFF 0%, #fff 100%);
}
.page-hero--img{
    position: relative;
    padding: 72px 0 56px;
    background: none;
    overflow: hidden;
}
.page-hero-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.page-hero-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,16,38,.75) 0%, rgba(8,16,38,.45) 50%, rgba(8,16,38,.2) 100%);
    z-index: 1;
}
.page-hero--img .container{
    position: relative;
    z-index: 2;
}
.page-hero--img .page-hero-title{
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.page-hero--img .page-hero-sub{
    color: rgba(255,255,255,.9);
    text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
.page-hero--img .breadcrumb a,
.page-hero--img .breadcrumb span,
.page-hero--img .breadcrumb strong{
    color: rgba(255,255,255,.8);
}
.page-hero--img .breadcrumb a:hover{
    color: #fff;
}
.page-hero .breadcrumb{ margin-bottom: 16px; }
.page-hero-title{
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}
.page-hero-sub{
    max-width: 720px;
    color: var(--color-text-light);
    font-size: 15.5px;
    line-height: 1.75;
}

/* —— 关于我们：发展历程 + 价值观 —— */
.about-extra{ padding: 80px 0; background: linear-gradient(180deg, #fff 0%, #F8FBFF 100%); }
.milestone{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}
.milestone li{
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--color-primary);
}
.milestone time{
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.milestone strong{ display: block; font-size: 17px; margin-bottom: 8px; }
.milestone p{ font-size: 14px; color: var(--color-text-light); line-height: 1.7; }

.about-values{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.about-values article{
    padding: 28px;
    background: linear-gradient(135deg, var(--color-primary), #1B50BF);
    color: #fff;
    border-radius: var(--radius-lg);
}
.about-values article:nth-child(2){ background: linear-gradient(135deg, var(--color-accent), #E85C23); }
.about-values article:nth-child(3){ background: linear-gradient(135deg, #7C3AED, #5B21B6); }
.about-values h3{ font-size: 18px; margin-bottom: 10px; }
.about-values p{ font-size: 15px; line-height: 1.75; opacity: .92; }

/* —— 教学特色：方法论四步 —— */
.features-extra{ padding: 80px 0; background: #fff; }
.method-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.method-grid article{
    padding: 28px 24px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    position: relative;
}
.method-grid .mg-num{
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.method-grid h3{ font-size: 17px; margin-bottom: 10px; }
.method-grid p{ font-size: 14px; color: var(--color-text-light); line-height: 1.75; }

/* —— 课程体系：四学段 —— */
.courses-extra{ padding: 80px 0; background: linear-gradient(180deg, #F8FBFF 0%, #fff 100%); }
.stage-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.stage-grid article{
    padding: 30px 32px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.stage-grid article:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stage-grid h3{
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--color-text);
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
}
.stage-desc{ color: var(--color-text-light); font-size: 14px; margin-bottom: 14px; padding-left: 12px; }
.stage-grid ul{ margin-bottom: 18px; }
.stage-grid ul li{
    padding: 6px 0 6px 22px;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
    position: relative;
}
.stage-grid ul li::before{
    content: "";
    position: absolute;
    left: 6px; top: 14px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}
.stage-cta{
    display: inline-block;
    padding: 8px 16px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.stage-cta:hover{ background: var(--color-primary); color: #fff; }

/* —— 师资团队：五轮筛选 —— */
.teachers-extra{ padding: 80px 0; background: #fff; }
.screen-steps{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    counter-reset: step;
}
.screen-steps li{
    padding: 24px 18px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}
.screen-steps li span{
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #1B50BF);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 12px;
}
.screen-steps h3{ font-size: 16px; margin-bottom: 8px; }
.screen-steps p{ font-size: 13px; color: var(--color-text-light); line-height: 1.65; }

@media (max-width: 960px){
    .milestone, .method-grid{ grid-template-columns: repeat(2, 1fr); }
    .about-values{ grid-template-columns: 1fr; }
    .stage-grid{ grid-template-columns: 1fr; }
    .screen-steps{ grid-template-columns: repeat(2, 1fr); }
}

/* ============ 新闻资讯 ============ */
.news{ padding: 96px 0; background: #fff; }
.news-tabs{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 8px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
}
.news-tab{
    flex: 1;
    min-width: 130px;
    padding: 12px 16px;
    text-align: left;
    border-radius: 10px;
    background: transparent;
    transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
    cursor: pointer;
    border: 0;
}
.news-tab strong{
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}
.news-tab span{
    font-size: 12px;
    color: var(--color-text-light);
}
.news-tab:hover{ background: #fff; }
.news-tab.active{
    background: linear-gradient(135deg, var(--color-primary), #1B50BF);
    box-shadow: 0 8px 18px rgba(46,107,230,.25);
}
.news-tab.active strong,
.news-tab.active span{ color: #fff; }
.news-tab.active span{ opacity: .9; }
.news-empty{
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--color-text-light);
}
.news-cover-tag{
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 10px;
    background: rgba(17,24,39,.55);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.news-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}
.news-card{
    display: flex;
    gap: 16px;
    padding: 18px 12px;
    border-bottom: 1px dashed #E5E7EB;
    transition: background .2s;
    color: inherit;
}
.news-card:hover{
    background: #F8FAFF;
}
.news-card:hover .news-body h3{ color: #DC2626; }
.news-cover{
    flex-shrink: 0;
    width: 140px;
    aspect-ratio: 4/3;
    position: relative;
    display: grid; place-items: center;
    overflow: hidden;
    border-radius: 8px;
}
.news-cover img{ width: 100%; height: 100%; object-fit: cover; }
.news-cover-date{
    font-size: 22px;
    font-weight: 800;
    color: rgba(255,255,255,.92);
    letter-spacing: .5px;
    text-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.news-body{ padding: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-body h3{
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.news-body p{
    font-size: 12.5px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    font-size: 11.5px;
    color: var(--color-text-light);
}
.news-meta span{ color: #DC2626; font-weight: 500; }
@media (max-width: 900px){ .news-grid{ grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 560px){
    .news-grid{ grid-template-columns: 1fr; }
    .news-cover{ width: 100px; }
    .news-body h3{ font-size: 14px; }
}
@media (max-width: 560px){ .news-grid{ grid-template-columns: 1fr; } }

/* ============ 文章详情页 ============ */
.article-detail{
    padding: 48px 0 80px;
    background: linear-gradient(180deg, #F8FBFF 0%, #fff 240px);
}
.ad-layout{
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}
.ad-main{
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.ad-header{
    padding: 36px 36px 24px;
    border-bottom: 1px solid var(--color-border);
}
.ad-tag{
    display: inline-block;
    padding: 4px 12px;
    background: rgba(220,38,38,.08);
    color: #DC2626;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}
.ad-header h1{
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.3px;
    margin-bottom: 14px;
}
.ad-meta{
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-light);
}
.ad-body{
    padding: 32px 36px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--color-text);
}
.ad-body h3{
    font-size: 19px;
    font-weight: 700;
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
}
.ad-body p{
    margin-bottom: 16px;
}
.ad-footer{
    padding: 0 36px 36px;
}
.ad-cta-box{
    padding: 28px;
    background: linear-gradient(120deg, #EEF4FF, #FFF3EB);
    border-radius: var(--radius-md);
    text-align: center;
}
.ad-cta-box p{
    margin-bottom: 16px;
    color: var(--color-text);
    font-size: 15px;
}
.ad-side{
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 90px;
}
.ad-panel{
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.ad-panel h3{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}
.ad-panel > p{
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 16px;
}
.ad-related{
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ad-related li{
    padding: 12px 0;
    border-bottom: 1px dashed var(--color-border);
}
.ad-related li:last-child{ border-bottom: 0; }
.ad-related a{
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.ad-related a:hover{ color: var(--color-primary); }

@media (max-width: 960px){
    .ad-layout{ grid-template-columns: 1fr; }
    .ad-side{ position: static; }
}
@media (max-width: 560px){
    .ad-header{ padding: 24px 20px 18px; }
    .ad-body{ padding: 20px; }
    .ad-footer{ padding: 0 20px 24px; }
}

/* ============ 预约试听 ============ */
.booking{
    padding: 40px 0;
    background:
        radial-gradient(600px 400px at 10% 50%, rgba(46,107,230,.12), transparent 60%),
        radial-gradient(600px 400px at 100% 50%, rgba(255,122,69,.08), transparent 60%),
        var(--color-bg-soft);
}
.booking-grid{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}
.booking-copy .eyebrow{
    display: inline-flex;
    align-items: center; gap: 8px;
    padding: 6px 14px;
    background: rgba(46,107,230,.08);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}
.booking-copy h2{
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.3;
    margin-bottom: 26px;
}
.booking-copy h2 .accent{
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.booking-perks{ display: grid; gap: 14px; margin-bottom: 24px; }
.booking-perks li{
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}
.booking-perks li strong{
    display: block;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}
.booking-perks svg{
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: #16A34A;
    background: #F0FDF4;
    border-radius: 50%;
    padding: 4px;
}
.booking-hint{
    padding: 12px 16px;
    background: linear-gradient(100deg, #FFF3EB, #EEF4FF);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-text);
}
.booking-hint strong{ color: var(--color-primary); }

.booking-form{
    padding: 32px 28px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
}
.booking-form h3{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
}
.field{ margin-bottom: 14px; display: flex; flex-direction: column; }
.field label{
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 6px;
    font-weight: 500;
}
.field input,
.field select,
.field textarea{
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    font-size: 14.5px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    width: 100%;
    font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46,107,230,.12);
}
.field textarea{ resize: vertical; min-height: 72px; }
.field-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.booking-submit{
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    font-size: 16px;
}
.booking-privacy{
    font-size: 12px;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}
.booking-privacy a{ color: var(--color-primary); }

@media (max-width: 900px){
    .booking-grid{ grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}
@media (max-width: 560px){
    .booking{ padding: 64px 0; }
    .booking-grid{ padding: 24px; }
    .field-row{ grid-template-columns: 1fr; }
}

/* ============ 完整页脚 ============ */
.site-footer{
    margin-top: 0;
    padding: 0;
    background: #0F172A;
    color: #CBD5E1;
    border-top: 0;
    text-align: left;
    font-size: 14px;
}
.footer-grid{
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    padding: 64px 16px 40px;
}
.footer-brand p{
    font-size: 13.5px;
    line-height: 1.75;
    color: #94A3B8;
    margin: 16px 0 20px;
    max-width: 360px;
}
.footer-logo{ color: #fff; }
.footer-logo .logo-mark{ background: linear-gradient(135deg, var(--color-primary), #6AA0FF); }
.footer-logo span:last-child{ color: #fff; }

.footer-qr{
    display: flex;
    align-items: center;
    gap: 14px;
}
.qr-placeholder{
    width: 92px; height: 92px;
    background: #fff;
    border-radius: 10px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.qr-placeholder svg{ width: 76px; height: 76px; }
.footer-qr p{
    margin: 0;
    font-size: 13px;
    color: #CBD5E1;
    line-height: 1.55;
}

.footer-col h4{
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
}
.footer-col ul{ display: grid; gap: 10px; }
.footer-col a{
    color: #94A3B8;
    font-size: 13.5px;
    transition: color .2s var(--ease);
}
.footer-col a:hover{ color: #fff; }
.footer-contact li{
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 13.5px;
    color: #94A3B8;
    line-height: 1.5;
}
.footer-icp-inline{
    margin-top: 14px;
    font-size: 12.5px;
    color: #94A3B8;
    line-height: 1.6;
}
.footer-icp-inline a{
    color: #94A3B8;
}
.footer-icp-inline a:hover{
    color: #fff;
}
.footer-contact li svg{
    width: 14px; height: 14px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent);
}

.footer-bottom{
    background: #020617;
    padding: 18px 0;
    color: #64748B;
    font-size: 12.5px;
}
.footer-bottom .container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom a{ color: #94A3B8; }
.footer-bottom a:hover{ color: #fff; }

@media (max-width: 900px){
    .footer-grid{ grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 16px 32px; }
}
@media (max-width: 560px){
    .footer-grid{ grid-template-columns: 1fr; }
    .footer-bottom .container{ justify-content: center; text-align: center; }
}

/* ============ 回到顶部按钮 ============ */
.back-to-top{
    position: fixed;
    right: 24px; bottom: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: none;
    place-items: center;
    box-shadow: 0 8px 24px rgba(46,107,230,.35);
    z-index: 40;
    transition: transform .2s var(--ease), background .2s var(--ease);
}
.back-to-top.visible{ display: grid; }
.back-to-top:hover{ background: var(--color-primary-dark); transform: translateY(-3px); }
.back-to-top svg{ width: 18px; height: 18px; }

/* ============ 内容区域配图 ============ */
.content-photo{
    margin: 36px auto 42px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px -28px rgba(15,23,42,.35);
    border: 1px solid rgba(255,255,255,.8);
}
.content-photo img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.content-photo--about,
.content-photo--features{
    max-width: 1040px;
}
.timeline-layout,
.method-layout{
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 36px;
    align-items: center;
    margin-top: 32px;
}
.timeline-photo,
.method-photo{
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 52px -28px rgba(15,23,42,.35);
    position: sticky;
    top: 92px;
}
.timeline-photo img,
.method-photo img{
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}
.method-layout .method-grid{
    margin-top: 0;
}
@media (max-width: 900px){
    .timeline-layout,
    .method-layout{
        grid-template-columns: 1fr;
    }
    .timeline-photo,
    .method-photo{
        position: relative;
        top: auto;
    }
    .timeline-photo img,
    .method-photo img{
        min-height: 260px;
    }
}

/* ============ 补充优化：业务板块 / 文化卡片 ============ */
.business-grid,
.culture-grid,
.special-course-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 0 38px;
}
.culture-grid{ grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.special-course-grid{ grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; }
.business-grid article,
.culture-grid article,
.special-course-grid article{
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.business-grid article:hover,
.culture-grid article:hover,
.special-course-grid article:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46,107,230,.28);
}
.business-grid span,
.culture-grid span{
    display: inline-block;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 10px;
}
.business-grid h3,
.culture-grid h3{
    font-size: 18px;
    margin-bottom: 10px;
}
.business-grid p,
.culture-grid p,
.special-course-grid p{
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-text-light);
    margin: 0;
}
.special-course-grid b{
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-text);
}
@media (max-width: 1024px){
    .business-grid{ grid-template-columns: repeat(2, 1fr); }
    .culture-grid,
    .special-course-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
    .business-grid{ grid-template-columns: 1fr; }
}
