/* =====================================================================
① 顶部导航（单行：左 logo + 中 9 项一级菜单 + 右联系电话 · 吸顶）
===================================================================== */
.sitehead {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
}

.sitehead__row {
    height: 100px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin-inline: auto;
    /* padding: 0 24px; */
}

.brand-v2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    overflow: hidden;
}

.brand-v2 img {
    height: 48px;
}


.nav-v2 ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
    min-width: 0;
    position: relative;
}

.nav-v2 li {
}

.nav-v2 li a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 8px 12px;
    font-size: .92rem;
    font-weight: 4 00;
    color: var(--color-text-secondary);
    position: relative;
    transition: color .15s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-v2 a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--color-brand-yellow);
    transform: scaleX(0);
    transition: transform .2s ease;
    transform-origin: left;
}

.nav-v2 li:hover a {
    color: var(--color-ink);
}

.nav-v2 a.is-active {
    color: var(--color-ink);
}

.nav-v2 a.is-active::after,
.nav-v2 li:hover a::after {
    transform: scaleX(1);
}

.nav-v2 a svg {
    width: 10px;
    height: 10px;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
    opacity: .55;
}

/* 子栏目样式 */
.nav-v2 ul li .subBox {
    position: absolute;
    left: 0px;
    background: rgba(255, 255, 255, .9);
    width: 100%;
    overflow: hidden;
    display: none;
    opacity: 0;

}

@keyframes showSubBox {
    from {
        opacity: 0;
        display: none;
    }

    to {
        opacity: 1;
        display: block;
    }
}

.nav-v2 ul li:hover .subBox {
    animation: showSubBox .5s ease-in forwards;
    display: block;
}

.nav-v2 ul li .subBox a {
    display: initial;
    padding: 0;
}

.nav-v2 ul li:hover .subBox a {
    color: var(--color-text-secondary);
    border-radius: 0;
    font-weight: initial;
}

.nav-v2 ul li .subBox a::after {
    transform: scaleX(0);
}

.nav-v2 ul li .subBox ul {
    width: calc(100% - 80px);
    height: 60px;
    font-size: 0px;
    line-height: 0px;
    text-align: left;
    /* padding: 18px 40px; */
    padding: 0px 40px;
    border-bottom: #c6c6c6 2px solid;
    justify-content: flex-start;
}

.nav-v2 ul li .subBox ul li {
    width: auto;
    height: 40px;
    margin: 0px 15px;
    font-size: 16px;
    line-height: 40px;
}

.nav-v2 ul li .subBox ul li a.hover,
.nav-v2 ul li .subBox ul li a:hover {
    border-bottom: 2px solid #333333;
    color: #333333;
    font-weight: bold;
}

.nav-v2 ul li .subBox .tabCont {
    display: block;
    width: calc(100% - 80px);
    padding: 28px 40px;
}

.nav-v2 ul li .subBox .tabCont div {
    display: flex;
    flex-wrap: nowrap;
}

.nav-v2 ul li .subBox .tabCont div.hide {
    display: none;
}

.nav-v2 ul li .subBox .tabCont div.show {
    display: flex;
}

.nav-v2 ul li .subBox .tabCont ol {
    text-align: left;
}

.nav-v2 ul li .subBox .tabCont ol li {
    line-height: 40px;
    width: auto;
    text-align: left;
    margin-right: 60px;
    font-size: 10px;
    color: #cdcdcd;
    display: block;
}

.nav-v2 ul li .subBox .tabCont ol li a {
    display: inline-block;
    margin-left: 3px;
}

.nav-v2 ul li .subBox .tabCont ol li a:hover {
    color: #999;
}

.sitehead__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-number);
    font-size: .95rem;
    font-weight: 800;
    color: var(--color-ink);
    white-space: nowrap;
}

.sitehead__phone svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-brand-blue);
    stroke-width: 2.4;
    fill: none;
}

