/* 全局基础样式 —— 统一全站 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 手机端隐藏面包屑导航 */
@media (max-width:768px) {
    .qb_ui_Site_nav {
        display: none !important;
    }
}

/* 头部banner */
.hero-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px 0;
    text-align: center;
}
.hero-banner h1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    color: #00050b;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.hero-banner p {
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    color: #666;
    margin-bottom: 20px;
}
.hero-banner .line {
    width: 40px;
    height: 4px;
    background: #f30;
    margin: 0 auto;
}

/* 创始人区域 */
.founder {
    background: #00050b;
}
.founder-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.founder-img {
    flex: 1 1 300px;
}
.founder-img img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.founder-content {
    flex: 1 1 500px;
    color: #fff;
}
.founder-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 20px;
}
.founder-content .profile {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: #f9f9f9;
    line-height: 1.8;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a3a42;
}
.founder-content .info {
    color: #bed1d8;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.8;
    text-align: justify;
    margin-top: 25px;
}

/* 讲师团队标题 */
.team-header {
    text-align: center;
    padding: 50px 0 20px;
}
.team-header h3 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: #00050b;
    margin-bottom: 12px;
    font-weight: 700;
}
.team-header h3 span {
    color: #2A4B8D;
}
.team-sub {
    font-size: clamp(1rem, 2vw, 1.05rem);
    max-width: 1000px;
    margin: 0 auto;
    color: #555;
    line-height: 1.7;
}

/* 讲师团队列表 */
.teachers {
    padding: 60px 0;
}
.teachers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
}
.teacher-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.teacher-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.teacher-img {
    display: block;
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 120%;
    background: #eee;
}
.teacher-img img {
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.teacher-info {
    padding: 20px;
    text-align: center;
}
.teacher-info h4 {
    color: #004d61;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.teacher-desc {
    color: #87969f;
    font-size: clamp(0.85rem, 1.1vw, .9rem);
    line-height: 1.5;
}

/* 团队优势 */
.team-advantage {
    background: #2A4B8D;
    color: #fff;
    padding: 60px 0;
    margin-top: 20px;
}
.advantage-title {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
    font-weight: 700;
}
.adv-text {
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.05rem);
    opacity: 0.95;
}
.advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}
.advantage-item i {
    font-size: 38px;
    color: #D4AF37;
    margin-bottom: 15px;
}
.advantage-item h3 {
    font-size: clamp(1.05rem, 1.8vw, 1.15rem);
    margin-bottom: 10px;
    font-weight: 600;
}
.advantage-item p {
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    opacity: 0.9;
    line-height: 1.6;
}

/* 底部咨询栏 */
.contact-bar {
    background: #D4AF37;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}
.contact-bar h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    font-weight: 700;
}
.contact-btn {
    display: inline-block;
    background: #fff;
    color: #D4AF37;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    margin: 0 8px;
}
.contact-btn:hover {
    background: #f5f5f5;
}

/* 微信弹窗 */
.wechat-pop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.pop-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 330px;
}
.pop-box h4 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: #222;
    font-weight: 600;
}
.pop-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 18px;
    object-fit: contain;
}
.pop-wxnum {
    color: #2A4B8D;
    font-weight: bold;
    margin: 10px 0;
    font-size: 1.1rem;
}
.copy-btn {
    background: #2A4B8D;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    margin: 8px 5px;
    cursor: pointer;
    font-size: 0.95rem;
}
.close-pop {
    margin-top: 15px;
    color: #888;
    cursor: pointer;
    font-size: 0.95rem;
}

/* 响应式 —— 手机端固定2列 + 字号自动缩小 */
@media (max-width: 768px) {
    .hero-banner { padding: 35px 0; }
    .founder { padding: 40px 0; }
    .teachers { padding: 35px 0; }
    /* 固定2列，不允许变1列 */
    .teachers-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    .teacher-info { padding: 15px; }
    .advantage-list { gap: 20px; }
    .contact-btn {
        display: block;
        margin: 12px auto;
        width: 85%;
    }
}