/* ============================================
   home.css — 在场花坊 首页样式
   风格：花艺柔和风（奶油米底 + 橄榄绿 + 玫瑰粉 + 米金点缀）
   类名前缀：hf_h_
   ============================================ */

.hf_home { background: var(--hf-cream); overflow-x: hidden; }

.hf_h_in { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.hf_h_sec { padding: 66px 0; }

/* 通用小标题组 */
.hf_h_eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px;
    color: var(--hf-sage); text-transform: uppercase; margin-bottom: 10px;
}
.hf_h_title { font-size: 30px; font-weight: 800; color: var(--hf-olive-deep); line-height: 1.25; letter-spacing: .5px; }
.hf_h_title span { color: var(--hf-rose); }
.hf_h_sub { font-size: 14px; color: var(--hf-ink-2); margin-top: 8px; }

.hf_h_head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.hf_h_head_center { justify-content: center; text-align: center; }
.hf_h_head_center .hf_h_title::after {
    content: ''; display: block; width: 48px; height: 3px; border-radius: 3px;
    background: var(--hf-grad-rose); margin: 14px auto 0;
}
.hf_h_more {
    display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
    font-size: 14px; font-weight: 600; color: var(--hf-olive);
    padding: 8px 18px; border: 1.5px solid var(--hf-sage-soft); border-radius: 999px; transition: all .2s;
}
.hf_h_more:hover { background: var(--hf-olive); border-color: var(--hf-olive); color: #fff; }
.hf_h_more i { transition: transform .2s; }
.hf_h_more:hover i { transform: translateX(4px); }

/* ============================================
   ① Hero
   ============================================ */
.hf_h_hero { position: relative; min-height: 580px; display: flex; align-items: center; }
.hf_h_hero_bg {
    position: absolute; inset: 0;
    background: var(--hero-bg) center/cover no-repeat;
}
.hf_h_hero_bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(251,247,241,.55) 0%, rgba(251,247,241,.15) 45%, rgba(251,247,241,.15) 55%, rgba(251,247,241,.55) 100%);
}
.hf_h_hero_wrap {
    position: relative; z-index: 2;
    max-width: 1280px; margin: 0 auto; padding: 40px 20px; width: 100%;
    display: flex; justify-content: center;
}
.hf_h_hero_card {
    width: 100%; max-width: 580px; text-align: center;
    background: rgba(255,255,255,.72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 28px;
    box-shadow: var(--hf-shadow-lg);
    padding: 40px 40px 34px;
}
.hf_h_hero_chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 16px; border-radius: 999px;
    background: var(--hf-blush); color: var(--hf-rose-deep);
    font-size: 12.5px; font-weight: 600; margin-bottom: 18px;
}
.hf_h_hero_title {
    font-size: 46px; font-weight: 800; color: var(--hf-olive-deep);
    letter-spacing: 2px; line-height: 1.1; margin-bottom: 10px;
}
.hf_h_hero_slogan {
    font-size: 19px; color: var(--hf-rose); font-weight: 600; letter-spacing: 3px; margin-bottom: 16px;
}
.hf_h_hero_desc { font-size: 14.5px; line-height: 1.9; color: var(--hf-ink-2); margin-bottom: 24px; }

.hf_h_hero_search {
    display: flex; align-items: stretch; height: 52px;
    background: #fff; border: 1.5px solid var(--hf-sage-soft);
    border-radius: 999px; overflow: hidden; box-shadow: var(--hf-shadow-sm);
}
.hf_h_hero_search input {
    flex: 1; border: none; outline: none; background: transparent;
    padding: 0 6px 0 24px; font-size: 14px; color: var(--hf-ink); font-family: inherit; min-width: 0;
}
.hf_h_hero_search input::placeholder { color: var(--hf-ink-3); }
.hf_h_hero_search button {
    flex-shrink: 0; border: none; cursor: pointer; padding: 0 26px; margin: 4px;
    background: var(--hf-grad-rose); color: #fff; font-size: 14.5px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; transition: filter .2s;
}
.hf_h_hero_search button:hover { filter: brightness(1.06); }