.nav__burger {
    display: grid;
    gap: 5px;
    padding: 8px;
    width: 42px;
    height: 42px;
    align-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav__burger.is-open {
    position: relative;
    justify-content: center;
    align-items: center;
}

.nav__burger span {
    display: block;
    height: 2px;
    width: 22px;
    background: var(--color-ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.nav__burger.is-open span {
    display: none;
    position: absolute;
    left: 8px;
}

.nav__burger.is-open span:first-child {
    transform: rotate(45deg);
    display: block;
}

.nav__burger.is-open span:nth-child(2) {
    transform: rotate(-45deg);
    display: block;
}

.sitehead__row .m_tel_icon {
    display: none;
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

@media (max-width: 1023px) {

    .nav-v2,
    .sitehead__phone {
        display: none;
    }

    .sitehead__row .m_tel_icon {
        display: block;
    }

    .nav__burger {
        display: grid;
    }
}

@media (min-width: 1024px) {
    .nav__burger {
        display: none;
    }
}

.drawer {
    position: fixed;
    inset: 50px 0 0 0;
    background: var(--color-white);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform .3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    height: 100%;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer a {
    padding: 14px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink);
}

.drawer a.is-active {
    color: var(--color-brand-yellow-active);
}


/* =====================================================================
⑩ Footer（深色 · 联系 + 二维码 + 表单 + 底部导航）
===================================================================== */
.footer {
    background: var(--color-dark-ink);
    color: var(--color-on-dark);
    padding-block: var(--space-7) var(--space-6);
}

.footer__cta {
    display: grid;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}
.footer__cta .brand{
    display: flex;
    justify-content: flex-end;
}

@media (min-width: 1024px) {
    .footer__cta {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.footer__cta h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.2;
}

.footer__cta p {
    color: var(--color-on-dark-muted);
    margin-top: 12px;
}

.footer__cta .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.signup {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-card);
    padding: 20px;
}

.signup__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.signup input {
    flex: 1;
    min-width: 140px;
    height: 48px;
    border-radius: var(--radius-input);
    border: 1px solid var(--color-dark-border);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    padding: 12px 16px;
    font-size: .9375rem;
}

.signup input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.signup input:focus {
    outline: none;
    border-color: var(--color-brand-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, .3);
}

.signup__hint {
    font-size: .75rem;
    color: var(--color-on-dark-muted);
    margin-top: 10px;
}

.signup__ok {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--color-on-dark-yellow);
    font-size: .875rem;
    font-weight: 600;
}

.signup__ok.is-show {
    display: flex;
}

.signup__ok svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.signup__err {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--color-on-dark-muted);
    font-size: .8125rem;
}

.signup__err.is-show {
    display: flex;
}

.signup__err svg {
    flex: 0 0 auto;
    stroke: var(--color-on-dark-muted);
    fill: none;
    width: 15px;
    height: 15px;
}

.signup input.is-err {
    border-color: var(--color-brand-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, .3);
}

.footer__main {
    display: grid;
    align-items: center;
    gap: var(--space-6);
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
    border-top: 1px solid var(--color-dark-border);
}

@media (min-width: 1024px) {
    .footer__main {
        grid-template-columns: 1.3fr 1fr;
        gap: var(--space-9);
    }
}

.footer__brand .brand {
    color: #fff;
    margin-bottom: 12px;
}

.footer__brand .brand img {
    height: 100px;
}

.footer__brand .brand__text {
    color: #fff;
}

.footer__brand .brand__sub {
    color: var(--color-on-dark-muted);
}

.footer__contact {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.f-contact {
    display: flex;
    /*align-items: center;*/
    gap: 10px;
    font-size: .875rem;
    color: var(--color-on-dark-muted);
}
.f-contact img, .f-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-brand-yellow);
    stroke-width: 2;
    fill: none;
    flex: 0 0 auto;
}
.f-contact span{
    min-width: 75px;
}

.f-contact b {
    color: #fff;
    font-weight: 700;
}

.footer__qrs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .footer__qrs {
        grid-template-columns: repeat(2, 1fr);
        max-width: 420px;
    }
}

