/* ==========================================================================
   VoyaSM Design System
   ========================================================================== */

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

:root {
  /* Brand */
  --accent: #7c5cff;
  --accent-soft: #ece7ff;
  --accent-soft-2: #f4f1ff;
  --accent-ink: #2a1f7a;

  /* Neutrals (warm-cool neutral) */
  --ink-900: #0d0d12;
  --ink-800: #17171f;
  --ink-700: #2a2a35;
  --ink-600: #3f3f4e;
  --ink-500: #5a5a68;
  --ink-400: #8a8a96;
  --ink-300: #b8b8c2;
  --ink-200: #e4e4ea;
  --ink-100: #f2f2f5;
  --ink-50:  #f8f8fa;
  --bg:       #ffffff;

  /* Type */
  --font-sans: 'Pretendard', 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Manrope', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(13,13,18,.04), 0 1px 1px rgba(13,13,18,.03);
  --shadow:    0 8px 24px rgba(13,13,18,.06), 0 2px 6px rgba(13,13,18,.04);
  --shadow-lg: 0 20px 60px rgba(13,13,18,.10), 0 6px 16px rgba(13,13,18,.06);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
/* 전화번호 링크는 어디서든 호버 시 브랜드 보라색으로 바뀌어 '눌러서 바로 전화 가능'하다는 게
   시각적으로 드러나도록 함 (모바일에서는 호버가 없지만, 탭 시에도 :hover 스타일이 잠깐 적용됨) */
a[href^="tel:"] { transition: color .15s ease; }
a[href^="tel:"]:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
}
.section {
  padding: 120px 0;
}
.section-tight { padding: 80px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink-900);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.4vw, 72px); }
h2 { font-size: clamp(32px, 3.8vw, 52px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
h4 { font-size: 18px; }

p { margin: 0; color: var(--ink-700); text-wrap: pretty; }
.muted { color: var(--ink-500); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(124,92,255,.32);
}
.btn-primary:hover { background: #6a4afc; transform: translateY(-1px); }
.btn-dark {
  background: var(--ink-900);
  color: white;
}
.btn-dark:hover { background: var(--ink-800); transform: translateY(-1px); }
.btn-ghost {
  background: white;
  color: var(--ink-900);
  border: 1px solid var(--ink-200);
}
.btn-ghost:hover { border-color: var(--ink-300); }
.btn-arrow::after { content: '↗'; font-weight: 500; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(13,13,18,.05);
}
.site-header-pill {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo img { height: 40px; width: auto; display: block; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.logo-accent { color: var(--accent); }
.logo-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 4px;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
}
.nav a:hover { color: var(--ink-900); }
.nav a.active { color: var(--accent); }

/* Floating CTA */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(124,92,255,.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.floating-cta:hover { background: #6a4afc; }

/* === Consultation Modal === */
.floating-cta {
  cursor: pointer;
  border: none;
  font-family: inherit;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.consult-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,18,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.45) transparent;
}
.consult-overlay::-webkit-scrollbar { width: 8px; }
.consult-overlay::-webkit-scrollbar-track { background: transparent; margin: 16px 0; }
.consult-overlay::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,.45);
  border-radius: 999px;
}
.consult-overlay::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,.65); }
.consult-overlay.open {
  opacity: 1;
  visibility: visible;
}
.consult-modal {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  padding: 48px 48px 40px;
  box-shadow: 0 40px 100px rgba(13,13,18,.30);
  transform: translateY(20px);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.consult-overlay.open .consult-modal { transform: translateY(0); }

.consult-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none;
  background: var(--ink-100);
  border-radius: 999px;
  font-size: 18px;
  color: var(--ink-700);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.consult-close:hover { background: var(--ink-200); }

.consult-head { margin-bottom: 28px; }
.consult-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.consult-head h2 { font-size: 30px; margin: 0 0 12px; }
.consult-head p { font-size: 14px; color: var(--ink-500); margin: 0; }

/* 상담 모달 견적 컨텍스트 블록 (RND-4348 유형2 — 견적서 확인하기 이후 상담 신청 시에만 노출) */
.consult-quote-context {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
}
.consult-quote-context-note { font-size: 12.5px; color: var(--ink-500); margin: 0 0 8px; }
.consult-quote-context-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.consult-quote-context-plan { font-size: 14px; font-weight: 600; color: var(--ink-700); }
.consult-quote-context-amount { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.consult-quote-context-amount small { font-weight: 500; color: var(--ink-500); }
.consult-quote-context-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.consult-quote-context-link,
.consult-quote-context-redo {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.consult-quote-context-link:hover,
.consult-quote-context-redo:hover { text-decoration: underline; }
/* '삭제(첨부 해제)'는 실수로 누르지 않도록 가장 약한 톤으로 오른쪽에 분리해 배치 */
.consult-quote-context-remove {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-400);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.consult-quote-context-remove:hover { color: var(--ink-500); text-decoration: underline; }

.consult-form { display: flex; flex-direction: column; gap: 16px; }
.consult-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consult-form .field { display: flex; flex-direction: column; }
.consult-form .label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.consult-form .label .req { color: var(--accent); }

.consult-agree {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-700);
  margin-top: 4px;
  cursor: pointer;
}
.consult-agree input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }

.consult-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.consult-actions .btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
}
.consult-actions .btn-ghost {
  border: 1px solid var(--ink-200);
}

@media (max-width: 600px) {
  .consult-modal { padding: 40px 24px 28px; }
  .consult-row { grid-template-columns: 1fr; }
  .consult-actions { flex-direction: column; }
}

/* 견적 미리보기 팝업 (상담 신청 팝업 ↔ 팝업 전환) */
.quote-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,18,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.quote-overlay.open { opacity: 1; visibility: visible; }
.quote-modal {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform .25s ease;
}
.quote-overlay.open .quote-modal { transform: translateY(0); }
.quote-modal-scroll {
  max-height: 88vh;
  overflow-y: auto;
  padding: 48px 48px 40px;
}
/* 팝업 내부 스크롤바 — 기본 브라우저 스크롤바는 각지고 두꺼워서 둥근 모달 모서리와 부딪혀 보인다.
   얇고 끝이 둥근 바를 위아래로 살짝 띄워서(트랙에 margin) 모달 안에 자연스럽게 들어와 있는 느낌을 준다. */
.quote-modal-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--ink-300) transparent;
}
.quote-modal-scroll::-webkit-scrollbar { width: 8px; }
/* .quote-modal의 border-radius(--radius-xl: 32px)보다 살짝 더 큰 여백을 둬야 스크롤을 끝까지
   내려도 막대가 둥근 모서리 구간에 걸쳐 밖으로 삐져나오지 않는다. */
