/* ===== 분양·회사매물 (/bunyang/) ===== */
.bn { --b: #2F6BF6; --ink: #191F28; --sub: #4E5968; --mute: #8B95A1; --line: #E5E8EB; --org: #E8590C; max-width: 1200px; margin: 0 auto; padding: 32px var(--gutter, 20px) 96px; color: var(--ink); word-break: keep-all; }
.bn a { color: inherit; }
.bn-eyebrow { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .2em; color: var(--org); }
.bn-hero h1 { margin: 10px 0 0; font-size: 40px; font-weight: 800; line-height: 1.3; letter-spacing: -.045em; }
.bn-hero h1 em { font-style: normal; color: var(--org); }
.bn-hero p { margin: 12px 0 0; font-size: 17px; line-height: 1.8; color: var(--sub); }
.bn-biz { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: #FFF0E6; color: #B6420A; font-size: 12px; font-weight: 800; }
.bn-sample { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #FFF1D6; color: #9A5B00; font-size: 12px; font-weight: 800; }

/* 목록 */
.bn-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.bn-tab { height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--sub); cursor: pointer; }
.bn-tab[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.bn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; padding: 0; list-style: none; }
.bn-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.bn-card:hover { box-shadow: 0 16px 36px -16px rgba(16,24,40,.25); transform: translateY(-2px); }
.bn-card-ph { position: relative; aspect-ratio: 16 / 10; background: #EEF1F5; }
.bn-card-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-card-ph .bn-stage { position: absolute; left: 12px; top: 12px; }
.bn-stage { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--org); color: #fff; font-size: 12.5px; font-weight: 800; }
.bn-stage.is-done { background: #191F28; }
.bn-card-b { padding: 16px 18px 18px; }
.bn-card-b .bn-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bn-card-b h3 { margin: 10px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.bn-card-b .bn-area { margin: 4px 0 0; font-size: 13.5px; color: var(--mute); }
.bn-card-b .bn-price { margin: 10px 0 0; font-size: 16px; font-weight: 800; color: var(--org); }
.bn-offers { display: flex; flex-wrap: wrap; gap: 4px; }
.bn-offer { padding: 2px 8px; border-radius: 6px; background: #F2F4F6; color: var(--sub); font-size: 12px; font-weight: 700; }
.bn-left { margin: 6px 0 0; font-size: 13px; color: var(--sub); }
.bn-left b { color: var(--ink); }
.bn-empty { margin-top: 30px; color: var(--mute); }
.bn-note { margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: #F7F8FA; font-size: 13.5px; line-height: 1.7; color: var(--sub); }
.bn-for-biz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(120deg, #2A1607, #6B2E0A 60%, #B6420A); color: #fff; }
.bn-for-biz b { font-size: 19px; } .bn-for-biz p { margin: 4px 0 0; font-size: 14px; color: #FFD9C2; }
.bn-for-biz a { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 99px; background: #fff; color: #B6420A; font-weight: 800; text-decoration: none; }

/* 상세 */
.bn-crumb { font-size: 13.5px; color: var(--mute); }
.bn-crumb a { text-decoration: none; } .bn-crumb a:hover { color: var(--b); }
.bn-detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; margin-top: 14px; }
.bn-gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 420px; border-radius: 18px; overflow: hidden; }
.bn-gal img { width: 100%; height: 100%; object-fit: cover; display: block; background: #EEF1F5; }
.bn-gal img:first-child { grid-row: span 2; }
.bn-title { margin-top: 22px; }
.bn-title .bn-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bn-title h1 { margin: 10px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -.045em; line-height: 1.3; }
.bn-title .bn-area { margin: 6px 0 0; font-size: 15px; color: var(--sub); }
.bn-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.bn-facts li { padding: 16px 14px; }
.bn-facts li + li { border-left: 1px dashed #C9D2DE; }
.bn-facts small { display: block; font-size: 13px; font-weight: 700; color: var(--mute); }
.bn-facts b { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.bn-facts b.is-org { color: var(--org); }
.bn-sec { margin-top: 40px; }
.bn-sec h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -.035em; }
.bn-check { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-check li { padding: 7px 12px; border-radius: 10px; background: #E9F8F1; color: #08734F; font-size: 14px; font-weight: 700; }
.bn-check li::before { content: "✓ "; }
.bn-adv { margin-top: 12px; font-size: 14px; color: var(--sub); }
.bn-adv b { color: var(--ink); }
.bn-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bn-table th, .bn-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.bn-table th { width: 140px; color: var(--sub); font-weight: 700; background: #F9FAFB; }
.bn-types th { width: auto; }
.bn-types thead th { background: #191F28; color: #fff; }
.bn-types td b { color: var(--org); }
.bn-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-perks li { padding: 8px 14px; border-radius: 99px; border: 1.5px solid #FFC9A8; color: #B6420A; font-size: 14px; font-weight: 700; background: #FFF7F2; }
.bn-map { display: grid; place-items: center; height: 240px; border-radius: 16px; background: repeating-linear-gradient(45deg, #EEF2F6, #EEF2F6 12px, #E7ECF2 12px, #E7ECF2 24px); color: var(--mute); font-size: 14px; }
.bn-near { margin: 12px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.8; color: var(--sub); }
.bn-agent { margin-top: 40px; padding: 20px 22px; border: 1.5px dashed #C9D2DE; border-radius: 16px; }
.bn-agent b { font-size: 16px; } .bn-agent p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--sub); }
.bn-agent a { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--b); }
.bn-legal { margin-top: 28px; font-size: 13px; line-height: 1.7; color: var(--mute); }

/* 문의 박스 */
.bn-ask { position: sticky; top: 90px; padding: 22px; border: 1.5px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -24px rgba(16,24,40,.35); }
.bn-ask h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.bn-ask > p { margin: 4px 0 0; font-size: 13.5px; color: var(--sub); }
.bn-ask form { display: grid; gap: 12px; margin-top: 16px; }
.bn-ask label.bn-f { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.bn-ask input[type="text"], .bn-ask input[type="tel"], .bn-ask select, .bn-ask textarea { width: 100%; height: 46px; padding: 0 12px; border: 1.5px solid #C9D2DE; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 500; background: #fff; box-sizing: border-box; }
.bn-ask textarea { height: 84px; padding: 10px 12px; resize: vertical; }
.bn-ask input:focus, .bn-ask select:focus, .bn-ask textarea:focus { outline: none; border-color: var(--b); box-shadow: 0 0 0 3px rgba(47,107,246,.15); }
.bn-phone { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.bn-phone button { height: 46px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 10px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.bn-want { border: 0; margin: 0; padding: 0; min-width: 0; }
.bn-want-list { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-want legend { margin-bottom: 6px; padding: 0; font-size: 14px; font-weight: 700; }
.bn-want label { position: relative; }
.bn-want input { position: absolute; opacity: 0; }
.bn-want span { display: inline-block; padding: 8px 14px; border: 1.5px solid #C9D2DE; border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--sub); cursor: pointer; }
.bn-want input:checked + span { border-color: var(--org); background: #FFF4EC; color: #B6420A; }
.bn-want input:focus-visible + span { outline: 2px solid var(--b); outline-offset: 2px; }
.bn-agree { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: #F7F8FA; }
.bn-agree label { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--sub); }
.bn-agree input { flex: none; width: 17px; height: 17px; margin-top: 1px; }
.bn-agree b { color: var(--ink); }
.bn-agree .req { color: #E2513C; font-weight: 800; }
.bn-agree a { color: var(--b); font-weight: 700; }
.bn-submit { height: 52px; border: 0; border-radius: 12px; background: var(--org); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.bn-submit:hover { background: #C94B08; }
.bn-msg { min-height: 1.4em; margin: 0; font-size: 13.5px; font-weight: 700; }
.bn-msg.is-err { color: #E2513C; } .bn-msg.is-ok { color: #08734F; }
.bn-ask small.bn-who { display: block; font-size: 12px; color: var(--mute); line-height: 1.5; }
.bn-bar { display: none; }

@media (max-width: 1023px) {
  .bn-grid { grid-template-columns: 1fr 1fr; }
  .bn-detail { grid-template-columns: 1fr; }
  .bn-ask { position: static; }
}
@media (max-width: 767px) {
  .bn { padding-top: 20px; }
  .bn-hero h1 { font-size: 28px; } .bn-hero p { font-size: 15.5px; }
  .bn-grid { grid-template-columns: 1fr; gap: 14px; }
  .bn-gal { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .bn-gal img { aspect-ratio: 16 / 10; } .bn-gal img:not(:first-child) { display: none; }
  .bn-title h1 { font-size: 26px; }
  .bn-facts { grid-template-columns: 1fr 1fr; }
  .bn-facts li:nth-child(3) { border-left: 0; } .bn-facts li:nth-child(n+3) { border-top: 1px dashed #C9D2DE; }
  .bn-facts b { font-size: 16px; }
  .bn-table th { width: 96px; padding: 11px 10px; } .bn-table td { padding: 11px 10px; } .bn-table { font-size: 14px; }
  .bn-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .bn-bar a { flex: 1; display: grid; place-items: center; height: 48px; border-radius: 12px; background: var(--org); color: #fff; font-weight: 800; text-decoration: none; }
  .bn-has-bar { padding-bottom: 120px; }
}

/* 홈에 넣은 분양·회사매물 칸 */
.bn.bn-home { max-width: 1240px; padding: 64px 20px 0; }
.bn-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.bn-home-head h2 { margin: 0; font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; letter-spacing: -.03em; color: #1C2433; }
.bn-home-head h2 em { font-style: normal; color: var(--org); }
.bn-home-head a { flex: none; font-size: 15px; font-weight: 700; color: var(--b); text-decoration: none; }
.bn-home-sub { margin: 6px 0 0; font-size: 15.5px; color: var(--sub); }
@media (max-width: 767px) { .bn.bn-home { padding-top: 44px; } .bn-home-sub { font-size: 14px; } }
.bn-sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-sched li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #F7F8FA; }
.bn-sched b { font-size: 13px; color: var(--sub); } .bn-sched span { font-size: 15px; font-weight: 800; color: var(--ink); }
@media (max-width: 767px) { .bn-sched { grid-template-columns: 1fr 1fr; } }

/* 홈 분양 칸: 한 줄 4개 × 2줄 (8개) · 제목 크기는 추천 매물과 같게 (2026-11-27) */
.bn.bn-home { max-width: 1240px; }
.bn-home-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.bn-home-tags { margin: 14px 0 0; }
.bn-grid.bn-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.bn-grid-home .bn-card-b { padding: 12px 14px 14px; }
.bn-grid-home .bn-card-b h3 { margin-top: 8px; font-size: 16px; }
.bn-grid-home .bn-card-b .bn-price { margin-top: 6px; font-size: 14.5px; }
.bn-grid-home .bn-card-b .bn-area, .bn-grid-home .bn-left { font-size: 12.5px; }
.bn-grid-home .bn-offers { display: none; }
@media (max-width: 900px) { .bn-grid.bn-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bn-home-head h2 { font-size: 21px; } .bn-grid.bn-grid-home { grid-template-columns: 1fr 1fr; gap: 10px; } .bn-grid-home .bn-card-b h3 { font-size: 14.5px; } }
