/* ============================================================
   明迪教育 · 学校版设计系统
   前台所有页面共用：首页 / 学校介绍 / 课程中心 / 课程详情 /
   师资 / 资讯 / 联系 / 报名单 / 会员中心
   ============================================================ */

:root {
    --school-ink: #1b2433;
    --school-navy: #0e2038;
    --school-navy-2: #193653;
    --school-navy-rgb: 14, 32, 56;
    --school-gold: #b48a4a;
    --school-gold-2: #8f6a33;
    --school-gold-soft: #efe4d2;
    --school-teal: #2f5d50;
    --school-burgundy: #7a2433;
    --school-cream: #f4efe5;
    --school-paper: #fbf8f1;
    --school-muted: #6f6a61;
    --school-line: #ddd3c3;
    --school-danger: #8f2f3f;
    --school-radius: 8px;
    --school-shadow: 0 18px 44px rgba(14, 32, 56, .08);
    --school-serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

html {
    scroll-behavior: smooth;
}

.school-body {
    background: var(--school-paper);
    color: var(--school-ink);
    font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.school-body a {
    text-decoration: none;
    color: inherit;
}

/* 高等教育风格：标题使用衬线体，正文保持无衬线，避免影响阅读 */
.school-body h1,
.school-body h2,
.school-body h3,
.school-body h4,
.school-body h5,
.school-body h6 {
    font-family: var(--school-serif);
    font-weight: 700;
    letter-spacing: .01em;
}

.school-body .hero-copy h1,
.school-body .section-head h2,
.school-body .about-copy h2,
.school-body .page-hero h1,
.school-body .cta-band h2,
.school-body .course-detail-title {
    font-weight: 700;
}

.school-body img {
    max-width: 100%;
}

.school-body ::selection {
    background: var(--school-gold-soft);
    color: var(--school-navy);
}

/* ==================== 顶部导航 ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 253, 249, .94);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--school-line);
}

.site-header .header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.school-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    flex: 0 0 auto;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    background: var(--school-paper);
    border: 1px solid #d8cdbb;
    box-shadow: 0 4px 12px rgba(var(--school-navy-rgb), .12);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.brand-mark::after {
    display: none;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--school-navy);
    white-space: nowrap;
}

.brand-text small {
    font-size: .6rem;
    letter-spacing: .22em;
    color: #9a8f7d;
    margin-top: .22rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: .2rem;
    margin-left: .6rem;
}

.main-nav > a {
    position: relative;
    padding: .55rem .85rem;
    font-size: .93rem;
    font-weight: 500;
    color: #34425a;
    border-radius: 10px;
    white-space: nowrap;
    flex: 0 0 auto;
    transition: color .18s, background .18s;
}

.main-nav > a:hover {
    color: var(--school-navy);
    background: var(--school-cream);
}

.main-nav > a.active {
    color: var(--school-navy);
    font-weight: 700;
}

.main-nav > a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: .18rem;
    width: 18px;
    height: 3px;
    border-radius: 3px;
    transform: translateX(-50%);
    background: var(--school-gold);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .55rem;
    white-space: nowrap;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .86rem;
    font-weight: 700;
    color: var(--school-navy);
    white-space: nowrap;
    margin-right: .3rem;
}

.header-phone i {
    color: var(--school-gold-2);
}

.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--school-navy);
    background: #fff;
    border: 1px solid var(--school-line);
    transition: all .18s;
}

.icon-btn:hover {
    border-color: var(--school-gold);
    color: var(--school-gold-2);
    transform: translateY(-1px);
}

.icon-btn .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--school-gold);
    color: var(--school-navy);
    font-size: .6rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.site-header .nav-link {
    color: #34425a;
    font-size: .88rem;
    padding: .35rem .55rem;
    white-space: nowrap;
}

.site-header .nav-link:hover {
    color: var(--school-navy);
}

/* ==================== 按钮 ==================== */
.btn-school {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--school-navy-2), var(--school-navy));
    color: #fff !important;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: .68rem 1.25rem;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 10px 24px rgba(var(--school-navy-rgb), .18);
    transition: transform .18s, box-shadow .18s, filter .18s;
}

.btn-school:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(var(--school-navy-rgb), .25);
    filter: brightness(1.05);
}

.btn-school-sm {
    padding: .48rem .9rem;
    font-size: .82rem;
    border-radius: 10px;
}

.btn-gold {
    background: linear-gradient(135deg, #f2b755, var(--school-gold-2));
    color: #2a1c05 !important;
    box-shadow: 0 10px 24px rgba(233, 162, 59, .3);
}

.btn-gold:hover {
    color: #2a1c05;
    box-shadow: 0 16px 30px rgba(233, 162, 59, .38);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 1px solid #cfc5b5;
    color: var(--school-navy) !important;
    background: transparent;
    border-radius: 12px;
    padding: .66rem 1.2rem;
    font-size: .92rem;
    font-weight: 700;
    transition: all .18s;
}

.btn-ghost:hover {
    border-color: var(--school-navy);
    background: #fff;
    transform: translateY(-2px);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--school-navy);
    padding-bottom: .2rem;
    border-bottom: 1px solid transparent;
}

.link-more:hover {
    color: var(--school-gold-2);
    border-bottom-color: var(--school-gold);
}

/* ==================== 首页 Hero ==================== */
/* 首屏 = Hero + 信任条。用视口高度撑满，信任条始终贴在首屏底部；
   内容比一屏高时自然增高，不会挡住下面的课程。 */
