/* ============================================================================
   인증기관 지원제도 (/benefits) — v3.87
   ----------------------------------------------------------------------------
   · 화이트/아이보리 배경 + 딥 틸 기본색, Pretendard (site.css 상속)
   · 섹션 여백: 데스크톱 상하 48px / 모바일 32px, 카드 간격 16px
   · 코랄·앰버 포인트는 버튼과 활성 시설유형 버튼에만
   · 아이콘은 선(line) 스타일만
   · 모션: 섹션 진입(.reveal), 히어로 격자 점진 등장, 라이트박스·팝업 열림
   ========================================================================== */

/* ── 토큰 ───────────────────────────────────────────────────────────────── */
:root {
  --bh-teal: #0B5566;
  --bh-teal-dk: #07414F;
  --bh-teal-lt: #E7F1F3;
  --bh-ink: #14232A;
  --bh-body: #435B63;
  --bh-mute: #7B9199;
  --bh-ivory: #FBF9F4;
  --bh-line: #DFE9EC;
  --bh-line-2: #EDF3F5;
  --bh-coral: #E07A5F;
  --bh-coral-dk: #C2603F;
  --bh-amber: #B57A00;
  --bh-amber-bg: #FDF6E7;
  --bh-r: 14px;
  --bh-r-sm: 10px;
  --bh-shadow: 0 1px 2px rgba(11, 85, 102, .05), 0 8px 24px -14px rgba(11, 85, 102, .18);
  --bh-ease: cubic-bezier(.22, .8, .28, 1);
  --bh-sec: 48px;
  --bh-gap: 16px;
}
.bh {
  --bh-teal: #0B5566;
  --bh-teal-dk: #07414F;
  --bh-teal-lt: #E7F1F3;
  --bh-ink: #14232A;
  --bh-body: #435B63;
  --bh-mute: #7B9199;
  --bh-ivory: #FBF9F4;
  --bh-line: #DFE9EC;
  --bh-line-2: #EDF3F5;
  --bh-coral: #E07A5F;
  --bh-coral-dk: #C2603F;
  --bh-amber: #B57A00;
  --bh-amber-bg: #FDF6E7;
  --bh-r: 14px;
  --bh-r-sm: 10px;
  --bh-shadow: 0 1px 2px rgba(11, 85, 102, .05), 0 8px 24px -14px rgba(11, 85, 102, .18);
  --bh-ease: cubic-bezier(.22, .8, .28, 1);
  --bh-sec: 48px;
  --bh-gap: 16px;

  background: #fff;
  color: var(--bh-body);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}
.bh *,
.bh *::before,
.bh *::after { box-sizing: border-box; }

.bh-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}
.bh-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 인라인 선 아이콘 공통 */
.bh-ic { width: 20px; height: 20px; display: block; flex: none; }

/* ── 히어로 ─────────────────────────────────────────────────────────────── */
.bh-hero {
  background: linear-gradient(180deg, #fff 0%, var(--bh-ivory) 68%, var(--bh-ivory) 100%);
  border-bottom: 1px solid var(--bh-line-2);
  /* v3.98 — 서브 내비 바로 아래에서 제목이 시작하도록 상하 여백을 줄였습니다. */
  padding: clamp(16px, 2.2vw, 26px) 0 clamp(20px, 2.6vw, 30px);
}
.bh-hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(24px, 4vw, 56px);
  /* 좌 텍스트 / 우 사진 격자의 높이를 맞춥니다. */
  align-items: stretch;
}
.bh-hero__txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.bh-hero__ov {
  margin: 0 0 14px;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--bh-teal);
  font-weight: 600;
}
.bh-hero__t {
  margin: 0 0 18px;
  font-size: clamp(1.72rem, 3.2vw, 2.6rem);
  line-height: 1.32;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--bh-ink);
  word-break: keep-all;
}
.bh-hero__d {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--bh-body);
  word-break: keep-all;
}
.bh-hero__b { display: flex; flex-wrap: wrap; gap: 10px; }

/* 히어로 신뢰 정보 칩 3개 */
.bh-hero__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.bh-hero__creds li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--bh-line);
  background: #fff;
  color: var(--bh-teal-dk);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

