/* =============================================================
   site.css — 시시브랜드 (ccbrand.ai.kr) 공통 보조 스타일
   한국 CSS 최적화 + 공통 유틸리티 클래스
   tokens.css 가 선행 로드된 후 이 파일을 로드할 것
   ============================================================= */

/* ── 리셋 + 한국어 기본 ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--f-sans);
  font-size: 14px;               /* 본문 기본 가독성 14px */
  color: var(--c-ink);
  background: var(--c-bg);
  word-break: keep-all;          /* 한글 단어 단위 줄바꿈 */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── 공통 유틸 (tokens.jsx 의 wf-* 클래스 Vanilla 버전) ─── */
.wf-root {
  font-family: var(--f-sans);
  color: var(--c-ink);
  background: var(--c-bg);
}

.wf-hand {
  font-family: var(--f-hand);
  font-weight: 600;
  color: var(--c-brand);
}

.wf-mono {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--c-ink-soft);
}

/* sb-* = 시시브랜드 사이트 전용 (공통 wf-* 와 병행) */
.sb-mono {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--c-ink-soft);
}

.sb-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: 8px;
  box-shadow: var(--sh-sm);
}

.wf-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: 8px;
  box-shadow: var(--sh-sm);
}

.wf-card-dashed {
  background: var(--c-paper);
  border: 1.5px dashed var(--c-line);
  border-radius: 7px;
}

.wf-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 500;
}

.wf-placeholder {
  background: repeating-linear-gradient(
    135deg,
    var(--c-line-soft) 0,
    var(--c-line-soft) 1px,
    transparent 1px,
    transparent 8px
  );
}

.wf-placeholder-soft {
  background: repeating-linear-gradient(
    135deg,
    var(--c-accent-tint) 0,
    var(--c-accent-tint) 1px,
    transparent 1px,
    transparent 10px
  );
}

.wf-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
  font-size: 11px;
  font-weight: 600;
}

.wf-chip-out {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--c-line);
  color: var(--c-ink-soft);
  font-size: 11px;
}

.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--c-brand);
  color: var(--c-brand-on);
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--sh-brand);
}

.wf-btn:hover {
  background: var(--c-brand-strong);
}

.wf-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: transparent;
  color: var(--c-brand);
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--c-line);
  cursor: pointer;
}

.wf-divider {
  height: 1px;
  background: var(--c-line-soft);
}

.wf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-brand);
  display: inline-block;
}

.wf-bar {
  height: 6px;
  background: var(--c-line-soft);
  border-radius: 3px;
  overflow: hidden;
}

.wf-bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
}

/* 스크롤바 숨김 */
.wf-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.wf-scroll {
  scrollbar-width: none;
}

/* ── 레이아웃 셸 ─────────────────────────────────────────── */
.ccb-shell {
  width: 100%;
  max-width: var(--ccb-max-width);  /* 1280px 이상 화면에서 중앙 패널 */
  margin-inline: auto;              /* 양옆 body 배경 노출 */
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-bg);
}