.qr-card {
    background: var(--color-bg-yellow-soft);
    border-radius: var(--radius-card);
    padding: 16px;
    text-align: center;
}

.qr-card__box {
    width: min(132px, 100%);
    height: 132px;
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid var(--color-border);
}

.qr-card h4 {
    color: var(--color-ink);
    font-size: .875rem;
    margin-bottom: 2px;
}

.qr-card p {
    color: var(--color-text-primary);
    font-size: .75rem;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-dark-border);
}

.footer__nav a {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--color-on-dark-muted);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-dark-border);
    transition: border-color .2s ease, color .2s ease;
}

.footer__nav a:hover {
    color: var(--color-on-dark-yellow);
    border-color: var(--color-brand-yellow);
}

.footer__bar {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-dark-border);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    color: var(--color-on-dark-muted);
    font-size: .75rem;
}

.footer__bar .qual {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* =====================================================================
灯箱 / 滚动进度条 / 回到顶部
===================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(10, 10, 10, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__box {
    width: 92vw;
    max-width: 1100px;
    background: var(--color-dark-ink);
    border-radius: var(--radius-card);
    overflow: hidden;
    transform: scale(.98);
    transition: transform .22s ease;
}

.lightbox.is-open .lightbox__box {
    transform: scale(1);
}

.lightbox__media {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--color-dark-ink);
}

.lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    transition: background .2s ease;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, .24);
}

.lightbox__close svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.lightbox__cap {
    padding: 16px 20px;
    color: var(--color-on-dark);
}

.lightbox__cap .small {
    color: var(--color-on-dark-muted);
    margin-top: 4px;
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--color-brand-yellow);
    z-index: calc(var(--z-sticky) + 2);
}

.totop {
    position: fixed;
    right: 18px;
    bottom: 90px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-brand-blue);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-float);
    z-index: var(--z-dropdown);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.totop.is-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.totop:hover {
    background: var(--color-brand-blue-deep);
}

.totop svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2.2;
    fill: none;
}

/* =====================================================================
动效降级（prefers-reduced-motion）
===================================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .vid-ph.is-playing .vid-ph__bg,
    .vid-ph.is-playing .vid-ph__shimmer {
        animation: none !important;
    }
}

@media (max-width: 1023px) {
    .sitehead__row {
        height: auto;
        /* grid-template-columns: 1fr auto 1fr; */
    }

    .brand-v2 {
        justify-content: center;
    }
}

/* 新增导航样式 */
.head_top {
    width: 100%;
    height: 38px;
    line-height: 38px;
    background: #e5e5e5;
    font-size: 12px;
    position: relative;
    z-index: 10005;
}

.sitehead .w1280 {
    width: 100%;
    max-width: 1200px;
}

.head_top_cont {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
}

.head_top .head_top_cont,
.head_top .clearfix {
    overflow: inherit;
}

.head_top .topz span {
    background: url(../img/position01_icon.png) no-repeat 10px center #e5e5e5;
    display: inline-block;
    padding: 0px 10px;
    text-indent: 15px;
    height: 38px;
}

.topy ul li {
    float: left;
    margin-left: 10px;
    font-size: 12px;
}

.topy ul li a {
    font-size: 12px;
}

.topy ul li span {
    /*color: #0071ab;*/
    font-weight: bold;
    font-size: 12px;
}

.topy .layui-nav {
    padding: 0;
    background: none;
    color: #808080;
    display: flex;
}

.topy > .layui-nav > .layui-nav-item {
    position: relative;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    line-height: 38px;
}


.topy > .layui-nav > .layui-nav-item .layui-nav-child {
    top: 38px;
}

.topy > .layui-nav > .layui-nav-item .layui-nav-more {
    display: none;
}


.topy .layui-nav .layui-nav-item a {
    color: #0071bc;
    padding: 0 10px;
}


.topy .layui-nav .layui-this::after,
.layui-nav-bar,
.layui-nav-tree .layui-nav-itemed::after {
    background: none;
}

