/* ==========================================================
   common.css : 전체 페이지 공통 (변수 / 리셋 / 타이포 / 레이아웃 / 버튼 / 카드)
   - 모든 색상, 폰트, 간격, 둥글기, 그림자는 :root 변수에서 한 번만 정의합니다.
   - 페이지별 CSS(main.css, sub.css)는 이 값을 덮어쓰지 않고 필요한 부분만 추가합니다.
   ========================================================== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  /* Color */
  --c-bg: #fbf8f5;
  --c-bg-beige: #efe6de;
  --c-white: #ffffff;
  --c-dark: #2b211d;
  --c-dark-2: #3a2d28;
  --c-point: #c4552a;
  --c-point-dark: #a8441f;
  --c-point-soft: #f6e3da;
  --c-text: #2b211d;
  --c-text-sub: #6f6560;
  --c-text-mute: #9a8f89;
  --c-line: #e6dcd3;
  --c-ok: #5f7a52;
  --c-ok-text: #4f6342;
  --c-ok-soft: #e9efe3;
  --c-ok-line: #c9d6be;
  --c-warn: #c08a2e;
  --c-warn-text: #7a5410;
  --c-zone-green: #5f8f3e;   /* 배치도 범례 : 수면 */
  --c-zone-blue: #2b7fa8;    /* 배치도 범례 : 학습 */
  --c-zone-orange: #c4602a;  /* 배치도 범례 : 수납 */
  --c-bg-side: #efe6de;      /* 상세 우측 패널 */
  --c-line-strong: #cdbfb2;  /* 선택 항목 · 진한 테두리 */
  --c-brown: #8b6a52;        /* 보조 강조 (진행 · 점수) */
  --c-track: #ebe2d7;        /* 막대 바탕 */
  --c-text-body: #4a3f36;    /* 본문 진한 글자 */
  --c-on-dark: #f7f1ea;      /* 어두운 면 위 글자 */
  --c-on-dark-sub: #d9cec2;
  --c-on-dark-mute: #b9aa9b;
  --c-point-light: #e9a98c;  /* 어두운 면 위 포인트 */
  --c-dc: #4c6b66;           /* 담청 라인 */
  --c-dc-hover: #3d5854;
  --c-dc-mute: #9db5af;
  --c-dc-bg: #eef1ee;
  --font-serif: "Noto Serif KR", "Noto Serif CJK KR", "Nanum Myeongjo", AppleMyungjo, serif;
  /* 서비스별 대표색 (배지 · 강조선) : PLAN 초록 / PRO 오렌지 / DESIGN 다크브라운 */
  --c-svc-check: #8a7f78;
  --c-svc-plan: #5f7a52;
  --c-svc-pro: #c4552a;
  --c-svc-design: #2b211d;
  /* 서비스별 연한 배경 / 글자 */
  --c-svc-check-bg: #ece7e2;  --c-svc-check-tx: #6f6560;
  --c-svc-plan-bg:  #e3edda;  --c-svc-plan-tx:  #4f6342;
  --c-svc-pro-bg:   #f9e3d9;  --c-svc-pro-tx:   #a8441f;
  --c-svc-design-bg:#ece6e1;  --c-svc-design-tx:#2b211d;

  /* Font */
  --font-base: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --fs-eyebrow: 12px;
  --fs-h1: 30px;
  --fs-h2: 26px;
  --fs-h3: 18px;
  --fs-body: 15px;
  --fs-caption: 13px;
  --lh-title: 1.35;
  --lh-body: 1.7;
  --ls-title: -0.02em;

  /* Layout */
  --container: 1100px;
  --gutter: 20px;
  --section-py: 64px;
  --header-h: 60px;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(43, 33, 29, 0.06);
  --shadow-md: 0 10px 30px rgba(43, 33, 29, 0.1);
  --shadow-lg: 0 20px 22px -14px rgba(43, 33, 29, 0.45), 0 2px 8px rgba(43, 33, 29, 0.08);   /* 아래쪽으로만 진하게 (슬라이더에서 옆이 잘리지 않음) */

  /* Motion */
  --ease: 0.25s ease;
}

