/* ========== Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; color: #30343a; background: #ffffff; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== Navbar ========== */
.navbar { position: sticky; top: 0; left: 0; right: 0; z-index: 1000; padding: 0; transition: box-shadow 0.25s ease; background: #ffffff; border-bottom: 1px solid #e2e5e9; }
.navbar.scrolled { background: #ffffff; box-shadow: 0 3px 14px rgba(15,26,46,0.08); }
.nav-main { padding: 0; }
.navbar.scrolled .nav-main { padding: 0; }
.nav-container { max-width: 1200px; min-height: 78px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { font-size: 24px; font-weight: 700; color: #0f1a2e; letter-spacing: 3px; font-family: "Georgia", serif; }
.logo-sub { font-size: 10px; font-weight: 400; color: #c5a55a; letter-spacing: 5px; text-transform: uppercase; }
.navbar.scrolled .logo-text { color: #0f1a2e; }
.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-menu a { position: relative; display: inline-flex; align-items: center; min-height: 78px; font-size: 14px; color: #333943; transition: color 0.2s; letter-spacing: 0.5px; }
.nav-menu a:not(.nav-api)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #c5a55a; transform: scaleX(0); transition: transform 0.2s ease; }
.nav-menu a:hover { color: #9a772a; }
.nav-menu a:not(.nav-api):hover::after { transform: scaleX(1); }
.navbar.scrolled .nav-menu a { color: #666; }
.navbar.scrolled .nav-menu a:hover { color: #0f1a2e; }
.nav-api { min-height: auto !important; color: #9a772a !important; border: 1px solid rgba(169,130,47,0.55); padding: 6px 13px; border-radius: 1px; font-size: 12px !important; letter-spacing: 1px; }
.nav-api:hover { background: rgba(197,165,90,0.06); }
.nav-cta { font-size: 13px; padding: 10px 22px; background: #0f1a2e; color: #ffffff; border-radius: 1px; font-weight: 650; transition: background 0.2s; letter-spacing: 1px; }
.nav-cta:hover { background: #203152; box-shadow: none; transform: none; }
.navbar.scrolled .nav-cta { background: #0f1a2e; color: #ffffff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: 0; padding: 8px; background: transparent; }
.hamburger span { width: 24px; height: 2px; background: #0f1a2e; transition: all 0.3s; }
.navbar.scrolled .hamburger span { background: #0f1a2e; }

/* ========== Hero ========== */
.hero { min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: left; position: relative; background: url('../images/optimized/city-night.webp') center bottom / cover no-repeat; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,23,51,0.92) 0%, rgba(13,31,65,0.74) 48%, rgba(9,23,51,0.38) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; max-width: 1200px; padding: 88px 24px 96px; }
.hero-label { font-size: 14px; letter-spacing: 1.5px; color: #d2b66d; margin-bottom: 22px; font-weight: 600; display: block; }
.hero-label::before, .hero-label::after { display: none; }
.hero-title { max-width: 760px; font-size: 52px; font-weight: 700; color: #ffffff; line-height: 1.3; margin-bottom: 24px; letter-spacing: -1px; }
.hero-title em { font-style: normal; color: #c5a55a; }
.hero-subtitle { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 2; margin-bottom: 40px; }
.hero-subtitle-en { font-size: 13px; color: rgba(255,255,255,0.4); letter-spacing: 2px; margin-bottom: 44px; font-family: "Georgia", serif; text-transform: uppercase; }
.hero-buttons { display: flex; gap: 14px; justify-content: flex-start; margin-bottom: 0; }
.btn { padding: 14px 38px; border-radius: 1px; font-size: 15px; font-weight: 600; transition: all 0.2s; display: inline-block; letter-spacing: 1px; }
.btn-primary { background: #c5a55a; color: #0a1838; }
.btn-primary:hover { background: #d4b76a; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(197,165,90,0.3); }
.btn-outline { border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
.btn-outline:hover { border-color: #c5a55a; color: #c5a55a; background: rgba(197,165,90,0.08); }
.hero-stats { display: none; }

/* ========== Stats Bar ========== */
.stats-bar { padding: 0; margin-top: -60px; position: relative; z-index: 2; }
.stats-inner { background: #0f1a2e; border-radius: 8px; padding: 40px 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.stat-item { text-align: center; }
.stat-number { font-size: 42px; font-weight: 700; color: #c5a55a; font-family: "Georgia", serif; }
.stat-suffix { font-size: 16px; color: #c5a55a; }
.stat-label { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; font-family: -apple-system, sans-serif; letter-spacing: 2px; }

/* ========== Section Common ========== */
.section-header { text-align: left; max-width: 760px; margin: 0 0 52px; }
.section-label { font-size: 12px; letter-spacing: 2px; color: #a9822f; margin-bottom: 10px; font-weight: 650; }
.section-title { font-size: 36px; font-weight: 700; color: #14213a; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-desc { font-size: 15px; color: #666d76; }
.section-divider { width: 34px; height: 2px; background: #c5a55a; margin: 18px 0 0; }
.services .section-header, .cases .section-header, .team .section-header, .reviews .section-header, .contact .section-header { max-width: none; margin: 0 0 64px; text-align: center; }
.services .section-divider, .cases .section-divider, .team .section-divider, .reviews .section-divider, .contact .section-divider { margin-left: auto; margin-right: auto; }
.sub-section-title { font-size: 15px; color: #606772; margin-bottom: 18px; padding: 0; border: 0; letter-spacing: 1px; font-weight: 600; }
.services-grid-single { max-width: 420px; }
.services-grid-full { grid-template-columns: 1fr; }
.services-grid-full .service-card { display: flex; gap: 32px; align-items: flex-start; padding: 40px 48px; width: 100%; }
.services-grid-full .service-icon { flex-shrink: 0; margin-top: 4px; }
.services-grid-full .service-info { flex: 1; min-width: 0; }
.services-grid-full .service-card h3 { white-space: normal; word-break: break-word; }
.services-grid-full .service-card p { margin-bottom: 12px; }
.services-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ========== Services ========== */
.services { padding: 120px 0 100px; background: #ffffff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; border: 0; }
.service-card { background: #fafbfc; border: 1px solid #eef0f3; border-radius: 4px; padding: 40px 30px; transition: all 0.4s; position: relative; overflow: hidden; }
.service-card:last-child { border-right: 1px solid #eef0f3; }
.service-card::before { content: ''; display: block; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: #c5a55a; transition: height 0.4s; }
.service-card:hover::before { height: 100%; }
.service-card:hover { background: #fafbfc; box-shadow: 0 20px 60px rgba(15,26,46,0.08); transform: translateY(-4px); border-color: transparent; }
.service-icon { display: block; width: 44px; height: 44px; color: #c5a55a; margin-bottom: 24px; }
.service-icon svg { width: 44px; height: 44px; }
.service-card h3 { font-size: 20px; color: #0f1a2e; margin-bottom: 14px; font-family: "Georgia", "PingFang SC", serif; }
.service-card p { font-size: 14px; color: #777; line-height: 1.8; margin-bottom: 18px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags li { font-size: 11px; padding: 4px 12px; background: #0f1a2e; color: #c5a55a; border-radius: 2px; letter-spacing: 1px; }
.service-tags li:not(:last-child)::after { display: none; }
.service-card-api { border: 1px dashed rgba(197,165,90,0.3); }
.service-card-api::before { background: #c5a55a; height: 100%; }
.service-link { display: inline-block; font-size: 14px; color: #c5a55a; font-weight: 600; transition: all 0.2s; letter-spacing: 1px; }
.service-link:hover { letter-spacing: 2px; }

/* ========== Business Sections ========== */
.business-section + .business-section { margin-top: 72px; }
.business-section-heading { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid #dfe2e5; }
.business-section-heading p { margin-bottom: 8px; font-size: 10px; color: #9a7a31; letter-spacing: 3px; }
.business-section-heading h3 { margin-bottom: 8px; font-family: "Georgia", "PingFang SC", serif; font-size: 29px; color: #0f1a2e; font-weight: 650; }
.business-section-heading > span { display: block; font-size: 13px; color: #747b85; line-height: 1.7; }

/* ========== Core Programs ========== */
.program-list { border-top: 1px solid #e1e4e8; }
.program-row { min-height: 390px; display: grid; grid-template-columns: 1fr 1fr; background: #ffffff; border-bottom: 1px solid #e1e4e8; }
.program-row:nth-child(even) .program-media { order: 2; }
.program-media { margin: 0; min-width: 0; overflow: hidden; background: #eef0f3; }
.program-media img { width: 100%; height: 100%; min-height: 390px; display: block; object-fit: cover; }
.program-media-alt img { object-position: 78% center; transform: scale(1.12); }
.program-content { padding: 43px 50px; display: flex; flex-direction: column; justify-content: center; }
.program-content .service-icon { margin-bottom: 17px; }
.program-kicker { margin-bottom: 7px; font-size: 11px; font-weight: 650; color: #9a7a31; letter-spacing: 2px; }
.program-content h3 { margin-bottom: 14px; font-family: "Georgia", "PingFang SC", serif; font-size: 25px; color: #0f1a2e; }
.program-content > p:not(.program-kicker) { margin-bottom: 22px; font-size: 14px; color: #666d76; line-height: 1.9; }

/* ========== API Banner ========== */
.api-banner { padding: 80px 0; position: relative; background: #0f1a2e; overflow: hidden; text-align: center; }
.api-banner-bg { position: absolute; inset: 0; background: url('../images/optimized/city-night.webp') center center / cover no-repeat; opacity: 0.15; }
.api-banner-content { position: relative; z-index: 1; }
.api-label { font-size: 11px; letter-spacing: 6px; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 16px; font-family: -apple-system, sans-serif; }
.api-title { font-size: 48px; font-weight: 700; color: #c5a55a; margin-bottom: 8px; font-family: "Georgia", serif; letter-spacing: 4px; }
.api-subtitle { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 20px; letter-spacing: 4px; }
.api-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 2; margin-bottom: 28px; font-family: -apple-system, "PingFang SC", sans-serif; }
.api-features { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.api-features span { font-size: 12px; padding: 6px 16px; border: 1px solid rgba(197,165,90,0.3); color: #c5a55a; border-radius: 3px; letter-spacing: 1px; font-family: -apple-system, sans-serif; }
.btn-api { background: #c5a55a; color: #0f1a2e; padding: 14px 40px; font-size: 14px; font-weight: 700; border-radius: 3px; letter-spacing: 2px; transition: all 0.3s; display: inline-block; font-family: -apple-system, sans-serif; }
.btn-api:hover { background: #d4b76a; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(197,165,90,0.3); }

/* ========== API Product Card ========== */
.api-product-card { display: flex; background: #fafbfc; border: 1px solid #eef0f3; border-radius: 4px; overflow: hidden; margin-bottom: 0; position: relative; }
.api-product-card::before { content: ''; display: block; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: #c5a55a; }
.api-product-left { flex: 0 0 320px; padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #eef0f3; }
.api-product-label { font-size: 10px; letter-spacing: 4px; color: #999; text-transform: uppercase; margin-bottom: 12px; font-family: -apple-system, sans-serif; }
.api-product-title { font-size: 32px; font-weight: 700; color: #0f1a2e; font-family: "Georgia", serif; letter-spacing: 2px; margin-bottom: 6px; }
.api-product-subtitle { font-size: 14px; color: #c5a55a; letter-spacing: 2px; }
.api-product-right { flex: 1; padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.api-product-right p { font-size: 14px; color: #777; line-height: 1.8; margin-bottom: 20px; font-family: -apple-system, "PingFang SC", sans-serif; }
.api-product-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.api-product-tags span { font-size: 11px; padding: 4px 12px; background: #0f1a2e; color: #c5a55a; border-radius: 2px; letter-spacing: 1px; }
.api-product-card .service-link { color: #c5a55a; }

@media (max-width: 768px) {
    .business-section + .business-section { margin-top: 52px; }
    .api-product-card { flex-direction: column; }
    .api-product-left { flex: none; border-right: none; border-bottom: 1px solid rgba(197,165,90,0.15); padding: 32px 24px; }
    .api-product-right { padding: 32px 24px; }
}

/* ========== Cases Carousel ========== */
.cases { padding: 100px 0; background: #fafbfc; }
.cases-scroll { display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.cases-scroll::-webkit-scrollbar { height: 8px; }
.cases-scroll::-webkit-scrollbar-track { background: #eef0f3; border-radius: 4px; }
.cases-scroll::-webkit-scrollbar-thumb { background: #c5a55a; border-radius: 4px; }
.case-card { flex: 0 0 auto; width: 300px; box-sizing: border-box; display: flex; flex-direction: column; background: #ffffff; border: 1px solid #eef0f3; border-top: 3px solid #c5a55a; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(15,26,46,0.06); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.case-card:hover { transform: translateY(-4px); border-color: #eef0f3; border-top-color: #c5a55a; box-shadow: 0 12px 28px rgba(15,26,46,0.14); }
.case-head { padding: 22px 24px 18px; }
.case-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: #b7902f; background: rgba(197,165,90,0.12); border: 1px solid rgba(197,165,90,0.4); border-radius: 999px; padding: 3px 12px 3px 10px; }
.case-badge::before { content: "✓"; margin-right: 5px; font-weight: 700; }
.case-venue { margin: 15px 0 6px; font-size: 27px; font-weight: 800; letter-spacing: 1px; color: #0f1a2e; line-height: 1.05; }
.case-venue span { font-size: 15px; font-weight: 600; color: #8a919c; letter-spacing: 0; margin-left: 4px; }
.case-venue.case-venue-long { font-size: 17px; letter-spacing: 0; line-height: 1.65; white-space: nowrap; }
.case-field { font-size: 13px; font-weight: 600; color: #c5a55a; }
.case-line { display: block; width: 34px; height: 2px; background: #c5a55a; margin: 15px 0; border-radius: 2px; }
.case-meta { font-size: 13px; color: #5b6472; }
.case-shot { order: initial; margin: 4px 24px 0; height: 152px; overflow: hidden; border: 1px solid #e7e3d8; border-radius: 6px; background: #f3f4f6; box-shadow: 0 1px 4px rgba(15,26,46,0.05); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; cursor: zoom-in; }
.case-foot { padding: 15px 24px 20px; }
.case-view { font-size: 12.5px; font-weight: 600; color: #0f1a2e; }
.case-view::after { content: "  →"; color: #c5a55a; }
.case-card:hover .case-view { color: #c5a55a; }
.cases-hint { text-align: center; margin-top: 12px; font-size: 13px; color: #9aa0a8; }
@media (max-width: 640px) { .cases { padding: 64px 0; } .case-card { width: 260px; } .case-venue { font-size: 24px; } .case-shot { height: 132px; } }

/* ========== Why Banner ========== */
.why-banner { padding: 90px 0; background: url('../images/optimized/research.webp') center center / cover no-repeat fixed; position: relative; }
.why-banner::before { content: ''; position: absolute; inset: 0; background: rgba(15,26,46,0.78); }
.why-banner .container { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.why-item { padding: 20px; }
.why-item h3 { font-size: 36px; font-weight: 700; color: #c5a55a; margin-bottom: 12px; font-family: "Georgia", serif; }
.why-item p { font-size: 14px; color: rgba(255,255,255,0.6); letter-spacing: 2px; }

/* ========== Team ========== */
.team { padding: 100px 0; background: #fafbfc; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: #ffffff; border: 1px solid #eef0f3; border-radius: 4px; padding: 40px 24px; text-align: center; transition: all 0.4s; }
.team-card:hover { box-shadow: 0 20px 60px rgba(15,26,46,0.06); transform: translateY(-4px); }
.team-avatar { margin: 0 auto 20px; }
.team-avatar img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto; }
.avatar-placeholder { width: 88px; height: 88px; border-radius: 50%; background: #0f1a2e; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 18px; color: #c5a55a; font-weight: 600; font-family: "Georgia", serif; }
.team-card h3 { font-size: 18px; color: #0f1a2e; margin-bottom: 4px; }
.team-title { font-size: 12px; color: #c5a55a; margin-bottom: 14px; letter-spacing: 2px; }
.team-desc { font-size: 13px; color: #888; line-height: 1.8; font-family: -apple-system, "PingFang SC", sans-serif; }

/* ========== About ========== */
.about { padding: 100px 0; background: #ffffff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-content .section-title { text-align: left; }
.about-content .section-label { text-align: left; }
.about-content p { font-size: 15px; color: #666; margin-bottom: 16px; font-family: -apple-system, "PingFang SC", sans-serif; }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.about-feature { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #333; font-family: -apple-system, sans-serif; }
.feature-check { width: 24px; height: 24px; background: #0f1a2e; color: #c5a55a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.about-image { margin: 0; }
.about-image img { width: 100%; border-radius: 2px; box-shadow: none; display: block; }
.about-image figcaption { margin-top: 12px; font-size: 12px; line-height: 1.6; color: #7a7f86; }

/* ========== Contact ========== */
.contact { padding: 100px 0; background: #fafbfc; }
.contact-grid { display: flex; justify-content: center; gap: 80px; align-items: flex-start; }
.contact-qrcode { text-align: center; }
.qrcode-placeholder { width: 220px; height: 220px; background: #ffffff; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 16px; border: 2px solid #eef0f3; }
.qrcode-placeholder p { color: #999; font-size: 14px; font-family: -apple-system, sans-serif; }
.qrcode-hint { font-size: 11px !important; color: #bbb !important; margin-top: 8px; }
.qrcode-text { font-size: 14px; color: #888; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item h3 { font-size: 12px; color: #c5a55a; margin-bottom: 4px; letter-spacing: 2px; text-transform: uppercase; }
.contact-item p { font-size: 16px; color: #0f1a2e; font-family: -apple-system, sans-serif; }

/* ========== Footer ========== */
.footer { padding: 60px 0 24px; background: #0f1a2e; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.35fr; gap: 40px; margin-bottom: 40px; }
.footer .logo-text { color: #ffffff; font-size: 20px; }
.footer .logo-sub { color: #c5a55a; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.35); margin-top: 12px; font-family: -apple-system, sans-serif; }
.footer-links h4 { font-size: 13px; color: #ffffff; margin-bottom: 16px; letter-spacing: 2px; }
.footer-links a { display: block; font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 10px; transition: color 0.2s; font-family: -apple-system, sans-serif; }
.footer-links a:hover { color: #c5a55a; }
.footer-contact p { font-size: 12px; color: rgba(255,255,255,0.38); margin-bottom: 8px; line-height: 1.7; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 1px; }
.footer-bottom a { color: rgba(255,255,255,0.2); }
.footer-bottom a:hover { color: #c5a55a; }
.footer-bottom p { margin-bottom: 4px; }

/* ========== WeChat Float ========== */
.wechat-float { position: fixed; bottom: 32px; right: 32px; z-index: 999; }
.wechat-btn { width: 56px; height: 56px; border: 0; padding: 0; background: #07c160; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 20px rgba(7,193,96,0.3); transition: all 0.3s; color: white; }
.wechat-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(7,193,96,0.4); }
.wechat-popup { display: none; position: absolute; bottom: 70px; right: 0; background: #ffffff; border: 1px solid #eef0f3; border-radius: 8px; padding: 24px; width: 240px; text-align: center; box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.wechat-popup.active { display: block; }
.popup-close { position: absolute; top: 8px; right: 12px; border: 0; padding: 2px 6px; background: transparent; font-size: 20px; color: #777; cursor: pointer; }
.popup-close:hover { color: #333; }
.popup-title { font-size: 15px; color: #0f1a2e; margin-bottom: 16px; font-weight: 600; }
.popup-qr { width: 160px; height: 160px; background: #fafbfc; border-radius: 4px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border: 1px solid #eef0f3; }
.popup-qr p { font-size: 11px; color: #bbb; text-align: center; }
.popup-hint { font-size: 12px; color: #999; }

/* ========== Animations ========== */
.fade-in { opacity: 1; transform: none; transition: none; }
.fade-in.visible { opacity: 1; transform: none; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0f1a2e; flex-direction: column; padding: 24px; gap: 16px; }
    .nav-menu.active { display: flex; }
    .nav-menu a { min-height: auto; padding: 4px 0; color: rgba(255,255,255,0.82); }
    .navbar.scrolled .nav-menu a { color: rgba(255,255,255,0.82); }
    .nav-menu a:not(.nav-api)::after { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero { min-height: 540px; text-align: left; justify-content: center; }
    .hero-content { padding: 72px 24px 80px; }
    .hero-label { justify-content: flex-start; }
    .hero-title { font-size: 32px; }
    .hero-buttons { justify-content: flex-start; flex-wrap: wrap; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; margin: 0 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { border: 1px solid #eef0f3; padding: 40px 30px; }
    .service-card:last-child { border: 1px solid #eef0f3; }
    .services-grid-4 { grid-template-columns: 1fr; }
    .program-row { grid-template-columns: 1fr; min-height: 0; }
    .program-row:nth-child(even) .program-media { order: initial; }
    .program-media img { height: 240px; min-height: 240px; }
    .program-content { padding: 34px 24px 38px; }
    .program-content h3 { font-size: 23px; }
    .team-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .contact-grid { flex-direction: column; align-items: center; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 32px; }
}
@media (max-width: 1100px) and (min-width: 769px) {
    .nav-menu { gap: 15px; }
    .nav-menu a { font-size: 12px; }
    .nav-cta { display: none; }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { border: 1px solid #eef0f3; }
    .program-content { padding: 38px 34px; }
    .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== FAQ ========== */
.faq { padding: 100px 0; background: #f6f5f1; }
.faq-list { max-width: 1120px; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; align-items: start; }
.faq-item { border-top: 1px solid #d9d9d4; border-bottom: 0; }
.faq-q { cursor: pointer; list-style: none; padding: 23px 38px 23px 0; position: relative; font-size: 16px; font-weight: 650; color: #172239; line-height: 1.6; transition: color 0.2s ease; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before { display: none; }
.faq-q:hover { color: #c5a55a; }
.faq-q::after { content: "+"; position: absolute; right: 2px; top: 22px; font-size: 22px; font-weight: 300; color: #a9822f; transition: transform 0.25s ease; }
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-a { padding: 0 32px 25px 0; }
.faq-a p { font-size: 14px; line-height: 1.9; color: #626972; }
@media (max-width: 768px) {
    .faq { padding: 64px 0; }
    .faq-list { grid-template-columns: 1fr; column-gap: 0; }
    .faq-q { font-size: 16px; padding: 20px 34px 20px 0; }
    .faq-q::after { top: 19px; }
    .faq-a { padding: 0 22px 22px 0; }
}

/* ========== Team perk highlight ========== */
.team-perk { margin-top: 16px; padding-top: 14px; border-top: 1px solid #f0e9d6; font-size: 13px; line-height: 1.7; color: #a9822f; font-family: -apple-system, sans-serif; }
.team-perk strong { color: #c5a55a; font-weight: 600; }

/* ========== Reviews (学员好评) ========== */
.reviews { padding: 100px 0; background: #faf9f6; }
.reviews-scroll { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.reviews-scroll::-webkit-scrollbar { height: 8px; }
.reviews-scroll::-webkit-scrollbar-track { background: #eee7d5; border-radius: 4px; }
.reviews-scroll::-webkit-scrollbar-thumb { background: #c5a55a; border-radius: 4px; }
.review-card { flex: 0 0 auto; width: 240px; display: flex; flex-direction: column-reverse; background: #ffffff; border: 1px solid #e1e3e6; border-radius: 2px; overflow: hidden; box-shadow: none; transition: border-color .2s ease; }
.review-card:hover { transform: none; border-color: #c5a55a; box-shadow: none; }
.review-card img { width: 100%; height: 360px; object-fit: cover; object-position: top; display: block; cursor: zoom-in; }
.review-card figcaption { padding: 12px 14px; font-size: 13px; font-weight: 600; color: #0f1a2e; border-bottom: 2px solid #c5a55a; text-align: center; }
.review-card figcaption::before { content: "•"; color: #c5a55a; margin-right: 6px; }
.reviews-hint { text-align: center; margin-top: 12px; font-size: 13px; color: #9aa0a8; }
.rv-lightbox { display: none; position: fixed; inset: 0; background: rgba(15,26,46,0.88); z-index: 9999; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.rv-lightbox.open { display: flex; }
.rv-lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 10px 44px rgba(0,0,0,0.5); }
.rv-lightbox-close { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.hamburger:focus-visible, .wechat-btn:focus-visible, .popup-close:focus-visible, .rv-lightbox-close:focus-visible, .case-card:focus-visible, .review-card:focus-visible { outline: 3px solid #c5a55a; outline-offset: 3px; }
@media (max-width: 640px) { .reviews { padding: 64px 0; } .review-card { width: 200px; } .review-card img { height: 300px; } }
