/* ============================================================
   旅可伴服务交易平台 · 首页（前缀 bk_h_）
   分屏 Hero → 城市/语言 → 票根精选 → 服务者 → 三栏清单 → 热度/新上线
   → 实拍墙 → 为您推荐 → 预约五步 → 入驻横幅
   ============================================================ */

/* ① 分屏 Hero */
.bk_h_hero { padding: 28px 0 0; background: linear-gradient(180deg, #ECEAE5 0%, var(--bk-pearl) 100%); }
.bk_h_hero_in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 20px; }
.bk_h_hero_panel { position: relative; overflow: hidden; border-radius: var(--bk-radius-lg); padding: 48px 44px 40px;
    background: var(--bk-grad-night); color: #fff; }
.bk_h_hero_panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
    border: 1px solid rgba(230,207,122,.22); box-shadow: 0 0 0 36px rgba(230,207,122,.05); pointer-events: none; }
.bk_h_hero_eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--bk-gold-light);
    padding-bottom: 8px; border-bottom: 1px solid rgba(230,207,122,.35); margin-bottom: 20px; }
.bk_h_hero_panel h1 { font-size: 38px; line-height: 1.35; font-weight: 800; margin: 0 0 16px; letter-spacing: 1px; }
.bk_h_hero_panel h1 em { font-style: normal; color: var(--bk-gold); }
.bk_h_hero_panel > p { font-size: 14.5px; line-height: 1.9; color: rgba(255,255,255,.72); margin: 0 0 28px; max-width: 520px; }

.bk_h_finder { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1px;
    background: rgba(255,255,255,.14); border-radius: 12px; overflow: hidden; }
.bk_h_finder label { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 10px 14px; background: #fff; cursor: pointer; }
.bk_h_finder label span { font-size: 11.5px; color: var(--bk-ink-3); }
.bk_h_finder select { border: none; outline: none; background: transparent; font-size: 14.5px; font-weight: 600;
    color: var(--bk-ink); padding: 0; cursor: pointer; appearance: auto; }
.bk_h_finder button { border: none; background: var(--bk-gold); color: var(--bk-night); font-weight: 700; font-size: 15px;
    padding: 0 22px; display: inline-flex; align-items: center; gap: 8px; }
.bk_h_finder button:hover { background: var(--bk-gold-light); }

.bk_h_hero_pics { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 440px; }
.bk_h_pic { position: relative; margin: 0; border-radius: var(--bk-radius-lg); overflow: hidden; background: var(--bk-pearl-3); }
.bk_h_pic img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bk_h_pic_a { grid-row: 1 / 3; }
.bk_h_pic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px;
    background: rgba(27,24,64,.72); color: #fff; backdrop-filter: blur(4px); }
.bk_h_pic figcaption i { color: var(--bk-gold-light); margin-right: 6px; }

.bk_h_stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 20px; background: #fff; border-radius: var(--bk-radius);
    border: 1px solid var(--bk-line); }
.bk_h_stats > div { padding: 16px 10px; text-align: center; }
.bk_h_stats > div + div { border-left: 1px solid var(--bk-line-soft); }
.bk_h_stats b { display: block; font-size: 26px; line-height: 1.2; color: var(--bk-indigo); font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }
.bk_h_stats span { font-size: 13px; color: var(--bk-ink-3); }