@media (min-width: 768px) {
  :root {
    --fs-h1: 40px;
    --fs-h2: 32px;
    --fs-h3: 19px;
    --fs-body: 16px;
    --gutter: 32px;
    --section-py: 88px;
    --header-h: 68px;
  }
}

@media (min-width: 1024px) {
  :root {
    --fs-h1: 46px;
    --fs-h2: 34px;
    --section-py: 100px;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-py) 0; }
.section--beige { background: var(--c-bg-beige); }
.section--white { background: var(--c-white); }

/* ---------- Section Head (모든 섹션 동일 구조 / 좌측 정렬) ----------
   <div class="section-head">
     <span class="eyebrow">LABEL</span>
     <h2 class="title">첫째 줄<br><em>둘째 줄(포인트)</em></h2>
     <p class="desc">설명</p>
   </div>
   중앙 정렬이 필요한 경우에만 .is-center 추가 (히어로, 하단 CTA)
*/
.section-head { margin-bottom: 36px; text-align: left; }
.section-head.is-center { text-align: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-point);
}
.title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
  color: var(--c-dark);
}
.title em, .accent { font-style: normal; color: var(--c-point); }
.desc {
  margin-top: 14px;
  font-size: var(--fs-body);
  color: var(--c-text-sub);
}

/* ---------- Typography ---------- */
.h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
}
.text { font-size: var(--fs-body); color: var(--c-text-sub); }
.caption { font-size: var(--fs-caption); color: var(--c-text-mute); }

/* ---------- Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--point { background: var(--c-point); color: var(--c-white); }
.btn--point:hover { background: var(--c-point-dark); }
.btn--dark { background: var(--c-dark); color: var(--c-white); }
.btn--dark:hover { background: var(--c-dark-2); }
.btn--line { border-color: var(--c-dark); color: var(--c-dark); background: transparent; }
.btn--line:hover { background: var(--c-dark); color: var(--c-white); }
.btn--line-light { border-color: rgba(255,255,255,0.7); color: var(--c-white); background: transparent; }
.btn--line-light:hover { background: var(--c-white); color: var(--c-dark); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-group.is-center { justify-content: center; }

/* ---------- Card ---------- */
.card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.card--dark { background: var(--c-dark); color: var(--c-white); }
.card--dark .text { color: rgba(255,255,255,0.72); }
.card__num {
  display: block;
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: var(--ls-title);
  color: var(--c-point);
}
.card__label {
  display: block;
  margin-bottom: 12px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-point);
}
.card .h3 { margin-bottom: 10px; }
.card--dark .h3 { color: var(--c-white); }

/* Grid : 모바일 1열 → 태블릿 2열 → PC 3열 */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Tag ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--c-bg-beige);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--c-dark);
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--c-point-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-point);
}

/* ---------- Media placeholder (이미지·영상 경로 비움 상태에서도 레이아웃 유지) ---------- */
.media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--c-dark);
  border-radius: var(--radius-md);
}
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media img, .media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Form ---------- */
.field { margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field__label .req { color: var(--c-point); }
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  font-size: 15px;
  transition: border-color var(--ease);
}
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-point); }
.field__error { display: none; margin-top: 6px; font-size: var(--fs-caption); color: var(--c-point); }
.field.is-error .field__error { display: block; }
.field.is-error .input, .field.is-error .select, .field.is-error .textarea { border-color: var(--c-point); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--c-text-sub); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-point); flex-shrink: 0; }