/* 버튼 */
.bh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .96rem; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer;
  font-family: inherit;
  transition: background .2s var(--bh-ease), color .2s var(--bh-ease),
              border-color .2s var(--bh-ease), transform .2s var(--bh-ease);
}
.bh-btn--lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.bh-btn--primary {
  background: var(--bh-coral);
  border-color: var(--bh-coral);
  color: #fff;
  box-shadow: 0 6px 18px -10px rgba(224, 122, 95, .8);
}
.bh-btn--primary:hover { background: var(--bh-coral-dk); border-color: var(--bh-coral-dk); transform: translateY(-1px); }
.bh-btn--ghost {
  background: #fff;
  border-color: var(--bh-line);
  color: var(--bh-teal-dk);
}
.bh-btn--ghost:hover { border-color: var(--bh-teal); background: var(--bh-teal-lt); }

/* 히어로 격자 7×5 */
.bh-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.bh-grid__c {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bh-line-2);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .5s var(--bh-ease), transform .5s var(--bh-ease);
  transition-delay: calc(var(--i) * 18ms);
}
.bh-grid.is-in .bh-grid__c { opacity: 1; transform: none; }
.bh-grid__c img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── 섹션 공통 ──────────────────────────────────────────────────────────── */
.bh-sec { padding: var(--bh-sec) 0; }
.bh-sec--ivory { background: var(--bh-ivory); }

.bh-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bh-line-2);
}
.bh-head__no {
  flex: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--bh-teal);
  font-variant-numeric: tabular-nums;
}
.bh-head__t {
  margin: 0;
  font-size: clamp(1.24rem, 1.9vw, 1.6rem);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--bh-ink);
  word-break: keep-all;
}

.bh-fine {
  margin: 18px 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--bh-mute);
  word-break: keep-all;
}
.bh-fine--center { text-align: center; }

/* ── 01 발급물 ──────────────────────────────────────────────────────────── */
.bh-issued {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--bh-gap);
  margin: 0; padding: 0;
  list-style: none;
}
.bh-is { display: flex; flex-direction: column; gap: 8px; }
.bh-is__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--bh-line-2);
  border-radius: var(--bh-r-sm);
  background: linear-gradient(180deg, #fff, #FAFCFC);
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color .2s var(--bh-ease), box-shadow .2s var(--bh-ease), transform .2s var(--bh-ease);
}
.bh-is__btn:hover,
.bh-is__btn:focus-visible {
  border-color: var(--bh-teal);
  box-shadow: var(--bh-shadow);
  transform: translateY(-2px);
}
.bh-is__frame {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 10px;
}
.bh-is__frame img {
  max-width: 92%;
  max-height: 92%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.bh-is__n {
  margin: 0;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--bh-ink);
  text-align: center;
  word-break: keep-all;
}

/* ── 02 시설유형 칩 ─────────────────────────────────────────────────────── */
.bh-chips {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: var(--bh-gap);
}
.bh-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 8px 8px;
  border-radius: var(--bh-r-sm);
  border: 1px solid var(--bh-line);
  background: #fff;
  color: var(--bh-teal-dk);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  text-align: center;
  cursor: pointer;
  word-break: keep-all;
  transition: background .2s var(--bh-ease), border-color .2s var(--bh-ease),
              color .2s var(--bh-ease), box-shadow .2s var(--bh-ease);
}
.bh-chip__ic { width: 17px; height: 17px; flex: none; opacity: .75; }
.bh-chip:hover { border-color: var(--bh-teal); background: var(--bh-teal-lt); }
/* 활성 상태에만 코랄 포인트 */
.bh-chip.is-on {
  background: var(--bh-coral);
  border-color: var(--bh-coral);
  color: #fff;
  box-shadow: 0 6px 16px -10px rgba(224, 122, 95, .9);
}
.bh-chip.is-on .bh-chip__ic { opacity: 1; }
.bh-chip:focus-visible { outline: 2px solid var(--bh-teal); outline-offset: 2px; }