.hero-screen {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 79px);
    min-height: calc(100svh - 79px);
}

.hero-screen .school-hero {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
}

.hero-screen .school-hero > .container {
    width: 100%;
}

.hero-screen .trust-strip {
    margin-top: auto;
}

.school-hero {
    position: relative;
    padding: 4.2rem 0 4.8rem;
    background:
        radial-gradient(900px 500px at 88% 12%, rgba(233, 162, 59, .16), transparent 60%),
        radial-gradient(700px 420px at 6% 88%, rgba(42, 157, 143, .08), transparent 60%),
        var(--school-cream);
    overflow: hidden;
}

.school-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(20, 33, 61, .08) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.35), transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 3.2rem;
    align-items: center;
    min-width: 0;
}

.hero-grid > * {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--school-gold-2);
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--school-gold);
    border-radius: 2px;
}

.hero-copy h1 {
    font-size: clamp(2.35rem, 4vw, 3.75rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--school-navy);
    margin: 0 0 1.2rem;
}

.hero-copy h1 em {
    font-style: normal;
    color: var(--school-gold-2);
    position: relative;
    white-space: nowrap;
}

.hero-copy h1 em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .06em;
    height: .26em;
    background: rgba(180, 138, 74, .25);
    border-radius: 6px;
    z-index: -1;
}

.hero-copy p {
    font-size: 1.03rem;
    line-height: 1.95;
    color: #58647a;
    max-width: 34rem;
    margin-bottom: 1.7rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 2.2rem;
}

.hero-stats {
    display: flex;
    gap: 2.3rem;
    flex-wrap: wrap;
}

.hero-stat strong {
    display: block;
    font-size: 1.72rem;
    font-weight: 900;
    color: var(--school-navy);
    line-height: 1;
}

.hero-stat strong span {
    color: var(--school-gold-2);
    font-size: 1rem;
    margin-left: .1rem;
}

.hero-stat small {
    display: block;
    margin-top: .45rem;
    font-size: .78rem;
    color: #8b8579;
    letter-spacing: .04em;
}

.hero-art {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo {
    position: relative;
    width: 92%;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(var(--school-navy-rgb), .2);
    transform: rotate(1.2deg);
    background: #ddd;
}

.hero-photo img {
    width: 100%;
    aspect-ratio: 4 / 3.35;
    object-fit: cover;
    display: block;
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 39, 68, .18));
    pointer-events: none;
}

.hero-frame {
    position: absolute;
    width: 92%;
    height: 92%;
    border: 1px solid rgba(233, 162, 59, .55);
    border-radius: 28px;
    top: 2%;
    left: 6%;
    transform: rotate(-1.6deg);
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #f0e8da;
    border-radius: 16px;
    padding: .8rem 1rem;
    box-shadow: 0 18px 40px rgba(var(--school-navy-rgb), .14);
    display: flex;
    align-items: center;
    gap: .65rem;
    animation: floaty 5.5s ease-in-out infinite;
}

.float-card .fc-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--school-gold-soft);
    color: var(--school-gold-2);
    font-size: 1.05rem;
}

.float-card strong {
    display: block;
    font-size: .9rem;
    color: var(--school-navy);
    line-height: 1.2;
}

.float-card small {
    font-size: .7rem;
    color: #8b8579;
}

.fc-1 {
    left: -1.5rem;
    top: 2.4rem;
}

.fc-2 {
    right: -1.6rem;
    bottom: 4.2rem;
    animation-delay: 1.2s;
}

.fc-3 {
    left: 1.2rem;
    bottom: -1.4rem;
    animation-delay: 2.1s;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==================== 信任条 ==================== */
.trust-strip {
    background: var(--school-navy);
    color: #fff;
    padding: 1.15rem 0;
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    justify-content: center;
}

.trust-item i {
    font-size: 1.25rem;
    color: var(--school-gold);
}

.trust-item strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.trust-item small {
    display: block;
    font-size: .72rem;
    color: rgba(255, 255, 255, .58);
}

/* ==================== 高等教育风格细节 ==================== */
.brand-text strong,
.hero-stat strong,
.course-price .num,
.trust-item strong {
    font-family: var(--school-serif);
}

.site-header {
    border-bottom: 1px solid #d8cdbb;
    box-shadow: 0 2px 0 rgba(180, 138, 74, .16);
}

.eyebrow {
    letter-spacing: .2em;
    font-weight: 700;
}

.feature-card,
.teacher-card,
.news-card,
.cta-band,
.value-card,
.contact-card,
.catalog-side,
.course-detail-card,
.detail-section,
.jc-card,
.honor-card,
.campus-card,
.course-fact,
.spec-chip,
.course-price-box,
.jc-toast,
.course-empty {
    border-radius: 8px;
}

.course-badge,
.course-age,
.tag-pill,
.course-highlights span,
.package-table .badge,
.course-meta .badge {
    border-radius: 3px;
}

.course-enroll,
.btn-ghost,
.spec-chip,
.course-price-box,
.account-nav,
.account-nav-item,
.jc-side-nav .list-group-item {
    border-radius: 4px;
}

.course-enroll {
    background: #fff;
    border-color: #d8cdbb;
}

.course-card:hover .course-enroll {
    background: var(--school-navy);
    border-color: var(--school-navy);
    color: #fff;
}

.hero-frame {
    border-color: rgba(180, 138, 74, .65);
}

.hero-photo {
    border-radius: 10px;
}

.hero-photo::after {
    background: linear-gradient(180deg, transparent 60%, rgba(14, 32, 56, .22));
}

.float-card {
    border-radius: 6px;
    border-color: #ded4c4;
    background: rgba(251, 248, 241, .97);
}

.float-card .fc-icon {
    border-radius: 4px;
    background: var(--school-gold-soft);
    color: var(--school-gold-2);
}

.course-price .num {
    letter-spacing: 0;
}

.course-cat {
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ==================== 通用 Section ==================== */
.school-section {
    padding: 5.4rem 0;
}

.school-section.tight {
    padding: 3.6rem 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.4rem;
}

.section-head h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--school-navy);
    margin: 0 0 .45rem;
}