.topy .layui-nav .layui-nav-item:hover {
    background: #ffffff;
}

.select_city_box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 38px;
    /* margin-left: -600px; */
    background: #fff;
    border: 1px solid #f3f3f3;
    background-color: #fff;
    z-index: 2;
    border-top: 0px;
    padding-top: 15px;
    padding-bottom: 35px;
    display: none;
    z-index: 10000;
}

.select_city_box .city_box {
    width: 1078px;
    margin: 15px auto 0px auto;
}

.select_city_box .all_city {
    margin-top: 0px;
}

.select_city_box .city_box h2 {
    color: #4d4d4d;
    font-size: 16px;
    font-weight: bold;
    line-height: 300%;
    border-bottom: 1px solid #ccc;
    text-indent: 35px;
}

.select_city_box .position_city h2 {
    color: #333;
    background: url(../img/position02_icon.png) no-repeat 5px center;
}

.select_city_box .position_city h2 a {
    color: #4d4d4d;
    font-size: 16px;
    font-weight: bold;
}

.select_city_box .position_city h2 a:hover {
    color: red;
}

.select_city_box .hot_city h2 {
    background: url(../img/hot_icon.png) no-repeat 5px center;
}

.select_city_box .all_city h2 {
    background: url(../img/city_icon.png) no-repeat 5px center;
}

.select_city_box .city_box ul {
    overflow: hidden;
    padding: 20px 0px 0px 0px;

}

.select_city_box .city_box ul li {
    float: left;
    width: 70px;
    margin-right: 42px;
    margin-bottom: 15px;
    text-align: center;
}

.select_city_box .city_box ul li a {
    color: #494949;
}

.select_city_box .city_box ul li a:hover {
    color: red;
}

.select_city_box .city_box ul li:nth-child(10n) {
    margin-right: 0px;
}

/* =====================================================================
   ⑥ CTA 收口 .tpage-cta（中性浅灰卡 · 黄主按钮点缀）— 照抄演播室页
   ===================================================================== */
.tpage-cta {
    padding-block: var(--space-5) var(--space-8);
}

@media (min-width: 1024px) {
    .tpage-cta {
        padding-block: var(--space-6) var(--space-9);
    }
}

.tpage-cta__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4) var(--space-5);
    background: var(--color-bg-soft);
    border-radius: var(--radius-card);
    padding: var(--space-5) var(--space-6);
}

@media (min-width: 1024px) {
    .tpage-cta__card {
        padding: var(--space-6) var(--space-7);
    }
}

.tpage-cta__card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text-heading);
    font-size: 1.375rem;
    line-height: 1.3;
}

.tpage-cta__card p {
    margin-top: var(--space-2);
    color: var(--color-text-primary);
    font-size: .9375rem;
}

.tpage-cta__card .btn {
    flex: 0 0 auto;
}

/* 新增样式 */
.w1280 {
    max-width: 1200px;
    width: 100%;
    margin: 0px auto;
}


/* 通用列表样式 */
.list_banner_pc {
}

.list_banner_pc img {
    width: 100%;
}

/* 通用列表广告样式小 */
.list_min_ad_pc {
    width: 100%;
    height: 214px;
    overflow: hidden;
    text-align: center;
    line-height: 0px;
    font-size: 0px;
    position: relative;
    margin-top: 30px;
}

.list_min_ad_pc a {
    width: calc(100% - 2rem);
    height: 100%;
    max-height: 188px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0px;
    z-index: 1;
    transform: translateX(-50%);
    text-align: center;
    overflow: hidden;
}

.list_min_ad_pc img {
    display: block;
    margin: 0px auto;
    transition: all 500ms;
    width: 100%;
}

.list_min_ad_pc:hover img {
    transform: scale(1.1);
}

.list_min_ad_pc .bj {
    width: 100%;
    background: #9b9b9b;
    height: 214px;
    position: absolute;
    right: -5rem;
    top: 0px;
    /* transform: translateX(60%); */
}

