/* ============================================================
   习思报考 · 共享样式
   秦皇岛中高考升学规划专业品牌
   ============================================================ */
:root {
    --primary: #1A5F7A;
    --primary-dark: #10455C;
    --primary-light: #2E7FA8;
    --accent: #E8A33D;
    --accent-dark: #C9821F;
    --gold: #C9A063;
    --bg: #F5F8FA;
    --white: #FFFFFF;
    --text-dark: #1F2A33;
    --text-body: #3D4C57;
    --text-light: #6B7B87;
    --border: #E3EAEF;
    --red: #C0392B;
    --radius: 14px;
    --shadow: 0 4px 16px rgba(16, 69, 92, 0.08);
    --shadow-hover: 0 12px 32px rgba(16, 69, 92, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--primary); }

/* ===== 顶部信息栏 ===== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.9); text-decoration: none; margin-left: 20px; }
.top-bar a:hover { color: var(--accent); }

/* ===== 导航栏 ===== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(16,69,92,0.08);
    position: sticky; top: 0; z-index: 1000;
}
.navbar-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; position: relative;
}
.bk-logo {
    display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.bk-logo-badge {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    box-shadow: 0 4px 10px rgba(26,95,122,0.3);
}
.bk-logo-text { font-size: 21px; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.bk-logo-text span { color: var(--primary); }
.bk-logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: 1px; }

.nav-menu { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu a {
    display: block; padding: 10px 16px; color: var(--text-dark);
    text-decoration: none; font-size: 15px; font-weight: 500;
    border-radius: 8px; transition: all 0.25s;
}
.nav-menu a:hover { color: var(--primary); background: rgba(26,95,122,0.06); }
.nav-menu a.active { color: var(--primary); background: rgba(26,95,122,0.08); font-weight: 600; }
.nav-menu a.nav-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff; font-weight: 600;
    box-shadow: 0 4px 12px rgba(232,163,61,0.35);
}
.nav-menu a.nav-cta:hover { transform: translateY(-1px); color: #fff; }
.nav-menu a.nav-group { color: var(--text-light); }

.nav-toggle {
    display: none; background: none; border: none; font-size: 24px;
    color: var(--primary); cursor: pointer; padding: 6px 10px;
}

/* ===== 页面头图 ===== */
.page-hero {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    color: #fff; padding: 72px 24px 80px; text-align: center;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(232,163,61,0.25), transparent 50%),
                radial-gradient(circle at 15% 85%, rgba(255,255,255,0.08), transparent 45%);
}
.page-hero > * { position: relative; }
.page-hero .badge {
    display: inline-block; background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 18px; border-radius: 999px; font-size: 14px; margin-bottom: 20px;
}
.page-hero h1 { font-size: 40px; line-height: 1.3; margin-bottom: 16px; font-weight: 800; }
.page-hero h1 .hl { color: var(--accent); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 760px; margin: 0 auto; }

/* ===== 通用容器 ===== */
.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
    color: var(--accent-dark); font-size: 13px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title { font-size: 30px; color: var(--text-dark); font-weight: 800; margin-bottom: 12px; }
.section-desc { color: var(--text-light); font-size: 16px; max-width: 760px; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header .section-desc { margin: 0 auto; }

/* ===== 卡片网格 ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
    background: var(--white); border-radius: var(--radius); padding: 30px 26px;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon {
    width: 56px; height: 56px; border-radius: 14px; font-size: 28px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(26,95,122,0.1), rgba(46,127,168,0.15));
    margin-bottom: 18px;
}
.card h3 { color: var(--text-dark); font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-body); }

/* ===== 数据表 ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; border: 1px solid var(--border); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data-table th {
    background: var(--primary); color: #fff; padding: 12px 14px;
    text-align: left; font-weight: 600; white-space: nowrap;
}
table.data-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text-body); }
table.data-table tr:nth-child(even) td { background: #FAFCFD; }
table.data-table tr:hover td { background: rgba(26,95,122,0.05); }
table.data-table .num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--primary-dark); }
table.data-table .hi { color: var(--red); font-weight: 700; }

/* ===== 时间轴 ===== */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
    content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px;
    width: 3px; border-radius: 3px;
    background: linear-gradient(180deg, var(--primary-light), var(--accent));
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
    content: ''; position: absolute; left: -31px; top: 6px;
    width: 15px; height: 15px; border-radius: 50%;
    background: #fff; border: 4px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(26,95,122,0.12);
}
.timeline-item .t-date { font-weight: 700; color: var(--primary); font-size: 15px; }
.timeline-item .t-body { color: var(--text-body); font-size: 14.5px; }

/* ===== 图片卡片 ===== */
.figure {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px; box-shadow: var(--shadow); text-align: center;
}
.figure img { border-radius: 8px; }
.figure figcaption { font-size: 13px; color: var(--text-light); margin-top: 10px; }

/* ===== 提示框 ===== */
.note {
    background: #FFF8EC; border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0; padding: 16px 20px; font-size: 14.5px;
    color: #7A5A1E; margin: 20px 0;
}
.note-blue {
    background: #EFF6FA; border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0; padding: 16px 20px; font-size: 14.5px;
    color: var(--primary-dark); margin: 20px 0;
}