.quote-modal-scroll::-webkit-scrollbar-track { background: transparent; margin: 36px 0; }
.quote-modal-scroll::-webkit-scrollbar-thumb {
  background-color: var(--ink-300);
  border-radius: 999px;
  border: 2px solid white;
  background-clip: padding-box;
}
.quote-modal-scroll::-webkit-scrollbar-thumb:hover { background-color: var(--ink-400); }

/* 메인/솔루션 페이지의 '자세히 보기' 상세 팝업(ui_kits/solution/SolutionDemo.jsx의 Modal,
   rounded-3xl=24px) 내부 스크롤바 — 이 컴포넌트는 index.html/solution.html 둘 다에서 쓰이므로
   두 페이지에 공통으로 로드되는 이 파일(style.css)에 둔다. */
.sol-modal-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--ink-300) transparent;
}
.sol-modal-scroll::-webkit-scrollbar { width: 8px; }
.sol-modal-scroll::-webkit-scrollbar-track { background: transparent; margin: 28px 0; }
.sol-modal-scroll::-webkit-scrollbar-thumb {
  background-color: var(--ink-300);
  border-radius: 999px;
  border: 2px solid white;
  background-clip: padding-box;
}
.sol-modal-scroll::-webkit-scrollbar-thumb:hover { background-color: var(--ink-400); }

.quote-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none;
  background: var(--ink-50);
  border-radius: 50%;
  font-size: 20px;
  color: var(--ink-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-close:hover { background: var(--ink-100); }

/* 기본형/고급형/프리미엄형처럼 같은 서비스의 등급을 라벨 옆 색깔 뱃지로 구분해서 보여준다. */
.quote-tier-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: 1px;
  white-space: nowrap;
}
.quote-tier-basic { background: var(--ink-100); color: var(--ink-600); }
.quote-tier-pro { background: var(--accent-soft); color: var(--accent-ink); }
.quote-tier-premium { background: var(--ink-900); color: #fff; }

/* 견적 미리보기 팝업 상단 — 숙소 규모(객실 수/부대시설 수)를 먼저 입력받아야 아래 스테퍼로
   객실/부대시설 초과 비용을 계산해 볼 수 있다. RND-4348(DL-3): 개인정보(숙소명·연락처)는
   견적 단계에서 받지 않으므로 이 영역엔 규모 입력만 남는다. */
.quote-stay-info {
  margin-bottom: 24px;
  padding: 20px 22px 22px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  border-bottom: 2px solid var(--ink-200);
}
.quote-stay-info .field { display: flex; flex-direction: column; }
.quote-stay-info .label { font-size: 13px; font-weight: 500; color: var(--ink-700); margin-bottom: 6px; }

/* 객실 수 / 부대시설 수 — label + .input 스타일로 통일해 숫자를 직접 타이핑해 넣는다.
   숙소 규모를 먼저 입력받아 아래 '제작 기준'과 견적 요약에 곧바로 반영되게 한다. */
.quote-stay-row { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.quote-stay-scale { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 200px; }
.quote-stay-num-field { flex: 1; min-width: 92px; }
.quote-stay-num-field .input {
  -moz-appearance: textfield;
}
.quote-stay-num-field .input::-webkit-outer-spin-button,
.quote-stay-num-field .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

@media (max-width: 600px) {
  .quote-stay-row { flex-direction: column; gap: 16px; }
  .quote-stay-scale { width: 100%; }
}

.quote-plan-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; padding-top: 12px; }
.quote-plan-card {
  border: 2px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  background: white;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  text-align: center;
}
.quote-plan-card:hover { border-color: var(--accent-soft); box-shadow: 0 4px 16px rgba(124,92,255,.12); }
.quote-plan-card.active {
  border-color: var(--accent);
  background: var(--accent-soft-2);
  box-shadow: 0 0 0 4px rgba(124,92,255,.15);
}
.qpc-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.qpc-hot { background: var(--accent); color: white; font-size: 9px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; display: inline-block; font-family: var(--font-mono); }
.qpc-name { font-size: 15px; font-weight: 800; color: var(--ink-900); margin-bottom: 6px; }
.qpc-build { font-size: 19px; font-weight: 800; color: var(--ink-900); font-family: var(--font-display); }
.qpc-build span { font-size: 12px; font-weight: 600; color: var(--ink-500); }
.qpc-monthly { font-size: 12px; color: var(--ink-500); margin-top: 4px; }
.qpc-cap { font-size: 11px; color: var(--ink-400); margin-top: 6px; }
.quote-plan-card.active .qpc-name { color: var(--accent-ink); }

.qpc-summary { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ink-200); text-align: left; }
.qpc-sum-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 0; }
.qpc-sum-label { font-size: 11px; color: var(--ink-500); }
/* O(원) 글자와 🔒 이모지는 글자 자체의 시각적 크기·여백이 서로 달라 같은 자리에 두면
   미묘하게 어긋나 보인다 — 값 칸의 너비를 고정하고 그 안에서 가운데 정렬해 두 표시가
   세로로 정확히 같은 위치에 오도록 맞춘다. */
.qpc-sum-val { font-size: 11px; font-weight: 800; font-family: var(--font-mono); min-width: 18px; display: inline-flex; align-items: center; justify-content: center; }
.qpc-sum-val.is-o { color: var(--accent); }
.qpc-sum-val.is-x { color: var(--ink-400); }
.qpc-sum-val.qpc-sum-text { color: var(--ink-700); font-family: inherit; font-weight: 700; }
.qpc-sum-lock { font-size: 11px; opacity: .55; filter: grayscale(1); display: inline-flex; }
.qpc-sum-label .quote-tip { margin-left: 2px; }
.qpc-sum-label .quote-tip-bubble { text-align: left; }