.ccb-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.ccb-main-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ccb-content-row {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.ccb-main-content {
  flex: 1;
  min-width: 0;             /* flex 자식 수축 허용 — min-width:auto 기본값이 내용 고유너비로
                               팽창하는 현상 방지 (marquee 등 wide 자식이 있을 때 필수) */
  overflow: auto;
  background: var(--c-bg);
  padding: 0;               /* 좌우 패딩 제거 — 각 섹션 박스가 1280 폭을 꽉 채움 */
  box-sizing: border-box;
}

/* ── 사이드바 ────────────────────────────────────────────── */
.ccb-sidebar {
  width: 300px;
  background: var(--c-paper);
  border-right: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

/* ── 홈 전체폭 모드 (사이드바 없음) ──────────────────────── */
/* index.blade.php 에서만 사용. ccb-content-row--full 이 있으면 */
/* 사이드바 DOM 자체가 없으므로 이 규칙은 방어용 */
.ccb-content-row--full .ccb-sidebar {
  display: none;
}

/* ── 창(window) 스크롤 전환 — 홈 + 전체폭 내부 콘텐츠 페이지 공용 ── */
/*  body.page-home      : 홈(/)                                         */
/*  body.page-winscroll : 페이지가 @section('scrollModel','window')      */
/*                        을 선언한 전체폭 내부 콘텐츠 페이지              */
/*  layout.blade.php 가 @yield('scrollModel') 값을 읽어 클래스를 부여.   */
/*  새 전체폭 페이지는 Blade 에서 한 줄 선언만 — 라우트 등록 불필요.       */
/*  사이드바 있는 내부 페이지(클래스 없음)는 앱셸 inner-scroll 그대로 유지. */

/* 창 스크롤: 앱셸 overflow 해제 — 홈·전체폭 내부 페이지 공용 */
body.page-home      .ccb-shell,
body.page-winscroll .ccb-shell {
  height: auto;
  min-height: 100vh;
  overflow: visible;
}


body.page-home      .ccb-body,
body.page-winscroll .ccb-body {
  overflow: visible;
}

body.page-home      .ccb-content-row,
body.page-winscroll .ccb-content-row {
  overflow: visible;
}

body.page-home      .ccb-main-content,
body.page-winscroll .ccb-main-content {
  overflow: visible;
}


/* ── 홈 전용 추가 규칙 (page-winscroll 에는 미적용) ─────── */
/* 흰 배경 */
body.page-home,
body.page-home .ccb-shell,
body.page-home .ccb-main-content {
  background: #ffffff;
}

/* 홈 ccb-main-content 상하 패딩 복구 (좌우 0 유지 — 각 섹션이 1280 폭 채움) */
body.page-home .ccb-main-content {
  padding: 20px 0 40px;
}

/* GNB 헤더 상단 고정 (홈 창 스크롤 시 상단에 붙음)
   DOM: .ccb-main-col > header (topbar/index.blade.php)
   body.page-home 스코프로만 — 내부 페이지 헤더 position 불변.
   !important 필수: header 인라인에 position:relative 가 박혀 있어
   일반 선언으로는 무력화됨. 홈 스코프 한정이므로 정당한 override.           */
body.page-home .ccb-main-col > header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100;
}

/* ── 반응형 (한국 기준: 360 / 768 / 1024 / 1440) ─────────── */
@media (max-width: 1023px) {
  .ccb-sidebar {
    display: none;
  }
}

/* ccb-main-content 패딩 제거됨 — 각 섹션 박스가 직접 내부 padding 관리 */

/* ── Phase 1b 콘텐츠 placeholder ────────────────────────── */
.ccb-phase1b-placeholder {
  border: 2px dashed var(--c-brand-line);
  border-radius: 12px;
  background: var(--c-brand-soft);
  padding: 48px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.ccb-phase1b-placeholder .ph-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-brand-strong);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ccb-phase1b-placeholder .ph-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.ccb-phase1b-placeholder .ph-desc {
  font-size: 13px;
  color: var(--c-mute);
}

/* ── GNB 드롭다운 ─────────────────────────────────────────── */
.ccb-gnb-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--c-paper);
  border-top: 2px solid var(--c-brand);
  border: 1px solid var(--c-line);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.18);
  padding: 6px 0;
  z-index: 40;
}

/* ── CNIPA 배너 dismiss ──────────────────────────────────── */
.ccb-cnipa-banner[aria-hidden="true"] {
  display: none;
}

/* ── 포인트 바 ───────────────────────────────────────────── */
.ccb-point-bar {
  height: 5px;
  background: rgba(15,23,42,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.ccb-point-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent));
  border-radius: 3px;
}

/* ── 카테고리 트리 ───────────────────────────────────────── */
.ccb-cat-node {
  font-size: 12px;
  color: var(--c-ink);
}

.ccb-cat-node-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  color: var(--c-ink);
  font-family: var(--f-sans);
}

.ccb-cat-node-btn:hover {
  background: var(--c-accent-soft);
  color: var(--c-brand-strong);
}

