/* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft Yahei", sans-serif;
        }
        
        :root {
            /* 主色调 - 对应你提供的红色 */
            --primary-color: #C9141E;
            --primary-dark: #A81018;
            --primary-light: #E63946;
            
            /* 辅助色 */
            --white: #FFFFFF;
            --gray-light: #F5F5F5;
            --gray: #999999;
            --gray-dark: #333333;
            --black: #111111;
        }
        
        body {
            color: var(--gray-dark);
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        ul {
            list-style: none;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .btn {
            display: inline-block;
            padding: 10px 24px;
            background-color: var(--primary-color);
            color: var(--white);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease;
        }
        
        .btn:hover {
            background-color: var(--primary-dark);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 32px;
            color: var(--black);
            margin-bottom: 16px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .section-title p {
            color: var(--gray);
            font-size: 16px;
        }
        
        /* 导航栏 */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 999;
        }
        
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 50px;
            margin-right: 10px;
        }
        
        .logo-text {
            font-size: 24px;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .nav-menu {
            display: flex;
        }
        
        .nav-menu li {
            margin-left: 30px;
        }
        
        .nav-menu a {
            font-size: 16px;
            font-weight: 500;
            color: var(--gray-dark);
            transition: color 0.3s ease;
        }
        
        .nav-menu a:hover {
            color: var(--primary-color);
        }
        
        .contact-btn {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 8px 16px;
            border-radius: 4px;
        }
        
        .contact-btn:hover {
            background-color: var(--primary-dark);
            color: var(--white);
        }
        
        .mobile-menu-btn {
            display: none;
            font-size: 24px;
            cursor: pointer;
        }
        
        /* 首页Banner */
        .hero-layout { margin-top: 80px; }
        .banner {
            height: 52.5vh;
            min-height: 350px;
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                        var(--home-hero-image) center/cover no-repeat;
            display: flex;
            align-items: center;
            color: var(--white);
            text-align: center;
            margin-top: 0;
        }
        
        .banner-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .banner h1 {
            font-size: 48px;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .banner p {
            font-size: 20px;
            margin-bottom: 40px;
        }
        
        .banner .btn {
            font-size: 18px;
            padding: 12px 30px;
        }

        /* 高考倒计时模块 */
        .countdown {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 40px 0;
            text-align: center;
        }
        
        .countdown-title {
            font-size: 28px;
            margin-bottom: 20px;
            font-weight: bold;
        }
        
        .countdown-desc {
            font-size: 18px;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .countdown-timer {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .countdown-item {
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 20px;
            min-width: 100px;
        }
        
        .countdown-number {
            font-size: 40px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .countdown-label {
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* 简介模块 */
        .introduction {
            padding: 100px 0;
            background-color: var(--white);
        }
        
        .intro-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        .intro-text {
            padding: 20px 0;
        }
        
        .intro-text h3 {
            font-size: 24px;
            color: var(--black);
            margin-bottom: 20px;
        }
        
        .intro-text p {
            color: var(--gray-dark);
            margin-bottom: 15px;
            font-size: 16px;
            line-height: 1.8;
        }
        
        .intro-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        
        .intro-feature {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .intro-feature i {
            color: var(--primary-color);
            font-size: 20px;
        }
        
        .intro-image {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .intro-image img {
            width: 100%;
            max-height: 460px;
            object-fit: cover;
        }
        .intro-image { position: relative; isolation: isolate; overflow: visible; max-width: 960px; margin: 0 auto 38px; padding: 0; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 22px 48px -16px rgba(22,37,53,.38), 0 5px 14px rgba(22,37,53,.12); }
        .intro-image::before { content: ''; position: absolute; z-index: -1; inset: 24px 20px -14px; border-radius: 24px; background: linear-gradient(110deg,rgba(63,126,154,.2),rgba(188,36,46,.12)); filter: blur(22px); }
        .intro-image img { display: block; border-radius: 12px; }
        @media (max-width: 768px) { .intro-image { margin-bottom: 32px; box-shadow: 0 18px 34px -12px rgba(22,37,53,.35), 0 4px 10px rgba(22,37,53,.1); } }
        .intro-content { display: block; max-width: 960px; margin: 0 auto; }
        
        /* 课程介绍 */
        .courses {
            padding: 100px 0;
            background-color: var(--gray-light);
        }
        
        .course-cards {
            --carousel-gap: 30px;
            --carousel-visible: 3;
        }
        
        .course-card {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        
        .course-card:hover {
            transform: translateY(-10px);
        }
        
        .course-img {
            height: 200px;
            overflow: hidden;
        }
        
        .course-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .course-card:hover .course-img img {
            transform: scale(1.1);
        }
        
        .course-content {
            padding: 25px;
            text-align: center;
        }
        
        .course-content h3 {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--black);
        }
        
        .course-content p {
            text-align: left;
            color: var(--gray);
            margin-bottom: 20px;
        }
        
        /* 师资团队 */
        .teachers {
            padding: 100px 0;
        }
        
        .teacher-grid {
            --carousel-gap: 30px;
            --carousel-visible: 4;
        }
        
        .teacher-card {
            text-align: center;
            background-color: var(--white);
            padding: 30px 20px;
            border-radius: 8px;
            border: 1px solid #e2e5ea;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        .teacher-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto 20px;
            border: 5px solid var(--gray-light);
        }
        
        .teacher-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .teacher-card h3 {
            font-size: 18px;
            margin-bottom: 8px;
        }
        
        .teacher-card .position {
            color: var(--primary-color);
            font-weight: 500;
            margin-bottom: 15px;
            display: block;
        }
        
        .teacher-card p {
            color: var(--gray);
            font-size: 14px;
        }
        
        /* 校区环境 */
        .campus {
            padding: 100px 0;
            background-color: var(--gray-light);
        }
        
        .campus-gallery {
            --carousel-gap: 20px;
            --carousel-visible: 3;
        }
        
        .campus-item {
            height: 250px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
        }
        
        .campus-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .campus-item:hover img {
            transform: scale(1.1);
        }
        
        .campus-caption {
            position: absolute;
            bottom: 12px;
            left: 12px;
            z-index: 1;
            padding: 7px 14px;
            border-radius: 4px;
            background: rgba(0,0,0,.72);
            color: var(--white);
            font-size: 16px;
            line-height: 1.4;
        }

        /* 首页卡片轮播：数据顺序仍由后台内容排序字段决定。 */
        .home-carousel { position: relative; }
        .carousel-viewport { overflow: hidden; padding: 12px 4px 18px; margin: -12px -4px -18px; touch-action: pan-y; cursor: grab; }
        .carousel-viewport.is-dragging { cursor: grabbing; user-select: none; }
        .carousel-viewport img { -webkit-user-drag: none; user-select: none; }
        .carousel-track { display: flex; gap: var(--carousel-gap); will-change: transform; transition: transform .45s ease; }
        .carousel-track > * { flex: 0 0 calc((100% - (var(--carousel-visible) - 1) * var(--carousel-gap)) / var(--carousel-visible)); min-width: 0; }
        .carousel-track .course-card:hover { transform: none; }
        .carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
        .carousel-arrow { width: 44px; height: 44px; border: 1px solid #d7d7d7; border-radius: 50%; background: #fff; color: var(--primary-color); font-size: 25px; line-height: 1; cursor: pointer; }
        .carousel-arrow:not(:disabled):hover, .carousel-arrow:not(:disabled):focus-visible { background: var(--primary-color); color: #fff; }
        .carousel-arrow:disabled { opacity: .35; cursor: default; }
        .carousel-dots { display: flex; align-items: center; gap: 0; }
        .carousel-dot { width: 28px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
        .carousel-dot::after { content: ''; display: block; width: 9px; height: 9px; border-radius: 50%; background: #c9c9c9; }
        .carousel-dot.is-active::after { width: 22px; border-radius: 8px; background: var(--primary-color); }
        @media (min-width: 769px) {
            .home-carousel[data-count="1"] .carousel-track { --carousel-visible: 1; }
            .home-carousel[data-count="2"] .carousel-track { --carousel-visible: 2; }
        }
        @media (min-width: 769px) and (max-width: 1100px) { .teacher-grid { --carousel-visible: 3; } }
        @media (max-width: 768px) {
            .course-cards, .campus-gallery { --carousel-visible: 1.18; }
            .teacher-grid { --carousel-visible: 1.18; }
            .home-carousel[data-count="1"] .carousel-track { --carousel-visible: 1; }
            .course-cards, .teacher-grid { --carousel-gap: 16px; }
            .campus-gallery { --carousel-gap: 14px; }
            .carousel-controls { margin-top: 20px; }
        }
        @media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
        
        /* 联系方式 */
        .contact {
            padding: 100px 0;
            background-color: var(--primary-color);
            color: var(--white);
        }
        
        .contact .section-title h2 {
            color: var(--white);
        }
        
        .contact .section-title h2::after {
            background-color: var(--white);
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .contact-info {
            padding: 20px;
        }
        
        .contact-info h3 {
            font-size: 24px;
            margin-bottom: 30px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .contact-item i {
            font-size: 24px;
            margin-right: 15px;
            width: 40px;
            text-align: center;
        }
        
        .contact-form {
            background-color: var(--white);
            padding: 30px;
            border-radius: 8px;
            color: var(--gray-dark);
        }
        .contact .contact-form h3 { color: var(--gray-dark); font-size: 24px; margin-bottom: 20px; }
        .contact .contact-form .btn { display: block; margin: 28px auto 0; }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--gray-light);
            border-radius: 4px;
            font-size: 16px;
        }
        
        .form-group textarea {
            height: 120px;
            resize: none;
        }
        .inquiry { padding: 72px 0; background: var(--gray-light); scroll-margin-top: 80px; }
        .inquiry .contact-form { max-width: 760px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.07); }
        .inquiry .contact-form .btn { display: block; margin: 28px auto 0; }
        .inquiry-close, .floating-consult { display: none; }
        .home-news { padding: 80px 0; background: #fff; }
        .home-news-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 36px; }
        .home-news-row { display: flex; align-items: flex-start; gap: 18px; padding: 18px 4px; border-bottom: 1px solid #e5e7eb; }
        .home-news-row:hover h3 { color: var(--primary-color); }
        .home-news-row time { flex: 0 0 94px; color: var(--primary-color); font-size: 14px; padding-top: 3px; }
        .home-news-row h3 { font-size: 17px; line-height: 1.5; font-weight: 500; color: var(--black); }
        .home-news-empty { color: #666; }
        .home-news-empty { text-align: center; padding: 38px 16px; background: var(--gray-light); border-radius: 8px; }
        .home-news-more { display: block; width: max-content; margin: 28px auto 0; color: var(--primary-color); }
        @media (min-width: 993px) {
            .hero-layout {
                min-height: 420px;
                background: linear-gradient(rgba(0,0,0,.57), rgba(0,0,0,.57)), var(--home-hero-image) center/cover no-repeat;
            }
            .hero-layout .banner { min-height: 420px; justify-content: center; background: none; text-align: center; }
            .hero-layout .banner-content { max-width: 800px; margin: 0 auto; padding: 0 20px; }
            .hero-layout .inquiry { display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.66); overflow-y: auto; }
            .hero-layout .inquiry.is-open { display: flex; }
            .hero-layout .inquiry .container { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 28px; border-radius: 10px; background: #fff; }
            .hero-layout .inquiry .section-title { margin-bottom: 16px; }
            .hero-layout .inquiry .contact-form { padding: 0; box-shadow: none; }
            .inquiry-close { display: block; position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f0f0f0; color: #333; font-size: 26px; line-height: 1; cursor: pointer; }
            .floating-consult { display: block; position: fixed; right: 22px; bottom: 76px; z-index: 1200; padding: 14px 22px; border: 0; border-radius: 30px; color: #fff; background: var(--primary-color); box-shadow: 0 8px 24px rgba(0,0,0,.24); font-size: 16px; cursor: pointer; }
            .floating-consult:hover { background: var(--primary-dark); }
        }
        .hero-layout .inquiry { display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.66); overflow-y: auto; }
        .hero-layout .inquiry.is-open { display: flex; }
        .hero-layout .inquiry .container { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 24px; border-radius: 10px; background: #fff; }
        .hero-layout .inquiry .contact-form { padding: 0; box-shadow: none; }
        .inquiry-close { display: block; position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f0f0f0; color: #333; font-size: 26px; line-height: 1; cursor: pointer; }
        .mobile-consult-actions { display: none; }
        @media (max-width: 992px) {
            body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
            .mobile-consult-actions { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1300; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid #eee; box-shadow: 0 -4px 20px rgba(0,0,0,.08); }
            .mobile-consult-actions .container { padding: 0; }
            .mobile-consult-actions .action-list { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
            .mobile-consult-actions a, .mobile-consult-actions button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 6px; border: 0; border-radius: 10px; background: #fff; color: #444; font-size: 12px; text-align: center; cursor: pointer; }
            .mobile-consult-actions i { font-size: 20px; color: var(--primary-color); }
            .mobile-consult-actions .open-consult-form { flex-direction: row; gap: 7px; background: var(--primary-color); color: #fff; font-size: 15px; font-weight: 600; }
            .mobile-consult-actions .open-consult-form i { color: #fff; font-size: 17px; }
            .home-news-list { grid-template-columns: 1fr; }
            .contact .contact-content { grid-template-columns: 1fr; }
        }
        .contact .section-title p { color: #fff; }
        .contact .contact-info { display: flex; flex-direction: column; align-items: stretch; justify-content: center; text-align: left; }
        .contact .contact-info h3 { text-align: center; }
        .contact .contact-item { width: 100%; max-width: 100%; text-align: left; }
        .contact .contact-item i { flex: 0 0 32px; text-align: center; }
        .introduction, .courses, .teachers, .campus, .contact, .home-news { padding-top: 64px; padding-bottom: 64px; }
        .section-title { margin-bottom: 32px; }
        @media (max-width: 992px) {
            .introduction, .courses, .teachers, .campus, .contact, .home-news { padding-top: 42px; padding-bottom: 42px; }
            .section-title { margin-bottom: 26px; }
        }
        
        /* 页脚 */
        footer {
            background-color: var(--black);
            color: var(--gray);
            padding: 60px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-col h3 {
            color: var(--white);
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
        }
        
        .footer-col h3::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
        }
        
        .footer-col ul li {
            margin-bottom: 10px;
        }
        
        .footer-col ul li a {
            transition: color 0.3s ease;
        }
        
        .footer-col ul li a:hover {
            color: var(--primary-color);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #333;
            font-size: 14px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-menu {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: auto;
                max-height: calc(100vh - 80px);
                background-color: #171b24;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                align-content: start;
                align-items: stretch;
                gap: 10px;
                padding: 16px 20px 20px;
                overflow-y: auto;
                transition: left 0.3s ease;
                box-shadow: 0 5px 10px rgba(0,0,0,0.1);
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-menu li {
                margin: 0;
                font-size: 18px;
                min-width: 0;
            }
            .nav-menu a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 8px; color: #fff; background: #292f3a; border-radius: 6px; }
            .nav-menu a:hover { color: #fff; background: var(--primary-color); }
            .home-news-list { grid-template-columns: 1fr; }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .banner h1 {
                font-size: 36px;
            }
            
            .banner p {
                font-size: 18px;
            }
            
            .section-title h2 {
                font-size: 28px;
            }

            /* 响应式 - 倒计时模块 */
            .countdown-title {
                font-size: 24px;
            }
            
            .countdown-item {
                min-width: 0;
                padding: 14px 4px;
            }
            .countdown-timer { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
            
            .countdown-number {
                font-size: 30px;
            }

            /* 响应式 - 简介模块 */
            .intro-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .intro-features {
                grid-template-columns: 1fr;
            }
        }