.quote-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.quote-options-label { font-size: 13px; font-weight: 700; color: var(--ink-700); margin-bottom: 14px; }
.quote-empty { font-size: 13px; color: var(--ink-500); background: var(--ink-50); border-radius: 12px; padding: 20px; }

/* 견적 계산기 — 제작안내 '플랜 상세 비교'(cm-group/cm-row)와 동일한 톤의 비교 리스트.
   .quote-cmp-group 헤더는 <button>이라 PC에서도 그대로 쓰이지만, 아코디언으로 접고 펼치는
   동작은 모바일 전용(@media max-width:680px)이라 PC에서는 화살표도 안 보이고 항상 펼쳐진
   기존 모습 그대로 고정된다. */
.quote-cmp-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: white;
  text-transform: uppercase;
  background: var(--ink-800);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  margin: 18px 0 4px;
  text-align: left;
}
.quote-cmp-group:first-child { margin-top: 0; }
.quote-cmp-group-chevron { display: none; font-size: 11px; color: rgba(255,255,255,.7); transition: transform .2s ease; flex-shrink: 0; }
.quote-cmp-group-chevron.is-open { transform: rotate(180deg); }
.quote-cmp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--ink-100);
  font-size: 13px;
}
.quote-cmp-row:last-child { border-bottom: none; }
.quote-cmp-label { color: var(--ink-700); font-weight: 500; flex: 1; }
.quote-cmp-val { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.quote-cmp-o { color: var(--accent); font-weight: 700; font-size: 15px; }
.quote-cmp-row-soon { opacity: .6; }
.quote-cmp-info { color: var(--ink-500); font-size: 12px; font-weight: 600; text-align: right; max-width: 220px; white-space: normal; line-height: 1.4; }

/* 전문 용어 ⓘ 툴팁 — 아이콘에 마우스를 올리거나(호버) 탭/포커스하면 짧은 설명 말풍선이 뜬다 */
.quote-tip { position: relative; display: inline-flex; margin-left: 3px; outline: none; }
.quote-tip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  border-radius: 50%;
  font-size: 10.5px; font-weight: 700; line-height: 1;
  color: var(--ink-400);
  background: var(--ink-100);
  cursor: help;
}
.quote-tip-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  /* 아이콘이 라벨 바로 옆(카드/행의 왼쪽 편)에 있어 가운데 정렬(translateX(-50%))로 두면
     화면 왼쪽 경계를 넘어가 잘리는 경우가 있다 — 아이콘 위치를 기준으로 오른쪽으로만
     펼쳐지도록 좌측 정렬로 고정한다. */
  left: 0;
  transform: translateY(4px);
  width: max-content;
  max-width: 200px;
  background: var(--ink-900);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  padding: 9px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(13,13,18,.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 20;
}
.quote-tip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 10px;
  border: 5px solid transparent;
  border-top-color: var(--ink-900);
}
.quote-tip:hover .quote-tip-bubble,
.quote-tip:focus .quote-tip-bubble,
.quote-tip:focus-within .quote-tip-bubble {
  opacity: 1;
  transform: translateY(0);
}

/* 미지원 항목 — 잠긴 기능이라는 뜻의 자물쇠 표시. 클릭해도 바뀌지 않는 정적인 표시 */
.quote-cmp-lock { font-size: 12px; opacity: .55; filter: grayscale(1); }

/* 플랜 무관(멀티 홈페이지 허브, 판매채널 리뷰 연동처럼 플랜과 상관없이 신청 가능한) 항목에 붙는 작은 안내 태그 */
.quote-cmp-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-400);
  background: var(--ink-100);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 4px;
  white-space: nowrap;
}

/* 구매 가능한 옵션('별도 문의' 포함) — 진짜 체크박스(빈 네모 → 체크)로 견적에 추가/제외.
   선택 여부는 체크박스 자체(빈 네모 → 보라색 체크)로만 표시하고, 행 배경은 강조하지 않는다. */
.quote-cmp-row-buy { cursor: pointer; border-radius: 8px; }
.quote-cmp-row-buy:hover { background: var(--ink-50); }
.quote-cmp-price { font-size: 12px; color: var(--ink-500); font-weight: 600; white-space: nowrap; }
.quote-cmp-checkbox { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; }
.quote-cmp-checkbox-input {
  position: absolute; inset: 0; margin: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 1;
}
.quote-cmp-checkbox-box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--ink-300);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease;
  pointer-events: none;
}
.quote-cmp-checkbox-box::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity .1s ease;
}
.quote-cmp-checkbox-input:hover ~ .quote-cmp-checkbox-box { border-color: var(--accent); }
.quote-cmp-checkbox-input:checked ~ .quote-cmp-checkbox-box { background: var(--accent); border-color: var(--accent); }
.quote-cmp-checkbox-input:checked ~ .quote-cmp-checkbox-box::after { opacity: 1; }

.quote-summary { background: var(--ink-50); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 0; }

/* '○○ 플랜 견적' 영역 — 아래 '최종 견적 금액' 카드와 배경이 뚜렷이 나뉘도록 흰 카드로 감쌈 */
.quote-summary-title { font-size: 14px; font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.quote-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-700);
  padding: 6px 0;
}
.quote-summary-divider { height: 1px; background: var(--ink-200); margin: 12px 0; }

/* 청구 주기별 그룹 카드 (1회성 / 매월) — 아래 '최종 견적 금액' 카드와 동일한 톤(흰 배경 +
   옅은 보더 + 필 라벨)으로 맞춰서 두 카드가 한 세트처럼 보이게 정리한다(FR-08). */
.quote-group {
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  margin-bottom: 16px;
  padding: 16px 20px;
  background: #fff;
}
.quote-group:last-of-type { margin-bottom: 0; }
.quote-group-head {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.quote-group-body { }
.quote-group-body .quote-summary-row { padding: 7px 0; border-bottom: 1px solid var(--ink-100); }
.quote-group-body .quote-summary-row:last-child { border-bottom: none; }
.quote-group-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 10px; margin-top: 4px;
  border-top: 1px solid var(--ink-100);
  font-size: 12.5px; font-weight: 500; color: var(--ink-500);
}
.quote-group-subtotal strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--accent); }
.quote-group-subtotal strong small { font-size: 12px; font-weight: 700; margin-left: 1px; }

