/* ============================================================
   대한건강의료지원단 — 서브페이지 리뉴얼 (2026)
   메인페이지(.nw)의 디자인 언어를 서브페이지 전반에 이식.
   톤: 페이퍼 화이트 #FBFCFB · 딥 페트롤 #0D2932 · CI 틸 #067A90
   ============================================================ */

:root {
  --sp-paper: #FBFCFB;
  --sp-surface: #FFFFFF;
  --sp-tint: #F1F6F5;
  --sp-tint-2: #E7F1EF;
  --sp-ink: #0D2932;
  --sp-body: #4C636B;
  --sp-mute: #566A71;
  --sp-line: #DFE8E6;
  --sp-line-2: #EAF1EF;
  --sp-teal: #067A90;
  --sp-teal-d: #04505C;
  --sp-teal-l: #E4F3F6;
  --sp-lime: #6C9E1E;
  --sp-lime-l: #EEF6DE;
  --sp-brass: #B08D2B;
  --sp-r: 18px;
  --sp-r-l: 26px;
  --sp-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   1. PAGE HERO — 사진 배경 시네마틱 밴드
   ============================================================ */
.page-hero--photo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(300px, 30vw, 400px);
  padding: clamp(30px, 4.2vw, 52px) 0 clamp(28px, 3.6vw, 46px);
  background-color: #0A2029;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
/* 좌→우 명암 오버레이: 텍스트 가독성 확보 */
.page-hero--photo::before {
  content: '';
  display: block;
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(96deg, rgba(6,30,38,.94) 0%, rgba(6,30,38,.82) 38%, rgba(8,42,52,.46) 68%, rgba(8,42,52,.20) 100%),
    linear-gradient(180deg, rgba(6,30,38,.42) 0%, rgba(6,30,38,0) 34%);
  pointer-events: none;
}
/* 하단 페이퍼 페이드 — 본문과 자연스럽게 연결 */
.page-hero--photo::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 66px; z-index: 1;
  background: linear-gradient(180deg, rgba(251,252,251,0) 0%, rgba(251,252,251,.06) 55%, rgba(251,252,251,.13) 100%);
  pointer-events: none;
}
.page-hero--photo .container { position: relative; z-index: 2; width: 100%; }

