/* =========================================================================
   cashse-mobile — 모바일캐시 브랜드 14번째 사이트 전용 디자인 시스템
   레이아웃: 리스트-프리뷰 스플릿 (좌측 9개 목록 + 우측 고정 프리뷰 패널,
   라디오 버튼 기반, 자바스크립트 불필요, 목록을 누르면 오른쪽 미리보기가 전환됨)
   컬러: Olive Khaki Green / Rust Orange
   컴포넌트: List Preview Split (List + Stage Panel)
   인터랙션: 3D Perspective Settle (기울어진 원근감 상태에서 평평하게 자리잡음)
   플로팅 상담: 하단 좌측 원형 확장 팬 FAB (메인 버튼을 누르면 위로 부채꼴처럼
   구매/문자/전화 아이콘 3개가 펼쳐지는 체크박스 기반 위젯)
   헤더: 센터 텍스트 내비 헤더 (좌측 로고 - 중앙 안내문서/FAQ/전화 텍스트 링크 -
   우측 액션 버튼, 단일 행)
   기존 사이트(이커머스 그리드/Forest Green, 풀스크린 랜딩/Warm Earth,
   세로 타임라인/Cool Slate·Tech Blue, 매거진 사이드바/Deep Violet·Amber,
   벤토 그리드/Midnight Navy·Copper, 티켓 스텁 매스너리월/Coral Sunset·Deep Plum,
   가로 스크롤 카탈로그 캐러셀/Teal Lagoon·Sunset Amber, 레이트뱃지 아코디언
   스택/Charcoal Slate·Gold Amber, 세그먼트 탭 필터+시그널 카드 리스트/
   Indigo Ink·Mint Signal, 세로 프로세스 레일 스텝 카드/Ruby Ember·Graphite,
   스포트라이트 슬라이드 뷰어/Cobalt Blue·Papaya Orange, 플립 카드 갤러리/
   Wine Burgundy·Champagne Gold, 넘버드 스테퍼 + 단일 디테일 패널/
   Jet Black·Citrus Lime)와
   레이아웃 구조·컬러·컴포넌트·인터랙션·플로팅 상담 방식이 전부 겹치지 않도록
   새로 설계했습니다.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css');

:root {
  --font-sans: 'Inter', 'Pretendard', 'Noto Sans KR', system-ui, -apple-system, sans-serif;

  --fs-body: 16px;
  --fs-sm: 13px;
  --fs-md: 18px;
  --fs-lg: 22px;
  --fs-xl: 28px;
  --fs-2xl: 36px;

  /* Olive Khaki Green / Rust Orange 컬러 시스템 */
  --primary: #3f4a2e;
  --primary-dark: #2b3320;
  --accent: #d97a3f;
  --accent-dark: #b5602c;
  --accent-light: #fbe6d5;
  --success: #2f8f5b;
  --warning: #c98a1f;
  --error: #c0483f;

  --ink: #24281c;
  --ink-soft: #565f47;
  --muted: #8b9279;
  --line: rgba(63, 74, 46, 0.16);
  --bg: #f8f7ef;
  --bg-soft: #eeecdd;
  --bg-tint: #e4e3ce;

  --space-base: 20px;
  --space-component: 28px;
  --space-section: 56px;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 16px rgba(43, 51, 32, 0.10);
  --shadow: 0 14px 32px rgba(43, 51, 32, 0.14);
  --shadow-lg: 0 24px 54px rgba(43, 51, 32, 0.22);
  --transition: all 0.18s ease;

  /* 3D Perspective Settle 인터랙션 */
  --reveal-duration: 0.65s;
  --reveal-easing: cubic-bezier(0.22, 0.68, 0.32, 1);

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

/* =========================================================================
   스크롤 진행바
   ========================================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  z-index: 90;
}

/* =========================================================================
   센터 텍스트 내비 헤더 (좌측 로고 - 중앙 텍스트 링크 - 우측 액션, 단일 행)
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(248, 247, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--primary); color: var(--accent);
  border-radius: 10px;
}
.logo-text { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.logo-text .sub { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-dark); }

.site-header__nav {
  justify-self: center;
  display: flex; align-items: center; gap: 22px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
}
.site-header__nav a:hover { color: var(--primary); }
.site-header__nav-phone {
  color: var(--primary) !important;
  background: var(--accent-light);
  border-radius: 999px;
  padding: 6px 14px;
}

.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700; font-size: var(--fs-sm);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.btn--flat { background: var(--bg-tint); color: var(--primary); }
.btn--flat:hover { background: #d7d5bd; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--solid { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 13px 22px; font-size: var(--fs-sm); }
.btn__icon-only { display: none; }

/* =========================================================================
   히어로
   ========================================================================= */