/* 최종 견적 금액 — 그룹 소계 아래, 두 금액(1회성/매월)을 합쳐 보여주는 결론 박스. 그룹 카드와
   구분되도록 어두운 배지 라벨 + 큰 서체로 강조한다. */
.quote-final-total {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 16px;
}
.quote-final-label {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--ink-900);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.quote-final-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; }
.quote-final-row + .quote-final-row { border-top: 1px solid var(--ink-100); }
.quote-final-row span { font-size: 12.5px; font-weight: 500; color: var(--ink-500); }
.quote-final-row strong {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 800; letter-spacing: -.01em;
  color: var(--ink-900); white-space: nowrap;
}
.quote-final-row:last-child strong { color: var(--accent); }
.quote-final-row strong small { font-size: 12px; font-weight: 500; margin-left: 3px; }

.quote-summary-note { font-size: 11.5px; color: var(--ink-500); margin-top: 12px; line-height: 1.5; }

/* 솔루션 기능(AI SEO/AI 컨시어지/스마트 배치도/멀티 홈페이지 허브 등) 중 0원 포함 항목 —
   숙소 운영에 실제로 영향을 주는 핵심 기능이라 아래 '기본 포함 혜택' 아코디언에 묶지 않고
   개별 카드로 눈에 띄게 보여준다. */
.quote-included-feature-row {
  display: flex;
  justify-content: space-between;
  background: var(--accent-soft-2);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-ink);
  margin-bottom: 6px;
}

/* 촬영/보정/디자인 0원 항목 — 왼쪽 옵션 목록에 이미 체크로 나와 있는 '기본 포함' 항목이라
   접었다 펼 수 있는 아코디언 하나로 묶어서 요약 카드가 불필요하게 길어지지 않게 한다. */
.quote-included-accordion {
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 12px;
}
.quote-included-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
  text-align: left;
}
.quote-included-toggle-label { display: flex; align-items: center; gap: 8px; }
.quote-included-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  flex-shrink: 0;
}
.quote-included-chevron { font-size: 11px; color: var(--ink-500); transition: transform .2s ease; }
.quote-included-chevron.is-open { transform: rotate(180deg); }
.quote-included-toggle:has(+ .quote-included-body:not([hidden])) { border-bottom: 1px solid var(--ink-100); }
.quote-included-body { padding: 4px 14px 10px; }
.quote-included-body[hidden] { display: none; }
.quote-included-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-400);
  padding: 6px 0;
  border-bottom: 1px solid var(--ink-100);
}
.quote-included-row:last-child { border-bottom: none; }

/* '상위 플랜이 더 유리합니다' 안내 — 견적 미리보기 팝업 안에 떠 있는 작은 토스트형 팝업
   (팝업 안의 팝업)으로 보여준다. 실제 폼 내용은 .quote-modal-scroll에서만 스크롤되고,
   .quote-modal 자신은 스크롤되지 않는 고정 박스(overflow: hidden)이므로, 이 팝업을
   .quote-modal의 직계 자식으로 두고 position: absolute로 하단에 고정하면 — 내부를
   아무리 스크롤해도 화면에 보이는 모달 박스 하단에 항상 그대로 떠 있고, 모달 밖으로도
   나가지 않는다. */
.quote-upgrade-popup {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(10px);
  margin: 0 auto;
  z-index: 5;
  width: calc(100% - 64px);
  max-width: 460px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.quote-overlay.open .quote-upgrade-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.quote-upgrade-popup-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--ink-900);
  color: white;
  border-radius: var(--radius-lg);
  padding: 16px 42px 16px 18px;
  box-shadow: 0 16px 40px rgba(13,13,18,.32);
  font-size: 13px;
  line-height: 1.6;
}
.quote-upgrade-popup-card strong { color: #fff; }
.quote-upgrade-popup-icon { font-size: 16px; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.quote-upgrade-popup-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border: none;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  color: white;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-upgrade-popup-close:hover { background: rgba(255,255,255,.24); }

@media (max-width: 600px) {
  .quote-upgrade-popup { bottom: 16px; }
}

/* flex-wrap: 저장 실패 안내(.quote-consult-fail)가 이 flex 행에 append될 때
   버튼 오른쪽에 끼지 않고 자기 줄(전체 폭)로 내려가게 한다 (RND-4357 리뷰#5). */
.quote-actions { margin-top: 28px; flex-wrap: wrap; }

/* 견적 계산기 — 객실 수 스테퍼(비교 리스트의 cm-row와 같은 톤) */
.quote-room-wrap { margin-bottom: 4px; }
.quote-room-stepper { display: flex; align-items: center; gap: 12px; }
.qr-btn {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink-300);
  background: white;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s ease;
}
.qr-btn:hover { background: var(--ink-50); border-color: var(--ink-500); }
.qr-value { font-size: 14px; font-weight: 700; color: var(--ink-900); min-width: 40px; text-align: center; }

/* 다음 플랜 기준(cap)에 도달해 더 이상 늘릴 수 없는 상태 — 회색으로 눌러서 '막혀 있음'을 표시 */
.qr-btn.qr-btn-max {
  border-color: var(--ink-100);
  background: var(--ink-50);
  color: var(--ink-300);
  cursor: not-allowed;
}
.qr-btn.qr-btn-max:hover { background: var(--ink-50); border-color: var(--ink-100); }

/* 견적 계산기 — 출시예정 옵션 */
.quote-opt-comingsoon { opacity: .6; }
.quote-tag-comingsoon {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-500);
  background: var(--ink-50);
  border-radius: 999px;
  padding: 3px 10px;
  font-style: italic;
}

/* 견적 계산기 — 우측 합계, 1회성/매월 금액 색상 구분 (좌측 옵션 태그와 동일 팔레트 재사용) */
.quote-row-one span:last-child { color: var(--ink-600); font-weight: 700; }
.quote-row-month span:last-child { color: var(--accent-ink); font-weight: 700; }