.page-hero--photo .breadcrumb {
  position: absolute; top: 0; left: 0;
  margin: 0;
  color: #9FC3CC;
  font-size: .75rem;
  letter-spacing: .01em;
}
.page-hero--photo .breadcrumb a { color: #B7D5DC; }
.page-hero--photo .breadcrumb a:hover { color: #fff; }

.ph-body { padding-top: clamp(46px, 5vw, 64px); }
.ph-text { max-width: 760px; }

.page-hero--photo h1 {
  font-size: clamp(1.86rem, 3.3vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.18;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 22px rgba(3,20,26,.42);
  word-break: keep-all;
}
.page-hero--photo p {
  color: #C3DCE2;
  font-size: clamp(.9rem, 1.05vw, 1.02rem);
  line-height: 1.78;
  margin: 13px 0 0;
  max-width: 620px;
  text-shadow: 0 1px 14px rgba(3,20,26,.5);
  word-break: keep-all;
}
.page-hero--photo .eyebrow {
  color: #8FDCEB;
  margin-bottom: 14px;
}
.page-hero--photo .eyebrow::before { background: #8FDCEB; }

/* 히어로 우측 지표 스트립 */
.ph-stats {
  display: none;
  list-style: none; margin: 0; padding: 0;
  gap: 30px;
  position: absolute; right: 24px; bottom: 0;
}
.ph-stats li { text-align: right; }
.ph-stats strong {
  display: block;
  font-size: clamp(1.3rem, 1.8vw, 1.72rem);
  font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.ph-stats strong small { font-size: .62em; font-weight: 700; margin-left: 2px; }
.ph-stats span {
  display: block; margin-top: 5px;
  font-size: .72rem; color: #9FC3CC; letter-spacing: .02em;
}
@media (min-width: 1080px) {
  .ph-stats { display: flex; }
  .ph-stats::before {
    content: '';
    position: absolute; left: -18px; top: 4px; bottom: 4px;
    width: 1px; background: rgba(255,255,255,.22);
  }
}

/* ============================================================
   1B. SLIM CRUMB BAR — 상단 사진 히어로 폐지 (v3.32)
   ------------------------------------------------------------
   모든 서브페이지가 "메뉴명 + 현재 위치"만 한 줄로 알립니다.
   높이를 최소화하고, 제목은 브레드크럼 안에 인라인으로 넣어
   별도 히어로 블록 없이도 위계가 서도록 했습니다.
   ============================================================ */
.crumb-bar {
  border-bottom: 1px solid var(--sp-line);
  background: #fff;
}
.crumb-bar .container {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-top: 3px;
  padding-bottom: 3px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  font-size: .755rem;
  font-weight: 500;
  color: #94A5AA;
  letter-spacing: -.005em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crumb a {
  color: #94A5AA;
  transition: color .16s var(--sp-ease);
}
.crumb a:hover { color: var(--sp-teal); }
.crumb__home { font-size: .68rem; display: inline-flex; }
.crumb__sep {
  font-size: .42rem;
  opacity: .5;
  flex: 0 0 auto;
  position: relative;
  top: .5px;
}
.crumb__cur {
  font-size: .79rem;
  font-weight: 800;
  color: var(--sp-ink);
  letter-spacing: -.022em;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ============================================================
   2. SUB LAYOUT — 사이드 내비 개편
   ============================================================ */
.sub-layout {
  /* v3.32 — 좌측 내비 폭을 252px → 186px 로 줄여 본문 가용 폭을 확보했습니다.
     (사이드바 사진·프로모션 배너를 없애 텍스트 메뉴만 남았기 때문에
      좁아도 메뉴 인지에는 문제가 없습니다.)
     minmax(0,1fr) + 자식 min-width:0 조합으로 모바일 가로 넘침도 막습니다. */
  grid-template-columns: 186px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  padding: clamp(26px, 3vw, 40px) 0 clamp(62px, 7vw, 104px);
}
.sub-layout > * { min-width: 0; }
.sub-layout .content { min-width: 0; }

.sub-nav {
  border-top: 0;
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(6,51,61,.03);
  padding-bottom: 6px;
  align-self: start;
  position: sticky;
  top: 84px;
}

.sub-nav .sn-title {
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--sp-line-2);
}
.sub-nav .sn-title strong {
  font-size: .99rem; font-weight: 800; color: var(--sp-ink);
  letter-spacing: -.03em; display: block; line-height: 1.28;
  word-break: keep-all;
}
.sub-nav .sn-title span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .575rem; color: #93A3A8; letter-spacing: .13em;
  text-transform: uppercase; margin-top: 4px; display: block;
}

.sub-nav ul { padding: 6px 8px 4px; list-style: none; margin: 0; }

/* F1 — 대분류(인증 제도 / 인증기관 / 신청) 라벨.
   이전에는 모노스페이스 .575rem / #A6B4B8 / 자간 .14em 이라
   186px 사이드바에서 '눌려 찍힌' 것처럼 보였습니다.
   본문 폰트로 바꾸고 크기·굵기·명도를 올려 소제목으로 읽히게 합니다. */
.sub-nav .sn-group {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: .695rem;
  font-weight: 800;
  color: #2C4A54;
  letter-spacing: -.01em;
  padding: 13px 10px 6px;
  margin: 0;
  text-transform: none;
  line-height: 1.3;
  word-break: keep-all;
}
.sub-nav .sn-group::before {
  content: '';
  flex: 0 0 auto;
  width: 3px;
  height: 10px;
  border-radius: 2px;
  background: var(--sp-teal);
}
.sub-nav .sn-group::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--sp-line-2);
}
.sub-nav ul li:first-child .sn-group { padding-top: 8px; }
.sub-nav ul li a {
  display: block;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: .815rem;
  font-weight: 600;
  color: #46606A;
  transition: background .16s var(--sp-ease), color .16s var(--sp-ease);
  letter-spacing: -.022em;
  line-height: 1.45;
  word-break: keep-all;
}
.sub-nav ul li a:hover { background: var(--sp-tint); color: var(--sp-ink); }
.sub-nav ul li a.is-active {
  background: var(--sp-teal-l);
  color: var(--sp-teal-d);
  font-weight: 800;
}
.sub-nav ul li a.is-active:hover { background: var(--sp-teal-l); }

/* 이전 사이드바 사진/프로모션 배너 규격 — 마크업이 없어졌으므로 비활성 */
.sn-photo,
.sub-nav .sn-cta { display: none !important; }

/* ============================================================
   3. CONTENT 타이포그래피 — 메인페이지 결로 정돈
   ============================================================ */
.content > *:first-child { margin-top: 0; }

.content h2 {
  font-size: clamp(1.3rem, 1.9vw, 1.52rem);
  font-weight: 800;
  color: var(--sp-ink);
  letter-spacing: -.03em;
  line-height: 1.34;
  margin: 44px 0 16px;
  padding-bottom: 0;
  border-bottom: 0;
  position: relative;
  padding-left: 15px;
  word-break: keep-all;
}
.content h2::before {
  content: '';
  position: absolute; left: 0; top: .19em; bottom: .19em;
  width: 3px; border-radius: 2px;
  background: var(--sp-teal);
}
.content > h2:first-child { margin-top: 0; }

.content h3 {
  font-size: 1.07rem; font-weight: 700; color: var(--sp-ink);
  letter-spacing: -.022em; margin: 30px 0 10px; word-break: keep-all;
}
.content h4 {
  font-size: .95rem; font-weight: 700; color: var(--sp-ink);
  margin: 20px 0 8px;
}
.content p { font-size: .97rem; line-height: 1.88; color: var(--sp-body); word-break: keep-all; }
.content strong { color: var(--sp-ink); }

.content ul.dot li { font-size: .95rem; line-height: 1.8; margin-bottom: 9px; }
.content ul.dot li::before { background: var(--sp-teal); top: 11px; }

.content .info-box {
  padding: 20px 22px;
  border-radius: var(--sp-r);
  background: var(--sp-teal-l);
  border-left: 3px solid var(--sp-teal);
}
.content .warn-box {
  padding: 19px 21px;
  border-radius: var(--sp-r);
  background: #FDF4E3;
  border-left: 3px solid #B57A00;
  font-size: .89rem;
}
.content-block h2 {
  border-bottom: 0;
  font-size: clamp(1.3rem, 1.9vw, 1.5rem);
  letter-spacing: -.03em;
  padding-left: 15px;
  position: relative;
}
.content-block h2::before {
  content: '';
  position: absolute; left: 0; top: .19em; bottom: .19em;
  width: 3px; border-radius: 2px; background: var(--sp-teal);
}
.content-block h3 { font-size: 1.05rem; letter-spacing: -.022em; }
.content-block p { line-height: 1.9; }

/* section-head 보정 */
.content .section-head h2,
.content .section-head h2::before { border: 0; padding-left: 0; }
.content .section-head h2::before { display: none; }

/* ============================================================
   4. 사진 카드 · 피겨 · 갤러리
   ============================================================ */
.sp-figure {
  margin: 26px 0;
  border-radius: var(--sp-r);
  overflow: hidden;
  background: var(--sp-tint);
  box-shadow: 0 10px 30px rgba(6,51,61,.08);
  position: relative;
}
.sp-figure img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
}
.sp-figure figcaption {
  padding: 12px 18px 14px;
  font-size: .78rem;
  color: var(--sp-mute);
  background: var(--sp-surface);
  border-top: 1px solid var(--sp-line-2);
  line-height: 1.65;
}
.sp-figure--tall img { aspect-ratio: 4 / 3; }

/* 사진 오버레이 카드 */
.sp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 26px 0;
}
.sp-cards--2 { grid-template-columns: repeat(2, 1fr); }
.sp-cards--4 { grid-template-columns: repeat(4, 1fr); }

.sp-card {
  position: relative;
  display: block;
  border-radius: var(--sp-r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sp-tint-2);
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 2px 10px rgba(6,51,61,.06);
}
.sp-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .85s var(--sp-ease);
  z-index: 0;
}
.sp-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,30,38,0) 28%, rgba(6,30,38,.30) 56%, rgba(5,26,33,.90) 100%);
  transition: opacity .4s;
}
.sp-card:hover img { transform: scale(1.06); }
.sp-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 17px 15px;
}
.sp-card-body strong {
  display: block;
  color: #fff; font-size: .96rem; font-weight: 800;
  letter-spacing: -.022em; line-height: 1.32;
  word-break: keep-all;
}
.sp-card-body span {
  display: block;
  margin-top: 5px;
  color: #B7D5DC; font-size: .755rem; line-height: 1.55;
  word-break: keep-all;
}
.sp-card-eyebrow {
  position: absolute; left: 15px; top: 14px; z-index: 2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .61rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  color: #D8EDF1;
  background: rgba(6,40,50,.52);
  backdrop-filter: blur(6px);
  padding: 5px 9px; border-radius: 5px;
}