.section-head p {
    margin: 0;
    color: #7b8494;
    font-size: .95rem;
}

.section-head .eyebrow {
    margin-bottom: .55rem;
}

/* ==================== 课程方格 ==================== */
.course-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 2rem;
}

.course-filter button {
    border: 1px solid var(--school-line);
    background: #fff;
    color: #48566b;
    font-size: .86rem;
    font-weight: 600;
    border-radius: 999px;
    padding: .48rem 1.05rem;
    transition: all .18s;
}

.course-filter button:hover {
    border-color: var(--school-gold);
    color: var(--school-navy);
}

.course-filter button.active {
    background: var(--school-navy);
    border-color: var(--school-navy);
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--school-navy-rgb), .18);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.course-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-card {
    background: #fff;
    border: 1px solid #ded4c4;
    border-radius: var(--school-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    min-width: 0;
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: rgba(180, 138, 74, .6);
    box-shadow: 0 18px 38px rgba(var(--school-navy-rgb), .1);
}

.course-cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ede7dc;
}

.course-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.course-card:hover .course-cover img {
    transform: scale(1.045);
}

.course-cover .cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8ad9c;
    font-size: 2rem;
    background: linear-gradient(135deg, #f4eee3, #e9e1d3);
}

.course-badge {
    position: absolute;
    top: .8rem;
    left: .8rem;
    background: rgba(15, 39, 68, .88);
    color: #fff;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .3rem .6rem;
    border-radius: 7px;
    backdrop-filter: blur(6px);
}

.course-badge.hot {
    background: linear-gradient(135deg, #f2b755, var(--school-gold-2));
    color: #2a1c05;
}

.course-age {
    position: absolute;
    right: .7rem;
    bottom: .7rem;
    background: rgba(255, 253, 249, .92);
    color: var(--school-navy);
    font-size: .68rem;
    font-weight: 700;
    padding: .28rem .55rem;
    border-radius: 7px;
    backdrop-filter: blur(6px);
}

.course-body {
    padding: 1.05rem 1.05rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-cat {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--school-gold-2);
    margin-bottom: .35rem;
}

.course-title {
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 .45rem;
    color: var(--school-navy);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-title a:hover {
    color: var(--school-gold-2);
}

.course-intro {
    font-size: .79rem;
    color: #7d8797;
    line-height: 1.65;
    margin: 0 0 .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .9rem;
    font-size: .71rem;
    color: #8d867a;
    margin-bottom: .85rem;
    padding-bottom: .8rem;
    border-bottom: 1px dashed #eee6d9;
}

.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    white-space: nowrap;
}

.course-meta i {
    color: #b9ad98;
}

.course-price-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .4rem;
    font-size: .67rem;
    color: #9a9285;
    margin: -.15rem 0 .45rem;
    white-space: nowrap;
    overflow: hidden;
}

.course-price-extra span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-price-extra strong {
    color: var(--school-gold-2);
    font-weight: 800;
    flex: 0 0 auto;
}

.course-foot {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .5rem;
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: .16rem;
    color: var(--school-danger);
    font-weight: 900;
}

.course-price .cur {
    font-size: .8rem;
    font-weight: 800;
}

.course-price .num {
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: -.02em;
}

.course-price .suffix {
    font-size: .7rem;
    color: #a39785;
    font-weight: 500;
    margin-left: .15rem;
}

.course-enroll {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: var(--school-cream);
    color: var(--school-navy);
    border: 1px solid #e8dfd0;
    font-size: .76rem;
    font-weight: 700;
    padding: .46rem .75rem;
    border-radius: 9px;
    white-space: nowrap;
    transition: all .18s;
}

.course-card:hover .course-enroll {
    background: var(--school-navy);
    border-color: var(--school-navy);
    color: #fff;
}

.course-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3.5rem 1rem;
    color: #9a9285;
    border: 1px dashed #ded5c6;
    border-radius: var(--school-radius);
    background: #fffdf9;
}

/* ==================== 学校介绍 ==================== */
.about-band {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media img {
    width: 100%;
    border-radius: 22px;
    aspect-ratio: 4 / 3.1;
    object-fit: cover;
    box-shadow: var(--school-shadow);
}

.about-media::before {
    content: "";
    position: absolute;
    top: -1.2rem;
    left: -1.2rem;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: repeating-linear-gradient(45deg, rgba(233, 162, 59, .28) 0 2px, transparent 2px 10px);
    z-index: -1;
}

.exp-badge {
    position: absolute;
    right: -1.3rem;
    bottom: -1.5rem;
    background: var(--school-navy);
    color: #fff;
    border-radius: 18px;
    padding: 1rem 1.2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(var(--school-navy-rgb), .22);
    border: 4px solid var(--school-paper);
}

.exp-badge strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--school-gold);
    line-height: 1;
}