@media (max-width: 680px) {
  .quote-modal-scroll { padding: 40px 24px 28px; }
  .quote-plan-cards { grid-template-columns: repeat(2, 1fr); }
  .quote-body { grid-template-columns: 1fr; }
  /* 비용 견적(quote-summary)을 옵션 선택 화면(quote-options)보다 아래로 — 모바일에서는
     플랜을 고르고 옵션을 선택하는 화면을 먼저 보여준 다음 맨 아래에서 견적을 확인하는 흐름이
     자연스럽다. PC에서는 이 순서를 건드리지 않는다(원래 2단 레이아웃 그대로). */
  .quote-summary { position: static; margin-bottom: 8px; }

  /* 플랜 카드 아래 섹션(노출 및 등록 기준/촬영·보정·디자인 옵션/솔루션 기능)을 아코디언으로
     접었다 펼 수 있게 해서, 한 화면에 더 많은 항목의 제목이 한 번에 보이게 한다. */
  .quote-cmp-group-toggle { cursor: pointer; }
  .quote-cmp-group-chevron { display: inline-block; }
  .quote-cmp-group-body.is-collapsed { display: none; }

  .quote-actions { flex-direction: column; }
}

/* Form inline notice */
.form-notice {
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: form-notice-in .2s ease;
}
.form-notice.error {
  background: #fff1f1;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.form-notice.warning {
  background: var(--accent-soft-2);
  color: var(--accent-ink);
  border: 1px solid var(--accent-soft);
}
@keyframes form-notice-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 견적서 저장 성공 배너 (견적 미리보기 팝업 내부) */
.quote-save-result {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #ecfdf3;
  border: 1px solid #a7f3cf;
  animation: form-notice-in .2s ease;
}
.quote-save-result-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: #12b76a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-save-result-body { display: flex; flex-direction: column; gap: 3px; }
.quote-save-result-body strong { font-size: 13.5px; color: #05603a; }
.quote-save-result-no { font-size: 12px; color: var(--ink-500); }
.quote-save-result-link {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  width: fit-content;
}
.quote-save-result-link:hover { text-decoration: underline; }
.quote-save-result-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.quote-save-result-actions .quote-save-result-link { margin-top: 0; }
.quote-save-result-copy {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 3px 10px;
  cursor: pointer;
}
.quote-save-result-copy:hover { background: var(--accent); color: #fff; }

/* 상담 신청 전 견적 저장 실패 안내 — 재시도/견적 없이 진행 선택 (RND-4357 리뷰#5) */
.quote-consult-fail {
  flex-basis: 100%;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fff1f1;
  border: 1px solid #fecaca;
  animation: form-notice-in .2s ease;
}
.quote-consult-fail-msg { font-size: 13px; font-weight: 500; color: #b91c1c; line-height: 1.5; }
.quote-consult-fail-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote-consult-fail-actions button {
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
}
.quote-consult-fail-retry { color: #fff; background: var(--accent); border: 1px solid var(--accent); }
.quote-consult-fail-retry:hover { background: var(--accent-ink, var(--accent)); }
.quote-consult-fail-continue { color: var(--ink-500); background: #fff; border: 1px solid var(--ink-300); }
.quote-consult-fail-continue:hover { border-color: var(--ink-500); }

/* Success state inside modal */
.consult-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0 8px;
  gap: 20px;
  animation: form-notice-in .25s ease;
}
.consult-success-icon {
  width: 64px; height: 64px;
  background: var(--accent-soft);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}
.consult-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.consult-success p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.7;
}
.consult-success .btn { margin-top: 4px; min-width: 160px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--ink-200);
  padding: 80px 0 32px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand p {
  color: var(--ink-500);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink-500);
}
.footer-col a:hover { color: var(--ink-900); }
.footer-col a[href^="tel:"]:hover { color: var(--accent); }
.footer-newsletter input {
  flex: 1;
  border: 1px solid var(--ink-200);
  background: var(--ink-50);
  border-radius: 999px;
  padding: 10px 16px;
  outline: none;
  font-size: 14px;
}
.footer-newsletter input:focus { border-color: var(--accent); background: white; }
.footer-newsletter form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.footer-newsletter button {
  background: var(--accent);
  color: white;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
}
.footer-bigmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 22vw, 280px);
  color: var(--ink-100);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0;
  user-select: none;
  pointer-events: none;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--ink-200);
  font-size: 12px;
  color: var(--ink-400);
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-700);
  font-size: 14px;
}
.footer-socials a:hover { background: var(--ink-200); }

/* Hero */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}
.hero h1 {
  margin: 24px auto 24px;
  max-width: 14ch;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}
.hero p.lead {
  max-width: 56ch;
  margin: 0 auto 32px;
  color: var(--ink-500);
  font-size: 17px;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover {
  border-color: var(--ink-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
/* Pricing 카드 — hover 시 위로 움직임 없이 배경색만 변경 */
.pricing-grid .price-card,
.pricing-grid .price-card.lift {
  transform: none !important;
}
.pricing-grid .price-card:hover,
.pricing-grid .price-card.lift:hover {
  transform: none !important;
  box-shadow: none;
}

.card-soft {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.card-accent {
  background: linear-gradient(160deg, #8d6dff 0%, #6a4afc 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px;
}
.card-accent h3, .card-accent p { color: white; }
.card-accent p { opacity: .85; }

/* Stripe placeholder */
.placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      var(--ink-100) 0 14px,
      var(--ink-50) 14px 28px);
  border: 1px solid var(--ink-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-400);
  aspect-ratio: 16/10;
  text-align: center;
}
.placeholder.tall { aspect-ratio: 3/4; }
.placeholder.wide { aspect-ratio: 16/9; }
.placeholder.square { aspect-ratio: 1/1; }
.placeholder.accent {
  background:
    repeating-linear-gradient(135deg,
      var(--accent-soft) 0 14px,
      var(--accent-soft-2) 14px 28px);
  border-color: #d8cfff;
  color: var(--accent-ink);
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header .eyebrow { display: inline-block; margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--ink-500); }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--ink-50);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.stat-card .label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 32px;
}
.stat-card .value {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .desc {
  color: var(--ink-500);
  font-size: 13px;
}

/* Logo strip */
.logo-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.logo-strip .strip-logo {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-400);
  font-size: 20px;
  letter-spacing: -0.02em;
  opacity: .8;
}

/* Pill / tag */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--ink-200);
  font-size: 12px;
  color: var(--ink-700);
  font-weight: 500;
}
.pill-accent {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: transparent;
}
.pill-dark {
  background: var(--ink-900);
  color: white;
  border-color: var(--ink-900);
}