/* ---------- Accordion (FAQ) ---------- */
.accordion__item { margin-bottom: 10px; background: var(--c-white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.accordion__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 60px; padding: 14px 22px;
  font-size: 16px; font-weight: 700; text-align: left;
}
.accordion__icon { flex-shrink: 0; width: 14px; height: 14px; position: relative; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px;
  margin-top: -1px; background: var(--c-text-sub); transition: transform var(--ease);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__item.is-open .accordion__icon::after { transform: rotate(0); }
.accordion__panel { display: none; padding: 0 22px 20px; color: var(--c-text-sub); }
.accordion__item.is-open .accordion__panel { display: block; }

/* ---------- Tabs ---------- */
.tabs__nav { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  flex-shrink: 0; height: 42px; padding: 0 18px;
  border: 1px solid var(--c-line); border-radius: var(--radius-pill);
  background: var(--c-white); font-size: 14px; font-weight: 600; color: var(--c-text-sub);
  transition: var(--ease);
}
.tabs__btn.is-active { background: var(--c-point); border-color: var(--c-point); color: var(--c-white); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

/* ---------- Self check (3분 셀프진단) ---------- */
.quiz { background: var(--c-white); border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-md); }
.quiz__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.quiz__label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.12em; color: var(--c-point); }
.quiz__step { font-size: var(--fs-caption); color: var(--c-text-mute); }
.quiz__bar { height: 4px; margin-bottom: 22px; border-radius: 2px; background: var(--c-bg-beige); overflow: hidden; }
.quiz__bar-fill { display: block; height: 100%; background: var(--c-point); transition: width var(--ease); }
.quiz__question { margin-bottom: 18px; font-size: 18px; font-weight: 800; line-height: var(--lh-title); }
.quiz__options { display: grid; gap: 10px; margin-bottom: 22px; }
.quiz__option {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  background: var(--c-white); text-align: left; font-size: 15px; transition: var(--ease);
}
.quiz__option:hover { border-color: var(--c-point); }
.quiz__option.is-selected { border-color: var(--c-point); background: var(--c-point-soft); font-weight: 700; }
.quiz__nav { display: flex; justify-content: space-between; gap: 10px; }
.quiz__nav .btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.quiz__hint { margin: -10px 0 18px; }
.quiz__hint[hidden], .quiz__body[hidden], .report[hidden], .report__done[hidden] { display: none; }

/* 결과 화면 */
.quiz__result { display: none; }
.quiz__result.is-show { display: flex; flex-direction: column; gap: 24px; }
.quiz__headline {
  margin: 8px 0 10px;
  font-size: 22px; font-weight: 800; line-height: var(--lh-title); letter-spacing: var(--ls-title);
}
.quiz__restart { align-self: flex-start; }

.axis-result { display: grid; gap: 20px; }
.axis-result__item { --tone: var(--c-point); --tone-text: var(--c-point); }
.axis-result__item.tone-ok { --tone: var(--c-ok); --tone-text: var(--c-ok-text); }
.axis-result__item.tone-warn { --tone: var(--c-warn); --tone-text: var(--c-warn-text); }
.axis-result__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.axis-result__name { font-size: 15px; font-weight: 700; }
.axis-result__en { margin-left: 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--c-text-mute); }
.axis-result__level { font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--tone-text); }
.axis-result__bar { height: 10px; margin: 8px 0 10px; border-radius: var(--radius-pill); background: var(--c-bg-beige); overflow: hidden; }
.axis-result__fill { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--tone); transition: width 0.5s ease; }
.axis-result__tip { font-size: 14px; }

.rec { padding: 18px 20px; border: 1px solid var(--c-line); border-radius: var(--radius-md); background: var(--c-bg); }
.rec__label { display: block; margin-bottom: 6px; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.1em; color: var(--c-text-mute); }
.rec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.rec__name { font-size: 20px; font-weight: 800; }
.rec__price { font-size: 16px; font-weight: 700; color: var(--c-point); }
.rec .text { font-size: 14px; }
.rec__cta { margin-top: 16px; color: var(--c-white); }
.rec__cta--plan   { background: var(--c-svc-plan);   border-color: var(--c-svc-plan); }
.rec__cta--pro    { background: var(--c-svc-pro);    border-color: var(--c-svc-pro); }
.rec__cta--design { background: var(--c-svc-design); border-color: var(--c-svc-design); }
.rec__cta:hover { filter: brightness(0.92); }

.report { display: grid; gap: 0; }
.report__title { margin-bottom: 14px; font-size: 15px; font-weight: 700; }
.report__row { display: grid; gap: 0; }
@media (min-width: 768px) { .report__row { grid-template-columns: 1fr 1fr; gap: 12px; } }
.report__done {
  padding: 18px 20px; border: 1px solid var(--c-ok-line); border-radius: var(--radius-md);
  background: var(--c-ok-soft); color: var(--c-ok-text); font-size: 15px; line-height: 1.6;
}
.link { text-decoration: underline; text-underline-offset: 2px; color: var(--c-point); }