/* ② 城市 / 语言 */
.bk_h_find { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.bk_h_cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bk_h_city { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--bk-radius); overflow: hidden; color: #fff; }
.bk_h_city img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bk_h_city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,24,64,0) 40%, rgba(27,24,64,.85) 100%); }
.bk_h_city:hover img { transform: scale(1.06); }
.bk_h_city_tx { position: absolute; left: 16px; bottom: 14px; z-index: 1; }
.bk_h_city_tx b { display: block; font-size: 22px; }
.bk_h_city_tx em { font-style: normal; font-size: 12.5px; color: var(--bk-gold-light); }
.bk_h_city > i { position: absolute; right: 16px; bottom: 18px; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.bk_h_city:hover { color: #fff; }
.bk_h_langs { display: flex; flex-direction: column; gap: 14px; }
.bk_h_lang { flex: 1; display: flex; align-items: center; gap: 16px; padding: 0 20px; background: #fff; border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius); transition: all .2s; }
.bk_h_lang:hover { border-color: var(--bk-indigo); box-shadow: var(--bk-shadow); }
.bk_h_lang_code { width: 48px; height: 48px; border-radius: 12px; background: var(--bk-lav-tint); color: var(--bk-indigo);
    font-weight: 800; display: flex; align-items: center; justify-content: center; letter-spacing: 1px; }
.bk_h_lang:nth-child(2) .bk_h_lang_code { background: var(--bk-gold-tint); color: var(--bk-gold-deep); }
.bk_h_lang:nth-child(3) .bk_h_lang_code { background: var(--bk-indigo); color: #fff; }
.bk_h_lang_tx b { display: block; font-size: 17px; color: var(--bk-ink); }
.bk_h_lang_tx em { font-style: normal; font-size: 13px; color: var(--bk-ink-3); }

/* ③ 票根横卡 */
.bk_h_tickets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bk_h_ticket { position: relative; display: grid; grid-template-columns: 200px 1fr; background: #fff; border-radius: var(--bk-radius);
    border: 1px solid var(--bk-line); overflow: hidden; color: var(--bk-ink); transition: box-shadow .25s, transform .25s; }
.bk_h_ticket:hover { box-shadow: var(--bk-shadow-lg); transform: translateY(-3px); color: var(--bk-ink); }
.bk_h_ticket::before, .bk_h_ticket::after { content: ""; position: absolute; left: 190px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--bk-pearl); border: 1px solid var(--bk-line); z-index: 1; }
.bk_h_ticket::before { top: -11px; }
.bk_h_ticket::after { bottom: -11px; }
.bk_h_ticket_img { display: block; overflow: hidden; }
.bk_h_ticket_img img { width: 100%; height: 100%; object-fit: cover; min-height: 190px; }
.bk_h_ticket_body { display: flex; flex-direction: column; padding: 18px 20px 16px 26px; border-left: 2px dashed var(--bk-line); }
.bk_h_ticket_top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bk_h_ticket_city { font-size: 12.5px; color: var(--bk-ink-3); }
.bk_h_ticket_city i { color: var(--bk-gold-deep); margin-right: 4px; }
.bk_h_ticket strong { font-size: 16.5px; line-height: 1.5; margin-bottom: 6px; }
.bk_h_ticket_desc { font-size: 13px; line-height: 1.75; color: var(--bk-ink-2); display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.bk_h_ticket_foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.bk_h_ticket_go { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px;
    background: var(--bk-indigo); color: #fff; font-size: 13px; font-weight: 600; }
.bk_h_ticket:hover .bk_h_ticket_go { background: var(--bk-gold); color: var(--bk-night); }

/* ④ 服务者 */
.bk_h_people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bk_h_person { background: #fff; border-radius: var(--bk-radius-lg); border: 1px solid var(--bk-line); overflow: hidden; display: flex; flex-direction: column; }
.bk_h_person_cover { position: relative; height: 150px; background: var(--bk-night) center / cover no-repeat; }
.bk_h_person_cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,24,64,.1), rgba(27,24,64,.55)); }
.bk_h_person_cover .bk_avatar { position: absolute; left: 26px; bottom: -34px; z-index: 1; width: 72px; height: 72px; font-size: 30px; }
.bk_h_person_body { padding: 44px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.bk_h_person_hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bk_h_person_hd h3 { font-size: 24px; font-weight: 800; margin: 0; }
.bk_h_person_org { font-size: 13.5px; color: var(--bk-ink-2); margin: 4px 0 12px; }
.bk_h_person_tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bk_h_person_body > p { font-size: 13.5px; line-height: 1.85; color: var(--bk-ink-2); margin: 0 0 14px; }
.bk_h_person_list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--bk-line-soft); }
.bk_h_person_list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--bk-line-soft); font-size: 13.5px; }
.bk_h_person_list a { color: var(--bk-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk_h_person_list a:hover { color: var(--bk-indigo); }
.bk_h_person_list span { color: var(--bk-indigo); font-weight: 600; white-space: nowrap; }
.bk_h_person .bk_btn { margin-top: auto; align-self: flex-start; height: 40px; font-size: 14px; }

/* ⑤ 三栏清单 */
.bk_h_cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.bk_h_col { background: #fff; border-radius: var(--bk-radius); border: 1px solid var(--bk-line); overflow: hidden; }
.bk_h_col_hd { position: relative; height: 110px; padding: 18px 20px; color: #fff; display: flex; align-items: flex-end; gap: 12px;
    background: var(--bk-night) center / cover no-repeat; }
.bk_h_col_hd::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,24,64,.92), rgba(27,24,64,.4)); }
.bk_h_col_hd > * { position: relative; }
.bk_h_col_hd i { font-size: 22px; color: var(--bk-gold); margin-bottom: 4px; }
.bk_h_col_hd h3 { font-size: 20px; font-weight: 800; margin: 0; flex: 1; }
.bk_h_col_hd span { font-size: 12.5px; color: rgba(255,255,255,.75); }
.bk_h_col_desc { font-size: 13px; line-height: 1.8; color: var(--bk-ink-3); padding: 14px 20px 4px; margin: 0; }
.bk_h_col ul { list-style: none; margin: 0; padding: 4px 12px; }
.bk_h_col li a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 8px; color: var(--bk-ink); }
.bk_h_col li a:hover { background: var(--bk-lav-tint); }
.bk_h_col li + li { border-top: 1px dashed var(--bk-line); }
.bk_h_col li img { width: 56px; height: 42px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.bk_h_col_tx { flex: 1; min-width: 0; }
.bk_h_col_tx b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk_h_col_tx em { font-style: normal; font-size: 12px; color: var(--bk-ink-3); }
.bk_h_col_pr { font-weight: 800; color: var(--bk-indigo); font-size: 15px; }
.bk_h_col_more { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 20px 18px; height: 38px;
    border-radius: 999px; border: 1px solid var(--bk-line); font-size: 13.5px; color: var(--bk-indigo); }
.bk_h_col_more:hover { background: var(--bk-indigo); border-color: var(--bk-indigo); color: #fff; }

/* ⑥ 热度榜 + 新上线 */
.bk_h_board { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; }
.bk_h_rank, .bk_h_fresh { background: #fff; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); padding: 24px 26px 14px; }
.bk_h_rank .bk_head, .bk_h_fresh .bk_head { margin-bottom: 12px; }
.bk_h_rank .bk_head h2, .bk_h_fresh .bk_head h2 { font-size: 21px; }
.bk_h_rank ol { list-style: none; margin: 0; padding: 0; }
.bk_h_rank li a { display: flex; align-items: center; gap: 16px; padding: 12px 0; color: var(--bk-ink); border-top: 1px solid var(--bk-line-soft); }
.bk_h_rank li a:hover b { color: var(--bk-indigo); }
.bk_h_rank_no { width: 34px; font-size: 20px; font-weight: 800; color: var(--bk-lav-soft); font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }
.bk_h_rank_no.is_top { color: var(--bk-gold-deep); }
.bk_h_rank_tx { flex: 1; min-width: 0; }
.bk_h_rank_tx b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.bk_h_rank_bar { display: block; height: 5px; border-radius: 3px; background: var(--bk-line-soft); overflow: hidden; }
.bk_h_rank_bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--bk-indigo), var(--bk-lav)); }
.bk_h_rank li:nth-child(-n+3) .bk_h_rank_bar i { background: linear-gradient(90deg, var(--bk-gold-deep), var(--bk-gold-light)); }
.bk_h_rank_pr { font-weight: 800; color: var(--bk-indigo); white-space: nowrap; }
.bk_h_rank_pr em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--bk-ink-3); margin-left: 3px; }
.bk_h_fresh_it { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--bk-line-soft); color: var(--bk-ink); }
.bk_h_fresh_it img { width: 88px; height: 66px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.bk_h_fresh_it em { display: block; font-style: normal; font-size: 12px; color: var(--bk-gold-deep); margin-bottom: 3px; }
.bk_h_fresh_it b { font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bk_h_fresh_it:hover b { color: var(--bk-indigo); }

/* ⑦ 实拍墙（瀑布流） */
.bk_h_wall { column-count: 4; column-gap: 14px; }
.bk_h_wall figure { position: relative; break-inside: avoid; margin: 0 0 14px; border-radius: var(--bk-radius); overflow: hidden; background: var(--bk-pearl-3); }
.bk_h_wall img { width: 100%; height: auto; display: block; transition: transform .5s; }
.bk_h_wall figure:hover img { transform: scale(1.04); }
.bk_h_wall figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px;
    background: rgba(27,24,64,.7); color: #fff; }

/* ⑧ 为您推荐 */
.bk_h_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ⑨ 预约五步 + 须知 */
.bk_h_steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.bk_h_steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--bk-gold) 0 8px, transparent 8px 14px); }
.bk_h_steps li { position: relative; text-align: center; padding: 0 12px; }
.bk_h_steps li i { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--bk-indigo); color: #fff;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 20px; box-shadow: 0 0 0 6px var(--bk-pearl); }
.bk_h_steps li span { position: absolute; left: 50%; top: -4px; margin-left: 14px; z-index: 1; width: 22px; height: 22px; border-radius: 50%;
    background: var(--bk-gold); color: var(--bk-night); font-size: 12px; font-weight: 800; line-height: 22px; }