.exp-badge span {
    font-size: .72rem;
    color: rgba(255, 255, 255, .7);
}

.about-copy h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    font-weight: 900;
    line-height: 1.3;
    color: var(--school-navy);
    margin-bottom: 1.1rem;
}

.about-copy p {
    color: #667085;
    line-height: 1.95;
    font-size: .96rem;
    margin-bottom: 1.4rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem 1.2rem;
}

.check-list li {
    position: relative;
    padding-left: 1.7rem;
    font-size: .88rem;
    color: #48566b;
}

.check-list li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    color: var(--school-navy);
    background: var(--school-gold-soft);
}

/* ==================== 教学特色 ==================== */
.feature-band {
    background: var(--school-cream);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #efe7d9;
    border-radius: 18px;
    padding: 1.6rem 1.35rem;
    transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(var(--school-navy-rgb), .08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--school-gold-2);
    background: var(--school-gold-soft);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--school-navy);
    margin-bottom: .4rem;
}

.feature-card p {
    font-size: .8rem;
    color: #7f8899;
    line-height: 1.7;
    margin: 0;
}

/* ==================== 师资 ==================== */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
}

.teacher-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teacher-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee7db;
    transition: transform .2s, box-shadow .2s;
}

.teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(var(--school-navy-rgb), .1);
}

.teacher-photo {
    aspect-ratio: 1 / 1.06;
    overflow: hidden;
    background: var(--school-cream);
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teacher-body {
    padding: 1rem 1.05rem 1.1rem;
}

.teacher-body h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--school-navy);
    margin: 0 0 .2rem;
}

.teacher-body .role {
    font-size: .74rem;
    color: var(--school-gold-2);
    font-weight: 700;
    margin-bottom: .5rem;
}

.teacher-body p {
    font-size: .78rem;
    color: #7f8899;
    line-height: 1.65;
    margin: 0;
}

/* ==================== 校园环境 ==================== */
.campus-band {
    background: #fff;
}

.campus-gallery {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-template-rows: 260px 200px;
    gap: 1rem;
}

.campus-tile {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--school-cream);
}

.campus-tile:first-child {
    grid-row: 1 / span 2;
}

.campus-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.campus-tile:hover img {
    transform: scale(1.03);
}

.campus-tile .cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 1rem .9rem;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    background: linear-gradient(180deg, transparent, rgba(15, 39, 68, .72));
}

/* ==================== 资讯 ==================== */
.news-band {
    background: var(--school-cream);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.news-card {
    background: #fff;
    border: 1px solid #eee6d8;
    border-radius: 18px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(var(--school-navy-rgb), .08);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .7rem;
    color: #9a9285;
    margin-bottom: .8rem;
}

.news-meta .tag {
    background: var(--school-gold-soft);
    color: #8a5a0c;
    padding: .2rem .5rem;
    border-radius: 6px;
    font-weight: 700;
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--school-navy);
    margin: 0 0 .6rem;
}

.news-card p {
    font-size: .8rem;
    line-height: 1.7;
    color: #7f8899;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .read {
    margin-top: auto;
    font-size: .78rem;
    font-weight: 700;
    color: var(--school-gold-2);
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

/* ==================== CTA ==================== */
.cta-band {
    position: relative;
    background: linear-gradient(120deg, var(--school-navy), #204a70);
    color: #fff;
    border-radius: 26px;
    padding: 3rem 3.2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 0 -3.4rem;
    box-shadow: 0 30px 70px rgba(var(--school-navy-rgb), .24);
}

.cta-band::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(233, 162, 59, .35);
    box-shadow: 0 0 0 40px rgba(233, 162, 59, .06), 0 0 0 80px rgba(233, 162, 59, .04);
}

.cta-band h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    font-weight: 900;
    margin: 0 0 .45rem;
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: .9rem;
}

.cta-actions {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-wrap {
    padding-bottom: 3.4rem;
    background: #fff;
}

/* ==================== 页脚 ==================== */
.site-footer {
    background: #0b1f36;
    color: rgba(255, 255, 255, .66);
    padding: 3.4rem 0 0;
    font-size: .84rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr 1.1fr;
    gap: 2.4rem;
    padding-bottom: 2.4rem;
}

.footer-brand .school-brand {
    margin-bottom: 1rem;
}

.footer-brand .brand-text strong {
    color: #fff;
}

.footer-brand .brand-text small {
    color: rgba(255, 255, 255, .42);
}

.footer-brand p {
    line-height: 1.8;
    max-width: 22rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .56);
}

.footer-social {
    display: flex;
    gap: .5rem;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, .14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .72);
    transition: all .18s;
}

.footer-social a:hover {
    background: var(--school-gold);
    border-color: var(--school-gold);
    color: var(--school-navy);
}

.site-footer h6 {
    color: #fff;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
}

.footer-links a:hover {
    color: var(--school-gold);
}

.footer-contact div {
    display: flex;
    gap: .55rem;
    margin-bottom: .65rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--school-gold);
    margin-top: .15rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .6rem;
    font-size: .75rem;
    color: rgba(255, 255, 255, .36);
}

/* ==================== 首页底部：一行文字友情链接 ==================== */
.footer-friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .95rem;
    margin-top: 1.2rem;
    font-size: .78rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .45);
}