/* 갤러리 (균등 그리드) */
.sp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.sp-gallery a,
.sp-gallery figure {
  display: block;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sp-tint);
  position: relative;
}
.sp-gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--sp-ease);
}
.sp-gallery a:hover img { transform: scale(1.06); }

/* 스플릿 (사진 + 텍스트) */
.sp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  margin: 30px 0;
}
.sp-split--flip > .sp-split-media { order: 2; }
.sp-split-media {
  border-radius: var(--sp-r-l);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(6,51,61,.13);
  background: var(--sp-tint);
}
.sp-split-media img {
  width: 100%; height: 100%; display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
}
.sp-split-text h3 { margin-top: 0 !important; }

/* ============================================================
   5. 엠블럼 · 인증서 · 지표
   ============================================================ */
.sp-emblems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0;
}
.sp-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 20px 12px 17px;
  border-radius: var(--sp-r);
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  text-align: center;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.sp-emblem:hover {
  border-color: #BFD9DE;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(6,51,61,.10);
}
.sp-emblem img {
  width: 100%;
  max-width: 108px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}
.sp-emblem b {
  font-size: .8rem; font-weight: 700; color: var(--sp-ink);
  line-height: 1.42; letter-spacing: -.018em; word-break: keep-all;
}
.sp-emblem small {
  font-size: .67rem; color: var(--sp-mute); line-height: 1.42;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .06em;
}