/* Marquee/feature panel */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-panel {
  background: var(--ink-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.feature-panel h3 { margin-bottom: 12px; }
.feature-panel p { color: var(--ink-500); margin-bottom: auto; }
.feature-panel-visual {
  margin-top: 32px;
}

/* FAQ accordion */
.faq-list {
  border-top: 1px solid var(--ink-200);
}
.faq-item {
  border-bottom: 1px solid var(--ink-200);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900);
  gap: 16px;
}
.faq-q .icon {
  flex: none;
  width: 20px; height: 20px;
  position: relative;
  transition: transform .25s ease;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: '';
  position: absolute;
  background: var(--ink-700);
  inset: 0;
  margin: auto;
}
.faq-q .icon::before { width: 14px; height: 1.5px; }
.faq-q .icon::after { width: 1.5px; height: 14px; transition: opacity .25s ease; }
.faq-item.open .faq-q .icon::after { opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--ink-500);
  font-size: 15px;
}
.faq-a-inner { padding: 0 0 24px; max-width: 70ch; }
.faq-item.open .faq-a { max-height: 240px; }

/* CTA Band */
.cta-band {
  text-align: center;
  padding: 100px 0;
}
.cta-band h2 { margin-bottom: 24px; }

/* Forms */
.input, .textarea {
  width: 100%;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
  color: var(--ink-900);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus, .textarea:focus { border-color: var(--accent); background: white; }
.textarea { min-height: 160px; resize: vertical; }
.label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.label .req { color: var(--accent); }

/* ==========================================================================
   Features Section (핵심 솔루션 및 기능)
   Used in: index.html (FEATURES section), solution.html (02 Features)
   ========================================================================== */

/* Sol Hero (solution.html) — gradient background variant */
.sol-hero {
  text-align: center;
  padding: 100px 0 56px;
  background: linear-gradient(160deg, #ede9ff 0%, #f5f3ff 40%, #ffffff 70%);
  position: relative;
  overflow: hidden;
}
.sol-hero .hero-glow {
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(124,92,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.sol-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  max-width: 16ch; margin: 16px auto 0; line-height: 1.1;
}
.sol-hero h1 .accent { color: var(--accent); }
.sol-hero p.lead {
  max-width: 52ch; margin: 24px auto 0;
  color: var(--ink-500); font-size: 17px; line-height: 1.6;
}

/* Sol Tabs */
.sol-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin: 48px 0 0; flex-wrap: wrap;
}
.sol-tab {
  padding: 10px 22px; border-radius: 999px;
  background: rgba(255,255,255,.8); border: 1px solid var(--ink-200);
  font-size: 13px; font-weight: 500; color: var(--ink-700);
  backdrop-filter: blur(8px);
}
.sol-tab.active { background: var(--ink-900); color: white; border-color: var(--ink-900); }

/* Top 2-col grid: 대표 사이트 + AI 카드 3종 */
.feat-top-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 64px;
}

/* Base feature card */
.feat-card {
  background: var(--ink-50); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: 28px;
}
.feat-card--site { display: flex; flex-direction: column; gap: 12px; }
.feat-site-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-500);
}
.feat-site-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--ink-400); flex: none;
}
.feat-site-title { font-size: 18px; font-weight: 700; color: var(--accent); line-height: 1.4; margin: 0; }
.feat-site-desc { font-size: 13px; color: var(--ink-600); line-height: 1.6; margin: 0; }

/* AI 카드 3종 */
.feat-ai-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.feat-ai-card {
  background: var(--ink-50); border: 1px solid var(--ink-200);
  border-radius: var(--radius); padding: 20px 14px;
  font-size: 12px; color: var(--ink-700); font-weight: 500;
  text-align: center; line-height: 1.5;
  display: flex; align-items: center; justify-content: center;
}

/* Middle 2-col */
.feat-mid-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 16px;
}
.feat-mid-grid .feat-card { padding: 28px; }

/* Icons & typography inside feat-card */
.feat-icon { font-size: 24px; margin-bottom: 12px; }
.feat-icon--sm { font-size: 20px; flex: none; }
.feat-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 13px; color: var(--ink-600); line-height: 1.65; margin: 0; }

/* Feature row list */
.feat-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.feat-row {
  background: var(--ink-50); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: border-color .2s ease;
}
.feat-row:hover { border-color: var(--accent); }
.feat-row-text { display: flex; gap: 14px; align-items: flex-start; flex: 1; }
.feat-row-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feat-row-text p { font-size: 13px; color: var(--ink-600); line-height: 1.6; margin: 0; }
.feat-row-visual { flex: none; display: flex; align-items: center; gap: 8px; }

/* Mini cards inside feat-row-visual */
.feat-mini-card {
  background: white; border: 1px solid var(--ink-200);
  border-radius: 8px; padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: var(--ink-800);
  line-height: 1.5; white-space: nowrap;
}
.feat-mini-card--accent { background: var(--accent); color: white; border-color: var(--accent); }
.feat-mini-card--promo { background: white; border: 1px solid var(--ink-200); padding: 12px 16px; }

/* Instagram preview */
.feat-insta-preview {
  background: white; border: 1px solid var(--ink-200);
  border-radius: 8px; padding: 12px; width: 140px;
}

/* Review card */
.feat-review-card {
  background: white; border: 1px solid var(--ink-200);
  border-radius: 8px; padding: 12px 16px; max-width: 200px;
}

/* ==========================================================================
   Sol Rows — 기능 상세 레이아웃 (solution.html, index.html 공통)
   ========================================================================== */
.sol-rows { display: flex; flex-direction: column; gap: 24px; margin-top: 64px; }
.sol-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 40px; background: var(--bg);
  border: 1px solid var(--ink-200); border-radius: var(--radius-lg);
  transition: border-color .25s ease;
}
.sol-row:hover { border-color: var(--accent); }
.sol-row.reverse > .sol-visual { order: 2; }
.sol-row.reverse > .sol-content { order: 1; }
.sol-visual {
  background: var(--ink-50); border-radius: var(--radius); padding: 32px;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}