.footer-friend-links .footer-friend-label {
    color: rgba(255, 255, 255, .62);
    font-weight: 700;
}

.footer-friend-links a {
    color: rgba(255, 255, 255, .5);
    white-space: nowrap;
}

.footer-friend-links a:hover {
    color: var(--school-gold);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .5);
}

/* ==================== 内页 Hero ==================== */
.page-hero {
    padding: 4.6rem 0 3.6rem;
    background:
        radial-gradient(700px 360px at 82% 10%, rgba(233, 162, 59, .18), transparent 60%),
        var(--school-cream);
    border-bottom: 1px solid #efe7d8;
}

.page-hero .eyebrow {
    margin-bottom: .8rem;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--school-navy);
    margin: 0 0 .9rem;
}

.page-hero p {
    max-width: 42rem;
    color: #6e7889;
    line-height: 1.9;
    margin: 0;
    font-size: .98rem;
}

.page-hero .crumb {
    font-size: .78rem;
    color: #a49b8c;
    margin-bottom: 1.4rem;
}

.page-hero .crumb a {
    color: #8b8376;
}

.page-hero .crumb a:hover {
    color: var(--school-gold-2);
}

/* ==================== 学校介绍页 ==================== */
.story-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 4rem;
    align-items: center;
}

.story-copy h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.25rem);
    font-weight: 900;
    color: var(--school-navy);
    margin-bottom: 1rem;
}

.story-copy p {
    color: #667085;
    line-height: 2;
    font-size: .95rem;
}

.story-media img {
    width: 100%;
    border-radius: 22px;
    box-shadow: var(--school-shadow);
    aspect-ratio: 4 / 3.1;
    object-fit: cover;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.value-card {
    background: #fff;
    border: 1px solid #eee7db;
    border-radius: 20px;
    padding: 2rem 1.6rem;
    position: relative;
    overflow: hidden;
}

.value-card .num {
    font-size: 3.4rem;
    font-weight: 900;
    color: #f0e7d8;
    line-height: 1;
    margin-bottom: .4rem;
}

.value-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--school-navy);
    margin-bottom: .5rem;
}

.value-card p {
    font-size: .83rem;
    color: #7f8899;
    line-height: 1.75;
    margin: 0;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: .42rem;
    top: .4rem;
    bottom: .4rem;
    width: 2px;
    background: linear-gradient(180deg, var(--school-gold), #efe3cd);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.8rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: .28rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--school-gold);
}

.timeline-item .year {
    font-size: .74rem;
    font-weight: 800;
    color: var(--school-gold-2);
    letter-spacing: .08em;
    margin-bottom: .25rem;
}

.timeline-item h4 {
    font-size: .98rem;
    font-weight: 800;
    color: var(--school-navy);
    margin-bottom: .3rem;
}

.timeline-item p {
    font-size: .82rem;
    color: #7f8899;
    line-height: 1.7;
    margin: 0;
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.honor-card {
    background: #fff;
    border: 1px solid #eee7db;
    border-radius: 16px;
    padding: 1.3rem 1rem;
    text-align: center;
}

.honor-card i {
    font-size: 1.5rem;
    color: var(--school-gold-2);
    display: block;
    margin-bottom: .6rem;
}

.honor-card strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--school-navy);
}

.honor-card span {
    font-size: .74rem;
    color: #8b8579;
}

/* ==================== 联系页 ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: start;
}

.contact-card {
    background: #fff;
    border: 1px solid #eee7db;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: var(--school-shadow);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: .9rem;
    padding: .9rem 0;
    border-bottom: 1px dashed #eee6d8;
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-list .ci {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--school-gold-soft);
    color: var(--school-gold-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.contact-list strong {
    display: block;
    font-size: .8rem;
    color: #9a9285;
    font-weight: 500;
    margin-bottom: .15rem;
}

.contact-list a,
.contact-list span.val {
    color: var(--school-navy);
    font-size: .93rem;
    font-weight: 700;
}

.campus-list {
    display: grid;
    gap: .9rem;
}

.campus-card {
    border: 1px solid #eee7db;
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    background: #fffdf9;
    transition: border-color .18s, transform .18s;
}

.campus-card:hover {
    border-color: rgba(233, 162, 59, .55);
    transform: translateY(-2px);
}

.campus-card h4 {
    font-size: .98rem;
    font-weight: 800;
    color: var(--school-navy);
    margin: 0 0 .25rem;
}

.campus-card .feat {
    font-size: .7rem;
    color: var(--school-gold-2);
    font-weight: 700;
    margin-bottom: .45rem;
}

.campus-card p {
    font-size: .8rem;
    color: #7f8899;
    margin: 0;
    line-height: 1.7;
}

.map-box {
    margin-top: 1.6rem;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    min-height: 240px;
    background:
        linear-gradient(90deg, rgba(15, 39, 68, .04) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(rgba(15, 39, 68, .04) 1px, transparent 1px) 0 0 / 40px 40px,
        #f3ede2;
}

.map-box .pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
}

.map-box .pin i {
    font-size: 2rem;
    color: var(--school-danger);
}

.map-box .pin span {
    display: block;
    background: var(--school-navy);
    color: #fff;
    font-size: .72rem;
    padding: .35rem .6rem;
    border-radius: 8px;
    white-space: nowrap;
    margin-top: .2rem;
}

/* ==================== 课程中心 / 详情 ==================== */
.catalog-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