/* ── 02 펼침 패널 ───────────────────────────────────────────────────────── */
.bh-panel {
  background: #fff;
  border: 1px solid var(--bh-line-2);
  border-radius: var(--bh-r);
  padding: 20px clamp(16px, 2vw, 24px);
  animation: bh-panel-in .34s var(--bh-ease) both;
}
@keyframes bh-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.bh-panel__sec + .bh-panel__sec { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bh-line-2); }
.bh-panel__k {
  margin: 0 0 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--bh-teal);
}

.bh-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0; padding: 0;
  list-style: none;
}
.bh-sectors li {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bh-teal-lt);
  color: var(--bh-teal-dk);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.6;
}

/* 혜택 목록 — 이름 + 한 줄 설명 */
.bh-bens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0; padding: 0;
  list-style: none;
}
.bh-ben {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--bh-line-2);
  border-radius: var(--bh-r-sm);
  background: #FCFDFD;
}
.bh-ben__n {
  flex: none;
  padding-top: 1px;
  font-size: .74rem;
  font-weight: 800;
  color: var(--bh-mute);
  font-variant-numeric: tabular-nums;
}
.bh-ben__b {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}
.bh-ben__t {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--bh-ink);
  word-break: keep-all;
}
.bh-ben__d {
  font-size: .79rem;
  line-height: 1.6;
  color: var(--bh-body);
  word-break: keep-all;
}
.bh-ben__more {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 1px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--bh-teal);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--bh-ease), border-color .2s var(--bh-ease);
}
.bh-ben__more:hover { color: var(--bh-coral-dk); border-bottom-color: currentColor; }
.bh-ben__more:focus-visible { outline: 2px solid var(--bh-teal); outline-offset: 3px; }
.bh-ben__ic { width: 13px; height: 13px; }

/* 인증마크 사용권 — /send/cert-dm 'Accreditation Mark License' 섹션 디자인
   (일차의료기관에는 표시하지 않음) */
.bh-mk {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--bh-r);
  background: #fff;
  border: 1px solid var(--bh-line);
  box-shadow: 0 14px 34px -30px rgba(10, 32, 41, .42);
}
.bh-mk__vis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
  width: 196px;
}
.bh-mk__m {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 86px;
  padding: 10px 0 7px;
  border-radius: 12px;
  background: var(--bh-teal-lt);
}
/* 원본 비율 유지 — 높이만 고정, 너비는 auto */
.bh-mk__m img { height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.bh-mk__m small {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--bh-mute);
}
.bh-mk__plus { font-size: 18px; font-weight: 300; color: var(--bh-mute); }
.bh-mk__b { min-width: 0; }
.bh-mk__k {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bh-teal);
}
.bh-mk__b h3 {
  margin: 4px 0 0;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.03em;
  color: var(--bh-ink);
  word-break: keep-all;
}
.bh-mk__b p:not(.bh-mk__k) {
  margin: 5px 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--bh-body);
  word-break: keep-all;
}
.bh-mk__b p b { color: var(--bh-ink); }
.bh-mk__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.bh-mk__chips li {
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--bh-teal-lt);
  border: 1px solid var(--bh-line);
  font-size: .71rem;
  font-weight: 700;
  color: #3E5760;
  white-space: nowrap;
}

/* ── 03 전문가 지원 ─────────────────────────────────────────────────────── */
.bh-lede {
  max-width: 46em;
  margin: 0 auto 6px;
  text-align: center;
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--bh-ink);
  word-break: keep-all;
}
.bh-lede__sub {
  margin: 0 0 26px;
  text-align: center;
  font-size: .86rem;
  color: var(--bh-mute);
}