.hero {
  display: flex; align-items: center; gap: clamp(24px, 5vw, 64px);
  padding: clamp(40px, 6vw, 72px) clamp(16px, 5vw, 48px);
  max-width: 1180px; margin: 0 auto;
}
.hero__inner { flex: 1 1 480px; min-width: 280px; }
.hero__photo { flex: 1 1 420px; min-width: 260px; }
.hero--doc { max-width: var(--container-max, 1180px); padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 48px); }

.hero__eyebrow-wrap { margin-bottom: 14px; }
.hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-sm); font-weight: 800; color: var(--primary);
  background: var(--accent-light);
  border-radius: 999px;
  padding: 6px 14px;
}
.hero__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--primary); color: var(--accent);
  border-radius: 14px;
  margin: 12px 0;
}
.hero__title { font-size: var(--fs-2xl); line-height: 1.28; color: var(--ink); font-weight: 800; }
.hero__title--doc { font-size: var(--fs-xl); }
.hero__desc { margin-top: var(--space-base); color: var(--ink-soft); font-size: var(--fs-md); line-height: 1.6; max-width: 50ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-base); }
.hero__badge {
  font-size: 12.5px; font-weight: 700; color: var(--primary);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.hero__actions { display: flex; gap: 10px; margin-top: var(--space-component); flex-wrap: wrap; }
.hero__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--bg-tint);
}
.hero__photo--doc { position: relative; }
.hero__photo--doc::before {
  content: "";
  position: absolute;
  top: -10px; left: -10px; right: 10px; bottom: 10px;
  background: var(--accent-light);
  border-radius: var(--radius);
  z-index: -1;
}

/* =========================================================================
   히어로 배너 (히어로 하단, 가로4:세로3 비율 배너 이미지)
   ========================================================================= */
.hero-banner { padding-top: 0; padding-bottom: var(--space-component); }
.hero-banner__frame {
  max-width: 62%;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--bg-tint);
  border: 1px solid var(--line);
}
.hero-banner__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* =========================================================================
   섹션 공통
   ========================================================================= */
.section {
  padding: var(--space-section) clamp(16px, 4vw, 48px);
  max-width: 1180px;
  margin: 0 auto;
  scroll-margin-top: 88px;
}
.section-head { margin-bottom: var(--space-component); }
.section-head__eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 8px;
}
.section-head__title { font-size: var(--fs-xl); color: var(--ink); font-weight: 800; }
.section-head__desc { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); max-width: 60ch; }

/* =========================================================================
   리스트-프리뷰 스플릿 (좌측 9개 목록 + 우측 고정 프리뷰 패널,
   라디오 버튼 기반, 자바스크립트 불필요)
   ========================================================================= */
.list-preview { position: relative; display: grid; grid-template-columns: 1fr 1.5fr; gap: 22px; align-items: start; }
.list-preview__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.list-preview__list {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.list-preview__row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: var(--transition);
}
.list-preview__row:last-child { border-bottom: none; }
.list-preview__row:hover { background: var(--bg-soft); }
.list-preview__row-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint); color: var(--primary);
  border-radius: 10px;
  transition: var(--transition);
}
.list-preview__row-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.list-preview__row-num { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: 0.05em; }
.list-preview__row-kw { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-preview__row-arrow { flex-shrink: 0; color: var(--muted); font-size: 18px; transition: var(--transition); }

.list-preview__stage { position: relative; position: sticky; top: 88px; }
.list-preview__panel {
  display: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.list-preview__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-tint); }
