/* 北京政杰教育科技有限公司 - 样式表 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; color: #333; background: #fff; line-height: 1.7; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
h1, h2, h3 { color: #1a1a1a; line-height: 1.4; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.btn { display: inline-block; padding: 10px 24px; border-radius: 4px; font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; border: 1px solid transparent; transition: all .25s; white-space: nowrap; }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-block { display: block; width: 100%; }
.btn-primary { background: #1a5fb4; color: #fff; border-color: #1a5fb4; }
.btn-primary:hover { background: #144d93; border-color: #144d93; }
.btn-outline { background: transparent; color: #1a5fb4; border-color: #1a5fb4; }
.btn-outline:hover { background: #1a5fb4; color: #fff; }
.btn-light { background: #fff; color: #1a5fb4; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: #1a5fb4; }

.topbar { background: #143d73; color: #bcd2ee; font-size: 13px; padding: 7px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #ffd76b; }
.topbar .sep { margin: 0 10px; opacity: .5; }

.header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 48px; height: 48px; background: linear-gradient(135deg, #1a5fb4, #3d8be0); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.logo-text strong { display: block; font-size: 19px; color: #143d73; }
.logo-text em { display: block; font-size: 9px; color: #888; font-style: normal; letter-spacing: .4px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 18px; font-size: 16px; font-weight: 500; border-radius: 4px; position: relative; }
.nav a:hover, .nav a.active { color: #1a5fb4; }
.nav a.active::after { content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: 24px; height: 3px; background: #1a5fb4; border-radius: 2px; }
.header-cta { padding: 10px 22px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #333; border-radius: 2px; }

.hero { background: linear-gradient(135deg, #0d2b52 0%, #14407a 55%, #1a5fb4 100%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -40%; right: -8%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(255,255,255,.09) 0%, transparent 70%); border-radius: 50%; }
.hero-inner { display: grid; grid-template-columns: 1fr 370px; gap: 44px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 5px 16px; border-radius: 20px; font-size: 13px; margin-bottom: 16px; }
.hero-text h1 { color: #fff; font-size: 38px; margin-bottom: 12px; }
.hero-sub { font-size: 19px; color: #9ec8f0; margin-bottom: 16px; font-weight: 500; }
.hero-desc { font-size: 15px; color: #d4e4f7; margin-bottom: 22px; max-width: 620px; }
.hero-desc strong { color: #ffd76b; }
.hero-keys { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; font-size: 14px; color: #e4eefc; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { background: #fff; border-radius: 12px; padding: 28px; color: #333; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.hero-card h3 { font-size: 20px; text-align: center; color: #143d73; margin-bottom: 4px; }
.hero-card-sub { text-align: center; font-size: 13px; color: #1a5fb4; margin-bottom: 18px; }
.hero-contact { margin-bottom: 18px; }
.hero-contact p { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; font-size: 14px; color: #555; border-bottom: 1px dashed #eee; }
.hero-contact p span { font-size: 16px; }
.hero-contact a { color: #1a5fb4; font-weight: 600; }

.section { padding: 56px 0; }
.section-bg { background: #f5f8fc; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 30px; color: #143d73; display: inline-block; padding-bottom: 14px; position: relative; }
.section-head h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: #1a5fb4; border-radius: 2px; }
.section-head p { color: #666; margin-top: 12px; }
.section-more { text-align: center; margin-top: 34px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid #e6edf6; border-radius: 10px; padding: 28px 24px; transition: all .3s; }
.service-card:hover { box-shadow: 0 10px 28px rgba(26,95,180,.12); border-color: #1a5fb4; transform: translateY(-4px); }
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, #1a5fb4, #3d8be0); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 16px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card h3 a:hover { color: #1a5fb4; }
.service-card p { color: #666; font-size: 14px; margin-bottom: 14px; }
.service-points { margin-bottom: 16px; }
.service-points li { font-size: 13px; color: #888; padding: 3px 0 3px 16px; position: relative; }
.service-points li::before { content: '·'; position: absolute; left: 4px; color: #1a5fb4; font-weight: 700; }
.service-more { color: #1a5fb4; font-weight: 500; font-size: 14px; }

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card { text-align: center; background: #fff; border: 1px solid #e6edf6; border-radius: 10px; padding: 30px 20px; transition: all .3s; }
.adv-card:hover { box-shadow: 0 8px 22px rgba(26,95,180,.1); transform: translateY(-3px); }
.adv-icon { font-size: 34px; margin-bottom: 12px; }
.adv-card h3 { font-size: 17px; color: #143d73; margin-bottom: 8px; }
.adv-card p { color: #666; font-size: 13px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: block; background: #fff; border: 1px solid #e6edf6; border-radius: 10px; padding: 24px; transition: all .3s; }
.news-card:hover { box-shadow: 0 8px 24px rgba(26,95,180,.1); border-color: #1a5fb4; transform: translateY(-3px); }
.news-date { font-size: 13px; color: #999; }
.news-card h3 { font-size: 17px; margin: 10px 0; color: #143d73; }
.news-card p { font-size: 14px; color: #666; margin-bottom: 14px; }
.news-more { color: #1a5fb4; font-size: 14px; }

.cta { background: linear-gradient(135deg, #1a5fb4, #143d73); color: #fff; padding: 54px 0; text-align: center; }
.cta h2 { color: #fff; font-size: 27px; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.footer { background: #0c2240; color: #9db4d0; padding-top: 48px; }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 34px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo strong { color: #fff; font-size: 17px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: #7f97b5; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; padding-bottom: 10px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: #1a5fb4; }
.footer-col ul li { padding: 5px 0; font-size: 14px; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact li { color: #7f97b5; }
.footer-friend { border-top: 1px solid #16314f; padding: 14px 0; font-size: 13px; }
.footer-friend .container { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ff-title { color: #5f7ba0; }
.footer-friend a { color: #7f97b5; }
.footer-friend a:hover { color: #6fb0f0; }
.footer-bottom { border-top: 1px solid #16314f; padding: 16px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.float-bar { position: fixed; right: 16px; bottom: 80px; z-index: 99; display: flex; flex-direction: column; gap: 8px; }
.float-item { background: #1a5fb4; color: #fff; border-radius: 8px; padding: 10px 14px; text-align: center; box-shadow: 0 4px 16px rgba(26,95,180,.35); min-width: 74px; transition: all .25s; }
.float-item:hover { background: #144d93; transform: translateX(-3px); }
.float-icon { display: block; font-size: 20px; }
.float-label { display: block; font-size: 12px; margin-top: 2px; }

.page-banner { background: linear-gradient(135deg, #0d2b52, #1a5fb4); color: #fff; padding: 44px 0; text-align: center; }
.page-banner h1 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.page-banner p { color: #bcd2ee; font-size: 14px; }
.page-banner a { color: #ffd76b; }

.empty { text-align: center; padding: 60px 20px; color: #888; }
.empty .btn { margin: 8px; }

.detail-layout { display: grid; grid-template-columns: 1fr 310px; gap: 28px; }
.detail-main { min-width: 0; }
.detail-card { background: #fff; border: 1px solid #e6edf6; border-radius: 10px; padding: 28px; margin-bottom: 20px; }
.detail-title { font-size: 20px; color: #143d73; border-bottom: 2px solid #1a5fb4; display: inline-block; padding-bottom: 10px; margin-bottom: 18px; }
.detail-lead { font-size: 16px; color: #444; margin-bottom: 14px; }
.detail-content li { padding: 9px 0 9px 22px; position: relative; color: #444; border-bottom: 1px dashed #eef3f9; }
.detail-content li::before { content: '✓'; position: absolute; left: 0; color: #1a5fb4; }
.flow-list { counter-reset: flow; }
.flow-list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px dashed #eef3f9; }
.flow-list li:last-child { border-bottom: none; }
.flow-list li::before { counter-increment: flow; content: counter(flow); width: 36px; height: 36px; background: #1a5fb4; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.flow-list strong { display: block; color: #143d73; font-size: 16px; }
.flow-list span { font-size: 13px; color: #888; }

.detail-side { position: sticky; top: 96px; align-self: start; }
.side-card { background: #fff; border: 1px solid #e6edf6; border-radius: 10px; padding: 22px; margin-bottom: 18px; }
.side-card h3 { font-size: 17px; color: #143d73; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #eef3f9; }
.side-cta { text-align: center; background: linear-gradient(135deg, #f5f8fc, #e8f0fa); }
.side-price { color: #1a5fb4; font-weight: 600; margin-bottom: 14px; }
.side-cta .btn { margin-bottom: 8px; }
.side-list li { padding: 9px 0; border-bottom: 1px dashed #eef3f9; font-size: 14px; }
.side-list li:last-child { border-bottom: none; }
.side-list a { display: flex; align-items: center; gap: 8px; }
.side-list a:hover { color: #1a5fb4; }
.side-icon { font-size: 18px; }

.about-text h2 { font-size: 22px; color: #143d73; margin: 28px 0 14px; padding-left: 12px; border-left: 4px solid #1a5fb4; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { color: #444; margin-bottom: 14px; }
.about-text strong { color: #1a5fb4; }
.about-info-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; background: #f5f8fc; border-radius: 10px; padding: 24px; }
.about-info-box div { display: flex; gap: 10px; font-size: 14px; }
.about-info-box span { color: #888; flex-shrink: 0; min-width: 84px; }
.about-info-box strong { color: #333; font-weight: 600; }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: flex; gap: 22px; background: #fff; border: 1px solid #e6edf6; border-radius: 10px; padding: 24px; transition: all .3s; }
.news-item:hover { box-shadow: 0 8px 22px rgba(26,95,180,.1); border-color: #1a5fb4; }
.news-item-date { width: 78px; height: 78px; background: linear-gradient(135deg, #1a5fb4, #3d8be0); color: #fff; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.news-item-date strong { font-size: 28px; line-height: 1; }
.news-item-date span { font-size: 12px; opacity: .9; }
.news-item-body h2 { font-size: 18px; color: #143d73; margin-bottom: 8px; }
.news-item-body p { color: #666; font-size: 14px; margin-bottom: 8px; }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }
.article-main { background: #fff; border: 1px solid #e6edf6; border-radius: 10px; padding: 36px; }
.article-title { font-size: 26px; color: #143d73; margin-bottom: 14px; line-height: 1.4; }
.article-meta { font-size: 13px; color: #999; padding-bottom: 16px; border-bottom: 1px solid #eef3f9; margin-bottom: 24px; display: flex; gap: 20px; flex-wrap: wrap; }
.article-body p { color: #444; margin-bottom: 16px; font-size: 15px; text-indent: 2em; }
.article-cta { margin-top: 28px; background: #f5f8fc; border-radius: 8px; padding: 22px; text-align: center; }
.article-cta p { margin-bottom: 14px; color: #143d73; font-weight: 600; text-indent: 0; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.contact-info h2, .contact-card h2 { font-size: 22px; color: #143d73; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #1a5fb4; display: inline-block; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #eef3f9; }
.contact-icon { width: 48px; height: 48px; background: #e8f0fa; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-item h3 { font-size: 16px; color: #143d73; margin-bottom: 4px; }
.contact-item p { color: #555; font-size: 14px; }
.contact-item a { color: #1a5fb4; }
.contact-big a { font-size: 22px; font-weight: 700; }
.contact-card { background: #f5f8fc; border-radius: 10px; padding: 32px; }
.contact-card > p { color: #555; margin-bottom: 12px; }
.contact-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 24px; }
.contact-services li a { display: block; background: #fff; border: 1px solid #e6edf6; border-radius: 6px; padding: 10px 14px; font-size: 14px; text-align: center; }
.contact-services li a:hover { border-color: #1a5fb4; color: #1a5fb4; }
.form-tip { text-align: center; font-size: 12px; color: #999; margin-top: 10px; }

@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-card { max-width: 420px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
    .detail-layout, .article-layout { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.1); }
    .nav.open { display: flex; }
    .nav a { padding: 14px 18px; border-bottom: 1px solid #eef3f9; border-radius: 0; }
    .nav a.active::after { display: none; }
    .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .topbar-right .sep { display: none; }
    .hero { padding: 40px 0; }
    .hero-text h1 { font-size: 27px; }
    .section { padding: 40px 0; }
    .section-head h2 { font-size: 24px; }
    .service-grid, .service-grid-3 { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .about-info-box { grid-template-columns: 1fr; }
    .contact-services { grid-template-columns: 1fr; }
    .news-item { flex-direction: column; gap: 14px; }
    .article-main { padding: 22px 18px; }
    .contact-card { padding: 22px 18px; }
    .float-bar { right: 10px; bottom: 16px; }
    .float-item { padding: 8px 10px; min-width: 62px; }
}
