/* ============================================================
   桂林市二附学校 · 官网主样式
   设计基调：中式典雅 + 现代校园品牌
   色彩：二附红 / 哑光金 / 墨黑 / 象牙白
   ============================================================ */

:root {
    /* 品牌色 */
    --brand-red: #C7202C;
    --brand-red-dark: #A01A24;
    --brand-red-light: #E84A55;
    --brand-red-bg: rgba(199, 32, 44, 0.06);

    --sky-blue: #4A8BC7;
    --sky-blue-dark: #3A6FA0;
    --sky-blue-light: #7AADDF;
    --sky-blue-bg: rgba(74, 139, 199, 0.08);

    --matte-gold: #C5A55A;
    --matte-gold-light: #D4BA7A;
    --matte-gold-dark: #A8883E;
    --matte-gold-bg: rgba(197, 165, 90, 0.1);

    --matte-black: #242424;
    --matte-black-light: #3D3D3D;
    --matte-black-bg: rgba(42, 42, 42, 0.96);

    --pure-white: #FFFFFF;
    --light-bg: #F8F6F3;
    --light-bg-deep: #F1ECE5;

    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --text-light: #888888;
    --text-on-dark: #F0F0F0;

    --border-light: #E8E4DF;
    --border-gold: rgba(197, 165, 90, 0.32);

    /* 字体 */
    --font-cn: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --font-cn-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    --font-en: "Georgia", "Times New Roman", serif;

    /* 布局 */
    --header-height: 72px;
    --topbar-height: 36px;
    --header-total: calc(var(--header-height) + var(--topbar-height) + 1px);
    --container-width: 1200px;
    --section-padding: 88px 0;

    /* 阴影与动效 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 10px 30px rgba(197, 165, 90, 0.22);
    --transition: all 0.3s ease;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --topbar-height: 0px;
        --section-padding: 58px 0;
    }
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-total) + 16px);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-cn-body);
    color: var(--text-primary);
    background: var(--pure-white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
}

body.modal-open {
    overscroll-behavior: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.is-fallback {
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 3px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 通用图标尺寸 */
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.14em;
    flex-shrink: 0;
    overflow: visible;
}

/* ---------- 区块标题 ---------- */

.section-kicker {
    display: block;
    text-align: center;
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--matte-gold-dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-cn);
    font-size: 2.05rem;
    font-weight: 700;
    text-align: center;
    color: var(--matte-black);
    margin-bottom: 10px;
    letter-spacing: 4px;
    line-height: 1.35;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 48px;
    letter-spacing: 2px;
}

.section-divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-red), var(--matte-gold));
    margin: 16px auto 34px;
    border-radius: 3px;
}

/* ---------- 顶部信息栏 ---------- */

.topbar {
    height: var(--topbar-height);
    background: var(--matte-black);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.topbar-inner {
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 26px;
    min-width: 0;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.topbar-item .icon {
    width: 14px;
    height: 14px;
    color: var(--matte-gold-light);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.topbar-right a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.78);
}

.topbar-right a:hover {
    color: var(--matte-gold-light);
}

.topbar-right .topbar-hotline {
    color: var(--matte-gold-light);
    font-family: var(--font-en);
    font-size: 0.82rem;
    letter-spacing: 1px;
}

/* ---------- 主导航 ---------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.logo-text .cn {
    font-family: var(--font-cn);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--brand-red);
    letter-spacing: 3px;
}

.logo-text .en {
    font-size: 0.6rem;
    color: var(--text-light);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-menu a {
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    border-radius: 4px;
    position: relative;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--brand-red);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 56%;
}

.nav-cta {
    background: var(--brand-red) !important;
    color: #fff !important;
    padding: 9px 22px !important;
    border-radius: 4px !important;
    font-weight: 500;
    margin-left: 8px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--brand-red-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(199, 32, 44, 0.28);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px 6px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--matte-black);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 主视觉 ---------- */

.hero {
    position: relative;
    height: calc(100vh - var(--header-total));
    min-height: 600px;
    max-height: 880px;
    overflow: hidden;
    margin-top: var(--header-total);
    background: var(--matte-black);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.02);
}