.ccb-cat-node-btn.is-active {
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
  font-weight: 600;
}

/* ── 섹션 헤더 ───────────────────────────────────────────── */
.ccb-section-header {
  margin-bottom: 16px;
}

.ccb-section-badge {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--c-brand);
  margin-bottom: 6px;
}

.ccb-section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.ccb-section-desc {
  font-size: 14px;
  color: var(--c-mute);
  margin-left: 12px;
}

/* ── Section accent 배경 6종 (home/main.jsx Section 컴포넌트 매핑) ───── */
.ccb-section {
  border-radius: 16px;
  margin-bottom: 24px;
}

/* none: accent 없는 섹션 — 흰 배경, 개별 테두리로 구분 */
.ccb-section:not([class*='ccb-section-']) {
  padding: 28px 24px;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
}

/* peach: linear-gradient(180deg, var(--c-accent-soft) 0%, #FFFFFF 100%) */
.ccb-section-peach {
  background: linear-gradient(180deg, var(--c-accent-soft) 0%, #FFFFFF 100%);
  border: 1px solid #FDE68A;
  padding: 28px 24px;
}

/* cream: linear-gradient(180deg, #FEFCE8 0%, #FFFFFF 100%) */
.ccb-section-cream {
  background: linear-gradient(180deg, #FEFCE8 0%, #FFFFFF 100%);
  border: 1px solid #FEF3C7;
  padding: 28px 24px;
}

/* mint: linear-gradient(180deg, var(--c-ok-soft) 0%, #FFFFFF 100%) */
.ccb-section-mint {
  background: linear-gradient(180deg, var(--c-ok-soft) 0%, #FFFFFF 100%);
  border: 1px solid #A7F3D0;
  padding: 28px 24px;
}

/* lavender: linear-gradient(180deg, var(--c-plum-soft) 0%, #FFFFFF 100%) */
.ccb-section-lavender {
  background: linear-gradient(180deg, var(--c-plum-soft) 0%, #FFFFFF 100%);
  border: 1px solid var(--c-plum-tint);
  padding: 28px 24px;
}

/* sky: linear-gradient(180deg, var(--c-brand-soft) 0%, #FFFFFF 100%) */
.ccb-section-sky {
  background: linear-gradient(180deg, var(--c-brand-soft) 0%, #FFFFFF 100%);
  border: 1px solid var(--c-brand-line);
  padding: 28px 24px;
}

/* ── 배너 섹션 박스 — 개별 테두리 (흰 배경 위 박스 구분) ─── */
/* 01-banner-slider 의 <section> 용. 내부 슬라이더가 border-radius overflow:hidden 처리 */
.ccb-section-banner {
  margin-bottom: 18px;
  border: 1px solid var(--c-line-soft);
  border-radius: 12px;
  overflow: hidden;
}

/* ── 푸터 박스 개별 테두리 ──────────────────────────────────── */
/* partials/footer/index.blade.php 의 <footer> 태그 용 */
.ccb-footer-box {
  border: 1px solid var(--c-line-soft);
}

/* ── 우측 sticky 퀵 배너 (홈 전용, partials/quick-banner.blade.php) ── */
/* z-index 80: 토글버튼(99999) < 헤더 sticky(100) 사이에 배치. 드롭다운(40) 위 */
.ccb-quick-banner {
  position: fixed;
  right: calc(50vw - (var(--ccb-max-width) / 2) - 240px - 16px); /* 배너 왼쪽 끝=박스 우측 가장자리+16px 간격. 콘텐츠와 16px 여백 확보. 1792px↑에서만 노출(미디어쿼리로 그 이하 숨김) */
  top: 240px;             /* cnipa띠(≈68px)+platform-switch(54px)+topbar1행유틸리티(38px)+topbar2행GNB(70px)≈230px+여유→콘텐츠 영역 상단 정렬 */
  width: 240px;
  z-index: 80;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sh-md);
  /* wf-card 톤 */
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
}

/* 폭별 배너 거동 — 우측 퀵배너 (.ccb-quick-banner)
   ≥1792px : 기존 gutter 위치 (calc right, 240px, 기존 CSS 유지)
   1440~1791px : gutter 공간 부족 → 뷰포트 우측 가장자리 고정, 200px 컴팩트
   <1440px : 데스크톱 1280패널과 겹침 불가피 → 숨김

   산술 근거:
     calc = 50vw - 640 - 240 - 16 = 50vw - 896
     1792px → 896 - 896 = 0px  (배너 좌측=패널 우측 가장자리, 정상)
     1536px → 768 - 896 = -128px (화면 밖 — 가장자리 전환 필요)
     1440px → 720 - 896 = -176px (화면 밖 — 가장자리 전환 필요)
*/
@media (max-width: 1791px) and (min-width: 1440px) {
  /* 가장자리 고정 모드: 우측 8px 여백, 폭 200px 컴팩트 */
  .ccb-quick-banner {
    right: 8px;
    width: 200px;
  }
}
@media (max-width: 1439px) {
  /* 1280패널 안으로 침범 불가피 구간 — 숨김 */
  .ccb-quick-banner {
    display: none;
  }
}


/* 브랜드 헤더 블록 */
.ccb-quick-banner__header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-brand-strong) 0%, var(--c-brand) 100%);
  color: var(--c-brand-on);
  padding: 20px 18px 18px;
}

/* 장식 원 — 원본 가로 카드와 동일 토큰/rgba */
.ccb-quick-banner__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ccb-quick-banner__deco--ring {
  right: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.ccb-quick-banner__deco--dot {
  right: -6px;
  bottom: -6px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
}

/* 브랜드 레이블/타이틀 */
.ccb-quick-banner__brand-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-brand-tint);
  text-align: left;
}
.ccb-quick-banner__brand-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--c-brand-on);
  white-space: nowrap;
  text-align: left;
}