.bh-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--bh-gap);
  margin: 0; padding: 0;
  list-style: none;
}
/* 배너 4종 — 진입 시 순서대로 나타남 */
.bh-pil {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 20px 18px 18px;
  border: 1px solid var(--bh-line);
  border-radius: var(--bh-r);
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 85, 102, .04);
  opacity: 0;
  transform: translateY(14px);
  transition: transform .26s var(--bh-ease), box-shadow .26s var(--bh-ease),
              border-color .26s var(--bh-ease);
}
/* 등장 트리거가 걸리면 지연(delay)을 적용해 순차 등장합니다. */
.bh-pillars.is-in .bh-pil {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--bh-ease) calc(var(--d, 0) * 90ms),
              transform .55s var(--bh-ease) calc(var(--d, 0) * 90ms),
              box-shadow .26s var(--bh-ease),
              border-color .26s var(--bh-ease);
}
.bh-pillars.is-in .bh-pil:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -18px rgba(11, 85, 102, .45);
  border-color: #C9DDE2;
  transition-delay: 0s;
}
.bh-pil__ic {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--bh-teal-lt);
  color: var(--bh-teal-dk);
}
.bh-pil__ic .bh-ic { width: 22px; height: 22px; }
.bh-pil__n {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--bh-ink);
}
.bh-pil__topics {
  flex: 1 1 auto;
  margin: 0; padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.bh-pil__topics li {
  position: relative;
  padding-left: 10px;
  font-size: .855rem;
  line-height: 1.65;
  color: var(--bh-body);
  word-break: keep-all;
}
.bh-pil__topics li::before {
  content: '';
  position: absolute;
  left: 0; top: .72em;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--bh-mute);
}
.bh-pil__q {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--bh-r-sm);
  background: var(--bh-ivory);
  font-size: .84rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--bh-teal-dk);
  word-break: keep-all;
}
/* 배너 색상 — 같은 틸 계열 안에서 미세 변주 */
.bh-pil--tax { border-top: 3px solid #0B5566; }
.bh-pil--labor { border-top: 3px solid #4E7285; }
.bh-pil--legal { border-top: 3px solid #06333D; }
.bh-pil--insurance { border-top: 3px solid #2E8B7E; }
.bh-pil--tax .bh-pil__ic { background: #E7F1F3; color: #0B5566; }
.bh-pil--labor .bh-pil__ic { background: #EDF1F4; color: #4E7285; }
.bh-pil--legal .bh-pil__ic { background: #E8ECEE; color: #06333D; }
.bh-pil--insurance .bh-pil__ic { background: #E6F2EF; color: #2E8B7E; }

/* 배너 하단 왼쪽 자세히보기 — 코랄 포인트 */
.bh-pil__go {
  align-self: flex-start;
  display: inline-block;
  margin-top: 2px;
  padding: 0 0 2px;
  font-size: .87rem;
  font-weight: 800;
  color: var(--bh-coral-dk);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  transition: color .2s var(--bh-ease), gap .2s var(--bh-ease);
}
.bh-pil__go:hover { color: var(--bh-coral); }

/* ── 04 문의 창구 (한 장 요약 카드) ─────────────────────────────────────── */
.bh-iq { background: #fff; }
.bh-iq__wrap { max-width: 960px; }

.bh-iq__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 0 28px;
  padding: 22px 24px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #ECE6DA;
  box-shadow: 0 1px 2px rgba(15, 82, 87, .04), 0 14px 34px -26px rgba(15, 82, 87, .36);
  transition: box-shadow .26s var(--bh-ease);
}
.bh-iq__card:hover {
  box-shadow: 0 1px 2px rgba(15, 82, 87, .05), 0 20px 44px -24px rgba(15, 82, 87, .46);
}

/* 진입 — 아래에서 살짝 올라오며 0.1초 간격(JS 없이도 항상 표시) */
@keyframes bh-iq-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.bh-iq__id,
.bh-iq__contact,
.bh-iq__foot {
  animation: bh-iq-up .55s var(--bh-ease) both;
  animation-delay: calc(var(--d, 0) * .1s);
}

/* 좌 — 운영 주체 + 담당자 */
.bh-iq__id {
  min-width: 0;
  padding-right: 26px;
  border-right: 1px solid var(--bh-line-2);
}
.bh-iq__ov {
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  color: #5C7278;
  word-break: keep-all;
}
.bh-iq__big {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 2.6vw, 1.86rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.035em;
  color: #0F5257;
}
.bh-iq__d {
  margin: 6px 0 0;
  font-size: .86rem;
  line-height: 1.65;
  color: #435B63;
  word-break: keep-all;
}
.bh-iq__who {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
}
.bh-iq__av {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #0F5257;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.bh-iq__whob { display: grid; gap: 1px; min-width: 0; }
.bh-iq__name {
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #14213D;
}
.bh-iq__role { font-size: .77rem; color: #5C7278; }
.bh-iq__q {
  margin: 10px 0 0;
  padding: 8px 11px;
  border-radius: 0 10px 10px 0;
  background: #F5F8F8;
  border-left: 3px solid #0F5257;
  font-size: .84rem;
  line-height: 1.65;
  font-weight: 600;
  color: #14213D;
  word-break: keep-all;
}
.bh-iq__cite {
  display: block;
  margin-top: 3px;
  font-size: .71rem;
  font-style: normal;
  font-weight: 700;
  color: #5C7278;
}

/* 우 — 연락처 */
.bh-iq__contact { min-width: 0; }
.bh-iq__k {
  margin: 0 0 7px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #0F5257;
}

.bh-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.bh-row + .bh-row { margin-top: 6px; }
.bh-row--hi {
  background: #E8F1F1;
  border-color: #CBE0E0;
}
.bh-row__ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(15, 82, 87, .08);
  color: #0F5257;
}
.bh-row__ic .bh-ic { width: 17px; height: 17px; }
.bh-row__b { display: grid; gap: 1px; min-width: 0; }
.bh-row__l {
  font-size: .71rem;
  font-weight: 700;
  color: #435B63;
}
.bh-row__v {
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: #14213D;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
.bh-row--hi .bh-row__v { color: #0F5257; }
.bh-row__v--mail {
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: 0;
}
.bh-row__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.bh-row__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1.5px solid #0F5257;
  background: #fff;
  color: #0F5257;
  font-family: inherit;
  font-size: .79rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--bh-ease), color .2s var(--bh-ease),
              border-color .2s var(--bh-ease);
}
.bh-row__btn .bh-ic { width: 13px; height: 13px; }
.bh-row__btn:hover { background: #0F5257; color: #fff; }
.bh-row__btn--solid { background: #0F5257; color: #fff; }
.bh-row__btn--solid:hover { background: #0A3F43; border-color: #0A3F43; }
.bh-row__btn--ghost { border-color: #C7DBDB; color: #3F5A61; }
.bh-row__btn--ghost:hover { background: #E8F1F1; border-color: #9FC2C2; color: #0F5257; }
.bh-row__btn:focus-visible,
.bh-iq__go:focus-visible {
  outline: 2px solid #0F5257;
  outline-offset: 3px;
}

.bh-iq__fine {
  margin: 8px 0 0;
  padding-left: 2px;
  font-size: .77rem;
  line-height: 1.6;
  color: #5C7278;
  word-break: keep-all;
}

/* 하단 띠 — 신뢰 근거 + 1:1 문의 */
.bh-iq__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--bh-line-2);
}
.bh-iq__ci { flex: none; width: 118px; height: auto; opacity: .92; }
.bh-iq__reg {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: .79rem;
  line-height: 1.55;
  color: #5C7278;
  word-break: keep-all;
}
.bh-iq__go {
  flex: none;
  min-height: 44px;
  padding: 0 22px;
  font-size: .9rem;
  background: #0F5257;
  border-color: #0F5257;
  color: #fff;
  box-shadow: 0 6px 18px -12px rgba(15, 82, 87, .8);
}
.bh-iq__go:hover { background: #0A3F43; border-color: #0A3F43; }

/* 복사 완료 토스트 */
.bh-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #14213D;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(20, 33, 61, .6);
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity .24s var(--bh-ease), transform .24s var(--bh-ease);
}
.bh-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── 유의사항 ───────────────────────────────────────────────────────────── */
.bh-notes {
  padding: 28px 0 40px;
  background: var(--bh-ivory);
  border-top: 1px solid var(--bh-line-2);
}
.bh-notes__t {
  margin: 0 0 10px;
  font-size: .86rem;
  font-weight: 800;
  color: var(--bh-teal-dk);
}
.bh-notes__l {
  margin: 0; padding: 0 0 0 2px;
  list-style: none;
  display: grid;
  gap: 4px;
}
.bh-notes__l li {
  position: relative;
  padding-left: 9px;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--bh-mute);
  word-break: keep-all;
}
.bh-notes__l li::before {
  content: '';
  position: absolute;
  left: 0; top: .78em;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #B9C9CE;
}

/* ── 라이트박스 ─────────────────────────────────────────────────────────── */
.bh-lb {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 44px);
  background: rgba(8, 26, 32, .82);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .24s var(--bh-ease);
}
.bh-lb[hidden] { display: none; }
.bh-lb.is-on { opacity: 1; }
.bh-lb__bd { position: absolute; inset: 0; }
.bh-lb__in {
  position: relative;
  margin: 0;
  max-width: min(92vw, 620px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(8px) scale(.97);
  transition: transform .26s var(--bh-ease);
}
.bh-lb.is-on .bh-lb__in { transform: none; }
.bh-lb__img {
  max-width: 100%;
  max-height: calc(90vh - 54px);
  width: auto; height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: var(--bh-r-sm);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}
.bh-lb__cap {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.bh-lb__x {
  position: absolute;
  top: -46px; right: 0;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--bh-ease);
}
.bh-lb__x:hover { background: rgba(255, 255, 255, .24); }

/* ── 혜택 팝업 ──────────────────────────────────────────────────────────── */
.bh-pop {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 40px);
  background: rgba(8, 26, 32, .7);
  opacity: 0;
  transition: opacity .22s var(--bh-ease);
}
.bh-pop[hidden] { display: none; }
.bh-pop.is-on { opacity: 1; }
.bh-pop__bd { position: absolute; inset: 0; }
.bh-pop__in {
  position: relative;
  width: min(100%, 560px);
  max-height: 88vh;
  overflow-y: auto;
  padding: 26px clamp(18px, 3vw, 30px) 22px;
  border-radius: var(--bh-r);
  background: #fff;
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, .5);
  transform: translateY(10px) scale(.98);
  transition: transform .26s var(--bh-ease);
}
.bh-pop.is-on .bh-pop__in { transform: none; }
.bh-pop__x {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--bh-line);
  border-radius: 50%;
  background: #fff;
  color: var(--bh-body);
  cursor: pointer;
}
.bh-pop__x:hover { background: var(--bh-ivory); color: var(--bh-ink); }
.bh-pop__hd {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--bh-line-2);
}
.bh-pop__ci { height: 26px; width: auto; display: block; }
.bh-pop__t {
  margin: 0 0 8px;
  padding-right: 34px;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--bh-ink);
  word-break: keep-all;
}
/* 팝업 — 한 줄 설명 */
.bh-pop__d {
  margin: 0 0 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--bh-line-2);
  font-size: .87rem;
  line-height: 1.7;
  color: var(--bh-mute);
  word-break: keep-all;
}
/* 팝업 — 왜 필요한가요 */
.bh-pop__need { display: grid; gap: 6px; }
.bh-pop__body { display: grid; gap: 8px; }
.bh-pop__body p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.78;
  color: var(--bh-body);
  word-break: keep-all;
}
.bh-pop__apply {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: var(--bh-r-sm);
  background: var(--bh-ivory);
}
.bh-pop__apply p { margin: 0; font-size: .87rem; line-height: 1.7; color: var(--bh-body); word-break: keep-all; }
.bh-pop__k {
  margin-bottom: 3px !important;
  font-size: .74rem !important;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--bh-teal) !important;
}
.bh-pop__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--bh-line-2);
}
.bh-pop__inq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--bh-teal);
  background: #fff;
  color: var(--bh-teal-dk);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s var(--bh-ease), color .2s var(--bh-ease);
}
.bh-pop__inq:hover { background: var(--bh-teal); color: #fff; }

/* ── 모바일 하단 고정 버튼 ──────────────────────────────────────────────── */
.bh-mbar { display: none; }

/* ============================================================================
   반응형
   ========================================================================== */
@media (max-width: 1180px) {
  .bh-issued { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bh-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bh-bens { grid-template-columns: 1fr; }
  .bh-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .bh-hero__in { grid-template-columns: 1fr; gap: 26px; }
  .bh-hero { padding-top: 24px; }
  .bh-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .bh { --bh-sec: 32px; --bh-gap: 12px; }

  .bh-head { margin-bottom: 16px; padding-bottom: 10px; gap: 8px; }
  .bh-hero__b { flex-direction: column; }
  .bh-hero__b .bh-btn { width: 100%; }

  /* 격자: 4칸 (가로 폭에 맞춤) */
  .bh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }

  /* 발급물: 가로 스크롤 */
  .bh-issued {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .bh-is { scroll-snap-align: start; }

  /* 칩: 가로 스크롤 */
  .bh-chips {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .bh-chips::-webkit-scrollbar { display: none; }
  .bh-chip { flex: 0 0 auto; min-width: 96px; font-size: .8rem; }

  .bh-panel { padding: 16px 14px; }
  .bh-mk { grid-template-columns: 1fr; gap: 12px; padding: 16px 14px; }
  .bh-mk__vis { width: auto; justify-content: flex-start; }
  .bh-ben { padding: 10px; gap: 8px; }
  .bh-ben__t { font-size: .88rem; }

  .bh-pillars { grid-template-columns: 1fr; }
  .bh-lede { font-size: 1rem; text-align: left; }
  .bh-lede__sub { text-align: left; }

  /* 문의 창구 — 좌/우 2단을 세로로 접는다 */
  .bh-iq__card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 16px 14px;
  }
  .bh-iq__id {
    padding-right: 0;
    padding-bottom: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--bh-line-2);
  }
  .bh-iq__contact { padding-top: 14px; }

  /* 연락처 행 — 좁은 화면에서도 버튼은 값 오른쪽에 붙여 높이를 줄인다 */
  .bh-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px 9px;
    padding: 9px 10px;
  }
  .bh-row__l { font-size: .7rem; }
  .bh-row__v { font-size: 1.06rem; }
  .bh-row__v--mail { font-size: .82rem; }
  .bh-row > .bh-row__btn {
    grid-column: auto;
    width: auto;
    min-height: 40px;
    padding: 0 11px;
    font-size: .76rem;
  }
  .bh-row--mail { grid-template-columns: auto minmax(0, 1fr); }
  .bh-row--mail .bh-row__acts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .bh-row--mail .bh-row__btn {
    width: 100%;
    min-height: 44px;
    font-size: .8rem;
  }

  /* 하단 띠 — 로고·등록번호 위, 버튼 아래 전폭 */
  .bh-iq__foot {
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 14px;
    padding-top: 12px;
  }
  .bh-iq__ci { width: 104px; }
  .bh-iq__reg { flex: 1 1 140px; }
  .bh-iq__go { flex: 1 1 100%; min-height: 48px; }
  .bh-toast { bottom: calc(80px + env(safe-area-inset-bottom)); }

  /* 하단 고정 버튼 */
  .bh-mbar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 800;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--bh-line);
    backdrop-filter: blur(8px);
  }
  .bh-mbar__p {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    background: var(--bh-coral);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
  }
  .bh-notes { padding-bottom: 88px; }
  .bh-lb__x { top: 0; right: 0; }
  .bh-lb__in { max-height: 88vh; padding-top: 46px; }
}