/* 通用面包屑样式 */
#position {
    padding-top: 2px;
    line-height: 52px;
    height: 52px;
    border-bottom: 2px solid var(--color-brand-yellow);
    margin-top: 20px;
    margin-bottom: 30px;
    overflow: initial;
}

#position a {
    font-size: 20px;
    color: #9b9b9b;
}

#position strong {
    font-size: 20px;
    font-family: var(--font-heading);
    display: inline-block;
    border-bottom: 3px solid var(--color-brand-yellow);
    color: #333333;
    height: 100%;
}

/* ---------- ② 分类筛选条 .tsecnav（照抄名师页 L1156-1163 · pill 由锚点改筛选按钮） ---------- */
.tsecnav {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    margin-top: 20px;
}

.tsecnav .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    /* padding-block: var(--space-3) var(--space-5); */
}

.tsecnav__pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 1.625rem;
    line-height: 1;
    transition: all .18s ease;
    border-bottom: 3px solid var(--color-white);
    padding-top: 35px;
    padding-bottom: 35px;
    line-height: 100%;
}

.tsecnav__pill:hover,
.tsecnav__pill.is-active {
    color: var(--color-ink);
    border-bottom: 3px solid var(--color-brand-yellow);
}


.tsecnav__pill:focus-visible {
    outline: 3px solid rgba(30, 64, 175, .35);
    outline-offset: 2px;
}

.tsecnav__pill {
    background-size: 30px !important;
    padding-left: 40px;
}

@media (min-width: 1024px) {
    .tsecnav {
        position: sticky;
        top: 64px;
        z-index: var(--z-dropdown);
        box-shadow: var(--shadow-card);
    }
}

@media (max-width: 767px) {

    .tsecnav .container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--space-4);
    }

    .tsecnav .container::-webkit-scrollbar {
        display: none;
    }

    .tsecnav__pill {
        font-size: 18px;
        padding-top: 10px;
        padding-bottom: 10px;
        background-size: 20px !important;
        padding-left: 30px;
        flex: 0 0 auto;
    }

}


/* =====================================================================
⑨d 东昱画室 · 校园服务（标准色 logo · 标语 · 6 长卡 · 宽布局）
===================================================================== */
/* 服务区不继承 .section 的 min-height:100vh + 居中 —— 让它紧贴上一模块、连贯到 footer */
/* 浅灰过渡带：白区（studio）→ 浅灰带（svc）→ 深墨（footer）三段呼吸，消除硬切 */
.svc {
    border-top: 1px solid var(--color-border);
    padding-block: var(--space-5) var(--space-6);
    min-height: auto;
    justify-content: flex-start;
    gap: var(--space-3);
    background: url(../img/bj_wenlu.png) no-repeat center bottom var(--color-bg-soft);
}

.svc .container {
    max-width: var(--container-wide);
    padding-inline: 32px;
    margin-bottom: 80px;
    margin-top: 80px;

}

.svc__head {
    text-align: center;
    margin-bottom: var(--space-4);
    margin-bottom: 50px;

}

.svc__logo {
    display: block;
    text-align: center;
    margin: 0 auto var(--space-3);
}