/* 인증서 진열 */
.sp-certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 26px 0;
}
.sp-cert {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sp-line);
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.sp-cert:hover { box-shadow: 0 12px 28px rgba(6,51,61,.11); transform: translateY(-3px); }
.sp-cert img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3 / 4; object-fit: contain;
  background: #F7FAFA; padding: 10px;
}
.sp-cert span {
  padding: 10px 12px 11px;
  font-size: .755rem; font-weight: 700; color: var(--sp-ink);
  border-top: 1px solid var(--sp-line-2);
  text-align: center; line-height: 1.4;
}

/* 지표 스트립 */
.sp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 28px 0;
  border-radius: var(--sp-r);
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  overflow: hidden;
}
.sp-stat {
  padding: 22px 18px;
  border-right: 1px solid var(--sp-line-2);
  text-align: center;
}
.sp-stat:last-child { border-right: 0; }
.sp-stat strong {
  display: block;
  font-size: clamp(1.34rem, 2vw, 1.72rem);
  font-weight: 800; color: var(--sp-ink);
  letter-spacing: -.035em; line-height: 1.12;
  font-variant-numeric: tabular-nums;
}
.sp-stat strong small { font-size: .58em; font-weight: 700; margin-left: 1px; color: var(--sp-teal); }
.sp-stat span {
  display: block; margin-top: 7px;
  font-size: .755rem; color: var(--sp-mute);
  letter-spacing: -.01em; line-height: 1.45;
}