.list-preview__media img { width: 100%; height: 100%; object-fit: contain; }
.list-preview__body { padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.list-preview__tag { font-size: 12px; font-weight: 700; color: var(--accent-dark); }
.list-preview__title { font-size: var(--fs-lg); font-weight: 800; color: var(--ink); }
.list-preview__desc { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; }
.list-preview__cta { margin-top: 6px; font-weight: 800; font-size: var(--fs-sm); color: var(--primary); }

/* 9개 라디오 ↔ 9개 목록행/프리뷰패널 매칭 (순수 CSS, 자바스크립트 불필요) */
.list-preview input.list-preview__radio:nth-of-type(1):checked ~ .list-preview__list .list-preview__row:nth-of-type(1),
.list-preview input.list-preview__radio:nth-of-type(2):checked ~ .list-preview__list .list-preview__row:nth-of-type(2),
.list-preview input.list-preview__radio:nth-of-type(3):checked ~ .list-preview__list .list-preview__row:nth-of-type(3),
.list-preview input.list-preview__radio:nth-of-type(4):checked ~ .list-preview__list .list-preview__row:nth-of-type(4),
.list-preview input.list-preview__radio:nth-of-type(5):checked ~ .list-preview__list .list-preview__row:nth-of-type(5),
.list-preview input.list-preview__radio:nth-of-type(6):checked ~ .list-preview__list .list-preview__row:nth-of-type(6),
.list-preview input.list-preview__radio:nth-of-type(7):checked ~ .list-preview__list .list-preview__row:nth-of-type(7),
.list-preview input.list-preview__radio:nth-of-type(8):checked ~ .list-preview__list .list-preview__row:nth-of-type(8),
.list-preview input.list-preview__radio:nth-of-type(9):checked ~ .list-preview__list .list-preview__row:nth-of-type(9) {
  background: var(--accent-light);
}
.list-preview input.list-preview__radio:nth-of-type(1):checked ~ .list-preview__list .list-preview__row:nth-of-type(1) .list-preview__row-icon,
.list-preview input.list-preview__radio:nth-of-type(2):checked ~ .list-preview__list .list-preview__row:nth-of-type(2) .list-preview__row-icon,
.list-preview input.list-preview__radio:nth-of-type(3):checked ~ .list-preview__list .list-preview__row:nth-of-type(3) .list-preview__row-icon,
.list-preview input.list-preview__radio:nth-of-type(4):checked ~ .list-preview__list .list-preview__row:nth-of-type(4) .list-preview__row-icon,
.list-preview input.list-preview__radio:nth-of-type(5):checked ~ .list-preview__list .list-preview__row:nth-of-type(5) .list-preview__row-icon,
.list-preview input.list-preview__radio:nth-of-type(6):checked ~ .list-preview__list .list-preview__row:nth-of-type(6) .list-preview__row-icon,
.list-preview input.list-preview__radio:nth-of-type(7):checked ~ .list-preview__list .list-preview__row:nth-of-type(7) .list-preview__row-icon,
.list-preview input.list-preview__radio:nth-of-type(8):checked ~ .list-preview__list .list-preview__row:nth-of-type(8) .list-preview__row-icon,
.list-preview input.list-preview__radio:nth-of-type(9):checked ~ .list-preview__list .list-preview__row:nth-of-type(9) .list-preview__row-icon {
  background: var(--primary); color: var(--accent);
}
.list-preview input.list-preview__radio:nth-of-type(1):checked ~ .list-preview__list .list-preview__row:nth-of-type(1) .list-preview__row-arrow,
.list-preview input.list-preview__radio:nth-of-type(2):checked ~ .list-preview__list .list-preview__row:nth-of-type(2) .list-preview__row-arrow,
.list-preview input.list-preview__radio:nth-of-type(3):checked ~ .list-preview__list .list-preview__row:nth-of-type(3) .list-preview__row-arrow,
.list-preview input.list-preview__radio:nth-of-type(4):checked ~ .list-preview__list .list-preview__row:nth-of-type(4) .list-preview__row-arrow,
.list-preview input.list-preview__radio:nth-of-type(5):checked ~ .list-preview__list .list-preview__row:nth-of-type(5) .list-preview__row-arrow,
.list-preview input.list-preview__radio:nth-of-type(6):checked ~ .list-preview__list .list-preview__row:nth-of-type(6) .list-preview__row-arrow,
.list-preview input.list-preview__radio:nth-of-type(7):checked ~ .list-preview__list .list-preview__row:nth-of-type(7) .list-preview__row-arrow,
.list-preview input.list-preview__radio:nth-of-type(8):checked ~ .list-preview__list .list-preview__row:nth-of-type(8) .list-preview__row-arrow,
.list-preview input.list-preview__radio:nth-of-type(9):checked ~ .list-preview__list .list-preview__row:nth-of-type(9) .list-preview__row-arrow {
  color: var(--primary); transform: translateX(3px);
}
.list-preview input.list-preview__radio:nth-of-type(1):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(1),
.list-preview input.list-preview__radio:nth-of-type(2):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(2),
.list-preview input.list-preview__radio:nth-of-type(3):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(3),
.list-preview input.list-preview__radio:nth-of-type(4):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(4),
.list-preview input.list-preview__radio:nth-of-type(5):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(5),
.list-preview input.list-preview__radio:nth-of-type(6):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(6),
.list-preview input.list-preview__radio:nth-of-type(7):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(7),
.list-preview input.list-preview__radio:nth-of-type(8):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(8),
.list-preview input.list-preview__radio:nth-of-type(9):checked ~ .list-preview__stage .list-preview__panel:nth-of-type(9) {
  display: block;
}

/* =========================================================================
   관련 문서 카드 그리드 (subpage 하단)
   ========================================================================= */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.related-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-tint); }