.hero-slide.active img {
    animation: heroZoom 7s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 74% 64% at 50% 50%, rgba(14, 14, 14, 0.32) 0%, rgba(14, 14, 14, 0.1) 58%, rgba(14, 14, 14, 0) 80%),
        linear-gradient(180deg, rgba(14, 14, 14, 0.12) 0%, rgba(14, 14, 14, 0.02) 46%, rgba(14, 14, 14, 0.28) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--pure-white);
    width: 90%;
    max-width: 860px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 22px;
    border: 1px solid rgba(197, 165, 90, 0.6);
    border-radius: 30px;
    font-size: 0.78rem;
    letter-spacing: 3px;
    color: var(--matte-gold-light);
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
    background: rgba(24, 24, 24, 0.22);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    width: 14px;
    height: 1px;
    background: rgba(197, 165, 90, 0.65);
}

.hero-title {
    font-family: var(--font-cn);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 12px;
    line-height: 1.25;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-title .highlight {
    color: var(--brand-red-light);
}

.hero-subtitle {
    font-family: var(--font-cn);
    font-size: 1.35rem;
    letter-spacing: 6px;
    margin-bottom: 18px;
    opacity: 0.94;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 0.98rem;
    opacity: 0.82;
    line-height: 1.95;
    max-width: 620px;
    margin: 0 auto 34px;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 34px;
    font-size: 0.94rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-cn-body);
    letter-spacing: 1px;
    line-height: 1.4;
}

.btn .icon {
    width: 17px;
    height: 17px;
}

.btn-primary {
    background: var(--brand-red);
    color: var(--pure-white);
    box-shadow: 0 6px 18px rgba(199, 32, 44, 0.32);
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(199, 32, 44, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--pure-white);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--pure-white);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--matte-gold), var(--matte-gold-dark));
    color: var(--pure-white);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.hero-indicators {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-indicators button {
    width: 38px;
    height: 3px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.32);
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicators button.active {
    background: var(--matte-gold);
    width: 58px;
}

.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: 34px;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.hero-scroll .icon {
    width: 20px;
    height: 20px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
    background: var(--matte-gold);
    border-color: var(--matte-gold);
    color: var(--matte-black);
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(4px);
    }
}

/* ---------- 通知条 ---------- */

.notice-bar {
    background: var(--brand-red);
    color: var(--pure-white);
    overflow: hidden;
}

.notice-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 11px 24px;
}

.notice-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.16);
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-label .icon {
    width: 14px;
    height: 14px;
}

