/* NAV FIX - always white background */
.nav{background:#fff!important;box-shadow:0 2px 16px rgba(47,107,94,0.08)!important;position:sticky!important;top:0;z-index:1000}
.nav-brand-text{font-size:1.15rem;font-weight:700;color:#2F6B5E;font-family:'Noto Serif SC',serif;letter-spacing:2px}

/* HERO SLIDER FIX */
.hero-slider{position:relative;width:100%;height:520px;overflow:hidden;margin-top:0;background:#2F6B5E}
.hero-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity 1s ease-in-out;background-size:cover;background-position:center;display:none}
.hero-slide.active{opacity:1;z-index:1;display:block}
.hero-slide-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(47,107,94,0.85) 0%,rgba(26,74,62,0.7) 100%);display:flex;align-items:center}
.hero-slide-content{max-width:700px;padding:0 80px;color:#fff}
.hero-slide-content h2{font-size:2.6rem;font-weight:800;line-height:1.3;margin-bottom:16px;font-family:'Noto Serif SC',serif}
.hero-slide-content p{font-size:1.1rem;line-height:1.8;opacity:.9;margin-bottom:28px}
.hero-slide-content .btn-primary{background:#D4AF37;color:#1a4a3e;font-weight:700;padding:14px 32px;border-radius:8px;text-decoration:none;display:inline-block;font-size:1rem}
.hero-slide-content .btn-primary:hover{background:#c9a030}
.hero-slider-dots{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:10}
.hero-slider-dot{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;border:none;transition:.3s;outline:none}
.hero-slider-dot.active{background:#D4AF37;width:32px;border-radius:6px}
.hero-slider-arrows{position:absolute;top:50%;width:100%;display:flex;justify-content:space-between;padding:0 20px;z-index:10;transform:translateY(-50%)}
.hero-slider-arrow{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.2);border:none;color:#fff;font-size:1.2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.3s}
.hero-slider-arrow:hover{background:rgba(255,255,255,.4)}

/* HERITAGE ENHANCED */
.heritage-section{background:linear-gradient(135deg,#E8F0ED 0%,#FDFBF7 100%);padding:80px 0}
.heritage-intro{text-align:center;max-width:700px;margin:0 auto 48px}
.heritage-intro h2{font-size:2rem;color:var(--primary-dark,#1a4a3e);margin-bottom:12px;font-family:'Noto Serif SC',serif}
.heritage-intro p{color:var(--text-muted,#666);line-height:1.8;font-size:1.05rem}
.heritage-features{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:48px}
.heritage-feature{background:#fff;border-radius:16px;padding:32px 24px;text-align:center;box-shadow:0 4px 20px rgba(47,107,94,.08);transition:transform .3s}
.heritage-feature:hover{transform:translateY(-4px)}
.heritage-feature-icon{width:60px;height:60px;border-radius:50%;background:var(--primary-light,#E8F0ED);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:1.5rem;color:var(--primary,#2F6B5E)}
.heritage-feature h4{font-size:1.1rem;color:var(--primary-dark,#1a4a3e);margin-bottom:8px}
.heritage-feature p{font-size:.88rem;color:var(--text-muted,#666);line-height:1.6}
.heritage-quote{background:var(--primary,#2F6B5E);color:#fff;border-radius:16px;padding:40px;text-align:center;margin-top:32px}
.heritage-quote blockquote{font-size:1.3rem;font-style:italic;margin-bottom:12px;line-height:1.6;font-family:'Noto Serif SC',serif}
.heritage-quote cite{font-size:.9rem;opacity:.8}

/* TESTIMONIALS SCROLL */
.testimonials-section{padding:80px 0;overflow:hidden}
.testimonials-header{text-align:center;margin-bottom:40px}
.testimonials-header h2{font-size:1.8rem;color:var(--primary-dark,#1a4a3e)}
.testimonials-track-wrapper{overflow:hidden;position:relative}
.testimonials-track{display:flex;gap:24px;animation:scrollTestimonials 60s linear infinite;width:max-content}
.testimonials-track:hover{animation-play-state:paused}
@keyframes scrollTestimonials{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.testimonial-scroll-card{min-width:320px;max-width:320px;background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,.06);flex-shrink:0}
.testimonial-scroll-card .stars{color:#D4AF37;margin-bottom:12px;font-size:.9rem}
.testimonial-scroll-card .quote{font-size:.95rem;line-height:1.7;color:var(--text,#2E2E2E);margin-bottom:16px;font-style:italic}
.testimonial-scroll-card .author{display:flex;align-items:center;gap:12px}
.testimonial-scroll-card .author img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.testimonial-scroll-card .author-name{font-weight:600;font-size:.9rem;color:var(--primary-dark,#1a4a3e)}
.testimonial-scroll-card .author-role{font-size:.78rem;color:var(--text-muted,#666)}

/* FLOAT BAR */
.float-bar{position:fixed;right:20px;bottom:20px;z-index:999;display:flex;flex-direction:column;gap:12px}
.float-bar-btn{width:50px;height:50px;border-radius:50%;background:var(--primary,#2F6B5E);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.2rem;box-shadow:0 4px 12px rgba(47,107,94,.3);transition:all .3s}
.float-bar-btn:hover{background:var(--primary-dark,#1a4a3e);transform:scale(1.1)}
.float-bar-popup{position:absolute;bottom:0;right:60px;background:#fff;border-radius:12px;padding:20px;box-shadow:0 8px 32px rgba(0,0,0,.12);min-width:240px;display:none;white-space:nowrap}
.float-bar-popup.show{display:block}
.float-bar-popup h4{font-size:1rem;margin-bottom:12px;color:var(--primary-dark,#1a4a3e)}
.float-bar-popup .contact-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #f0f0f0}
.float-bar-popup .contact-item:last-child{border-bottom:none}
.float-bar-popup .contact-item a{color:var(--primary,#2F6B5E);text-decoration:none;font-weight:600}
.float-bar-popup .qr-img{width:160px;height:160px;border-radius:8px;margin-top:8px}

/* FOOTER BOTTOM */
.footer-bottom{background:var(--primary-dark,#1a4a3e);padding:20px 0;margin-top:0}
.footer-bottom-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.footer-bottom-left{color:rgba(255,255,255,.7);font-size:.85rem}
.footer-bottom-right{display:flex;gap:16px}
.footer-bottom-right a{color:rgba(255,255,255,.7);text-decoration:none;font-size:.85rem;transition:color .3s}
.footer-bottom-right a:hover{color:#D4AF37}

/* SECTION ENHANCEMENTS */
.section-tag{display:inline-block;background:var(--primary-light,#E8F0ED);color:var(--primary,#2F6B5E);font-size:.75rem;font-weight:600;padding:4px 14px;border-radius:20px;letter-spacing:1px;text-transform:uppercase}
.section-title{font-size:1.8rem;color:var(--primary-dark,#1a4a3e);margin:12px 0 8px;font-family:'Noto Serif SC',serif}
.section-desc{color:var(--text-muted,#666);font-size:1rem}

/* MOBILE */
@media(max-width:768px){
  .hero-slider{height:360px}
  .hero-slide-content{padding:0 24px}
  .hero-slide-content h2{font-size:1.6rem}
  .heritage-features{grid-template-columns:repeat(2,1fr)}
  .footer-bottom-inner{flex-direction:column;text-align:center}
}
/* ========== 学员实景滚动画廊 ========== */
.real-photo-gallery{padding:40px 0 50px;background:#fff;overflow:hidden}
.real-photo-gallery:nth-child(even){background:#f8faf8}
.real-photo-gallery .container{text-align:center;margin-bottom:24px}
.real-photo-gallery .gallery-title{font-family:'Noto Serif SC',serif;font-size:1.6rem;font-weight:700;color:#2F6B5E;margin-bottom:6px}
.real-photo-gallery .gallery-subtitle{font-size:0.92rem;color:#888}
.gallery-viewport{width:100%;overflow:hidden;position:relative}
.gallery-viewport::before,.gallery-viewport::after{content:'';position:absolute;top:0;width:80px;height:100%;z-index:3;pointer-events:none}
.gallery-viewport::before{left:0;background:linear-gradient(to right,#fff 30%,transparent)}
.gallery-viewport::after{right:0;background:linear-gradient(to left,#fff 30%,transparent)}
.gallery-track{display:flex;gap:16px;will-change:transform;animation:galleryScroll 30s linear infinite paused}
.gallery-track.running{animation-play-state:running}
.gallery-viewport:hover .gallery-track.running{animation-play-state:paused}
.gallery-item{flex-shrink:0;height:240px;border-radius:10px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,0.1);transition:transform .3s,box-shadow .3s;position:relative}
.gallery-item:hover{transform:scale(1.04);box-shadow:0 8px 28px rgba(0,0,0,0.18)}
.gallery-item img{height:100%;width:auto;display:block;object-fit:cover}
.gallery-item .gallery-logo{position:absolute;top:10px;left:10px;width:40px;height:40px;object-fit:contain;pointer-events:none;z-index:4}
@media(max-width:768px){.gallery-item{height:180px;border-radius:8px}.gallery-item .gallery-logo{width:30px;height:30px;top:6px;left:6px}}
@media(max-width:480px){.gallery-item{height:140px}.gallery-item .gallery-logo{width:24px;height:24px;top:4px;left:4px}.real-photo-gallery{padding:24px 0 30px}}
@keyframes galleryScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