.svc__logo-img {
    height: 96px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.svc__slogan {
    font-size: clamp(1.375rem, 2vw, 1.875rem);
    font-weight: 800;
    color: var(--color-ink);
    letter-spacing: .22em;
    font-family: var(--font-heading, serif);
}

.svc__slogan em {
    color: var(--color-brand-blue-deep);
    font-style: normal;
    font-weight: 900;
}

.svc__slogan::before,
.svc__slogan::after {
    content: "";
    display: inline-block;
    width: 54px;
    height: 1px;
    background: var(--color-ink);
    vertical-align: middle;
    margin: 0 22px;
    opacity: .35;
}

.svc__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

/* 默认 1 列 */
@media (min-width: 640px) {
    .svc__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ≥640 2 列 */
@media (min-width: 768px) {
    .svc__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ≥768 3 列 */
@media (min-width: 1024px) {
    .svc__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 桌面 6 列（现状） */
/* 卡片显著加长，承载模块视觉重量 */
.svc__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 48px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease, background .25s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 280px;
    justify-content: center;
}

/* ★ 已删除 .svc__card::before 蓝色顶条 —— 服务索引卡不再用内容卡强调语法 */
.svc__card:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-6px);
    border-color: var(--color-brand-blue);
}

.svc__card:hover .svc__icon {
    background: var(--color-brand-blue);
}

.svc__card:hover .svc__icon svg {
    stroke: var(--color-on-blue);
    transform: translateY(-2px);
}

.svc__card:hover .svc__title {
    color: var(--color-brand-blue);
}

.svc__card:focus-visible {
    outline: 3px solid rgba(30, 64, 175, .35);
    outline-offset: 2px;
}

/* 图标圆片 —— 与 iconrail 圆片形成家族呼应（56px 圆 + 线性图标） */
.svc__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-brand-blue-light);
    display: grid;
    place-items: center;
    transition: background .25s ease, transform .25s ease;
}

.svc__icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-brand-blue);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .25s ease, transform .25s ease;
}

.svc__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-heading);
    letter-spacing: .04em;
    transition: color .25s ease;
    margin-top: 2px;
}

.svc__sub {
    font-size: .6875rem;
    letter-spacing: .32em;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: -6px;
}

/* 窄屏卡片微缩 */
@media (max-width: 639px) {
    .svc__card {
        min-height: auto;
        padding: 32px 16px 28px;
        gap: 14px;
    }

    .svc__icon {
        width: 48px;
        height: 48px;
    }

    .svc__icon svg {
        width: 26px;
        height: 26px;
    }

    .svc__title {
        font-size: 1rem;
    }
}


/* 手机端尾部悬浮 */
.qbar {
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    background: var(--color-brand-yellow);
    padding: 5px 15px;
    flex-wrap: wrap;
    width: 100%;
    position: sticky;
    left: 0px;
    bottom: 0px;
    z-index: 998;
}

.qbar__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--color-brand-blue);
    padding: 4px 6px;
    transition: opacity .18s ease;
}

.qbar__btn:hover {
    opacity: .72;
}

.qbar__btn--stack {
    flex-direction: column;
    gap: 2px;
}

.qbar__ic {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--color-brand-blue);
}

.qbar__ic svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qbar__tx {
    font-family: var(--font-heading);
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--color-brand-blue);
    white-space: nowrap;
}

.qbar__btn--stack .qbar__tx {
    font-size: .82rem;
    font-weight: 700;
}


/* —— 校园环境：左右两栏（左=360 全景 / 右=简介+口号）+ 下方 6 视频 3×2 —— */
.campus__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-4);
    align-items: stretch;
}

.campus__pano-wrap {
    width: 100%;
    max-width: 42.88rem;
    max-height: 24.13rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    aspect-ratio: 686 / 386;
}

.campus__intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 0;
}

.campus__about {
    flex: 1;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-height: 0;
    overflow: hidden;
    background: url(../img/shizi.png) no-repeat right 70% var(--color-white);
    background-size: 250px;
}

.campus__about-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text-heading);
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.campus__about-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--color-brand-yellow);
    border-radius: 2px;
}

.campus__about-text {
    font-size: .8125rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.campus__about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.campus__about-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8125rem;
    color: var(--color-text-primary);
}

.campus__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-brand-blue);
    flex: 0 0 auto;
}

.campus__slogan {
    margin: auto calc(var(--space-4) * -1) calc(var(--space-4) * -1);
    background: linear-gradient(135deg, var(--color-dark-ink) 0%, var(--color-brand-blue-deep) 100%);
    color: #fff;
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px);
}

.campus__slogan::after {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(245, 216, 0, .18) 0%, transparent 70%);
    pointer-events: none;
}