.notice-text {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-more {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-more .icon {
    width: 13px;
    height: 13px;
}

.notice-more:hover {
    color: var(--pure-white);
}

/* ---------- 快捷入口 ---------- */

.quick-links {
    background: var(--light-bg);
    padding: 28px 0;
    border-bottom: 1px solid var(--border-light);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--pure-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    min-width: 0;
}

.quick-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.quick-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-icon .icon {
    width: 21px;
    height: 21px;
}

.quick-icon.red {
    background: var(--brand-red-bg);
    color: var(--brand-red);
}

.quick-icon.blue {
    background: var(--sky-blue-bg);
    color: var(--sky-blue);
}

.quick-icon.gold {
    background: var(--matte-gold-bg);
    color: var(--matte-gold-dark);
}

.quick-info {
    min-width: 0;
}

.quick-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-info p {
    font-size: 0.72rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 学校概况 ---------- */

.about {
    padding: var(--section-padding);
    background: var(--pure-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--light-bg);
}

.about-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.about-image .badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1;
    color: var(--pure-white);
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.about-image .badge .icon {
    width: 15px;
    height: 15px;
    color: var(--matte-gold-light);
}

.about-text .section-kicker {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-divider {
    margin: 16px 0 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.94rem;
    line-height: 2;
}

.about-text strong {
    color: var(--matte-black);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 18px 8px;
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.stat-number {
    font-family: var(--font-en);
    font-size: 1.95rem;
    font-weight: 700;
    color: var(--brand-red);
    line-height: 1.2;
}

.stat-number .suffix {
    font-size: 0.9rem;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.76rem;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 1px;
}

/* ---------- 办学理念 ---------- */

.philosophy {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.philosophy-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-red), var(--matte-gold));
    opacity: 0;
    transition: var(--transition);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.philosophy-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-icon .icon {
    width: 29px;
    height: 29px;
}

.philosophy-icon.red {
    background: var(--brand-red-bg);
    color: var(--brand-red);
}

.philosophy-icon.blue {
    background: var(--sky-blue-bg);
    color: var(--sky-blue);
}

.philosophy-icon.gold {
    background: var(--matte-gold-bg);
    color: var(--matte-gold-dark);
}

.philosophy-card h3 {
    font-family: var(--font-cn);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--matte-black);
    letter-spacing: 2px;
}

.philosophy-card .motto {
    color: var(--brand-red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.philosophy-card p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.85;
}

/* ---------- 办学优势 ---------- */

.advantages {
    padding: 70px 0;
    background:
        linear-gradient(180deg, rgba(197, 165, 90, 0.06), rgba(197, 165, 90, 0.02)),
        var(--pure-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.advantage-item {
    display: flex;
    gap: 14px;
    padding: 22px 20px;
    background: var(--pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.advantage-item:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.advantage-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--brand-red-bg);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon .icon {
    width: 22px;
    height: 22px;
}

.advantage-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--matte-black);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.advantage-item p {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ---------- 学部介绍 ---------- */

.edu-section {
    padding: var(--section-padding);
    background: var(--pure-white);
}

.edu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 46px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    background: var(--light-bg);
}

.edu-tab {
    flex: 1;
    padding: 13px 26px;
    text-align: center;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.edu-tab.active {
    background: var(--brand-red);
    color: var(--pure-white);
    box-shadow: 0 4px 12px rgba(199, 32, 44, 0.22);
}

.edu-tab:not(.active):hover {
    background: var(--brand-red-bg);
    color: var(--brand-red);
}

.edu-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
}

.edu-content.active {
    display: grid;
    animation: eduFade 0.4s ease both;
}

@keyframes eduFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.edu-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--light-bg);
}

.edu-media img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.edu-media-tag {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(24, 24, 24, 0.62);
    color: var(--pure-white);
    font-size: 0.76rem;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.edu-media-tag .icon {
    width: 14px;
    height: 14px;
    color: var(--matte-gold-light);
}

.edu-info h3 {
    font-family: var(--font-cn);
    font-size: 1.55rem;
    color: var(--brand-red);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.edu-info .tag {
    display: inline-block;
    padding: 3px 14px;
    background: var(--matte-gold-bg);
    color: var(--matte-gold-dark);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    font-size: 0.76rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.edu-info p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 2;
    margin-bottom: 12px;
}

.edu-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin-top: 22px;
}

.edu-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.edu-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--matte-gold);
    flex-shrink: 0;
}

/* ---------- 校园环境 ---------- */

.gallery {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--light-bg-deep);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item .overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 20px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    color: var(--pure-white);
    transition: var(--transition);
}

.gallery-item .overlay h4 {
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.gallery-item .overlay p {
    font-size: 0.78rem;
    opacity: 0;
    transform: translateY(6px);
    transition: var(--transition);
    margin-top: 2px;
}

.gallery-item:hover .overlay p {
    opacity: 0.85;
    transform: translateY(0);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(1) .overlay h4 {
    font-size: 1.2rem;
}

/* ---------- 荣誉资质 ---------- */

.honors {
    padding: var(--section-padding);
    background: var(--matte-black);
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

.honors::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.1), transparent 68%);
    pointer-events: none;
}

.honors .section-title {
    color: var(--pure-white);
}

.honors .section-kicker {
    color: var(--matte-gold-light);
}

.honors .section-subtitle {
    color: rgba(255, 255, 255, 0.58);
}

.honors .section-divider {
    background: linear-gradient(90deg, var(--matte-gold), var(--brand-red));
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 940px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.honor-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.honor-item:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-gold);
    transform: translateX(4px);
}

.honor-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(197, 165, 90, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--matte-gold);
}

