/* ============================================
   采兰教育官网 - 样式表
   配色：深蓝主色 + 金色点缀 + 纯净白底
   ============================================ */

/* ---------- 重置 & 基础 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a3a5c;
    --color-primary-light: #2c5680;
    --color-primary-dark: #0f2540;
    --color-accent: #c8a04e;
    --color-accent-light: #dab86a;
    --color-bg: #ffffff;
    --color-bg-gray: #f5f7fa;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(26, 58, 92, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 58, 92, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 58, 92, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-icon { font-size: 1.5rem; }

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    transition: var(--transition);
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 160, 78, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

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

/* ---------- Hero 首页 ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5680 50%, #1a3a5c 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15, 37, 64, 0.75) 0%, rgba(26, 58, 92, 0.6) 50%, rgba(15, 37, 64, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(200, 160, 78, 0.2);
    border: 1px solid rgba(200, 160, 78, 0.5);
    color: var(--color-accent-light);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1.05rem;
    opacity: 0.8;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    margin: 10px auto 0;
    position: relative;
    overflow: hidden;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 1px;
    height: 40px;
    background: var(--color-accent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { top: -40px; }
    100% { top: 40px; }
}

/* ---------- 通用 Section ---------- */
.section {
    padding: 100px 0;
}

.section-gray {
    background: var(--color-bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-light);
}

/* ---------- 图片占位通用 ---------- */
.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.placeholder-label {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.6;
    opacity: 0.6;
}

.placeholder-label span {
    font-size: 0.8rem;
    opacity: 0.7;
}

.img-placeholder {
    background: linear-gradient(135deg, #e8edf2 0%, #dde4ec 100%);
    border: 2px dashed #b0bcc8;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: var(--transition);
    cursor: pointer;
}

.img-placeholder:hover {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, #f0f2f5 0%, #e8edf2 100%);
}

/* ---------- 校区简介 ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

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

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-image .img-placeholder-lg {
    width: 100%;
    height: 380px;
}

/* ---------- 专业服务 ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-bg-gray);
    line-height: 1;
    transition: var(--transition);
}

.service-card:hover .service-number {
    color: rgba(200, 160, 78, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* 学历层次 */
.levels-section, .majors-section {
    margin-top: 60px;
}

.levels-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 32px;
}

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

.level-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid var(--color-accent);
}

.level-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.level-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.level-item h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.level-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* 专业方向标签 */
.majors-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.major-tag {
    padding: 10px 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: var(--transition);
    cursor: default;
}

.major-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* ---------- 校园风采 Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.gallery-item .img-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    border-width: 1px;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.gallery-item .placeholder-icon {
    font-size: 2rem;
}

.gallery-item .placeholder-label {
    font-size: 0.75rem;
}

.gallery-item .placeholder-label span {
    font-size: 0.7rem;
}

/* ---------- 招生简章 ---------- */
.admission-content {
    display: block;
    margin-bottom: 40px;
}

.admission-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 56px;
    align-items: start;
}

.admission-img .img-placeholder-tall {
    width: 100%;
    height: 240px;
}

.admission-process h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 28px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
}

.process-step:hover .step-num {
    background: var(--color-accent);
    transform: scale(1.1);
}

.step-content h4 {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.admission-notice {
    background: linear-gradient(135deg, rgba(200, 160, 78, 0.08), rgba(200, 160, 78, 0.03));
    border: 1px solid rgba(200, 160, 78, 0.3);
    border-radius: var(--radius-md);
    padding: 24px 32px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-item p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.8;
}

/* ---------- 联系我们 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-detail h4 {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.6;
}

.contact-hint {
    font-size: 0.8rem !important;
    color: var(--color-text-light) !important;
    margin-top: 4px;
}

/* ---------- 微信卡片 + 二维码区域（与其他卡片统一居中风格） ---------- */
.contact-card-wechat {
    text-align: center;
}

.contact-card-wechat .contact-icon {
    margin-bottom: 12px;
}

.contact-card-wechat .contact-detail {
    margin-bottom: 16px;
}

.wechat-qr {
    width: 132px;
    margin: 0 auto;
}

.wechat-qr-tip {
    font-size: 0.78rem;
    color: var(--color-text-light);
    margin-top: 8px;
}

.wechat-qr-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #e8edf2 0%, #dde4ec 100%);
    border: 2px dashed #b0bcc8;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    text-align: center;
    padding: 40px;
}

.map-placeholder .placeholder-icon {
    font-size: 4rem;
}

.map-hint {
    font-size: 0.8rem;
    margin-top: 20px;
    opacity: 0.6;
    line-height: 1.8;
}

/* 地图图片 */
.contact-map .map-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: var(--radius-md);
    display: block;
    box-shadow: var(--shadow-sm);
}

.map-caption {
    margin-top: 14px;
    font-size: 0.92rem;
    color: var(--color-text);
}

.map-caption a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 8px;
}

.map-caption a:hover {
    text-decoration: underline;
}

/* ---------- 单独微信二维码板块 ---------- */
.wechat-qr-section {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.wechat-qr-card-standalone {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    text-align: center;
    max-width: 420px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.wechat-qr-card-standalone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.wechat-qr-title {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin: 6px 0 24px;
}

.wechat-qr-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 18px;
    padding: 12px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.wechat-qr-box .wechat-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
}

.wechat-qr-tip {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

.wechat-qr-num {
    margin-top: 12px;
    font-size: 0.98rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-beian {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-beian a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-beian a:hover {
    color: var(--color-gold, #c8a04e);
}

.beian-sep {
    color: rgba(255, 255, 255, 0.25);
}

.beian-badge {
    margin-right: 4px;
    font-size: 0.9rem;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-4px);
}

/* ---------- 灯箱 ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-img {
    background: linear-gradient(135deg, #e8edf2 0%, #dde4ec 100%);
    border-radius: var(--radius-md);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

.lightbox-img .placeholder-icon {
    font-size: 4rem;
}

/* ---------- 滚动动画 ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 968px) {
    .about-grid,
    .admission-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image .img-placeholder-lg {
        height: 280px;
    }

    .admission-images {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

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

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .footer-nav {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .service-card {
        padding: 28px 20px;
    }
}

/* ---------- 实际图片填充样式 ---------- */
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image img,
.about-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.admission-img img,
.admission-img-el {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    transition: var(--transition);
    background: var(--color-white);
}

.admission-img-el:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.contact-map iframe,
.contact-map img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    border-radius: var(--radius-md);
    display: block;
}

.lightbox-img img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
}