.campus__slogan-eyebrow {
    font-size: .6875rem;
    letter-spacing: .32em;
    color: var(--color-brand-yellow);
    font-weight: 600;
    white-space: nowrap;
}

.campus__slogan-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

/* —— 6 视频 3×2 网格（一屏内）—— */
.campus__vgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.ccard {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    cursor: pointer;
}

.ccard:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-4px);
    border-color: var(--color-brand-yellow);
}

.ccard__media {
    position: relative;
    aspect-ratio: 377/212;
    overflow: hidden;
    /* width: 377px;
    height: 212px; */
}

.ccard__media .vid-ph__bg {
    transition: transform .4s ease;
}

@media (min-width: 1024px) {
    .ccard:hover .vid-ph__bg {
        transform: scale(1.05);
    }
}

.ccard__body {
    padding: 10px 12px;
}

.ccard__body h4 {
    font-size: .875rem;
    color: var(--color-text-heading);
    font-weight: 600;
}

.ccard__body .small {
    color: var(--color-text-secondary);
    font-size: .75rem;
    margin-top: 2px;
}

/* 360 全景 VR —— 去掉自身 margin-top，由外层 grid 控制间距 */
.pano {
    position: relative;
    aspect-ratio: 16/8.4;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: grab;
    background: var(--color-dark-ink);
    user-select: none;
    flex: 1;
    min-height: 0;
    margin-top: 0;
}


/* —— ⑤ 分页器（对应参考页 .pageBox · 首页无分页组件 · 按钮/标签语言拼装） —— */
.listpage__pager ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-6);
}