/* 본문 영역 */
.ccb-quick-banner__body {
  padding: 14px 16px 16px;
}

/* 핀 배지 행 */
.ccb-quick-banner__badge-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.ccb-quick-banner__badge {
  display: inline-block;
  background: var(--c-brand-tint);
  color: var(--c-brand-strong);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  align-self: flex-start;
}
.ccb-quick-banner__sub-label {
  /* wf-mono 와 동일 — color만 --c-mute */
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--c-mute);
  padding-left: 2px;
}

/* 타이틀 */
.ccb-quick-banner__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* 설명 */
.ccb-quick-banner__desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  word-break: keep-all;
}

/* 가격 블록 */
.ccb-quick-banner__price-block {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line-soft);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.ccb-quick-banner__price-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-mute);
  margin-bottom: 4px;
}
.ccb-quick-banner__price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}
.ccb-quick-banner__price-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--c-brand);
  letter-spacing: -0.02em;
}
.ccb-quick-banner__price-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-brand);
}
.ccb-quick-banner__price-vat {
  display: block;
  font-size: 10px;
  color: var(--c-mute);
  margin-top: 3px;
}

/* CTA 버튼 — 풀폭 */
.ccb-quick-banner__cta {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: var(--c-brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 7px;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.ccb-quick-banner__cta:hover {
  background: var(--c-brand-strong);
  color: #ffffff;
}

/* ── 중국상표 대리 안내 페이지 (china-agency) — .ccb-ca-* ─── */

/* 내부 페이지 공통 래퍼 */
.ccb-ca-page {
  padding: 0 0 64px;
  background: var(--c-bg);
}

/* 섹션 공통 */
.ccb-ca-section {
  padding: 56px 28px;
  max-width: var(--ccb-max-width);
  margin-inline: auto;
  box-sizing: border-box;
}

.ccb-ca-section + .ccb-ca-section {
  padding-top: 48px;
}

/* ── 마키 스트립 ── */
.ccb-ca-marquee-wrap {
  background: var(--c-brand);
  color: var(--c-brand-on);
  overflow: hidden;
  padding: 9px 0;
  border-bottom: 1px solid var(--c-brand-strong);
}

.ccb-ca-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ccb-ca-marquee 28s linear infinite;
  white-space: nowrap;
}

.ccb-ca-marquee-track:hover {
  animation-play-state: paused;
}

.ccb-ca-marquee-item {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ccb-ca-marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes ccb-ca-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 히어로 ── */
.ccb-ca-hero {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line-soft);
}

.ccb-ca-hero-inner {
  max-width: var(--ccb-max-width);
  margin-inline: auto;
  padding: 64px 28px 56px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  box-sizing: border-box;
}

.ccb-ca-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-brand);
  margin-bottom: 16px;
}