.related-card__media img { width: 100%; height: 100%; object-fit: contain; }
.related-card__tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 800; color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 3px 10px;
}
.related-card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.related-card__icon { color: var(--accent-dark); }
.related-card__title { font-size: 15px; line-height: 1.35; font-weight: 700; }
.related-card__title a { color: var(--ink); }
.related-card__desc { color: var(--muted); font-size: 12.5px; line-height: 1.55; min-height: 38px; }
.related-card__cta { font-size: 12.5px; font-weight: 800; color: var(--primary); margin-top: 2px; }

/* =========================================================================
   안내 원칙
   ========================================================================= */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.principles__row {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.principles__num { font-size: 13px; font-weight: 800; color: #fff; background: var(--primary); border-radius: 999px; padding: 3px 10px; flex-shrink: 0; }
.principles__text { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.55; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-row { border-radius: var(--radius-sm); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.faq-row__toggle { display: none; }
.faq-row__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  font-weight: 700; font-size: var(--fs-sm); color: var(--ink);
  cursor: pointer;
}
.faq-row__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint); color: var(--primary);
  border-radius: 50%;
  font-weight: 800;
  transition: var(--transition);
}
.faq-row__a { max-height: 0; overflow: hidden; transition: var(--transition); padding: 0 18px; }
.faq-row__a p { padding-bottom: 0; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; }
.faq-row__toggle:checked ~ .faq-row__a { max-height: 200px; padding-bottom: 16px; }
.faq-row__toggle:checked ~ .faq-row__q .faq-row__icon { background: var(--accent); color: #fff; transform: rotate(45deg); }

/* =========================================================================
   상담 CTA 박스
   ========================================================================= */
.contact-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 28px;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 40px);
  text-align: center;
  color: #fff;
}
.contact-box__title { font-size: var(--fs-lg); font-weight: 800; }
.contact-box__desc { margin-top: 10px; color: rgba(255,255,255,0.75); font-size: var(--fs-sm); max-width: 56ch; margin-left: auto; margin-right: auto; }
.contact-box__phone { margin-top: 14px; font-size: var(--fs-xl); font-weight: 800; letter-spacing: 0.02em; color: var(--accent); }
.contact-box__actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.contact-box .btn--solid { background: var(--accent); color: #fff; }
.contact-box .btn--solid:hover { background: var(--accent-dark); }
.contact-box .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.contact-box .btn--ghost:hover { background: rgba(255,255,255,0.12); }
.contact-box .btn--flat { background: rgba(255,255,255,0.16); color: #fff; }
.contact-box .btn--flat:hover { background: rgba(255,255,255,0.26); }

/* =========================================================================
   하단 좌측 원형 확장 팬 FAB (체크박스 기반, 메인 버튼을 누르면
   구매/문자/전화 아이콘 3개가 위로 부채꼴처럼 펼쳐짐)
   ========================================================================= */
.fan-fab { position: fixed; left: 18px; bottom: 18px; z-index: 78; }
.fan-fab__toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fan-fab__main {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary); color: var(--accent);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  position: relative; z-index: 2;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}
.fan-fab__main-icon { display: flex; transition: transform 0.25s ease; }
.fan-fab__items { position: absolute; left: 0; bottom: 0; width: 56px; z-index: 1; }
.fan-fab__item {
  position: absolute; left: 9px;
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff; color: var(--primary);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  opacity: 0;
  transform: scale(0.4) translateY(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  pointer-events: none;
}
.fan-fab__item:nth-child(1) { transition-delay: 0s; }
.fan-fab__item:nth-child(2) { transition-delay: 0.04s; }
.fan-fab__item:nth-child(3) { transition-delay: 0.08s; }

.fan-fab__toggle:checked ~ .fan-fab__main { transform: rotate(135deg); background: var(--accent); color: #fff; }
.fan-fab__toggle:checked ~ .fan-fab__items .fan-fab__item {
  opacity: 1;
  pointer-events: auto;
}
.fan-fab__toggle:checked ~ .fan-fab__items .fan-fab__item:nth-child(1) { transform: scale(1) translateY(-70px); }
.fan-fab__toggle:checked ~ .fan-fab__items .fan-fab__item:nth-child(2) { transform: scale(1) translateY(-124px); }
.fan-fab__toggle:checked ~ .fan-fab__items .fan-fab__item:nth-child(3) { transform: scale(1) translateY(-178px); }

/* =========================================================================
   3D Perspective Settle: 원근감 있게 기울어진 상태에서 평평하게 자리잡음
   ========================================================================= */
.reveal {
  opacity: 0;
  perspective: 800px;
  transform: perspective(800px) rotateX(-14deg) translateY(24px) scale(0.96);
  transform-origin: top center;
  transition: opacity var(--reveal-duration) var(--reveal-easing),
              transform var(--reveal-duration) var(--reveal-easing);
}
.reveal.is-visible { opacity: 1; transform: perspective(800px) rotateX(0deg) translateY(0) scale(1); }

.related-grid .related-card.reveal:nth-child(1) { transition-delay: 0s; }
.related-grid .related-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.related-grid .related-card.reveal:nth-child(3) { transition-delay: 0.16s; }

/* =========================================================================
   상세 문서 페이지
   ========================================================================= */
.page-main--doc { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 90px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); padding: 12px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

.article { padding: var(--space-section) 0; max-width: 720px; margin: 0 auto; }
.article h2 { font-size: var(--fs-lg); color: var(--ink); font-weight: 800; margin-top: var(--space-component); scroll-margin-top: 90px; padding-left: 14px; border-left: 4px solid var(--accent); }
.article h2:first-child { margin-top: 0; }
.article p { margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-body); line-height: 1.7; }
.article .checklist { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.article .checklist li {
  position: relative; padding-left: 26px; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6;
}
.article .checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-tint); border: 2px solid var(--primary);
}
.data-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: var(--fs-sm); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.data-table th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.data-table td { color: var(--ink-soft); }

/* =========================================================================
   맨 위로 버튼
   ========================================================================= */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 65;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.15s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* =========================================================================
   반응형
   ========================================================================= */
@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .list-preview { grid-template-columns: 1fr; }
  .list-preview__stage { position: static; }
}
@media (max-width: 767px) {
  .site-header { grid-template-columns: auto auto; }
  .site-header__nav { display: none; }
  .hero { flex-direction: column; }
  .site-header__actions .btn--ghost .btn__label { display: none; }
  .site-header__actions .btn--ghost { padding: 10px; }
  .site-header__actions .btn--solid .btn__label { display: none; }
  .site-header__actions .btn--solid { padding: 10px 14px; }
  .site-header__actions .btn__icon-only { display: inline; font-size: 16px; }
  .hero__title { font-size: var(--fs-xl); }
  .related-grid { grid-template-columns: 1fr; }
  .list-preview { grid-template-columns: 1fr; }
  .list-preview__body { padding: 18px; }
  .fan-fab { left: 14px; bottom: 14px; }
  .fan-fab__main { width: 50px; height: 50px; }
  .to-top { bottom: 14px; right: 14px; width: 38px; height: 38px; }
}