.catalog-side {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #eee7db;
    border-radius: 18px;
    padding: 1.2rem;
}

.catalog-side h6 {
    font-size: .72rem;
    letter-spacing: .1em;
    color: #9a9285;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 .8rem;
}

.catalog-side a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem .65rem;
    border-radius: 9px;
    font-size: .86rem;
    color: #48566b;
}

.catalog-side a:hover {
    background: var(--school-cream);
    color: var(--school-navy);
}

.catalog-side a.active {
    background: var(--school-navy);
    color: #fff;
    font-weight: 700;
}

.catalog-side a span.count {
    font-size: .68rem;
    opacity: .6;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.catalog-toolbar .result {
    font-size: .84rem;
    color: #8b8579;
}

.sort-pills {
    display: flex;
    gap: .4rem;
}

.sort-pills a {
    font-size: .78rem;
    padding: .38rem .7rem;
    border-radius: 8px;
    border: 1px solid var(--school-line);
    color: #59667a;
    background: #fff;
}

.sort-pills a.active {
    background: var(--school-cream);
    border-color: var(--school-gold);
    color: var(--school-navy);
    font-weight: 700;
}

.pager {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 2.2rem;
}

.pager a,
.pager span {
    min-width: 38px;
    height: 38px;
    padding: 0 .6rem;
    border-radius: 10px;
    border: 1px solid var(--school-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    color: #59667a;
    background: #fff;
}

.pager .active {
    background: var(--school-navy);
    border-color: var(--school-navy);
    color: #fff;
}

/* 详情页 */
.detail-page {
    background: var(--school-paper);
}

.detail-crumb {
    font-size: .8rem;
    color: #a49b8c;
    margin: 1.6rem 0 1.2rem;
}

.detail-crumb a {
    color: #8b8376;
}

.detail-crumb a:hover {
    color: var(--school-gold-2);
}

.course-detail-card {
    background: #fff;
    border: 1px solid #eee7db;
    border-radius: 24px;
    padding: 1.6rem;
    box-shadow: var(--school-shadow);
}

.detail-gallery {
    border-radius: 18px;
    overflow: hidden;
    background: var(--school-cream);
    aspect-ratio: 4 / 3.2;
}

.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-thumbs {
    display: flex;
    gap: .5rem;
    margin-top: .7rem;
}

.detail-thumbs img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
}

.detail-thumbs img.active {
    border-color: var(--school-gold);
}

.course-detail-title {
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    font-weight: 900;
    line-height: 1.3;
    color: var(--school-navy);
    margin: 0 0 .6rem;
}

.course-detail-intro {
    font-size: .92rem;
    color: #6e7889;
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.course-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.2rem;
}

.course-highlights span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: var(--school-cream);
    border: 1px solid #ece3d3;
    color: #59667a;
    font-size: .72rem;
    padding: .32rem .6rem;
    border-radius: 7px;
}

.course-highlights i {
    color: var(--school-gold-2);
}

.course-price-box {
    background: linear-gradient(135deg, #fff8ec, #fdf3e2);
    border: 1px solid #f3e3c5;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.course-price-box .label {
    font-size: .74rem;
    color: #9a8b70;
    margin-bottom: .2rem;
}

.course-price-box .now {
    font-size: 2rem;
    font-weight: 900;
    color: var(--school-danger);
    line-height: 1;
}

.course-price-box .now small {
    font-size: .9rem;
    margin-right: .1rem;
}

.course-price-box .range {
    font-size: .74rem;
    color: #9a8b70;
    margin-top: .3rem;
}

.course-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin-bottom: 1.4rem;
}

.course-fact {
    background: #fbf8f2;
    border-radius: 12px;
    padding: .75rem .85rem;
}

.course-fact small {
    display: block;
    font-size: .7rem;
    color: #9a9285;
    margin-bottom: .2rem;
}

.course-fact strong {
    font-size: .86rem;
    color: var(--school-navy);
    font-weight: 800;
}

.spec-block {
    margin-bottom: 1rem;
}

.spec-label {
    font-size: .82rem;
    font-weight: 700;
    color: #59667a;
    margin-bottom: .5rem;
}

.spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.spec-chip {
    display: inline-flex;
    flex-direction: column;
    gap: .1rem;
    border: 1px solid #e5dccb;
    background: #fff;
    border-radius: 10px;
    padding: .5rem .8rem;
    font-size: .82rem;
    color: #48566b;
    cursor: pointer;
    transition: all .18s;
    min-width: 100px;
}

.spec-chip:hover {
    border-color: var(--school-gold);
}

.spec-chip.active {
    border-color: var(--school-navy);
    background: var(--school-navy);
    color: #fff;
}

.spec-chip.disabled {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: line-through;
}

.spec-chip .spec-price {
    font-size: .7rem;
    color: var(--school-gold-2);
    font-weight: 700;
}

.spec-chip.active .spec-price {
    color: var(--school-gold);
}

.spec-chip .spec-soldout {
    font-size: .65rem;
    color: #b91c1c;
}

.qty-input {
    width: 86px;
    border-radius: 9px;
}

.btn-enroll {
    background: linear-gradient(135deg, var(--school-gold), var(--school-gold-2));
    border: none;
    color: #2a1c05;
    font-weight: 800;
    border-radius: 12px;
    padding: .8rem 1.6rem;
    box-shadow: 0 10px 24px rgba(233, 162, 59, .3);
}