.ccb-ca-h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 0 20px;
  word-break: keep-all;
}

.ccb-ca-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  margin: 0 0 24px;
  word-break: keep-all;
  max-width: 560px;
}

.ccb-ca-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--c-mute);
  letter-spacing: 0.06em;
}

/* 히어로 카드 */
.ccb-ca-hero-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  box-shadow: var(--sh-md);
  overflow: hidden;
}

.ccb-ca-hero-card__header {
  background: linear-gradient(135deg, var(--c-brand-strong) 0%, var(--c-brand) 100%);
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
}

.ccb-ca-hero-card__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ccb-ca-hero-card__deco--ring {
  right: -24px;
  bottom: -24px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(255,255,255,0.22);
}

.ccb-ca-hero-card__deco--dot {
  right: -8px;
  bottom: -8px;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.10);
}

.ccb-ca-hero-card__label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--c-brand-tint);
  margin-bottom: 6px;
}

.ccb-ca-hero-card__name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.ccb-ca-hero-card__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.ccb-ca-hero-card__body {
  padding: 18px 20px;
}

.ccb-ca-hero-card__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ccb-ca-hero-card__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
}

.ccb-ca-hero-card__key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-mute);
  min-width: 80px;
  padding-top: 2px;
  flex-shrink: 0;
}

.ccb-ca-hero-card__val {
  color: var(--c-ink);
  font-size: 13px;
  line-height: 1.5;
  word-break: keep-all;
}

/* 통계 4 그리드 */
.ccb-ca-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line-soft);
  border: 1px solid var(--c-line-soft);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
}

.ccb-ca-stat {
  background: var(--c-paper);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ccb-ca-stat__num {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-brand);
  letter-spacing: -0.02em;
  line-height: 1;
}

.ccb-ca-stat__num--accent {
  color: var(--c-accent);
}

.ccb-ca-stat__desc {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.5;
  word-break: keep-all;
}

/* ── About / Company Snapshot ── */
.ccb-ca-about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.ccb-ca-h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 0 12px;
  word-break: keep-all;
}

.ccb-ca-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin: 0 0 24px;
  word-break: keep-all;
}

.ccb-ca-body-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink-soft);
  margin: 0 0 16px;
  word-break: keep-all;
}

.ccb-ca-snapshot {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.ccb-ca-snapshot__header {
  background: var(--c-paper-2);
  border-bottom: 1px solid var(--c-line-soft);
  padding: 12px 18px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--c-brand);
}

.ccb-ca-snapshot__row {
  display: flex;
  border-bottom: 1px solid var(--c-line-soft);
}

.ccb-ca-snapshot__row:last-child {
  border-bottom: none;
}

.ccb-ca-snapshot__key {
  width: 100px;
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-mute);
  background: var(--c-paper-2);
  border-right: 1px solid var(--c-line-soft);
}

.ccb-ca-snapshot__val {
  flex: 1;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--c-ink);
  line-height: 1.5;
}

/* ── 서비스 카드 그리드 ── */
.ccb-ca-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ccb-ca-svc-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.ccb-ca-svc-card:hover {
  border-color: var(--c-brand-line);
  box-shadow: var(--sh-md);
}

.ccb-ca-svc-num {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--c-brand);
  margin-bottom: 8px;
}

.ccb-ca-svc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 8px;
  line-height: 1.4;
  word-break: keep-all;
}