@media (max-width: 520px) {
  .bh-issued { grid-auto-columns: 76%; }
  .bh-is__n { font-size: .8rem; }
  .bh-chip { min-width: 88px; }
  .bh-hero__t { font-size: 1.6rem; }
}

/* ============================================================================
   접근성 — 모션 최소화
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .bh *,
  .bh *::before,
  .bh *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .bh-grid__c { opacity: 1; transform: none; }
  .bh-iq__id,
  .bh-iq__contact,
  .bh-iq__foot {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .bh-panel { animation: none; }
  .bh-pil { opacity: 1; transform: none; }
  .bh-pillars.is-in .bh-pil:hover { transform: none; }
  .bh-btn:hover { transform: none; }
  .bh-is__btn:hover { transform: none; }
  .bh-lb,
  .bh-lb__in,
  .bh-pop,
  .bh-pop__in { transition: none; transform: none; }
}

/* ============================================================================
   인쇄
   ========================================================================== */
@media print {
  .bh-mbar,
  .bh-lb,
  .bh-pop { display: none !important; }
  .bh-grid { display: none; }
  .bh-hero { padding: 0 0 12px; background: #fff; }
  .bh-sec { padding: 14px 0; break-inside: avoid; }
  .bh-panel { animation: none; }
  .bh-pil { opacity: 1; transform: none; }
}
