/* =========================================================================
   cash-mobiles — 모바일캐시 브랜드 16번째 사이트 전용 디자인 시스템
   레이아웃: 핀 라이트박스 갤러리 (Pinterest 스타일 매스너리 사진 그리드,
   카드 높이가 서로 다르게 배치되며 클릭 시 전체화면 라이트박스로 확대)
   컬러: Slate Grey / Coral Rose (2026-09 톤컬러 리뉴얼, 기존 Bottle Green /
   Antique Brass에서 변경)
   컴포넌트: Variable-Height Pin Grid + Fullscreen Lightbox Modal
   인터랙션: Blur-Zoom Reveal (흐릿하고 살짝 확대된 상태에서 초점이 맞으며
   원래 크기로 줄어드는 효과)
   플로팅 상담: 우측 상단 고정 배지 버튼 (누르면 아래로 상담 카드가 펼쳐짐)
   헤더: 로고 좌측 + 햄버거 버튼 우측(클릭 시 9개 링크 그리드가 담긴
   풀폭 메가메뉴 패널이 헤더 아래로 펼쳐짐)
   기존 사이트(이커머스 그리드/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, 리스트-프리뷰 스플릿/Olive Khaki Green·Rust Orange,
   체크리스트 마스너리 카드 그리드/Pine Green·Marigold Yellow)와
   레이아웃 구조·컬러·컴포넌트·인터랙션·플로팅 상담 방식이 전부 겹치지 않도록
   새로 설계했습니다.
   ========================================================================= */

@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;

  /* Slate Grey / Coral Rose 컬러 시스템 */
  --primary: #4a5561;
  --primary-dark: #313943;
  --accent: #e8637a;
  --accent-dark: #c94b63;
  --accent-light: #fbe1e6;
  --success: #3e8f6a;
  --warning: #c98a2c;
  --error: #c9483f;

  --ink: #23282d;
  --ink-soft: #5b636b;
  --muted: #8b939a;
  --line: rgba(74, 85, 97, 0.16);
  --bg: #f7f8f9;
  --bg-soft: #edeff1;
  --bg-tint: #dde2e6;

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

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

  /* Blur-Zoom Reveal 인터랙션 */
  --reveal-duration: 0.65s;
  --reveal-easing: cubic-bezier(0.16, 0.84, 0.44, 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: 82;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(245, 247, 244, 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); }

.menu-trigger {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.menu-trigger:hover { background: var(--bg-soft); }
.menu-trigger__bar {
  width: 20px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-trigger.is-active .menu-trigger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-trigger.is-active .menu-trigger__bar:nth-child(2) { opacity: 0; }
.menu-trigger.is-active .menu-trigger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mega-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 92px clamp(16px, 4vw, 48px) 32px;
  z-index: 81;
  transition: transform 0.28s ease, opacity 0.24s ease, visibility 0.28s ease;
  max-height: 100vh;
  overflow-y: auto;
}
.mega-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}
.mega-menu__grid a {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  transition: var(--transition);
}
.mega-menu__grid a:hover { background: var(--bg-tint); color: var(--primary); }
.mega-menu__contact {
  max-width: 900px;
  margin: 22px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

.header__phone {
  font-size: 13px; font-weight: 800; color: var(--primary);
  background: var(--accent-light);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
}
.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: #c7ced3; }
.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;
}

/* =========================================================================
   히어로 배너
   ========================================================================= */
.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; }

/* =========================================================================
   핀 라이트박스 갤러리 (Pinterest형 매스너리 그리드, 클릭 시 라이트박스 오픈)
   ========================================================================= */
.pin-grid {
  columns: 3 260px;
  column-gap: 16px;
}
.pin-grid__item {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 16px;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-tint);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pin-grid__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pin-grid__item img {
  width: 100%;
  height: var(--pin-h, 280px);
  object-fit: cover;
  display: block;
}
.pin-grid__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(49, 57, 67, 0.88), rgba(49, 57, 67, 0));
  color: #fff;
  text-align: left;
}
.pin-grid__icon {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--accent); color: var(--primary-dark);
  border-radius: 8px;
}
.pin-grid__title { font-size: 13.5px; font-weight: 800; line-height: 1.35; }