.ccb-ca-svc-desc {
  font-size: 13px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  word-break: keep-all;
}

/* ── CNIPA 섹션 배경 ── */
.ccb-ca-cnipa-bg {
  background: linear-gradient(180deg, var(--c-brand-soft) 0%, var(--c-paper) 100%);
  border-top: 1px solid var(--c-brand-line);
  border-bottom: 1px solid var(--c-line-soft);
}

/* Verification Tip 콜아웃 */
.ccb-ca-tip {
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  border-left: 4px solid var(--c-brand);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 20px 0 32px;
  font-size: 13px;
  color: var(--c-brand-strong);
  line-height: 1.65;
  word-break: keep-all;
}

/* 자격 이미지 3-up 그리드 */
.ccb-ca-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.ccb-ca-cert-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.ccb-ca-cert-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccb-ca-cert-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ccb-ca-cert-card__body {
  padding: 14px 16px;
}

.ccb-ca-cert-num {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--c-brand);
  margin-bottom: 6px;
}

.ccb-ca-cert-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 4px;
  word-break: keep-all;
}

.ccb-ca-cert-sub {
  font-size: 12px;
  color: var(--c-mute);
  line-height: 1.6;
  word-break: keep-all;
}

.ccb-ca-cert-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: var(--c-ok-soft);
  border: 1px solid #A7F3D0;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: var(--c-ok);
  letter-spacing: 0.06em;
}

/* 경고 notice 박스 */
.ccb-ca-notice {
  background: var(--c-warn-soft);
  border: 1px solid var(--c-warn-line);
  border-left: 4px solid var(--c-warn);
  border-radius: 6px;
  padding: 16px 18px;
}

.ccb-ca-notice__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-warn-strong);
  margin-bottom: 6px;
}

.ccb-ca-notice__body {
  font-size: 13px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  word-break: keep-all;
}

/* ── 타임라인 ── */
.ccb-ca-history-bg {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
}

.ccb-ca-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}

.ccb-ca-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--c-line);
  border-radius: 1px;
}

.ccb-ca-tl-item {
  position: relative;
  padding: 20px 0 20px 24px;
  border-bottom: 1px solid var(--c-line-soft);
}

.ccb-ca-tl-item:last-child {
  border-bottom: none;
}

.ccb-ca-tl-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 25px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-line);
  border: 2px solid var(--c-paper);
  box-shadow: 0 0 0 1px var(--c-line);
}

.ccb-ca-tl-item--accent::before {
  background: var(--c-accent);
  box-shadow: 0 0 0 1px var(--c-accent);
}

.ccb-ca-tl-year {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-mute);
  margin-bottom: 4px;
}

.ccb-ca-tl-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 4px;
  word-break: keep-all;
}

.ccb-ca-tl-item--accent .ccb-ca-tl-title {
  color: var(--c-accent-strong);
}

.ccb-ca-tl-body {
  font-size: 13px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  word-break: keep-all;
}

/* ── 2026 AI 섹션 ── */
.ccb-ca-ai-bg {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ccb-ca-ai-inner {
  max-width: var(--ccb-max-width);
  margin-inline: auto;
  padding: 64px 28px 56px;
  box-sizing: border-box;
}

.ccb-ca-ai-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.ccb-ca-ai-kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.ccb-ca-ai-h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 16px;
  word-break: keep-all;
}

.ccb-ca-ai-sub {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  word-break: keep-all;
  margin: 0 0 24px;
}

.ccb-ca-ai-body {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  word-break: keep-all;
}

/* ai-stat 카드 */
.ccb-ca-ai-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ccb-ca-ai-stat__item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ccb-ca-ai-stat__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ccb-ca-ai-stat__key {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.40);
}

.ccb-ca-ai-stat__val {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
}

/* AI 기능 6 카드 그리드 */
.ccb-ca-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ccb-ca-feat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 20px 18px;
  transition: background 0.15s, border-color 0.15s;
}

.ccb-ca-feat-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.20);
}