.sol-content .pill-accent { margin-bottom: 16px; }
.sol-content h3 { font-size: 26px; margin-bottom: 16px; }
.sol-content p { color: var(--ink-500); margin-bottom: 24px; }
.sol-content ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sol-content ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink-700);
}
.sol-content ul li::before {
  content: ''; flex: none; margin-top: 6px;
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--accent-soft); border: 3px solid var(--accent); box-sizing: border-box;
}
.visual-card {
  width: 100%; background: white; border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--ink-200);
}
.visual-card .vline { height: 8px; background: var(--ink-100); border-radius: 4px; margin-bottom: 8px; }
.visual-card .stat-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 700;
  margin-bottom: 12px; color: var(--ink-900);
}

/* ==========================================================================
   Steps — 제작 프로세스 세로 카드 (process.html, index.html 공통)
   ========================================================================== */
.steps {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s ease, transform .2s ease;
}
.step:hover { border-color: var(--accent); transform: translateY(-2px); }
.step .num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step h3 { margin-bottom: 8px; }
.step p.dur {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.step .desc { color: var(--ink-500); font-size: 14px; }
.step ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.step ul li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13px; color: var(--ink-700);
}
.step ul li::before {
  content: ''; flex: none; margin-top: 7px;
  width: 5px; height: 5px;
  border-radius: 999px; background: var(--accent);
}

/* ============================================================
   RESPONSIVE — TABLET & MOBILE ONLY
   (PC layout above 900px is untouched)
   ============================================================ */

/* ── 헤더 우측 영역 — 모바일에서만 표시 ── */
.header-right {
  display: none; /* PC에서는 숨김 */
  align-items: center;
  gap: 12px;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ── 햄버거 버튼 (모바일에서만 표시) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  padding: 0;
  z-index: 200;
  transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 모바일 드로어 ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 150;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-300) transparent;
}
.mobile-nav::-webkit-scrollbar { width: 8px; }
.mobile-nav::-webkit-scrollbar-track { background: transparent; margin: 16px 0; }
.mobile-nav::-webkit-scrollbar-thumb {
  background-color: var(--ink-300);
  border-radius: 999px;
  border: 2px solid white;
  background-clip: padding-box;
}
.mobile-nav::-webkit-scrollbar-thumb:hover { background-color: var(--ink-400); }
.mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  border-bottom: 1px solid var(--ink-100);
  flex-shrink: 0;
}
.mobile-nav-logo img { height: 36px; width: auto; }
.mobile-nav-close {
  font-size: 28px;
  line-height: 1;
  color: var(--ink-500);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.mobile-nav-close:hover { color: var(--ink-900); background: var(--ink-100); }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  padding: 16px 28px;
  border-bottom: 1px solid var(--ink-100);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .2s, background .15s;
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a::after {
  content: '→';
  font-size: 16px;
  color: var(--ink-300);
  transition: transform .2s, color .2s;
}
.mobile-nav-links a.active { color: var(--accent); }
.mobile-nav-links a.active::after { color: var(--accent); }
.mobile-nav-links a:hover { color: var(--accent); background: var(--accent-soft-2); }
.mobile-nav-links a:hover::after { transform: translateX(4px); color: var(--accent); }
.mobile-nav-cta {
  padding: 24px 28px 40px;
  border-top: 1px solid var(--ink-100);
  flex-shrink: 0;
}
.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}
/* ============================================================
   RESPONSIVE SYSTEM — MOBILE FIRST ENHANCEMENTS
   ============================================================ */