.hf_h_hero_hot {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
    margin-top: 14px; font-size: 13px; color: var(--hf-ink-3);
}
.hf_h_hero_hot a {
    color: var(--hf-olive); padding: 2px 12px; border-radius: 999px; background: var(--hf-green-tint); transition: all .18s;
}
.hf_h_hero_hot a:hover { background: var(--hf-olive); color: #fff; }

.hf_h_hero_btns { display: flex; justify-content: center; gap: 14px; margin-top: 24px; }
.hf_h_hero_btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: all .2s;
}
.hf_h_hero_btn_main { background: var(--hf-grad-olive); color: #fff; box-shadow: 0 8px 22px rgba(71,81,47,.24); }
.hf_h_hero_btn_main:hover { color: #fff; transform: translateY(-2px); }
.hf_h_hero_btn_outline { background: #fff; color: var(--hf-olive-deep); border: 1.5px solid var(--hf-sage); }
.hf_h_hero_btn_outline:hover { background: var(--hf-green-tint); color: var(--hf-olive-deep); }

.hf_h_hero_stats {
    display: flex; justify-content: center; gap: 34px;
    margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--hf-line);
}
.hf_h_hero_stat b { font-size: 28px; font-weight: 800; color: var(--hf-olive-deep); display: block; line-height: 1; }
.hf_h_hero_stat b i { color: var(--hf-rose); font-style: normal; font-size: 20px; }
.hf_h_hero_stat span { font-size: 12.5px; color: var(--hf-ink-3); }

/* ============================================
   ② 场景选花
   ============================================ */
.hf_h_scene_wrap { background: #fff; padding: 44px 0; border-bottom: 1px solid var(--hf-line); }
.hf_h_scene_top { text-align: center; margin-bottom: 28px; }
.hf_h_scene_eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--hf-sage); }
.hf_h_scene_eyebrow i { color: var(--hf-rose); margin-right: 4px; }
.hf_h_scene_h { font-size: 24px; font-weight: 800; color: var(--hf-olive-deep); margin-top: 6px; }
.hf_h_scene { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.hf_h_scard {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
    padding: 22px 10px; border-radius: 18px; background: var(--hf-cream);
    border: 1px solid transparent; transition: all .22s;
}
.hf_h_scard:hover { background: #fff; border-color: var(--hf-blush); transform: translateY(-4px); box-shadow: var(--hf-shadow); }
.hf_h_sicon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--hf-green-tint); color: var(--hf-olive);
    display: inline-flex; align-items: center; justify-content: center; font-size: 22px; transition: all .22s;
}
.hf_h_scard:hover .hf_h_sicon { background: var(--hf-grad-rose); color: #fff; }
.hf_h_stext strong { display: block; font-size: 14px; color: var(--hf-olive-deep); font-weight: 700; }
.hf_h_stext small { font-size: 11.5px; color: var(--hf-ink-3); }

/* ============================================
   ③ 平台优势
   ============================================ */
.hf_h_advs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hf_h_adv {
    position: relative; background: #fff; border: 1px solid var(--hf-line);
    border-radius: 20px; padding: 32px 26px 28px; transition: all .25s; overflow: hidden;
}
.hf_h_adv:hover { transform: translateY(-6px); box-shadow: var(--hf-shadow-lg); border-color: transparent; }
.hf_h_adv_n {
    position: absolute; top: 14px; right: 20px;
    font-size: 42px; font-weight: 800; color: var(--hf-green-tint); line-height: 1;
}
.hf_h_adv:hover .hf_h_adv_n { color: var(--hf-rose-tint); }
.hf_h_adv_ic {
    width: 60px; height: 60px; border-radius: 18px; margin-bottom: 18px;
    background: var(--hf-grad-olive); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 26px;
    box-shadow: 0 8px 20px rgba(71,81,47,.2);
}
.hf_h_adv:nth-child(even) .hf_h_adv_ic { background: var(--hf-grad-rose); box-shadow: var(--hf-shadow-rose); }
.hf_h_adv h3 { font-size: 18px; color: var(--hf-olive-deep); font-weight: 700; margin-bottom: 8px; }
.hf_h_adv p { font-size: 13px; color: var(--hf-ink-2); line-height: 1.8; }

/* ============================================
   ④ 精选花礼
   ============================================ */
.hf_h_feat_grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; }
.hf_h_feat_big {
    background: var(--hf-grad-olive); border-radius: 24px; padding: 32px 28px;
    color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.hf_h_feat_big::before {
    content: '\f06c'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    position: absolute; right: -20px; top: -10px; font-size: 130px; color: rgba(255,255,255,.08);
}
.hf_h_feat_big_eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 2px; color: var(--hf-blush); position: relative; }
.hf_h_feat_big h3 { font-size: 22px; font-weight: 700; margin: 12px 0 10px; line-height: 1.35; position: relative; }
.hf_h_feat_big p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.75); position: relative; }
.hf_h_feat_big_img {
    margin: 20px 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16/11; position: relative; background: rgba(255,255,255,.1);
}
.hf_h_feat_big_img img { width: 100%; height: 100%; object-fit: cover; }
.hf_h_feat_big_btn {
    margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--hf-olive-deep); padding: 10px 22px; border-radius: 999px;
    font-size: 13.5px; font-weight: 600; position: relative; transition: all .2s;
}
.hf_h_feat_big_btn:hover { color: var(--hf-rose-deep); gap: 12px; }