.ccb-ca-feat-num {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--c-accent);
  margin-bottom: 8px;
}

.ccb-ca-feat-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  margin-bottom: 6px;
  word-break: keep-all;
}

.ccb-ca-feat-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  word-break: keep-all;
}

/* ── 연락처 CTA ── */
.ccb-ca-cta-bg {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line-soft);
}

.ccb-ca-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.ccb-ca-kicker-item {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-mute);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ccb-ca-kicker-item::before {
  content: '—';
  color: var(--c-brand);
}

.ccb-ca-cta-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.ccb-ca-contact-card {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  overflow: hidden;
}

.ccb-ca-contact-card__header {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line-soft);
  padding: 12px 18px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--c-brand);
}

.ccb-ca-contact-card__body {
  padding: 18px;
}

.ccb-ca-contact-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 2px;
}

.ccb-ca-contact-en {
  font-size: 12px;
  color: var(--c-mute);
  margin-bottom: 14px;
  font-weight: 500;
}

.ccb-ca-contact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ccb-ca-contact-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: flex-start;
}

.ccb-ca-contact-key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-mute);
  min-width: 80px;
  padding-top: 2px;
  flex-shrink: 0;
}

.ccb-ca-contact-val {
  color: var(--c-ink);
  line-height: 1.5;
}

.ccb-ca-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--c-brand);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-top: 28px;
  box-shadow: var(--sh-brand);
  transition: background 0.15s;
}

.ccb-ca-cta-btn:hover {
  background: var(--c-brand-strong);
  color: #ffffff;
}

/* ── 반응형 ── */
@media (max-width: 1023px) {
  .ccb-ca-hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px 36px;
  }
  .ccb-ca-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ccb-ca-about-grid {
    grid-template-columns: 1fr;
  }
  .ccb-ca-svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ccb-ca-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ccb-ca-ai-hero {
    grid-template-columns: 1fr;
  }
  .ccb-ca-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ccb-ca-cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ccb-ca-section {
    padding: 40px 20px;
  }
  .ccb-ca-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ccb-ca-svc-grid {
    grid-template-columns: 1fr;
  }
  .ccb-ca-cert-grid {
    grid-template-columns: 1fr;
  }
  .ccb-ca-feat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359px) {
  .ccb-ca-stats {
    grid-template-columns: 1fr;
  }
  .ccb-ca-h1 {
    font-size: 26px;
  }
}

/* ── 좌측 sticky 퀵 배너 — 2카드 스택 (홈 전용, partials/quick-banner-left.blade.php) ── */
/* 우측 .ccb-quick-banner 와 대칭(top·폭·숨김 임계값 동일). 색만 --c-danger*. 클래스/id 완전 분리 */
.ccb-quick-banner-left {
  position: fixed;
  left: calc(50vw - (var(--ccb-max-width) / 2) - 240px - 16px); /* 배너 우측 끝=박스 좌측 가장자리+16px 간격 */
  top: 240px;             /* JS 폴백 — positionBannerLeft() 로 .ccb-content-row 상단에 동기 */
  width: 240px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 폭별 배너 거동 — 좌측 퀵배너 (.ccb-quick-banner-left)
   우측 배너와 대칭 (left ↔ right, 임계값·폭 동일)
   ≥1792px : gutter 위치 유지 (calc left, 240px)
   1440~1791px : 뷰포트 좌측 가장자리 고정, 200px 컴팩트
   <1440px : 숨김 */
@media (max-width: 1791px) and (min-width: 1440px) {
  .ccb-quick-banner-left {
    left: 8px;
    width: 200px;
  }
}
@media (max-width: 1439px) {
  .ccb-quick-banner-left {
    display: none;
  }
}


/* 개별 카드 — wf-card 톤, radius/shadow 우측 배너(.ccb-quick-banner) 동일 */
.ccb-qbl-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
}

/* 카드 헤더 — 공통 (색은 variant 클래스로 분리) */
.ccb-qbl-card__header {
  position: relative;
  overflow: hidden;
  color: var(--c-brand-on);
  padding: 20px 18px 18px;
}