.bk_h_steps b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.bk_h_steps em { font-style: normal; font-size: 13px; color: var(--bk-ink-3); line-height: 1.7; }
.bk_h_notes { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; background: #fff; border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius-lg); padding: 18px; }
.bk_h_note_pic { border-radius: var(--bk-radius); overflow: hidden; min-height: 260px; }
.bk_h_note_pic img { width: 100%; height: 100%; object-fit: cover; }
.bk_h_note_list { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 6px 10px; }
.bk_h_note { display: flex; gap: 16px; padding: 14px 0; }
.bk_h_note + .bk_h_note { border-top: 1px dashed var(--bk-line); }
.bk_h_note > i { width: 42px; height: 42px; border-radius: 12px; background: var(--bk-gold-tint); color: var(--bk-gold-deep);
    display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.bk_h_note b { display: block; font-size: 16px; margin-bottom: 4px; }
.bk_h_note p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--bk-ink-2); }

/* ⑩ 入驻横幅 */
.bk_h_join { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 48px;
    border-radius: var(--bk-radius-lg); overflow: hidden; color: #fff; background: var(--bk-night) center / cover no-repeat; }
.bk_h_join::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,24,64,.96) 0%, rgba(27,24,64,.82) 55%, rgba(27,24,64,.45) 100%); }
.bk_h_join > * { position: relative; }
.bk_h_join .bk_head_no { color: var(--bk-gold-light); }
.bk_h_join h2 { font-size: 26px; font-weight: 800; margin: 0 0 14px; }
.bk_h_join ul { list-style: none; margin: 0; padding: 0; }
.bk_h_join li { font-size: 14px; color: rgba(255,255,255,.82); padding: 4px 0; }
.bk_h_join li i { color: var(--bk-gold); margin-right: 10px; }
.bk_h_join .bk_btn { flex-shrink: 0; height: 48px; padding: 0 30px; }