/* 하단 CTA 밴드 */
.sp-cta {
  position: relative;
  margin: 44px 0 0;
  border-radius: var(--sp-r-l);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 3.6vw, 44px) clamp(24px, 3.4vw, 44px);
  background: #0A2029;
  color: #fff;
}
.sp-cta-bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .30;
}
.sp-cta::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(94deg, rgba(5,26,33,.94) 0%, rgba(5,26,33,.80) 52%, rgba(6,54,66,.52) 100%);
}
.sp-cta h3 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: clamp(1.14rem, 1.9vw, 1.44rem) !important;
  font-weight: 800; letter-spacing: -.03em; line-height: 1.34;
  word-break: keep-all;
}
.sp-cta p { color: #B7D5DC; margin: 0 0 18px; font-size: .9rem; line-height: 1.72; word-break: keep-all; }
.sp-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-cta .btn {
  border-radius: 9px; font-weight: 800;
}
.sp-cta .btn--teal,
.sp-cta .btn--primary {
  background: #fff; color: var(--sp-ink);
  border-color: #fff;
}
.sp-cta .btn--teal:hover,
.sp-cta .btn--primary:hover { background: #E4F3F6; color: var(--sp-ink); }
.sp-cta .btn--ghost-light {
  border-color: rgba(255,255,255,.38); color: #fff;
}
.sp-cta .btn--ghost-light:hover { background: rgba(255,255,255,.13); border-color: #fff; }

/* 섹션 간 구분 여백 */
.sp-block { margin: 40px 0; }
.sp-block:first-child { margin-top: 0; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1080px) {
  .sub-layout { grid-template-columns: 172px minmax(0, 1fr); gap: 22px; }
  .sp-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .sp-emblems { grid-template-columns: repeat(4, 1fr); }
  .sp-certs { grid-template-columns: repeat(3, 1fr); }
  .sp-stats { grid-template-columns: repeat(2, 1fr); }
  .sp-stat:nth-child(2) { border-right: 0; }
  .sp-stat:nth-child(1), .sp-stat:nth-child(2) { border-bottom: 1px solid var(--sp-line-2); }
}

@media (max-width: 960px) {
  .sub-layout { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .sub-nav {
    border-radius: 12px;
    margin-bottom: 6px;
    position: static;
  }
  .sub-nav .sn-title { padding: 12px 14px 10px; }
  .sub-nav .sn-title strong { font-size: .95rem; }
  .sub-nav ul {
    display: flex; overflow-x: auto; gap: 2px;
    padding: 6px 10px 10px;
    scrollbar-width: none;
  }
  .sub-nav ul::-webkit-scrollbar { display: none; }
  .sub-nav ul li a { white-space: nowrap; font-size: .8rem; padding: 7px 11px; }
  .sub-nav .sn-group { display: none; }
  .sub-nav ul li { flex: 0 0 auto; }
}

@media (max-width: 820px) {
  .sp-cards, .sp-cards--2, .sp-cards--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sp-gallery { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .sp-emblems { grid-template-columns: repeat(2, 1fr); }
  .sp-certs { grid-template-columns: repeat(2, 1fr); }
  .sp-split { grid-template-columns: 1fr; gap: 20px; }
  .sp-split--flip > .sp-split-media { order: 0; }
  .page-hero--photo { background-position: center 34%; min-height: 268px; }
  .page-hero--photo .breadcrumb { position: static; margin-bottom: 22px; }
  .ph-body { padding-top: 0; }
}

@media (max-width: 560px) {
  .sp-cards, .sp-cards--2, .sp-cards--4,
  .sp-gallery, .sp-emblems, .sp-certs { grid-template-columns: 1fr; }
  .sp-stats { grid-template-columns: repeat(2, 1fr); }
  .sp-card { aspect-ratio: 16 / 10; }
  .sp-emblem { flex-direction: row; text-align: left; gap: 14px; padding: 14px; }
  .sp-emblem img { max-width: 62px; flex: 0 0 62px; }
  .sp-emblem b { font-size: .82rem; }
  .sp-figure { margin: 20px 0; border-radius: 12px; }
  .sp-cta { padding: 24px 20px; border-radius: var(--sp-r); }
  .content h2 { margin-top: 34px; }
}

/* 인쇄 시 사진 숨김 */
@media print {
  .sn-photo, .sp-figure, .sp-cards, .sp-gallery, .sp-cta-bg { display: none !important; }
}

/* ============================================================
   12차 이식 블록
   메인페이지(.nw)에서 삭제한 섹션의 디자인·내용을
   서브페이지에서 그대로 쓸 수 있도록 .sp-* 로 재구성했습니다.
   (home2.css 는 홈 전용이라 서브페이지에 로드되지 않습니다)
   ============================================================ */

/* ── A. 사전진단 참여 분포 그래프 (메인 09 이식) ─────────── */
.sp-graph {
  margin: 26px 0 0;
  padding: clamp(18px, 2.4vw, 26px) clamp(16px, 2.2vw, 24px);
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-l);
  box-shadow: 0 14px 36px -26px rgba(6, 51, 61, .34);
}
.sp-graph__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  margin-bottom: 18px; padding-bottom: 13px;
  border-bottom: 1px solid var(--sp-line-2);
}
.sp-graph__head strong {
  font-size: .94rem; font-weight: 800; color: var(--sp-ink); letter-spacing: -.022em;
}
.sp-graph__head span {
  font-size: .715rem; font-weight: 700; color: var(--sp-mute); letter-spacing: .02em;
}
.sp-graph__rows { display: grid; gap: 11px; }
.sp-graph__row {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) 44px;
  align-items: center; gap: 12px;
}
.sp-graph__row > span {
  font-size: .795rem; font-weight: 700; color: var(--sp-body);
  letter-spacing: -.015em; word-break: keep-all;
}
.sp-graph__bar {
  height: 9px; border-radius: 999px; background: var(--sp-tint-2); overflow: hidden;
}
.sp-graph__bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--sp-teal), #0A93AA);
  transform-origin: left center;
  animation: spBar 1.1s var(--sp-ease) both;
}
.sp-graph__row--hi .sp-graph__bar i {
  background: linear-gradient(90deg, #7FB02A, var(--sp-lime));
}
.sp-graph__row b {
  font-size: .795rem; font-weight: 800; color: var(--sp-ink);
  text-align: right; font-variant-numeric: tabular-nums;
}
@keyframes spBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sp-graph__legend {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--sp-line-2);
  font-size: .715rem; font-weight: 700; color: var(--sp-mute);
}
.sp-graph__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sp-graph__legend i { width: 9px; height: 9px; border-radius: 3px; display: block; }