/* variant: danger (전문가 빨강) */
.ccb-qbl-card--danger .ccb-qbl-card__header {
  background: linear-gradient(135deg, var(--c-danger-strong) 0%, var(--c-danger) 100%);
}

/* variant: plum (셀프 보라) */
.ccb-qbl-card--plum .ccb-qbl-card__header {
  background: linear-gradient(135deg, var(--c-plum-strong) 0%, var(--c-plum) 100%);
}

/* 장식 원 — 우측 배너와 동일 패턴, 색만 흰색 반투명 */
.ccb-qbl-card__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ccb-qbl-card__deco--ring {
  right: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.ccb-qbl-card__deco--dot {
  right: -6px;
  bottom: -6px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
}

/* 카드 헤더 레이블 */
.ccb-qbl-card__label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

/* 카드 헤더 타이틀 */
.ccb-qbl-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--c-brand-on);
  word-break: keep-all;
  text-align: left;
}

/* 카드 본문 */
.ccb-qbl-card__body {
  padding: 14px 16px 16px;
}

/* 부제 */
.ccb-qbl-card__desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.6;
  word-break: keep-all;
}

/* CTA 버튼 — 공통 (색은 variant 클래스로 분리), 풀폭 */
.ccb-qbl-card__cta {
  display: block;
  width: 100%;
  padding: 10px 0;
  color: var(--c-brand-on);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 7px;
  letter-spacing: 0.02em;
  transition: background 0.15s;
  box-sizing: border-box;
}

/* variant: danger CTA */
.ccb-qbl-card--danger .ccb-qbl-card__cta          { background: var(--c-danger); }
.ccb-qbl-card--danger .ccb-qbl-card__cta:hover    { background: var(--c-danger-strong); }

/* variant: plum CTA */
.ccb-qbl-card--plum .ccb-qbl-card__cta            { background: var(--c-plum); }
.ccb-qbl-card--plum .ccb-qbl-card__cta:hover      { background: var(--c-plum-strong); }

/* variant: brand (AI 파랑) */
.ccb-qbl-card--brand .ccb-qbl-card__header {
  background: linear-gradient(135deg, var(--c-brand-strong) 0%, var(--c-brand) 100%);
}
.ccb-qbl-card--brand .ccb-qbl-card__cta           { background: var(--c-brand); }
.ccb-qbl-card--brand .ccb-qbl-card__cta:hover     { background: var(--c-brand-strong); }

/* ══════════════════════════════════════════════════════════
   프론트 액션버튼 Raised 3D — 공통 일괄 적용
   대상: wf-btn / wf-btn-ghost / ccb-quick-banner__cta / ccb-ca-cta-btn
   (auth-btn 계열·signup-* 계열·reg-* 계열·terms-* 계열은 blade 인라인 <style> 정의라 별도 적용)
   ※ disabled 상태에서는 그림자/transform 없이 평평하게.
═══════════════════════════════════════════════════════════ */
.wf-btn,
.wf-btn-ghost,
.ccb-quick-banner__cta,
.ccb-ca-cta-btn {
  box-shadow: var(--btn-shadow-raised);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .12s ease;
}

.wf-btn:hover,
.wf-btn-ghost:hover,
.ccb-quick-banner__cta:hover,
.ccb-ca-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
}

.wf-btn:active,
.wf-btn-ghost:active,
.ccb-quick-banner__cta:active,
.ccb-ca-cta-btn:active {
  transform: translateY(1px);
  box-shadow: var(--btn-shadow-pressed);
}

.wf-btn:disabled,        .wf-btn[disabled],        .wf-btn[aria-disabled="true"],
.wf-btn-ghost:disabled,  .wf-btn-ghost[disabled],  .wf-btn-ghost[aria-disabled="true"],
.ccb-quick-banner__cta.is-disabled,
.ccb-ca-cta-btn:disabled, .ccb-ca-cta-btn[disabled] {
  transform: none;
  box-shadow: none;
}