.honor-icon .icon {
    width: 18px;
    height: 18px;
}

.honor-item span {
    font-size: 0.86rem;
    line-height: 1.55;
    letter-spacing: 0.5px;
}

/* ---------- 师资团队 ---------- */

.faculty {
    padding: var(--section-padding);
    background: var(--pure-white);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.faculty-card {
    text-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--pure-white);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.faculty-avatar {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(199, 32, 44, 0.08), rgba(197, 165, 90, 0.16)),
        var(--light-bg);
    border-bottom: 3px solid var(--matte-gold);
    color: var(--brand-red);
}

.faculty-avatar .icon {
    width: 46px;
    height: 46px;
}

.faculty-card .info {
    padding: 18px 14px 20px;
}

.faculty-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--matte-black);
    letter-spacing: 1px;
}

.faculty-card .title {
    font-size: 0.78rem;
    color: var(--brand-red);
    margin-top: 4px;
    letter-spacing: 1px;
}

.faculty-card .desc {
    font-size: 0.77rem;
    color: var(--text-light);
    margin-top: 8px;
    line-height: 1.6;
}

/* ---------- 招生信息 ---------- */

.admissions {
    padding: var(--section-padding);
    background: var(--sky-blue-bg);
}

.admissions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.admission-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.admission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.admission-card .card-number {
    font-family: var(--font-en);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--brand-red);
    opacity: 0.12;
    position: absolute;
    top: 14px;
    right: 22px;
    line-height: 1;
}

.admission-card h3 {
    font-size: 1.12rem;
    color: var(--matte-black);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.admission-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 6px;
}

.admission-card .highlight-text {
    color: var(--brand-red);
    font-weight: 500;
}

.admission-card .btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding: 10px 22px;
    font-size: 0.84rem;
    background: var(--brand-red);
    color: var(--pure-white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    align-self: flex-start;
}

.admission-card .btn-small .icon {
    width: 15px;
    height: 15px;
}

.admission-card .btn-small:hover {
    background: var(--brand-red-dark);
    transform: translateX(3px);
}