.btn-enroll:hover {
    color: #2a1c05;
    filter: brightness(1.04);
}

.btn-outline-school {
    border: 1px solid #d8cebd;
    color: var(--school-navy);
    border-radius: 12px;
    padding: .8rem 1.4rem;
    font-weight: 700;
    background: #fff;
}

.btn-outline-school:hover {
    border-color: var(--school-navy);
    color: var(--school-navy);
}

.detail-section {
    background: #fff;
    border: 1px solid #eee7db;
    border-radius: 20px;
    padding: 1.6rem;
    margin-top: 1.4rem;
}

.detail-section h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--school-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.package-table th {
    font-size: .76rem;
    color: #8b8579;
    font-weight: 600;
    background: #fbf8f2;
    border-color: #f1e9dc;
}

.package-table td {
    font-size: .84rem;
    vertical-align: middle;
    border-color: #f4ede2;
}

.desc-box {
    color: #4d5a6d;
    line-height: 1.95;
    font-size: .92rem;
}

.desc-box h4,
.desc-box h5 {
    color: var(--school-navy);
    font-weight: 800;
    margin: 1.4rem 0 .7rem;
}

.desc-box h4 {
    font-size: 1.2rem;
}

.desc-box h5 {
    font-size: 1rem;
}

.desc-box ul {
    padding-left: 1.2rem;
}

.desc-box li {
    margin-bottom: .35rem;
}

.desc-box p {
    margin-bottom: .8rem;
}

/* ==================== 购物车 / 结算 / 会员中心 ==================== */
.panel {
    background: #fff;
    border: 1px solid #eee7db;
    border-radius: var(--school-radius);
    box-shadow: 0 14px 36px rgba(var(--school-navy-rgb), .06);
}

.jc-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eee7db;
    box-shadow: 0 12px 34px rgba(var(--school-navy-rgb), .06);
    padding: 1.6rem;
}

.btn-brand {
    background: linear-gradient(135deg, var(--school-navy-2), var(--school-navy));
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 11px;
}

.btn-brand:hover {
    color: #fff;
    filter: brightness(1.06);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(233, 162, 59, .7);
    box-shadow: 0 0 0 .2rem rgba(233, 162, 59, .15);
}

.jc-link {
    color: var(--school-gold-2);
}

.account-nav {
    background: #fff;
    border: 1px solid #eee7db;
    box-shadow: none;
}

.account-nav-item:hover {
    background: var(--school-cream);
    color: var(--school-navy);
}

.account-nav-item.active {
    background: var(--school-navy);
    color: #fff;
}

.jc-side-nav .list-group-item.active {
    background: var(--school-navy);
}

.jc-side-nav .list-group-item:not(.active):hover {
    background: var(--school-cream);
    color: var(--school-navy);
}

.jc-brand-badge {
    background: linear-gradient(135deg, var(--school-navy-2), var(--school-navy));
}

/* ==================== 后台品牌 ==================== */
.app-sidebar {
    background: #0b1f36 !important;
}

.app-sidebar .brand-link {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.app-sidebar .brand-text {
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
}

.app-sidebar .nav-header {
    color: rgba(255, 255, 255, .38);
    letter-spacing: .12em;
    font-size: .68rem;
}

.app-sidebar .nav-link {
    color: rgba(255, 255, 255, .72);
    border-radius: 8px;
    margin: .1rem .5rem;
}

.app-sidebar .nav-link.active,
.app-sidebar .nav-link:hover {
    background: rgba(233, 162, 59, .14);
    color: #fff;
}

.app-sidebar .nav-link.active {
    box-shadow: inset 3px 0 0 var(--school-gold);
}

.app-header {
    box-shadow: 0 1px 0 #e9e2d6;
}

.admin-welcome {
    background: linear-gradient(120deg, #0f2744, #204a70);
    color: #fff;
    border-radius: 18px;
    padding: 1.8rem 2rem;
    position: relative;
    overflow: hidden;
}

.admin-welcome::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(233, 162, 59, .4);
    box-shadow: 0 0 0 30px rgba(233, 162, 59, .06);
}

.admin-stat {
    border: 1px solid #eee7db;
    border-radius: 16px;
    background: #fff;
    padding: 1.2rem 1.3rem;
    height: 100%;
}

.admin-stat .ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--school-gold-soft);
    color: var(--school-gold-2);
    font-size: 1.1rem;
    margin-bottom: .8rem;
}

.admin-stat h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--school-navy);
    margin: 0;
    line-height: 1;
}

.admin-stat p {
    margin: .35rem 0 0;
    font-size: .78rem;
    color: #8b8579;
}

/* ==================== 响应式 ==================== */
/* 小屏笔记本（1366×768 等）：压缩首屏留白，保证信任条仍能完整贴在屏幕底部 */
@media (max-height: 820px) and (min-width: 992px) {
    .school-hero {
        padding: 2.2rem 0 2.4rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 3.8vw, 3.25rem);
        margin-bottom: .9rem;
    }

    .hero-copy p {
        line-height: 1.75;
        margin-bottom: 1.2rem;
    }

    .hero-actions {
        margin-bottom: 1.4rem;
    }

    .hero-art {
        min-height: 430px;
    }

    .hero-stats {
        gap: 1.8rem;
    }
}