/* ── B. 비교 인포그래픽 (메인 01B '고객이 보는 차이' 이식) ── */
.sp-cmp {
  margin: 26px 0;
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-r-l);
  box-shadow: 0 14px 36px -26px rgba(6, 51, 61, .3);
}
.sp-cmp__cap { margin: 0 0 16px; }
.sp-cmp__eyebrow {
  display: block; margin-bottom: 7px;
  font-size: .625rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sp-teal);
}
.sp-cmp__cap b {
  display: inline; margin-right: 10px;
  font-size: clamp(.98rem, 1.5vw, 1.1rem); font-weight: 800;
  color: var(--sp-ink); letter-spacing: -.028em; word-break: keep-all;
}
.sp-cmp__hint { font-size: .775rem; font-weight: 600; color: var(--sp-mute); letter-spacing: -.01em; }
.sp-cmp__lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sp-cmp__lane {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center; gap: 10px 14px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid transparent;
}
.sp-cmp__lane--yes { background: var(--sp-lime-l); border-color: #D9E8B9; }
.sp-cmp__lane--no { background: #F2F4F4; border-color: #E4E8E8; }
.sp-cmp__badge {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; align-items: center;
  padding: 3px 11px; border-radius: 999px;
  font-size: .688rem; font-weight: 800; letter-spacing: -.012em;
}
.sp-cmp__lane--yes .sp-cmp__badge { background: #4A6E12; color: #F3FADF; }
.sp-cmp__lane--no .sp-cmp__badge { background: #DDE3E3; color: #4A5C60; }
.sp-cmp__marks { display: inline-flex; gap: 5px; align-items: center; }
.sp-cmp__marks img {
  width: 34px; height: 34px; object-fit: contain;
  background: #fff; border-radius: 8px; padding: 3px;
  box-shadow: 0 2px 6px rgba(6, 51, 61, .12);
}
.sp-cmp__blank {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: #E7EBEB; color: #A9B4B6; font-size: .78rem;
}
.sp-cmp__pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sp-cmp__pts li {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: .775rem; font-weight: 600; line-height: 1.45; letter-spacing: -.012em;
  word-break: keep-all;
}
.sp-cmp__pts li i { margin-top: 3px; font-size: .68rem; flex: 0 0 auto; }
.sp-cmp__lane--yes .sp-cmp__pts li { color: #3A5A10; }
.sp-cmp__lane--yes .sp-cmp__pts li i { color: var(--sp-lime); }
.sp-cmp__lane--no .sp-cmp__pts li { color: #6B7C80; }
.sp-cmp__lane--no .sp-cmp__pts li i { color: #B2BDBF; }

/* ── C. 인증 후 상시 관리 항목 (메인 01B 이식) ───────────── */
.sp-managed {
  margin: 20px 0 0;
  padding: 18px 20px;
  background: #FBFCFA;
  border: 1px solid var(--sp-line-2);
  border-radius: var(--sp-r);
}
.sp-managed h4 {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 12px !important;
  font-size: .84rem; font-weight: 800; color: var(--sp-ink);
  letter-spacing: -.022em; word-break: keep-all;
}
.sp-managed h4 i { font-size: .78rem; color: var(--sp-teal); }
.sp-managed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sp-managed li {
  position: relative; padding-left: 24px;
  font-size: .808rem; line-height: 1.6; color: #3E5760; word-break: keep-all;
}
.sp-managed li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 2px;
  font-size: .625rem; color: var(--sp-lime);
}

/* ── D. 인증 신청 다크 CTA (메인 08 이식) ─────────────────── */
.sp-apply {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 34px 0 0;
  border-radius: var(--sp-r-l);
  background: #0A2029; color: #fff;
  padding: clamp(26px, 3.4vw, 44px) clamp(22px, 3.2vw, 42px);
}
.sp-apply__bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover; opacity: .26;
}
.sp-apply::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(96deg, rgba(5,26,33,.95) 0%, rgba(5,26,33,.82) 54%, rgba(6,54,66,.54) 100%);
}
.sp-apply__in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(22px, 3vw, 40px); align-items: center;
}
.sp-apply__lead h2 {
  margin: 8px 0 12px; color: #fff; border: 0; padding: 0;
  font-size: clamp(1.16rem, 2.2vw, 1.62rem); font-weight: 800;
  letter-spacing: -.034em; line-height: 1.28; word-break: keep-all;
}
.sp-apply__lead > p {
  margin: 0 0 20px; color: #B7D5DC;
  font-size: .875rem; line-height: 1.75; word-break: keep-all;
}
.sp-apply__eyebrow {
  display: block; font-size: .625rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: #6FBECC;
}
.sp-apply__steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.sp-apply__step {
  padding: 11px 12px; border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .11);
}
.sp-apply__step b {
  display: block; margin-bottom: 5px;
  font-size: .625rem; font-weight: 800; letter-spacing: .1em; color: #6FBECC;
}
.sp-apply__step strong {
  display: block; font-size: .775rem; font-weight: 800; color: #fff;
  margin-bottom: 3px; letter-spacing: -.018em; word-break: keep-all;
}
.sp-apply__step span {
  display: block; font-size: .688rem; font-weight: 600; color: #9FBCC4;
  line-height: 1.42; word-break: keep-all;
}
.sp-apply__panel {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--sp-r);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
}
.sp-apply__free {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 12px; padding: 4px 11px; border-radius: 999px;
  background: rgba(108, 158, 30, .2); color: #C8E794;
  font-size: .688rem; font-weight: 800; letter-spacing: -.01em;
}
.sp-apply__panel h3 {
  margin: 0 0 6px !important; color: #fff !important;
  font-size: 1.02rem !important; font-weight: 800; letter-spacing: -.026em;
}
.sp-apply__pick {
  margin: 0 0 14px; font-size: .775rem; font-weight: 600; color: #9FBCC4;
}
.sp-apply__types { display: grid; gap: 8px; margin-bottom: 14px; }
.sp-apply__type {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; text-decoration: none;
  transition: background .22s, border-color .22s, transform .22s;
}
.sp-apply__type:hover {
  background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .34);
  transform: translateY(-2px); color: #fff;
}
.sp-apply__type > i:first-child { font-size: .94rem; color: #6FBECC; flex: 0 0 auto; }
.sp-apply__type-txt { flex: 1 1 auto; min-width: 0; }
.sp-apply__type-txt strong {
  display: block; font-size: .82rem; font-weight: 800; letter-spacing: -.018em;
}
.sp-apply__type-txt span {
  display: block; font-size: .7rem; font-weight: 600; color: #9FBCC4; margin-top: 1px;
}
.sp-apply__type-go { font-size: .72rem; color: #6FBECC; flex: 0 0 auto; }
.sp-apply__go {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 16px; border-radius: 10px;
  background: #fff; color: var(--sp-ink);
  font-size: .875rem; font-weight: 800; text-decoration: none;
  letter-spacing: -.02em; border: 0;
  transition: background .22s, transform .22s;
}
.sp-apply__go:hover { background: #E4F3F6; color: var(--sp-ink); transform: translateY(-2px); }
.sp-apply__sub {
  margin: 12px 0 0; font-size: .72rem; font-weight: 600; color: #9FBCC4;
  line-height: 1.55; word-break: keep-all;
}
.sp-apply__sub a { color: #C8E794; text-decoration: underline; text-underline-offset: 2px; }
.sp-apply__tel {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin: 14px 0 0; padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .75rem; font-weight: 700; color: #9FBCC4;
}
.sp-apply__tel a { color: #fff; text-decoration: none; font-weight: 800; }
.sp-apply__tel span { font-size: .688rem; font-weight: 600; color: #7FA0A9; }

/* ── E. BEFORE / AFTER (메인 01A 이식) ───────────────────── */
.sp-ba { display: grid; gap: 14px; margin: 24px 0 0; }
.sp-ba__card {
  padding: 16px 18px; border-radius: var(--sp-r);
  background: var(--sp-surface); border: 1px solid var(--sp-line);
  box-shadow: 0 10px 26px -24px rgba(6, 51, 61, .3);
}
.sp-ba__k {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 11px !important;
  font-size: .84rem; font-weight: 800; color: var(--sp-ink);
  letter-spacing: -.024em; word-break: keep-all;
}
.sp-ba__k i { font-size: .78rem; color: var(--sp-teal); }
.sp-ba__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.sp-ba__row { padding: 10px 12px; border-radius: 11px; }
.sp-ba__row--before { background: #F4F6F6; border: 1px solid #E7EBEB; }
.sp-ba__row--after { background: var(--sp-teal-l); border: 1px solid #CFE7EC; }
.sp-ba__mk {
  display: block; margin-bottom: 5px;
  font-size: .578rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.sp-ba__row--before .sp-ba__mk { color: #8C9AA0; }
.sp-ba__row--after .sp-ba__mk { color: var(--sp-teal); }
.sp-ba__row p {
  margin: 0; font-size: .788rem; line-height: 1.6; word-break: keep-all;
}
.sp-ba__row--before p { color: #6B7C80; }
.sp-ba__row--after p { color: #17454F; font-weight: 600; }

/* ── F. 관련 기관 로고 그리드 (메인 07 이식) ─────────────── */
.sp-orgs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin: 26px 0;
}
.sp-orgs__item {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px; border-radius: 13px;
  background: var(--sp-surface); border: 1px solid var(--sp-line);
  text-decoration: none; color: inherit;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.sp-orgs__item:hover {
  border-color: var(--sp-teal); transform: translateY(-2px);
  box-shadow: 0 14px 30px -22px rgba(6, 51, 61, .42);
}
.sp-orgs__logo {
  flex: 0 0 44px; width: 44px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px; background: var(--sp-tint); overflow: hidden; padding: 3px 4px;
}
.sp-orgs__logo img { max-width: 38px; max-height: 28px; object-fit: contain; display: block; }
.sp-orgs__logo b {
  font-size: .5rem; font-weight: 800; line-height: 1.12;
  letter-spacing: -.02em; color: var(--sp-teal-d); text-align: center; word-break: keep-all;
  white-space: pre-line;
}
.sp-orgs__txt { min-width: 0; }
.sp-orgs__txt strong {
  display: block; font-size: .775rem; font-weight: 800; color: var(--sp-ink);
  letter-spacing: -.022em; word-break: keep-all; line-height: 1.3;
}
.sp-orgs__txt span {
  display: block; margin-top: 1px;
  font-size: .688rem; font-weight: 600; color: var(--sp-mute); letter-spacing: -.01em;
}

/* ── G. 평가영역 칩 (메인 01 이식) ───────────────────────── */
.sp-areas {
  display: flex; flex-wrap: wrap; gap: 7px;
  list-style: none; margin: 16px 0 0; padding: 0;
}
.sp-areas li {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--sp-tint); border: 1px solid var(--sp-line-2);
  font-size: .748rem; font-weight: 700; color: #2F5560; letter-spacing: -.014em;
}
.sp-areas li i { font-size: .625rem; color: var(--sp-teal); }
.sp-areas--dark li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #C6D8DC; }
.sp-areas--dark li i { color: #6FBECC; }

/* ── H. 영상 그리드 (메인 06 이식) ───────────────────────── */
.sp-vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.sp-vid {
  display: block; width: 100%; padding: 0; text-align: left;
  border: 1px solid var(--sp-line); border-radius: var(--sp-r);
  background: var(--sp-surface); overflow: hidden; cursor: pointer;
  box-shadow: 0 12px 30px -26px rgba(6, 51, 61, .34);
  transition: border-color .24s, transform .24s, box-shadow .24s;
  font: inherit;
}
.sp-vid:hover {
  border-color: var(--sp-teal); transform: translateY(-3px);
  box-shadow: 0 20px 42px -28px rgba(6, 51, 61, .46);
}
.sp-vid__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--sp-tint-2); overflow: hidden; }
.sp-vid__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-vid__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(6,30,38,.06), rgba(6,30,38,.42));
}
.sp-vid__play i {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--sp-teal-d); font-size: .88rem;
  box-shadow: 0 8px 22px rgba(6, 30, 38, .3);
  transition: transform .26s var(--sp-ease);
}
.sp-vid:hover .sp-vid__play i { transform: scale(1.09); }
.sp-vid__cap { display: block; padding: 14px 16px 16px; }
.sp-vid__cap strong {
  display: block; font-size: .875rem; font-weight: 800; color: var(--sp-ink);
  letter-spacing: -.024em; line-height: 1.36; word-break: keep-all; margin-bottom: 4px;
}
.sp-vid__cap span {
  display: block; font-size: .72rem; font-weight: 600; color: var(--sp-mute);
  letter-spacing: -.01em; word-break: keep-all;
}

/* ── 반응형 ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .sp-apply__in { grid-template-columns: minmax(0, 1fr); }
  .sp-orgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sp-cmp__lanes { grid-template-columns: minmax(0, 1fr); }
  .sp-cmp__lane { grid-template-columns: auto minmax(0, 1fr); }
  .sp-cmp__marks { grid-row: 2; }
  .sp-apply__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-vids { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sp-graph__row { grid-template-columns: 82px minmax(0, 1fr) 38px; gap: 9px; }
  .sp-graph__row > span, .sp-graph__row b { font-size: .748rem; }
  .sp-cmp { padding: 16px; }
  .sp-cmp__lane { padding: 12px 13px; }
  .sp-cmp__pts li { font-size: .748rem; }
  .sp-ba__pair { grid-template-columns: minmax(0, 1fr); }
  .sp-orgs { grid-template-columns: minmax(0, 1fr); }
  .sp-apply { padding: 20px 16px; }
  .sp-apply__step { padding: 10px; }
}

/* 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
  .sp-graph__bar i { animation: none; }
  .sp-vid, .sp-orgs__item, .sp-apply__type, .sp-apply__go { transition: none; }
}

/* ============================================================
   1C. PAGE HEAD — 슬림 브레드크럼 + 제목 블록 (v3.32)
   ------------------------------------------------------------
   상단 사진 히어로를 폐지하고, 브레드크럼 한 줄 + 제목/설명만
   남겼습니다. 히어로가 차지하던 300~400px 를 본문에 내어 줍니다.
   ============================================================ */
.page-head {
  border-bottom: 1px solid var(--sp-line);
  background: linear-gradient(180deg, #FCFDFD 0%, #FFFFFF 100%);
}
.page-head .container {
  padding-top: 9px;
  padding-bottom: clamp(16px, 2vw, 24px);
}
/* F2 — 현재 위치만 알리는 최소 브레드크럼.
   아이콘·구분자·글자를 한 단계씩 줄이고 상하여백을 좁혀
   높이 16px 내외의 한 줄로만 자리를 차지하도록 정리했습니다. */
.page-head__crumb {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 9px;
  font-size: .66rem;
  font-weight: 600;
  color: #A3B3B8;
  letter-spacing: -.008em;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
}
.page-head__crumb a { color: #A3B3B8; transition: color .16s var(--sp-ease); }
.page-head__crumb a:hover { color: var(--sp-teal); }
.page-head__home { font-size: .58rem; display: inline-flex; opacity: .78; }
.page-head__sep { font-size: .34rem; opacity: .38; flex: 0 0 auto; position: relative; top: .4px; }
.page-head__cur {
  color: #6C8188;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.page-head__body { max-width: 860px; }
.page-head h1 {
  font-size: clamp(1.44rem, 2.5vw, 1.94rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.24;
  color: var(--sp-ink);
  margin: 0;
  word-break: keep-all;
}
.page-head p {
  margin: 10px 0 0;
  font-size: .895rem;
  line-height: 1.8;
  color: var(--sp-body);
  word-break: keep-all;
}
@media (max-width: 720px) {
  .page-head h1 { font-size: 1.32rem; }
  .page-head p { font-size: .845rem; }
}