/* ── 태블릿 (≤900px) ── */
@media (max-width: 900px) {
  /* 헤더 */
  .nav { display: none; }
  .header-right { display: flex; } /* 모바일/태블릿에서 햄버거 표시 */
  .nav-toggle { display: flex; }
  .site-header-pill { height: 64px; padding: 0 32px; }

  /* 공통 */
  .container { padding: 0 32px; }
  h1 { font-size: clamp(36px, 7vw, 56px); }
  h2 { font-size: clamp(28px, 5vw, 44px); }
  h3 { font-size: clamp(20px, 3vw, 26px); }
  .section { padding: 72px 0; }
  .cta-band { padding: 72px 0; }
  .cta-band h2 { font-size: clamp(26px, 4.5vw, 40px); }

  /* Hero */
  .hero { text-align: center; padding: 72px 0 40px; }
  .hero .cta-row { justify-content: center; }
  .preview-content { grid-template-columns: 1fr; }

  /* Feature */
  .feature-split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .feat-top-grid { grid-template-columns: 1fr; }
  .feat-ai-cards { grid-template-columns: repeat(3, 1fr); }
  .feat-mid-grid { grid-template-columns: 1fr; }
  .feat-row { flex-direction: column; align-items: flex-start; }
  .feat-row-visual { align-self: flex-start; }

  /* Solution */
  .sol-row { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .sol-row.reverse > .sol-visual,
  .sol-row.reverse > .sol-content { order: initial; }

  /* Step / Zigzag */
  .step { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .zz-section { padding: 56px 0; }
  .zz-row { flex-direction: column !important; }
  .zz-card { width: 100%; }
  .zz-connector { display: none; }
  .zz-wrap { gap: 16px; }

  /* Process */
  .proc-hero { padding: 72px 0 40px; }
  .proc-hero p.lead { font-size: 15px; }
  .prep-split { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .prep-split-left { position: static; }

  /* Deliverables */
  .dlv-b-top { padding: 32px 28px 24px; }
  .dlv-b-bottom { grid-template-columns: 1fr; }
  .dlv-b-item { border-right: none; border-bottom: 1px solid var(--ink-100); }
  .dlv-b-item:last-child { border-bottom: none; }

  /* CTA band */
  .cta-band .container { text-align: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 56px 0 28px; }

  /* About page */
  .about-hero { padding: 72px 0 40px; text-align: center; }
  .about-hero p.lead { font-size: 15px; }
  .principle-card { padding: 36px 28px; }

  /* Portfolio page — work grid */
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Principles */
  .principles-stack { gap: 0; }
}

/* ── 모바일 (≤600px) ── */
@media (max-width: 600px) {
  /* 공통 */
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  h1 { font-size: clamp(30px, 8.5vw, 44px); }
  h2 { font-size: clamp(24px, 7vw, 36px); }
  h3 { font-size: clamp(18px, 5vw, 24px); }

  /* Header */
  .site-header-pill { height: 60px; padding: 0 20px; }
  .logo img { height: 32px !important; }

  /* Hero */
  .hero { padding: 48px 0 28px; text-align: center; }
  .hero h1 { font-size: clamp(30px, 9vw, 44px); }
  .hero p.lead { font-size: 15px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  /* Hero preview — mobile mockup: show as phone frame */
  .hero-preview { padding: 16px; margin-top: 40px; }
  .preview-content { padding: 16px; min-height: 280px; }
  .preview-hero { padding: 20px; }
  .preview-hero h3 { font-size: 17px; }
  .preview-hero .book-cta { font-size: 11px; padding: 8px 12px; }
  /* review rows: show in single column on mobile */
  .preview-side { display: none; } /* hide side on mobile, keep it clean */

  /* Eyebrow */
  .eyebrow { font-size: 11px; }

  /* Buttons */
  .btn { padding: 11px 18px; font-size: 13px; }
  .btn-sm { padding: 9px 14px; font-size: 12px; }

  /* Feature */
  .feat-ai-cards { grid-template-columns: 1fr 1fr; }
  .feat-mini-card { white-space: normal; }

  /* About page */
  .about-hero { padding: 48px 0 28px; }
  /* Principles 카드 */
  .principle-card { border-radius: var(--radius-lg); padding: 28px 24px; margin-bottom: 0; }
  .principle-card h3 { font-size: clamp(20px, 6vw, 28px); line-height: 1.3; }
  /* Principles 스택: 각 카드 사이 흰 구분선 */
  .principles-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .principle-card + .principle-card {
    border-top: 3px solid white;
  }

  /* Feature / service items — 아이콘+텍스트 세로로, 구분선 추가 */
  .feat-item, .service-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--ink-100);
  }
  .feat-item:last-child, .service-item:last-child { border-bottom: none; }

  /* About OUR ROLE section — 현재 뒤틀린 부분 수정 */
  .role-section { padding: 56px 0; }
  .role-section .container { display: flex; flex-direction: column; gap: 32px; }
  .role-text { text-align: left; }
  .role-text h2 { font-size: clamp(26px, 8vw, 36px); line-height: 1.2; }
  .role-card-wrap { overflow-x: auto; padding-bottom: 8px; }
  .role-cards { display: flex; gap: 12px; min-width: max-content; }
  .role-card { min-width: 260px; }

  /* Portfolio work-detail — breadcrumb & title 정렬 */
  .work-detail-header { padding: 40px 0 24px; }
  .work-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 12px; }
  .work-breadcrumb span { color: var(--ink-400); }
  .work-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
  .work-title { font-size: clamp(26px, 8vw, 40px); margin-top: 8px; }

  /* Work detail — image full width, align to container edges */
  .work-hero-img {
    width: calc(100% + 40px);
    margin-left: -20px;
    border-radius: 0;
  }

  /* Work detail — visit site box */
  .work-cta-box {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }
  .work-cta-box h3 { font-size: 18px; }
  .work-cta-box p { font-size: 14px; }

  /* Work detail — next/prev nav */
  .work-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--ink-100);
    margin-top: 48px;
  }
  .work-nav-back,
  .work-nav-next {
    padding: 20px 0;
    border-bottom: 1px solid var(--ink-100);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .work-nav-label { font-size: 11px; color: var(--ink-400); font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
  .work-nav-title { font-size: 16px; font-weight: 700; color: var(--ink-900); }

  /* Media page — process steps 세로 + 구분선 */
  .media-steps { display: flex; flex-direction: column; gap: 0; }
  .media-step {
    padding: 24px 0;
    border-bottom: 1px solid var(--ink-100);
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .media-step:last-child { border-bottom: none; }
  .media-step-num {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-mono);
    flex-shrink: 0;
  }
  .media-step-body { flex: 1; }
  .media-step-body h4 { font-size: 16px; margin-bottom: 4px; }
  .media-step-body p { font-size: 14px; }

  /* Deliverables — 아이콘+텍스트 가운데 정렬 */
  .dlv-icon-list { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
  .dlv-icon-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .dlv-icon-item .icon-wrap { margin: 0 auto; }
  .dlv-icon-item h4 { font-size: 15px; }
  .dlv-icon-item p { font-size: 13px; }

  /* Comparison table — 가로 스크롤 */
  .compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px 16px;
  }
  .compare-table {
    min-width: 560px;
    width: 100%;
  }
  .compare-table th:first-child,
  .compare-table td:first-child {
    position: sticky;
    left: 0;
    background: white;
    z-index: 1;
    min-width: 100px;
    font-size: 13px;
    padding: 12px 10px;
  }
  .compare-table thead th:first-child { background: var(--ink-900); }
  .compare-table th { font-size: 13px; padding: 14px 12px; }
  .compare-table td { font-size: 13px; padding: 12px; }
  /* scroll hint shadow */
  .compare-wrap::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 32px;
    background: linear-gradient(to left, white, transparent);
    pointer-events: none;
  }
  .compare-outer { position: relative; }

  /* Selected works grid — 모바일 1열 */
  .works-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-card-thumb { height: 180px; }

  /* Portfolio — selected work 카드 내 텍스트 깨짐 방지 */
  .work-card-title { font-size: 18px; word-break: keep-all; }
  .work-card-sub { font-size: 13px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { flex-direction: column; gap: 12px; align-items: flex-start; }
  .site-footer { padding: 48px 0 24px; }

  /* Process */
  .proc-hero { padding: 48px 0 28px; }
  .proc-hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .proc-hero p.lead { font-size: 14px; }
  .zz-card { padding: 24px 20px; }
  .zz-num { font-size: 36px; }
  .zz-card h3 { font-size: 18px; }
  .prep-split-left h2 { font-size: clamp(26px, 8vw, 36px); }
  .prep-item { padding: 16px 18px; }
  .prep-item-head strong { font-size: 14px; }
  .prep-item-body > p { font-size: 13px; }
  .dlv-b-top { padding: 24px 20px 18px; }
  .dlv-b-top h2 { font-size: clamp(20px, 6vw, 28px); }
  .dlv-b-item { padding: 20px 20px; }
  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: clamp(22px, 6vw, 32px); }

  /* Floating CTA */
  .floating-cta { bottom: 16px; right: 16px; font-size: 12px; padding: 10px 14px; }
}