@media (max-width: 1399.98px) {
    .header-phone {
        display: none;
    }

    .site-header .header-inner {
        gap: 1rem;
    }

    .main-nav > a {
        padding: .5rem .62rem;
        font-size: .89rem;
    }
}

@media (min-width: 992px) and (max-width: 1099.98px) {
    .hero-grid {
        gap: 2rem;
    }

    .hero-photo {
        width: 86%;
    }

    .fc-1 {
        left: 1%;
    }

    .fc-2 {
        right: 1%;
    }
}

@media (max-width: 1199.98px) {
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .course-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .teacher-grid,
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teacher-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .hero-grid {
        gap: 2rem;
    }
}

@media (max-width: 991.98px) {
    .main-nav {
        display: none;
    }

    /* 平板/手机：只保留购物袋和菜单按钮，登录/注册/CTA 收进折叠菜单 */
    .site-header .header-actions > .nav-link,
    .site-header .header-actions .jc-auth-wrap,
    .site-header .header-actions > .btn-school {
        display: none !important;
    }

    .site-header .header-actions {
        gap: .35rem;
    }

    .school-brand {
        min-width: 0;
    }

    .brand-text strong {
        font-size: 1.05rem;
    }

    .brand-text small {
        font-size: .56rem;
        letter-spacing: .08em;
    }

    .hero-copy p {
        max-width: 100%;
    }

    .hero-grid,
    .about-grid,
    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .hero-art {
        min-height: 400px;
    }

    .hero-photo {
        width: 78%;
        margin: 0 auto;
    }

    .fc-1 {
        left: 3%;
    }

    .fc-2 {
        right: 2%;
    }

    .fc-3 {
        left: 6%;
    }

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

    .course-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-side {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: .3rem;
    }

    .catalog-side h6 {
        width: 100%;
    }

    .catalog-side a {
        width: auto;
        gap: .5rem;
    }

    .campus-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 180px;
    }

    .campus-tile:first-child {
        grid-row: auto;
        grid-column: 1 / -1;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-screen {
        min-height: calc(100vh - 67px);
        min-height: calc(100svh - 67px);
    }

    .site-header .header-inner {
        min-height: 66px;
        gap: .6rem;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 1.1rem;
    }

    .brand-text strong {
        font-size: 1.02rem;
    }

    .brand-text small {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .header-actions .btn-school {
        display: none;
    }

    .school-hero {
        padding: 2.6rem 0 3rem;
    }

    .hero-copy h1 {
        font-size: 2.25rem;
    }

    .hero-stats {
        gap: 1.4rem;
    }

    .hero-stat strong {
        font-size: 1.4rem;
    }

    .hero-art {
        min-height: 320px;
    }

    .hero-photo {
        width: 88%;
    }

    .float-card {
        padding: .6rem .7rem;
    }

    .float-card .fc-icon {
        width: 30px;
        height: 30px;
        font-size: .9rem;
    }

    .float-card strong {
        font-size: .78rem;
    }

    .float-card small {
        font-size: .62rem;
    }

    .fc-1 {
        left: 0;
        top: 1rem;
    }

    .fc-2 {
        right: 0;
        bottom: 1.5rem;
    }

    .fc-3 {
        display: none;
    }

    .trust-inner {
        grid-template-columns: 1fr 1fr;
        gap: .9rem;
    }

    .trust-item {
        justify-content: flex-start;
    }

    .school-section {
        padding: 3.4rem 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .6rem;
        margin-bottom: 1.6rem;
    }

    .course-grid {
        grid-template-columns: 1fr 1fr;
        gap: .8rem;
    }

    .course-grid.three {
        grid-template-columns: 1fr 1fr;
        gap: .8rem;
    }

    .course-body {
        padding: .8rem .75rem .75rem;
    }

    .course-title {
        font-size: .92rem;
    }

    .course-intro {
        font-size: .72rem;
        min-height: 2.4em;
    }

    .course-meta {
        font-size: .65rem;
        gap: .25rem .5rem;
    }

    .course-price .num {
        font-size: 1.25rem;
    }

    .course-enroll {
        font-size: .68rem;
        padding: .38rem .5rem;
    }

    .course-age {
        font-size: .62rem;
    }

    .about-media::before {
        display: none;
    }

    .exp-badge {
        right: -.4rem;
        bottom: -.8rem;
        padding: .7rem .9rem;
    }

    .exp-badge strong {
        font-size: 1.5rem;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .teacher-grid,
    .teacher-grid.three,
    .honor-grid {
        grid-template-columns: 1fr 1fr;
        gap: .7rem;
    }

    .feature-card {
        padding: 1.1rem 1rem;
    }

    .campus-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 140px 140px;
    }

    .campus-tile:first-child {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.6rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .cta-band {
        border-radius: 20px;
        padding: 1.7rem;
        margin-bottom: -2.4rem;
    }

    .cta-wrap {
        padding-bottom: 2.4rem;
    }

    .page-hero {
        padding: 2.8rem 0 2.4rem;
    }

    .course-facts {
        grid-template-columns: 1fr 1fr;
    }

    .course-detail-card {
        padding: 1rem;
        border-radius: 18px;
    }

    .course-price-box .now {
        font-size: 1.55rem;
    }

    .detail-section {
        padding: 1.1rem;
    }
}

@media (max-width: 420px) {
    .course-grid,
    .course-grid.three {
        grid-template-columns: 1fr;
    }

    .course-meta {
        display: none;
    }

    .trust-inner {
        grid-template-columns: 1fr;
    }
}