/* ===== CTA 横幅 ===== */
.cta-band {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius); color: #fff; padding: 44px 40px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-hover);
}
.cta-band h3 { font-size: 24px; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 15px; }
.btn {
    display: inline-block; padding: 13px 30px; border-radius: 10px;
    font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.25s;
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff; box-shadow: 0 6px 16px rgba(232,163,61,0.4);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-outline-light { border: 2px solid rgba(255,255,255,0.6); color: #fff; margin-left: 12px; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ===== 页脚 ===== */
.footer {
    background: #0E2A38; color: rgba(255,255,255,0.75);
    padding: 52px 24px 28px; margin-top: 0; font-size: 14px;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto 32px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px;
}
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,0.75); text-decoration: none; display: block; margin-bottom: 9px; }
.footer a:hover { color: var(--accent); }
.footer-brand { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--accent); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center; color: rgba(255,255,255,0.45); font-size: 13px;
}

/* ===== 标签 ===== */
.tag {
    display: inline-block; background: rgba(26,95,122,0.08); color: var(--primary);
    border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 600; margin: 3px 4px 3px 0;
}
.tag.gold { background: rgba(232,163,61,0.14); color: var(--accent-dark); }

/* ===== 数字速览 ===== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat {
    background: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center;
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.stat .stat-num { font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat .stat-num small { font-size: 16px; font-weight: 600; }
.stat .stat-label { color: var(--text-light); font-size: 14px; margin-top: 6px; }

/* ===== 规划师名片（桌面横排 / 手机竖排） ===== */
.profile-card { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.profile-img { width: 200px; height: 200px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); flex-shrink: 0; }
.profile-img-lg { width: 240px; height: 240px; }
.profile-body { flex: 1; min-width: 260px; }

/* ===== 表单双列网格 ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid input, .form-grid select, form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff;
}
form textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, form textarea:focus {
    outline: none; border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(46,127,168,0.15);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); box-shadow: var(--shadow-hover);
        padding: 8px 16px 16px; max-height: calc(100vh - 68px); overflow-y: auto;
        flex-direction: column; align-items: stretch;
    }
    .nav-menu.mobile-open { display: block; }
    .nav-menu li { border-bottom: 1px solid var(--bg); }
    .nav-menu li:last-child { border-bottom: none; }
    .nav-menu a { padding: 14px 8px; font-size: 16px; }
    .nav-menu a.nav-cta { text-align: center; margin-top: 8px; }
    .page-hero h1 { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 32px 24px; }
    .btn-outline-light { margin-left: 0; margin-top: 10px; }

    /* 规划师名片改为竖排居中 */
    .profile-card { flex-direction: column; text-align: center; gap: 20px; }
    .profile-body { min-width: 0; }
    .profile-card .btn { display: block; }
}

/* ===== 手机端深度适配 ===== */
@media (max-width: 640px) {
    /* 顶部信息栏 */
    .top-bar { font-size: 12px; }
    .top-bar-container { justify-content: center; gap: 4px 12px; padding: 0 12px; }
    .top-bar a { margin-left: 10px; }

    /* 导航 */
    .navbar-container { height: 60px; padding: 0 14px; }
    .bk-logo-badge { width: 38px; height: 38px; font-size: 19px; border-radius: 10px; }
    .bk-logo-text { font-size: 18px; }
    .bk-logo-sub { font-size: 10px; }

    /* 头图 */
    .page-hero { padding: 44px 16px 52px; }
    .page-hero .badge { font-size: 12px; padding: 5px 14px; margin-bottom: 14px; }
    .page-hero h1 { font-size: 23px; margin-bottom: 12px; }
    .page-hero p { font-size: 14px; }
    .page-hero p .btn { display: block; width: 100%; margin: 8px 0 0; }

    /* 区块 */
    .section { padding: 44px 0; }
    .container { padding: 0 16px; }
    .section-header { margin-bottom: 28px; }
    .section-title { font-size: 22px; }
    .section-desc { font-size: 14px; }

    /* 卡片 */
    .card-grid { gap: 14px; grid-template-columns: 1fr !important; }
    .card { padding: 22px 18px; }
    .card-icon { width: 46px; height: 46px; font-size: 23px; margin-bottom: 12px; }
    .card h3 { font-size: 17px; }
    .card p { font-size: 14px; }

    /* 数据速览：2x2 网格 */
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat { padding: 18px 10px; }
    .stat .stat-num { font-size: 26px; }
    .stat .stat-label { font-size: 12px; }

    /* 表格 */
    table.data-table { font-size: 13px; min-width: 560px; }
    table.data-table th, table.data-table td { padding: 9px 10px; }

    /* 时间轴 */
    .timeline { padding-left: 28px; }
    .timeline-item { padding-bottom: 20px; }
    .timeline-item::before { left: -27px; width: 12px; height: 12px; }

    /* 图卡 */
    .figure { padding: 10px; }
    .figure figcaption { font-size: 12px; }

    /* 提示框 */
    .note, .note-blue { font-size: 13.5px; padding: 13px 15px; }

    /* 标签 */
    .tag { font-size: 12px; padding: 3px 10px; }

    /* CTA */
    .cta-band { padding: 26px 18px; text-align: center; justify-content: center; }
    .cta-band h3 { font-size: 19px; }
    .cta-band p { font-size: 13px; }
    .cta-band .btn { display: block; width: 100%; margin: 8px 0 0; text-align: center; }

    /* 表单单列 */
    .form-grid { grid-template-columns: 1fr; gap: 12px; }

    .profile-img, .profile-img-lg { width: 160px; height: 160px; }

    /* 页脚 */
    .footer { padding: 36px 16px 22px; font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
}