/* 响应式 */
@media (max-width: 1100px) {
    .bk_h_hero_in { grid-template-columns: 1fr; }
    .bk_h_hero_pics { min-height: 360px; }
    .bk_h_find { grid-template-columns: 1fr; }
    .bk_h_langs { flex-direction: row; }
    .bk_h_lang { padding: 16px; }
    .bk_h_tickets, .bk_h_people { grid-template-columns: 1fr; }
    .bk_h_cols { grid-template-columns: 1fr 1fr; }
    .bk_h_board { grid-template-columns: 1fr; }
    .bk_h_grid { grid-template-columns: repeat(3, 1fr); }
    .bk_h_wall { column-count: 3; }
}
@media (max-width: 768px) {
    .bk_h_hero_panel { padding: 32px 22px 26px; }
    .bk_h_hero_panel h1 { font-size: 28px; }
    .bk_h_finder { grid-template-columns: 1fr 1fr; }
    .bk_h_finder label:nth-child(3), .bk_h_finder button { grid-column: 1 / -1; }
    .bk_h_finder button { height: 46px; justify-content: center; }
    .bk_h_hero_pics { min-height: 260px; }
    .bk_h_stats { grid-template-columns: repeat(3, 1fr); }
    .bk_h_stats > div:nth-child(4) { border-left: none; }
    .bk_h_stats > div:nth-child(n+4) { border-top: 1px solid var(--bk-line-soft); }
    .bk_h_langs { flex-direction: column; }
    .bk_h_ticket { grid-template-columns: 120px 1fr; }
    .bk_h_ticket::before, .bk_h_ticket::after { left: 110px; }
    .bk_h_ticket_img img { min-height: 170px; }
    .bk_h_ticket_desc { display: none; }
    .bk_h_cols { grid-template-columns: 1fr; }
    .bk_h_grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bk_h_wall { column-count: 2; column-gap: 10px; }
    .bk_h_steps { grid-template-columns: 1fr; gap: 14px; }
    .bk_h_steps::before { display: none; }
    .bk_h_steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; text-align: left; padding: 0; }
    .bk_h_steps li i { grid-row: 1 / 3; margin: 0; }
    .bk_h_steps li span { left: 38px; margin-left: 0; }
    .bk_h_notes { grid-template-columns: 1fr; }
    .bk_h_join { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
}
@media (max-width: 480px) {
    .bk_h_cities { gap: 8px; }
    .bk_h_city_tx b { font-size: 17px; }
    .bk_h_city > i { display: none; }
    .bk_h_person_body { padding: 42px 18px 20px; }
    .bk_h_rank, .bk_h_fresh { padding: 18px 16px 8px; }
}

/* 网格/弹性子项允许收缩：防止不换行的长文本把 1fr 轨道撑宽导致移动端横向溢出 */
.bk_h_hero_in > *, .bk_h_find > *, .bk_h_cities > *, .bk_h_tickets > *, .bk_h_people > *, .bk_h_cols > *,
.bk_h_board > *, .bk_h_grid > *, .bk_h_notes > *, .bk_h_finder > *, .bk_h_stats > * { min-width: 0; }
.bk_h_ticket_body, .bk_h_person_body, .bk_h_lang_tx, .bk_h_fresh_it > span { min-width: 0; }
.bk_h_person_list a { flex: 1; min-width: 0; }
.bk_h_finder select { width: 100%; min-width: 0; }
