/* ==========================================================================
   bus-boarding.css — 「위지스 탑승관리(통근버스)」 소개 페이지 (/bus-boarding/)
   색은 제품 관리자 화면에서 가져온다: 딥그린 · 호차 노선의 앰버 · 포인트 라임
   ========================================================================== */

body[data-page="bus-boarding"] {
    --bb-green-900: #0b3320;
    --bb-green-800: #14532d;
    --bb-green-600: #167a45;
    --bb-green-500: #1f9d55;
    --bb-mint: #7ee2a8;
    --bb-tint: #f1f6f2;
    --bb-amber: #b9791c;
    --bb-amber-soft: #fbefd9;
    --bb-lime: #c8f24a;
    --bb-ink: #17251d;
    --bb-ink-soft: #52625a;
    --bb-line: #dbe5de;
    --bb-radius: 18px;
    background: #fff;
    color: var(--bb-ink);
}
body[data-page="bus-boarding"] .bb-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
body[data-page="bus-boarding"] .bb-wrap--narrow { max-width: 820px; }
body[data-page="bus-boarding"] .bb-hero-sub, body[data-page="bus-boarding"] .bb-lead, body[data-page="bus-boarding"] .bb-card p, body[data-page="bus-boarding"] .bb-faq p { word-break: keep-all; }
body[data-page="bus-boarding"] h1,
body[data-page="bus-boarding"] h2,
body[data-page="bus-boarding"] h3 { text-wrap: balance; word-break: keep-all; letter-spacing: -0.02em; }
body[data-page="bus-boarding"] figure { margin: 0; }
.bb-hero-shot img, .bb-shot img, .bb-shots img { max-width: 100%; height: auto; display: block; }

/* 공통 */
.bb-section { padding: 84px 0; }
.bb-section--tint { background: var(--bb-tint); }
.bb-eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--bb-green-600); margin-bottom: 12px; }
.bb-h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.3; margin: 0 0 14px; }
.bb-lead { font-size: 1.04rem; line-height: 1.85; color: var(--bb-ink-soft); max-width: 66ch; margin: 0 0 8px; }
.bb-lead strong { color: var(--bb-ink); }
.bb-fine { font-size: .88rem; color: var(--bb-ink-soft); margin: 20px 0 0; line-height: 1.7; }
.bb-tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--bb-amber-soft); color: #7a4c06; vertical-align: middle; letter-spacing: 0; }