/* ---------- Floating top button ---------- */
.to-top {
  position: fixed; right: 16px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top::before {
  content: ""; width: 10px; height: 10px; margin-top: 4px;
  border-top: 2px solid var(--c-dark); border-left: 2px solid var(--c-dark);
  transform: rotate(45deg);
}

/* ---------- 비포&애프터 사례 카드 (메인 캐러셀 / 서브 게시판 공용) ---------- */
.case { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-md); background: var(--c-white); box-shadow: var(--shadow-lg); }
.case__thumb { border-radius: 0; }
.case__img { opacity: 0; transition: opacity 0.5s ease; }
.case__thumb.is-before .case__img--before,
.case__thumb.is-after .case__img--after { opacity: 1; }
.case__toggle {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  display: inline-flex; padding: 3px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.case__tbtn {
  height: 26px; padding: 0 10px; border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--c-text-sub);
  transition: background var(--ease), color var(--ease);
}
.case__tbtn.is-active { background: var(--svc, var(--c-dark)); color: var(--c-white); }
.case__body { flex: 1; display: flex; flex-direction: column; padding: 14px 14px 16px; }
.case__body .h3 { margin: 6px 0 12px; font-size: 15px; line-height: 1.4; }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.case__eyebrow { font-size: 12px; font-weight: 700; color: var(--c-point); }
.case__best { flex: none; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--c-svc-pro-bg); color: var(--c-svc-pro-tx); font-size: 11px; font-weight: 800; }
.case__meta { margin-top: 2px; line-height: 1.5; }
.case__rows { margin: 0 0 14px; display: grid; gap: 8px; font-size: 12px; line-height: 1.5; }
.case__rows > div { display: grid; grid-template-columns: 30px 1fr; gap: 8px; }
.case__rows dt { font-weight: 800; color: var(--c-dark); }
.case__rows dd { margin: 0; color: var(--c-text-sub); }
.case__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags li { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--c-bg-beige); font-size: 11px; color: var(--c-text-sub); }
.case__tags .svc { font-weight: 800; letter-spacing: 0.02em; color: var(--c-white); background: var(--c-svc-check); }
.case__tags .svc--check  { background: var(--c-svc-check); }
.case__tags .svc--plan   { background: var(--c-svc-plan); }
.case__tags .svc--pro    { background: var(--c-svc-pro); }
.case__tags .svc--design { background: var(--c-svc-design); }
/* 카드 아래쪽 정보 영역 상단에 서비스 색 띠 */
.case--check  { --svc: var(--c-svc-check); }
.case--plan   { --svc: var(--c-svc-plan); }
.case--pro    { --svc: var(--c-svc-pro); }
.case--design { --svc: var(--c-svc-design); }
.case[class*="case--"] .case__body { border-top: 4px solid var(--svc); }
/* 서비스 배지 (상세 · 관리자 공용) */
.svc-pill { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 800; letter-spacing: 0.02em; color: var(--c-white); background: var(--c-svc-check); vertical-align: middle; }
.svc-pill--plan { background: var(--c-svc-plan); }
.svc-pill--pro { background: var(--c-svc-pro); }
.svc-pill--design { background: var(--c-svc-design); }
/* 카드 전체 클릭 : 제목 링크를 카드 전체로 확장 (BEFORE/AFTER 버튼은 위에 유지) */
.case__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.case__link:focus-visible { outline: 2px solid var(--c-point); outline-offset: 2px; }
.case:hover .case__link { color: var(--c-point); }
.case__toggle { z-index: 2; }
@media (min-width: 768px) {
  .case__toggle { left: 12px; top: 12px; }
  .case__tbtn { height: 30px; padding: 0 14px; font-size: 11px; }
  .case__body { padding: 22px 24px 24px; }
  .case__body .h3 { margin: 8px 0 18px; font-size: 18px; }
  .case__eyebrow { font-size: var(--fs-caption); }
  .case__rows { gap: 14px; margin-bottom: 20px; font-size: 14px; }
  .case__rows > div { grid-template-columns: 40px 1fr; gap: 14px; }
  .case__tags { gap: 8px; }
  .case__tags li { padding: 6px 12px; font-size: 13px; }
}