/* =========================================================================
   문자상담 팝업 (상담 안내 모달)
   ========================================================================= */
.sms-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(36, 40, 28, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.sms-modal-overlay.is-open { opacity: 1; visibility: visible; }
.sms-modal {
  width: 100%; max-width: 340px;
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.2s ease;
}
.sms-modal-overlay.is-open .sms-modal { transform: translateY(0) scale(1); }
.sms-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--ink);
  border-radius: 50%;
  font-size: 18px; line-height: 1;
  cursor: pointer;
}
.sms-modal__close:hover { background: var(--bg-tint); }
.sms-modal__title { font-size: 19px; font-weight: 800; color: var(--ink); }
.sms-modal__subtitle { margin-top: 6px; color: var(--muted); font-size: 13px; }
.sms-modal__box {
  margin-top: 20px;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.sms-modal__label { font-size: 12px; font-weight: 700; color: var(--primary); }
.sms-modal__phone { margin-top: 4px; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: 0.01em; }
.sms-modal__actions { display: flex; gap: 8px; margin-top: 18px; }
.sms-modal__btn {
  flex: 1;
  padding: 13px 0;
  border-radius: 999px;
  font-weight: 800; font-size: 14px;
  transition: var(--transition);
}
.sms-modal__btn--call { background: var(--ink); color: #fff; }
.sms-modal__btn--call:hover { background: #3a4230; }
.sms-modal__btn--sms { background: var(--accent); color: #fff; }
.sms-modal__btn--sms:hover { background: var(--accent-dark); }