.bb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.bb-btn:hover { transform: translateY(-2px); }
.bb-btn:focus-visible { outline: 3px solid var(--bb-lime); outline-offset: 3px; }
.bb-btn--primary { background: var(--bb-green-600); color: #fff; box-shadow: 0 8px 20px rgba(22, 122, 69, .28); }
.bb-btn--primary:hover { background: var(--bb-green-800); }
.bb-hero .bb-btn--primary { background: var(--bb-lime); color: var(--bb-green-900); box-shadow: none; }
.bb-hero .bb-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.bb-hero .bb-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.bb-btn--lime { background: var(--bb-lime); color: var(--bb-green-900); }
.bb-btn--outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.bb-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bb-cta-row--center { justify-content: center; }

/* 히어로 */
.bb-hero { background: radial-gradient(1100px 500px at 82% 10%, #1c6b3f 0%, transparent 62%), linear-gradient(155deg, var(--bb-green-900) 0%, #0e4527 62%, var(--bb-green-800) 100%); color: #fff; padding: 88px 0 80px; overflow: hidden; }
.bb-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.bb-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--bb-mint); }
.bb-hero h1 { font-size: clamp(2rem, 4.8vw, 3.3rem); line-height: 1.22; font-weight: 800; margin: 20px 0 18px; }
.bb-hero h1 em { font-style: normal; color: var(--bb-lime); }
.bb-hero-sub { font-size: 1.1rem; line-height: 1.85; color: #cfe9da; max-width: 54ch; margin: 0; }
.bb-hero-sub strong { color: #fff; }
.bb-note { margin: 18px 0 0; font-size: .9rem; color: #a8d3bb; }
.bb-note strong { color: #fff; }
.bb-hero-shot { position: relative; }
.bb-hero-shot img { border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); max-height: 560px; width: 100%; object-fit: cover; object-position: top; background: #fff; }
.bb-hero-shot figcaption { margin-top: 10px; font-size: .82rem; color: #a8d3bb; }

/* 핵심 숫자 */
.bb-stats { background: #fff; border-bottom: 1px solid var(--bb-line); }
.bb-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bb-stat { padding: 30px 18px; text-align: center; border-left: 1px solid var(--bb-line); }
.bb-stat:first-child { border-left: 0; }
.bb-stat b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--bb-green-600); letter-spacing: -0.02em; }
.bb-stat span { display: block; margin-top: 6px; font-size: .88rem; color: var(--bb-ink-soft); line-height: 1.5; }

/* 카드 */
.bb-cards { display: grid; gap: 20px; margin-top: 30px; }
.bb-cards--3 { grid-template-columns: repeat(3, 1fr); }
.bb-cards--2 { grid-template-columns: repeat(2, 1fr); }
.bb-card { background: #fff; border: 1px solid var(--bb-line); border-radius: var(--bb-radius); padding: 28px 26px; }
.bb-section--tint .bb-card { background: #fff; }
.bb-card i { font-size: 1.5rem; color: var(--bb-amber); margin-bottom: 14px; }
.bb-card h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 8px; line-height: 1.4; }
.bb-card p { margin: 0; color: var(--bb-ink-soft); line-height: 1.8; font-size: .97rem; }
.bb-card a { color: var(--bb-green-600); font-weight: 700; }

/* 단계 */
.bb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 40px; }
.bb-step { background: #fff; border-radius: var(--bb-radius); padding: 26px; border: 1px solid var(--bb-line); }
.bb-step-no { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bb-green-600); color: #fff; font-weight: 800; margin-bottom: 12px; }
.bb-step h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; }
.bb-step p { margin: 0; color: var(--bb-ink-soft); line-height: 1.75; font-size: .96rem; }

/* 화면 캡처 */
.bb-shot img { border-radius: 14px; border: 1px solid var(--bb-line); box-shadow: 0 14px 34px rgba(11, 51, 32, .12); background: #fff; }
.bb-shot figcaption, .bb-shots figcaption { margin-top: 10px; font-size: .84rem; color: var(--bb-ink-soft); text-align: center; line-height: 1.6; }
.bb-shots { display: grid; gap: 24px; align-items: start; }
.bb-shots--phones { grid-template-columns: minmax(0, 260px) minmax(0, 340px); justify-content: center; align-items: center; }
.bb-shots--phones img { border-radius: 16px; border: 1px solid var(--bb-line); box-shadow: 0 14px 34px rgba(11, 51, 32, .14); }
.bb-shots--wide { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
body[data-page="bus-boarding"] .bb-shot--banner { margin-top: 32px; }
.bb-shot--soft { max-width: 520px; }

.bb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bb-split--rev > :first-child { order: 0; }
.bb-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.bb-list li { position: relative; padding-left: 28px; line-height: 1.75; color: var(--bb-ink-soft); }
.bb-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 0; color: var(--bb-green-500); }
.bb-list strong { color: var(--bb-ink); }

/* 비교표 */
.bb-table-wrap { overflow-x: auto; margin-top: 28px; border-radius: var(--bb-radius); border: 1px solid var(--bb-line); background: #fff; }
.bb-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .93rem; }
.bb-table th, .bb-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--bb-line); vertical-align: top; line-height: 1.55; }
.bb-table thead th { background: var(--bb-tint); font-size: .85rem; color: var(--bb-ink-soft); }
.bb-table tbody th { font-weight: 700; white-space: nowrap; }
.bb-table tbody tr:last-child th, .bb-table tbody tr:last-child td { border-bottom: 0; }
.bb-table .is-us { background: #eaf6ee; color: var(--bb-green-800); font-weight: 700; }
.bb-table thead .is-us { background: var(--bb-green-600); color: #fff; }

/* 요금 */
.bb-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.bb-plan { border: 2px solid var(--bb-green-600); border-radius: var(--bb-radius); padding: 32px 30px; background: #fff; display: flex; flex-direction: column; }
.bb-plan--alt { border-color: var(--bb-amber); }
.bb-plan--alt .bb-btn--primary { background: var(--bb-amber); box-shadow: 0 8px 20px rgba(185, 121, 28, .28); }
.bb-plan h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.bb-plan-for { margin: 6px 0 14px; color: var(--bb-ink-soft); font-size: .94rem; }
.bb-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.bb-price small { font-size: .95rem; font-weight: 600; color: var(--bb-ink-soft); margin-left: 4px; }
.bb-plan ul { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 9px; flex: 1; color: var(--bb-ink-soft); line-height: 1.6; font-size: .96rem; }
.bb-plan .bb-eg { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--bb-line); color: var(--bb-ink); }
.bb-plan .bb-btn { justify-content: center; }
.bb-pricing-common { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--bb-ink-soft); }
.bb-pricing-common b { color: var(--bb-ink); }

/* 한계 */
.bb-limits { background: #fff; border: 1px solid var(--bb-line); border-radius: var(--bb-radius); padding: 28px 28px; }
.bb-limits h3 { margin: 0 0 12px; font-size: 1.1rem; font-weight: 800; }
.bb-limits ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--bb-ink-soft); line-height: 1.7; font-size: .95rem; }
.bb-limits b { color: var(--bb-ink); }

/* FAQ */
.bb-faq { margin-top: 26px; display: grid; gap: 10px; }
.bb-faq details { border: 1px solid var(--bb-line); border-radius: 14px; background: #fff; }
.bb-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--bb-green-600); }
.bb-faq details[open] summary::after { content: "\2212"; }
.bb-faq summary:focus-visible { outline: 3px solid var(--bb-green-500); outline-offset: 2px; border-radius: 14px; }
.bb-faq p { margin: 0; padding: 0 22px 20px; color: var(--bb-ink-soft); line-height: 1.85; }

/* CTA */
.bb-cta { background: linear-gradient(160deg, var(--bb-green-900), var(--bb-green-800)); color: #fff; text-align: center; padding: 80px 0; }
.bb-cta h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; margin: 0 0 12px; }
.bb-cta p { margin: 0; color: #b8dcc7; line-height: 1.8; }

/* 반응형 */
@media (max-width: 900px) {
    .bb-section { padding: 60px 0; }
    .bb-hero { padding: 64px 0 56px; }
    .bb-hero-grid, .bb-split { grid-template-columns: 1fr; gap: 36px; }
    .bb-hero-shot img { max-height: 420px; }
    .bb-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .bb-stat:nth-child(3) { border-left: 0; }
    .bb-stat:nth-child(n+3) { border-top: 1px solid var(--bb-line); }
    .bb-cards--3, .bb-cards--2, .bb-steps, .bb-plans, .bb-shots--wide { grid-template-columns: 1fr; }
    .bb-shots--phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .bb-btn { transition: none; }
    .bb-btn:hover { transform: none; }
}