/* 报名流程 */
.admission-steps {
    margin-top: 42px;
    background: var(--pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
}

.admission-steps-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admission-steps-head h3 {
    font-family: var(--font-cn);
    font-size: 1.25rem;
    color: var(--matte-black);
    letter-spacing: 2px;
}

.admission-steps-head p {
    font-size: 0.82rem;
    color: var(--text-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step-item {
    position: relative;
    padding-left: 0;
}

.step-index {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red-bg);
    color: var(--brand-red);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
    border: 1px solid rgba(199, 32, 44, 0.18);
}

.step-item h4 {
    font-size: 0.92rem;
    color: var(--matte-black);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.step-item p {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.65;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 17px;
    left: 46px;
    right: 8px;
    height: 1px;
    background: linear-gradient(90deg, var(--border-light), rgba(197, 165, 90, 0.4));
}

/* ---------- 联系横幅 ---------- */

.contact-banner {
    padding: 58px 0;
    background:
        linear-gradient(135deg, rgba(24, 24, 24, 0.22), rgba(24, 24, 24, 0.05)),
        linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: var(--pure-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    width: 720px;
    height: 320px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 65%);
    pointer-events: none;
}

.contact-banner .container {
    position: relative;
    z-index: 1;
}

.contact-banner h2 {
    font-family: var(--font-cn);
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.contact-banner p {
    opacity: 0.88;
    font-size: 0.92rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-banner .phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--matte-gold-light);
}

.contact-banner .phone .icon {
    width: 24px;
    height: 24px;
}

.contact-banner .phone:hover {
    color: var(--pure-white);
}

.contact-banner .contact-sub {
    margin-top: 10px;
    font-size: 0.82rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.contact-banner .contact-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.contact-banner .btn-light {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--pure-white);
}

.contact-banner .btn-light:hover {
    background: var(--pure-white);
    color: var(--brand-red);
}

.contact-banner .btn-gold {
    background: linear-gradient(135deg, var(--matte-gold), var(--matte-gold-dark));
}

/* ---------- 页脚 ---------- */

.footer {
    background: var(--matte-black);
    color: rgba(255, 255, 255, 0.66);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 42px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand img {
    height: 54px;
    width: 54px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-family: var(--font-cn);
    color: var(--pure-white);
    font-size: 1.12rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.82rem;
    line-height: 1.85;
    margin-bottom: 6px;
}

.footer-contact-list {
    margin-top: 12px;
}

.footer-contact-list p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-list .icon {
    width: 14px;
    height: 14px;
    color: var(--matte-gold);
    margin-top: 5px;
    flex-shrink: 0;
}

.footer h4 {
    color: var(--pure-white);
    font-size: 0.92rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--matte-gold);
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.58);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(197, 165, 90, 0.55);
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--matte-gold-light);
    padding-left: 4px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-qr {
    text-align: center;
}

.footer-qr img {
    width: 128px;
    height: auto;
    margin: 0 auto 10px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    background: #fff;
}

.footer-qr p {
    font-size: 0.76rem;
    line-height: 1.7;
}

.footer-bottom {
    margin-top: 44px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    line-height: 1.9;
}

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

.footer-bottom a:hover {
    color: var(--matte-gold-light);
}

/* ---------- 悬浮咨询 ---------- */

.consult-dock {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 940;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consult-btn {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--pure-white);
    border: 1px solid var(--border-light);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    color: var(--brand-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.consult-btn .icon {
    width: 22px;
    height: 22px;
}

.consult-label {
    font-size: 0.58rem;
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: 0;
}

.consult-btn:hover,
.consult-btn.active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.consult-btn:hover .consult-label,
.consult-btn.active .consult-label {
    color: rgba(255, 255, 255, 0.86);
}

.consult-qr {
    position: fixed;
    right: 88px;
    bottom: 88px;
    width: 196px;
    background: var(--pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 14px 14px 12px;
    text-align: center;
    z-index: 941;
    animation: qrIn 0.24s ease both;
}

.consult-qr[hidden] {
    display: none;
}

.consult-qr::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: 24px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-right: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
    transform: rotate(45deg);
}

.consult-qr img {
    width: 150px;
    height: 162px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.consult-qr strong {
    display: block;
    font-size: 0.84rem;
    color: var(--matte-black);
    margin-bottom: 2px;
}

.consult-qr p {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.6;
}

@keyframes qrIn {
    from {
        opacity: 0;
        transform: translateX(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- 返回顶部 ---------- */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: var(--brand-red);
    color: var(--pure-white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    box-shadow: 0 8px 22px rgba(199, 32, 44, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 939;
    padding: 0;
}

.back-to-top .icon {
    width: 22px;
    height: 22px;
}

.back-to-top .consult-label {
    color: rgba(255, 255, 255, 0.86);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brand-red-dark);
    transform: translateY(-3px);
}

/* ---------- 进场动画 ---------- */

.fade-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 页面加载 ---------- */

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--pure-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--brand-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
    .nav-menu a {
        padding: 8px 10px;
        font-size: 0.86rem;
    }

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

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

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

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

@media (max-width: 1024px) {
    .topbar-left .topbar-item:nth-child(3) {
        display: none;
    }

    .about-grid {
        gap: 40px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .honors-grid {
        max-width: 100%;
    }

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

    .footer-qr {
        text-align: left;
    }

    .footer-qr img {
        margin-left: 0;
    }

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

    .step-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 900px) {
    .nav-menu a {
        padding: 8px 8px;
        font-size: 0.82rem;
        letter-spacing: 0;
    }

    .logo-text .en {
        display: none;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .logo-text .cn {
        font-size: 1.05rem;
        letter-spacing: 2px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-total);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.99);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 2px;
        border-bottom: 1px solid var(--border-light);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - var(--header-total));
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        padding: 13px 16px;
        width: 100%;
        text-align: center;
        border-radius: var(--radius-sm);
        font-size: 0.94rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.active {
        background: var(--brand-red-bg);
    }

    .nav-cta {
        margin: 8px 0 0;
    }

    .hero {
        min-height: 520px;
        max-height: 620px;
    }

    .hero-title {
        font-size: 2.15rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .hero-desc {
        font-size: 0.88rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-scroll {
        left: 16px;
        right: auto;
        bottom: 34px;
        width: 40px;
        height: 40px;
    }

    .notice-inner {
        padding: 10px 16px;
        gap: 10px;
    }

    .notice-text {
        font-size: 0.8rem;
    }

    .notice-more {
        display: none;
    }

    .quick-links {
        padding: 20px 0;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px;
    }

    .quick-item {
        padding: 12px;
    }

    .quick-icon {
        width: 36px;
        height: 36px;
    }

    .quick-icon .icon {
        width: 18px;
        height: 18px;
    }

    .section-kicker {
        font-size: 0.66rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 32px;
        letter-spacing: 1px;
    }

    .container {
        padding: 0 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-image img {
        height: 290px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantages {
        padding: 48px 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .edu-content.active {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .edu-media img {
        height: 250px;
    }

    .edu-features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 170px;
        gap: 10px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item .overlay {
        padding: 26px 12px 12px;
    }

    .gallery-item .overlay h4 {
        font-size: 0.84rem;
    }

    .gallery-item .overlay p {
        display: none;
    }

    .gallery-item:nth-child(1) .overlay h4 {
        font-size: 0.98rem;
    }

    .honors-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .faculty-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .faculty-card .info {
        padding: 14px 10px 16px;
    }

    .faculty-avatar .icon {
        width: 38px;
        height: 38px;
    }

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

    .admission-steps {
        padding: 22px 18px;
    }

    .admission-steps-head {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 18px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .step-item {
        display: grid;
        grid-template-columns: 34px 1fr;
        column-gap: 12px;
    }

    .step-index {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .step-item h4 {
        align-self: center;
    }

    .step-item:not(:last-child)::after {
        display: none;
    }

    .contact-banner {
        padding: 44px 0;
    }

    .contact-banner h2 {
        font-size: 1.45rem;
        letter-spacing: 2px;
    }

    .contact-banner .phone {
        font-size: 1.5rem;
    }

    .footer {
        padding-top: 38px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 18px;
    }

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

    .footer-brand img {
        height: 46px;
        width: 46px;
        margin-bottom: 10px;
    }

    .footer-brand h3 {
        margin-bottom: 8px;
    }

    .footer-contact-list {
        display: none;
    }

    .footer h4 {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .footer-links li {
        margin-bottom: 7px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-qr {
        display: none;
    }

    .footer-bottom {
        margin-top: 26px;
        padding: 16px 84px calc(88px + env(safe-area-inset-bottom, 0px)) 16px;
        font-size: 0.72rem;
        line-height: 1.8;
        text-align: left;
    }

    .consult-dock {
        right: 14px;
        bottom: 74px;
        gap: 8px;
    }

    .consult-btn {
        width: 46px;
        height: 46px;
        border-radius: var(--radius-sm);
    }

    .consult-btn .icon {
        width: 19px;
        height: 19px;
    }

    .consult-label {
        display: none;
    }

    .consult-qr {
        right: 70px;
        bottom: 74px;
        width: 180px;
    }

    .consult-qr img {
        width: 138px;
        height: 150px;
    }

    .back-to-top {
        right: 14px;
        bottom: 18px;
        width: 46px;
        height: 46px;
        border-radius: var(--radius-sm);
    }

    .back-to-top .icon {
        width: 19px;
        height: 19px;
    }

    .back-to-top .consult-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 1.75rem;
        letter-spacing: 3px;
    }

    .hero-badge {
        font-size: 0.68rem;
        letter-spacing: 2px;
        padding: 6px 14px;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.86rem;
    }

    .quick-info h4 {
        font-size: 0.82rem;
    }

    .quick-info p {
        display: none;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }

    .contact-actions .btn {
        width: 100%;
        max-width: 260px;
    }

    .logo-text .cn {
        font-size: 0.98rem;
    }
}

/* ---------- 减少动态效果 ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .hero-slide.active img {
        animation: none;
    }
}