/* =========================================================================
   관련 문서 카드 그리드 (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: var(--primary-dark); 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: var(--primary-dark); }
.contact-box .btn--solid:hover { background: var(--accent-dark); color: #fff; }
.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); }

/* =========================================================================
   우측 상단 고정 배지 (클릭 시 아래로 상담 카드 패널 펼침)
   ========================================================================= */
.top-badge {
  position: fixed; top: 84px; right: 20px;
  z-index: 78;
}
.top-badge__trigger {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}
.top-badge__trigger:hover { background: var(--primary-dark); }
.top-badge__icon { display: flex; align-items: center; justify-content: center; }
.top-badge__panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 220px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.top-badge__panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.top-badge__title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.top-badge__link {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
  transition: var(--transition);
}
.top-badge__link:hover { background: var(--bg-soft); color: var(--primary); }

/* =========================================================================
   전체화면 라이트박스 모달
   ========================================================================= */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(49, 57, 67, 0.92);
  z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox__body {
  display: flex; align-items: center; gap: 28px;
  max-width: 960px;
  width: 100%;
  max-height: 88vh;
}
.lightbox__media {
  flex: 1 1 55%;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-tint);
}
.lightbox__media img { width: 100%; height: 100%; max-height: 76vh; object-fit: contain; }
.lightbox__info {
  flex: 1 1 35%;
  min-width: 220px;
  color: #fff;
}
.lightbox__info-title { font-size: var(--fs-lg); font-weight: 800; }
.lightbox__info-desc { margin-top: 12px; color: rgba(255,255,255,0.75); font-size: var(--fs-sm); line-height: 1.6; }
.lightbox__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 800;
  transition: var(--transition);
}
.lightbox__cta:hover { background: var(--accent-dark); color: #fff; }
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }

/* =========================================================================
   Blur-Zoom Reveal: 흐릿하고 확대된 상태에서 초점이 맞으며 원래 크기로
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(10px);
  transition: opacity var(--reveal-duration) var(--reveal-easing),
              transform var(--reveal-duration) var(--reveal-easing),
              filter var(--reveal-duration) var(--reveal-easing);
}
.reveal.is-visible { opacity: 1; transform: scale(1); filter: blur(0); }

.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; }

.pin-grid .pin-grid__item.reveal:nth-child(3n+1) { transition-delay: 0s; }
.pin-grid .pin-grid__item.reveal:nth-child(3n+2) { transition-delay: 0.06s; }
.pin-grid .pin-grid__item.reveal:nth-child(3n+3) { transition-delay: 0.12s; }

/* =========================================================================
   상세 문서 페이지
   ========================================================================= */
.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); }
  .pin-grid { columns: 2 220px; }
  .mega-menu__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hero { flex-direction: column; }
  .hero__title { font-size: var(--fs-xl); }
  .related-grid { grid-template-columns: 1fr; }
  .pin-grid { columns: 1; }
  .mega-menu { padding-top: 82px; }
  .mega-menu__grid { grid-template-columns: 1fr; }
  .mega-menu__contact { flex-direction: column; align-items: stretch; }
  .mega-menu__contact .btn__label,
  .mega-menu__contact .header__phone { text-align: center; }
  .top-badge { top: auto; bottom: 14px; right: 14px; }
  .top-badge__trigger span:last-child { display: none; }
  .top-badge__trigger { padding: 12px; border-radius: 50%; }
  .top-badge__panel { top: auto; bottom: calc(100% + 10px); right: 0; }
  .lightbox__body { flex-direction: column; overflow-y: auto; max-height: 88vh; }
  .lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .to-top { bottom: 14px; right: 14px; width: 38px; height: 38px; }
}

/* =========================================================================
   문자상담 팝업 (상담 안내 모달)
   ========================================================================= */
.sms-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(49, 57, 67, 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: #171b1e; }
.sms-modal__btn--sms { background: var(--accent); color: var(--primary-dark); }
.sms-modal__btn--sms:hover { background: var(--accent-dark); color: #fff; }