.hf_h_feat_pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hf_h_empty {
    grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--hf-ink-3);
    background: #fff; border: 1px dashed var(--hf-line); border-radius: 20px;
}
.hf_h_empty i { font-size: 44px; color: var(--hf-sage-soft); margin-bottom: 14px; }
.hf_h_empty h3 { font-size: 17px; color: var(--hf-olive-deep); margin-bottom: 6px; }
.hf_h_empty p { font-size: 13px; }

/* ============================================
   ⑤ 平台介绍图文
   ============================================ */
.hf_h_about_wrap { background: #fff; }
.hf_h_about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.hf_h_about_img { position: relative; }
.hf_h_about_img img { width: 100%; border-radius: 24px; box-shadow: var(--hf-shadow-lg); }
.hf_h_about_img_badge {
    position: absolute; right: -14px; bottom: 26px;
    display: flex; align-items: center; gap: 12px;
    background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--hf-shadow-lg);
}
.hf_h_about_img_badge i {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
    background: var(--hf-grad-rose); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.hf_h_about_img_badge span { font-size: 12.5px; font-weight: 600; color: var(--hf-olive-deep); line-height: 1.4; }
.hf_h_about_txt h2 { font-size: 28px; font-weight: 800; color: var(--hf-olive-deep); line-height: 1.35; margin-bottom: 18px; }
.hf_h_about_txt h2 span { color: var(--hf-rose); }
.hf_h_about_txt p { font-size: 14px; line-height: 1.95; color: var(--hf-ink-2); margin-bottom: 14px; }
.hf_h_about_txt p strong { color: var(--hf-olive-deep); font-weight: 700; }
.hf_h_about_pts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.hf_h_about_pt { display: flex; align-items: center; gap: 12px; }
.hf_h_about_pt i {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
    background: var(--hf-green-tint); color: var(--hf-olive);
    display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.hf_h_about_pt b { display: block; font-size: 14px; color: var(--hf-olive-deep); }
.hf_h_about_pt span { font-size: 12px; color: var(--hf-ink-3); }
.hf_h_about_more {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--hf-rose); font-size: 14.5px; font-weight: 600;
}
.hf_h_about_more:hover { color: var(--hf-rose-deep); gap: 12px; }

/* ============================================
   ⑥ 栏目专区
   ============================================ */
.hf_h_zone_head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.hf_h_zone_ic {
    width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px;
    background: var(--hf-grad-olive); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 24px;
    box-shadow: 0 8px 20px rgba(71,81,47,.2);
}
.hf_h_zone_head_rose .hf_h_zone_ic { background: var(--hf-grad-rose); box-shadow: var(--hf-shadow-rose); }
.hf_h_zone_tt { flex: 1; }
.hf_h_zone_tt h3 { font-size: 22px; font-weight: 800; color: var(--hf-olive-deep); }
.hf_h_zone_tt p { font-size: 13px; color: var(--hf-ink-2); }
.hf_h_zone_more {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    font-size: 13.5px; font-weight: 600; color: var(--hf-olive);
    padding: 8px 16px; border-radius: 999px; background: var(--hf-green-tint); transition: all .2s;
}
.hf_h_zone_head_rose .hf_h_zone_more { color: var(--hf-rose-deep); background: var(--hf-rose-tint); }
.hf_h_zone_more:hover { background: var(--hf-olive); color: #fff; }
.hf_h_zone_head_rose .hf_h_zone_more:hover { background: var(--hf-rose); color: #fff; }
.hf_h_zone_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ============================================
   ⑦ 花店入驻 CTA 大带
   ============================================ */
.hf_h_join_wrap { padding: 20px 0 66px; }
.hf_h_join {
    background: var(--hf-grad-olive); border-radius: 28px; padding: 46px 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.hf_h_join::before {
    content: '\f4d3'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    position: absolute; right: 30px; bottom: -30px; font-size: 200px; color: rgba(255,255,255,.06);
}
.hf_h_join_eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--hf-blush); }
.hf_h_join_l { position: relative; z-index: 1; }
.hf_h_join_l h2 { font-size: 27px; font-weight: 800; color: #fff; margin: 10px 0 18px; }
.hf_h_join_l ul { display: flex; flex-direction: column; gap: 10px; }
.hf_h_join_l li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.hf_h_join_l li i { color: var(--hf-blush); }
.hf_h_join_btns { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.hf_h_join_btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 34px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: all .2s;
}
.hf_h_join_btn_main { background: #fff; color: var(--hf-olive-deep); }
.hf_h_join_btn_main:hover { color: var(--hf-rose-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.hf_h_join_btn_ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.hf_h_join_btn_ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ============================================
   ⑧ 入驻花店网格
   ============================================ */
.hf_h_merch_grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.hf_h_mcard {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
    background: #fff; border: 1px solid var(--hf-line); border-radius: 20px; padding: 26px 18px; transition: all .25s;
}
.hf_h_mcard:hover { transform: translateY(-5px); box-shadow: var(--hf-shadow-lg); border-color: transparent; }
.hf_h_mcard_logo {
    width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: var(--hf-green-tint); color: var(--hf-olive);
    display: inline-flex; align-items: center; justify-content: center; font-size: 26px;
}
.hf_h_mcard_logo img { width: 100%; height: 100%; object-fit: cover; }
.hf_h_mcard_name { font-size: 15px; font-weight: 700; color: var(--hf-olive-deep); }
.hf_h_mcard_meta { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--hf-ink-3); }
.hf_h_mcard_meta span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.hf_h_mcard_badge { color: var(--hf-sage) !important; font-weight: 600; }
.hf_h_mcard_btn {
    margin-top: 4px; display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 600; color: var(--hf-olive);
    padding: 6px 16px; border-radius: 999px; background: var(--hf-green-tint); transition: all .2s;
}
.hf_h_mcard:hover .hf_h_mcard_btn { background: var(--hf-grad-rose); color: #fff; }
.hf_h_mcard_join { background: var(--hf-cream-2); border-style: dashed; border-color: var(--hf-sage-soft); }
.hf_h_mcard_join .hf_h_mcard_logo { background: #fff; color: var(--hf-rose); }

/* ============================================
   ⑨ 平台流程时间轴
   ============================================ */
.hf_h_flow_wrap { background: #fff; }
.hf_h_flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; }
.hf_h_flow::before {
    content: ''; position: absolute; top: 38px; left: 10%; right: 10%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--hf-sage-soft) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.hf_h_fstep { text-align: center; position: relative; z-index: 1; }
.hf_h_fcircle {
    width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; position: relative;
    background: #fff; border: 2px solid var(--hf-sage-soft); color: var(--hf-olive);
    display: inline-flex; align-items: center; justify-content: center; font-size: 28px; transition: all .25s;
}
.hf_h_fstep:hover .hf_h_fcircle { background: var(--hf-grad-olive); border-color: transparent; color: #fff; transform: translateY(-4px); }
.hf_h_fn {
    position: absolute; top: -4px; right: -4px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--hf-grad-rose); color: #fff; font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.hf_h_fstep h4 { font-size: 16px; font-weight: 700; color: var(--hf-olive-deep); margin-bottom: 6px; }
.hf_h_fstep p { font-size: 12.5px; color: var(--hf-ink-2); line-height: 1.7; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1100px) {
    .hf_h_scene { grid-template-columns: repeat(4, 1fr); }
    .hf_h_advs { grid-template-columns: repeat(2, 1fr); }
    .hf_h_merch_grid { grid-template-columns: repeat(3, 1fr); }
    .hf_h_feat_grid { grid-template-columns: 1fr; }
    .hf_h_feat_pgrid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .hf_h_sec { padding: 46px 0; }
    .hf_h_title { font-size: 24px; }
    .hf_h_hero { min-height: 0; }
    .hf_h_hero_card { padding: 30px 22px 26px; }
    .hf_h_hero_title { font-size: 34px; }
    .hf_h_hero_stats { gap: 22px; }
    .hf_h_head { flex-direction: column; align-items: flex-start; }
    .hf_h_head_center { align-items: center; }
    .hf_h_scene { grid-template-columns: repeat(3, 1fr); }
    .hf_h_feat_pgrid { grid-template-columns: repeat(2, 1fr); }
    .hf_h_zone_grid { grid-template-columns: repeat(2, 1fr); }
    .hf_h_about { grid-template-columns: 1fr; gap: 30px; }
    .hf_h_about_img_badge { right: 14px; }
    .hf_h_merch_grid { grid-template-columns: repeat(2, 1fr); }
    .hf_h_join { padding: 34px 26px; }
    .hf_h_join_btns { width: 100%; }
    .hf_h_join_btn { flex: 1; }
    .hf_h_flow { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
    .hf_h_flow::before { display: none; }
}

@media (max-width: 480px) {
    .hf_h_scene { grid-template-columns: repeat(2, 1fr); }
    .hf_h_hero_title { font-size: 28px; }
    .hf_h_hero_search { height: 46px; }
    .hf_h_hero_search button span { display: none; }
    .hf_h_hero_btns { flex-direction: column; }
    .hf_h_hero_btn { width: 100%; justify-content: center; }
    .hf_h_advs { grid-template-columns: 1fr; }
    .hf_h_feat_pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hf_h_merch_grid { grid-template-columns: 1fr 1fr; }
}