/* ---------- 공간읽기 : 최신 글 + 연재 목록 (메인 / 공간읽기 페이지 공용) ---------- */
.note { display: grid; gap: 20px; }
@media (min-width: 1024px) { .note { grid-template-columns: 1.55fr 1fr; gap: 24px; } }
.note__feature { display: grid; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-white); }
.note__img { aspect-ratio: 4 / 3; border-radius: 0; }
.note__body { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 26px; }
@media (min-width: 768px) {
  .note__feature { grid-template-columns: 5fr 7fr; }
  .note__img { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .note__body { padding: 32px 30px; }
}
.note__meta { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.04em; color: var(--c-point); }
.note__title { font-size: 22px; font-weight: 800; line-height: var(--lh-title); letter-spacing: var(--ls-title); color: var(--c-dark); }
.note__excerpt { font-size: 15px; line-height: 1.8; color: var(--c-text-sub); }
.note__points { display: grid; }
.note__points li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--c-line); font-size: 14px; line-height: 1.7; color: var(--c-text-sub); }
.note__points li::before { content: "✓"; position: absolute; left: 4px; top: 12px; font-weight: 800; color: var(--c-point); }
.note__points strong { color: var(--c-dark); }
.note__more { margin-top: auto; font-weight: 800; color: var(--c-point); }
.note__feature--empty { min-height: 200px; align-content: center; }

.note__list { display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--c-bg-beige); }
.note__list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.note__list-head span { font-size: var(--fs-caption); color: var(--c-text-mute); }
.note__item { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
a.note__item:hover .note__item-text b { color: var(--c-point); }
.note__no { font-weight: 800; color: var(--c-point); }
.note__item-text { display: grid; gap: 3px; }
.note__item-text b { font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--c-dark); }
.note__item-text small { font-size: var(--fs-caption); color: var(--c-text-mute); }
.note__empty { padding: 20px 0; font-size: 14px; color: var(--c-text-mute); }
.note__all { align-self: flex-start; margin-top: 22px; padding-bottom: 2px; border-bottom: 1px solid var(--c-dark); font-size: 14px; font-weight: 800; color: var(--c-dark); }

/* ---------- 후기 카드 (목록 · 메인 공용) : 카드 전체 클릭 ---------- */
.review { position: relative; transition: var(--ease); }
.review:hover { box-shadow: var(--shadow-md); }
.review__title { font-size: 17px; font-weight: 800; line-height: 1.45; letter-spacing: var(--ls-title); color: var(--c-dark); word-break: keep-all; }
.review__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.review__link:focus-visible { outline: 2px solid var(--c-point); outline-offset: 2px; }
.review:hover .review__title { color: var(--c-point); }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ===== 사례 캐러셀 (메인 · 실제고객후기 공용) ===== */
.archive__head { display: block; }
.archive__ctrl { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.archive__ctrl .btn { margin-left: auto; }
@media (min-width: 1024px) {
  .archive__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .archive__ctrl { margin-bottom: 36px; }
  .archive__ctrl .btn { margin-left: 12px; }
}
/* 한 화면에 보이는 개수: 모바일 2개 / 태블릿·PC 3개 (--case-view 숫자만 바꾸면 됩니다) */
.slider { --case-view: 2; --case-gap: 12px; }
@media (min-width: 768px) { .slider { --case-view: 3; --case-gap: 16px; } }
@media (min-width: 1024px) { .slider { --case-view: 3; --case-gap: 20px; } }
.slider__track {
  display: flex; gap: var(--case-gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 4px 0 32px;               /* 아래 여백: 카드 그림자가 잘리지 않도록 */
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__item {
  flex: 0 0 calc((100% - (var(--case-view) - 1) * var(--case-gap)) / var(--case-view));
  min-width: 0; scroll-snap-align: start;
}
.slider__btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--c-line); background: var(--c-white);
  font-size: 16px; transition: var(--ease);
}
.slider__btn:hover { background: var(--c-dark); color: var(--c-white); }
.slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: -6px; }
.slider__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--c-line); transition: var(--ease); }
.slider__dot.is-active { width: 22px; background: var(--c-point); }