.listpage__pager ul li {
    min-width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.listpage__pager ul li a, .listpage__pager ul li span {
    font-family: var(--font-number);
    font-weight: 700;
    font-size: .875rem;
    color: var(--color-text-secondary);
    width: 100%;
    height: 100%;
    display: block;
    line-height: 38px;
    padding: 0 12px;
    text-align: center;
}

.listpage__pager ul li:hover {
    color: var(--color-brand-yellow-text);
    border-color: var(--color-brand-yellow);
    background: var(--color-bg-yellow-soft);
}

.listpage__pager ul li.active {
    background: var(--color-brand-yellow);
    color: var(--color-on-yellow);
    font-weight: 800;
    border-color: var(--color-ink);
    box-shadow: 2px 2px 0 var(--color-ink);
}

.listpage__page:focus-visible {
    outline: 3px solid rgba(30, 64, 175, .35);
    outline-offset: 2px;
}

/*视频播放框*/
.videoMsgBox {
    border-radius: 15px !important;
    overflow: hidden;
    max-width: 800px;
    max-height: 500px;
}

.layui-layer-setwin .layui-layer-close2 {
    right: -10px !important;
    top: -10px !important;
    z-index: 999;
}

.videoBoxDiy {
    max-width: 800px;
    max-height: 500px;
    width: 100%;
    height: 100%;
    background: #000;
    padding: 5px;
}

.videoBoxDiy dl {
    width: 90%;
    margin: 0px auto;
}

.videoBoxDiy dl dt {
    color: var(--color-on-dark);
    font-weight: bold;
    font-size: 1rem;
    margin-top: 5px;
}

.videoBoxDiy dl dd {
    color: var(--color-on-dark-muted);
    margin-top: 4px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.videoPlayBtn {
    cursor: pointer;
}


/* 自适应 */
@media (max-width: 1200px) {
    .sitehead__phone {
        display: none;
    }
}

@media (max-width: 1023px) {
    .qbar {
        display: flex;
    }

    .footer__cta {
        display: none;
    }

    .head_top {
        display: none;
    }
}

@media (min-width: 767px) {

    .list_banner_m {
        display: none;
    }
}

@media (max-width: 767px) {

    #position,
    #position strong,
    #position a {
        font-size: .8rem;
    }

    .list_banner_pc {
        display: none;
    }

    .list_min_ad_pc {
        display: none;
    }

    .videoBoxDiy {
        width: 100%;
        /*height: 400px;*/
    }
}

@media (max-width: 959px) {
    .campus__top {
        grid-template-columns: 1fr;
    }

    .campus__pano-wrap {
        max-width: 100%;
    }

    .campus__vgrid {
        grid-template-columns: repeat(1, 1fr);
    }

    .svc__slogan {
        font-size: clamp(1rem, 2vw, 1.875rem);
        letter-spacing: 0em;
    }

    .svc__slogan::before,
    .svc__slogan::after {
        content: "";
        display: inline-block;
        width: 20px;
        height: 1px;
        background: var(--color-ink);
        vertical-align: middle;
        margin: 0 22px;
        opacity: .35;
    }

    .svc__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .teacher__avatar {
        flex: initial;
    }
}

/* =====================================================================
   在线咨询悬浮图标（PC 端右侧 · 弹跳 + 呼吸光晕 + 未读红点，点击展开联系面板）
   ===================================================================== */
.kf {
    position: fixed;
    right: 18px;
    bottom: 152px;
    z-index: var(--z-dropdown);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

/* 悬浮按钮：GIF 动图本体（自带弹跳+红点动画），容器只保留浮起阴影与 hover 反馈 */
.kf__btn {
    position: relative;
    width: 62px;
    height: 62px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    box-shadow: var(--shadow-float);
    border-radius: 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.kf__btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 24px rgba(10, 10, 10, .18);
}

.kf__btn:active {
    transform: scale(.96);
}

.kf__btn img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 22px;
}

/* 呼吸光晕：柔和黄圈向外扩散，配合 GIF 动画双重提醒 */
.kf__pulse {
    position: absolute;
    inset: -6px;
    border-radius: 26px;
    border: 2px solid var(--color-brand-yellow);
    pointer-events: none;
    opacity: 0;
    animation: kf-pulse 2.4s ease-out infinite;
}

/* 样式预览切换器（选型用，可移除） */
.kf__switcher {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
    align-self: center;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 5px 10px;
    box-shadow: var(--shadow-card);
}

.kf__sw {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    background: #cfd4dd;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.kf__sw:hover {
    transform: scale(1.25);
}

.kf__sw.is-active {
    background: var(--color-brand-yellow);
    box-shadow: 0 0 0 2px var(--color-ink);
    transform: scale(1.15);
}

/* 弹出联系面板 */
.kf__panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 240px;
    background: var(--color-white);
    border: 1.5px solid var(--color-ink);
    border-radius: var(--radius-card);
    box-shadow: 6px 6px 0 rgba(10, 10, 10, .16), var(--shadow-float);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px) scale(.96);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.kf.is-open .kf__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.kf__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kf__panel-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: .95rem;
    color: var(--color-ink);
}

.kf__panel-close {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--color-text-secondary);
    display: grid;
    place-items: center;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}

.kf__panel-close:hover {
    background: var(--color-bg-soft);
    color: var(--color-ink);
}

.kf__panel-close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
}

.kf__row {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text-primary);
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: border-color .15s ease, background .15s ease;
}

.kf__row:hover {
    border-color: var(--color-brand-yellow);
    background: var(--color-bg-soft);
}

.kf__row-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.kf__row-icon svg {
    width: 17px;
    height: 17px;
    stroke: var(--color-brand-blue-deep);
    stroke-width: 1.9;
    fill: none;
}

.kf__row b {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    color: var(--color-ink);
}

.kf__row small {
    display: block;
    font-size: .72rem;
    color: var(--color-text-secondary);
    margin-top: 1px;
}

@keyframes kf-pulse {
    0% {
        opacity: .7;
        transform: scale(.8);
    }
    70% {
        opacity: 0;
        transform: scale(1.45);
    }
    100% {
        opacity: 0;
        transform: scale(1.45);
    }
}

@media (max-width: 1023px) {
    .kf {
        display: none;
    }
}

@media (max-width: 392px) {
    .campus__slogan-text {
        font-size: 1rem;
    }
}