/* 모로 헤어 — 헤어살롱 템플릿 스타일
   디자인: Penpot "05 헤어살롱" (04 스타일 가이드 · 05 PC · 06 모바일)
   모바일 먼저: 기본 = 모바일(390), 768 = 태블릿, 1024 이상 = PC(콘텐츠 1200, 12컬럼) */

/* ===== 1. 디자인 토큰 ===== */
:root {
  /* 색 (DESIGN.md '색' 표) */
  --ink: #1A1A1A;            /* 먹: 제목, 푸터 바탕, 보조 버튼 */
  --terra: #B5523B;          /* 테라코타: 주 버튼, 큰 숫자, 약도 매장 표시에만 */
  --terra-hover: #9A4330;
  --terra-active: #8E3F2E;
  --bg: #F5F3EF;             /* 배경 */
  --surface: #EAE6DF;        /* 면 */
  --line: #CFC9BF;           /* 선 */
  --muted: #66615A;          /* 보조 글자 */
  --text: #2B2825;           /* 본문 글자 */
  --disabled: #8C877F;       /* 비활성 글자 */
  --white: #FFFFFF;          /* 입력칸 바탕 */

  /* 서체 */
  --serif: "Nanum Myeongjo", "Noto Serif KR", serif;  /* 400·700 */
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  /* 글자 크기 단계 T1–T6 (모바일 값, PC 값은 아래 미디어 쿼리) */
  --t1: 40px;  --t1-lh: 1.25; --t1-ls: -0.03em;
  --t2: 30px;  --t2-lh: 1.3;  --t2-ls: -0.02em;
  --t3: 22px;  --t3-lh: 1.35; --t3-ls: -0.02em;
  --t4: 18px;  --t4-lh: 1.6;  --t4-ls: -0.01em;
  --t5: 16px;  --t5-lh: 1.7;
  --t6: 13px;  --t6-lh: 1.6;

  /* 간격 단계 */
  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px; --sp-32: 32px;
  --sp-48: 48px; --sp-64: 64px; --sp-96: 96px; --sp-128: 128px; --sp-160: 160px;

  /* 배치 */
  --pad: 20px;               /* 좌우 여백 */
  --gap: 24px;               /* PC 거터 */
  --section: 64px;           /* 섹션 안쪽 위아래 */
  --header-h: 56px;
  --bar-h: 72px;             /* 모바일 하단 행동 바 */
  --btn-h: 48px;
  --btn-px: 24px;
}

@media (min-width: 768px) {
  :root { --pad: 40px; --section: 96px; }
}

@media (min-width: 1024px) {
  :root {
    --t1: clamp(56px, 5vw, 72px); /* 1024에서 히어로 제목 3줄 유지, 1440에서 72 */
    --t2: 44px; --t3: 28px; --t4: 20px;
    --pad: 48px; --section: 128px;
    --header-h: 88px; --btn-h: 56px; --btn-px: 32px;
  }
}

/* ===== 2. 기본 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t5);
  line-height: var(--t5-lh);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
svg { flex: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--bg); }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 8px; }

.plain-link { text-decoration: none; }
.plain-link:hover { text-decoration: underline; }
.mb0 { margin-bottom: 0 !important; }
.mt8 { margin-top: 8px; }
.mt32 { margin-top: 32px; }
.pb0 { padding-bottom: 0 !important; }
.spacer-sec { height: var(--section); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 화면 폭에 따라 보이는 것 */
.pc-only { display: none !important; }
@media (min-width: 1024px) {
  .pc-only { display: revert !important; }
  .mo-only { display: none !important; }
}
br.pc-br { display: none; }
@media (min-width: 1024px) { br.pc-br { display: inline; } br.mo-br { display: none; } }

/* ===== 3. 글자 단계 ===== */
.t1 { font-family: var(--serif); font-weight: 400; font-size: var(--t1); line-height: var(--t1-lh); letter-spacing: var(--t1-ls); color: var(--ink); }
.t2 { font-family: var(--serif); font-weight: 400; font-size: var(--t2); line-height: var(--t2-lh); letter-spacing: var(--t2-ls); color: var(--ink); }
.t3 { font-family: var(--serif); font-weight: 400; font-size: var(--t3); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); color: var(--ink); }
.t4 { font-size: var(--t4); line-height: var(--t4-lh); letter-spacing: var(--t4-ls); }
.t6 { font-size: var(--t6); line-height: var(--t6-lh); }
.eyebrow { font-size: var(--t6); line-height: var(--t6-lh); font-weight: 500; color: var(--muted); margin-bottom: var(--sp-8); }
.muted { color: var(--muted); }
.help { font-size: var(--t6); line-height: var(--t6-lh); color: var(--muted); margin-top: var(--sp-8); }

/* ===== 4. 배치 ===== */
.container { width: min(1200px, 100% - 2 * var(--pad)); margin-inline: auto; }
.wrap { padding-inline: var(--pad); }

/* PC 12컬럼: 선 1 = 화면 왼쪽 끝, 선 2 = 1컬럼 시작, 선 14 = 12컬럼 끝, 선 15 = 화면 오른쪽 끝 */
@media (min-width: 1024px) {
  .wrap {
    padding-inline: 0;
    display: grid;
    grid-template-columns:
      minmax(calc(var(--pad) - var(--gap)), 1fr)
      repeat(12, minmax(0, 78px))
      minmax(calc(var(--pad) - var(--gap)), 1fr);
    column-gap: var(--gap);
    align-items: start;
  }
  .wrap > * { grid-column: 2 / 14; }
  .wrap > .c1-3 { grid-column: 2 / 5; }
  .wrap > .c1-4 { grid-column: 2 / 6; }
  .wrap > .c1-5 { grid-column: 2 / 7; }
  .wrap > .c1-6 { grid-column: 2 / 8; }
  .wrap > .c1-8 { grid-column: 2 / 10; }
  .wrap > .c4-12 { grid-column: 5 / 14; }
  .wrap > .c5-8 { grid-column: 6 / 10; }
  .wrap > .c7-11 { grid-column: 8 / 13; }
  .wrap > .c7-12 { grid-column: 8 / 14; }
  .wrap > .c8-12 { grid-column: 9 / 14; }
  .wrap > .c9-12 { grid-column: 10 / 14; }
  .wrap > .c7-full { grid-column: 8 / 15; }
  .wrap > .c8-full { grid-column: 9 / 15; }
  .g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
}

.sec { padding-block: var(--section); }
.sec-surface { background: var(--surface); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 섹션 머리 (라벨 · 제목 · 설명) + PC 오른쪽 위 '전체 보기' 링크 */
.sec-head .lead { margin-top: var(--sp-12); }
.more-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: var(--sp-24);
  font-weight: 500; color: var(--ink); text-decoration: none;
  min-height: 44px;
}
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-link:active { color: var(--text); }
@media (min-width: 1024px) {
  .sec-head { grid-row: 1; grid-column: 2 / 11 !important; }
  .sec-head .lead { margin-top: var(--sp-16); }
  .more-link { grid-row: 1; grid-column: 11 / 14 !important; justify-self: end; margin-top: 46px; min-height: 24px; }
  .sec-body { grid-row: 2; margin-top: var(--sp-64); }
}

/* 페이지 제목 (하위 페이지 공통) */
.page-head { padding-top: var(--sp-64); padding-bottom: var(--sp-48); }
.page-head .lead { margin-top: var(--sp-12); }
@media (min-width: 1024px) {
  .page-head { padding-top: var(--sp-128); padding-bottom: var(--sp-64); align-items: end; }
  .page-head .t1 { grid-column: 2 / 8; }
  .page-head .lead { grid-column: 8 / 14; margin-top: 0; font-size: var(--t4); line-height: var(--t4-lh); letter-spacing: var(--t4-ls); }
}

/* ===== 5. 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 var(--btn-px);
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.5;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 24px; height: 24px; }
.btn-primary { background: var(--terra); color: var(--white); }
.btn-primary:hover { background: var(--terra-hover); }
.btn-primary:active { background: var(--terra-active); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-secondary:active { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-12); }
.btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
.btn-pair .btn { width: 100%; padding-inline: 8px; }
@media (min-width: 1024px) {
  .btn-pair { display: flex; gap: var(--sp-12); }
  .btn-pair .btn { width: auto; padding-inline: var(--btn-px); }
}

/* ===== 6. 헤더 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - 1px); }
.logo {
  font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.35;
  letter-spacing: -0.03em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo .sp { letter-spacing: -0.1em; }
@media (min-width: 1024px) { .logo { font-size: 28px; } }

.gnb { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
}
.menu-btn:hover { background: var(--surface); }
.menu-btn svg { width: 24px; height: 24px; }
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .gnb { display: flex; align-items: center; gap: 40px; }
  .gnb ul { display: flex; gap: 40px; }
  .gnb a:not(.btn) { font-size: 16px; line-height: 1.5; color: var(--ink); text-decoration: none; padding-block: 8px; }
  .gnb a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
  .gnb a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .gnb .btn { height: 48px; padding: 0 24px; }
}

/* ===== 7. 모바일 메뉴 ===== */
.mnav {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg); overflow-y: auto;
  display: none;
}
.mnav.is-open { display: block; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: 56px; border-bottom: 1px solid var(--line); padding-inline: var(--pad); }
.mnav-body { padding: 0 var(--pad) var(--sp-48); }
.mnav-list li { border-bottom: 1px solid var(--line); }
.mnav-list a {
  display: flex; align-items: center; justify-content: space-between; height: 63px;
  font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.35; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.mnav-list a:hover { text-decoration: underline; text-underline-offset: 6px; }
.mnav-list .now { margin-right: 28px; font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.mnav-cta { margin-top: var(--sp-32); }
.mnav-cta .btn-secondary { margin-top: var(--sp-16); }
.mnav-info { margin-top: var(--sp-32); background: var(--surface); padding: 24px 20px; }
.mnav-info strong { display: block; font-size: 16px; line-height: 1.5; color: var(--ink); margin-bottom: 4px; }
.mnav-info p { font-size: 13px; line-height: 1.6; }
@media (min-width: 1024px) { .mnav { display: none !important; } }

/* ===== 8. 하단 행동 바 (모바일·태블릿) ===== */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: var(--bar-h); padding: 12px var(--pad);
  background: var(--bg); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16);
}
.action-bar .btn { height: 48px; padding-inline: 8px; }
@media (min-width: 1024px) { .action-bar { display: none; } }

/* ===== 9. 푸터 ===== */
/* 모바일·태블릿: 푸터 아래에 하단 행동 바 높이만큼 더 둬서 본문 끝이 바에 가리지 않게 한다 */
.site-footer { background: var(--ink); color: var(--line); font-size: 13px; line-height: 1.6; padding-top: var(--sp-64); padding-bottom: calc(var(--sp-64) + var(--bar-h)); }
.site-footer .logo { color: var(--bg); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-info { margin-top: var(--sp-24); }
.foot-info p { margin: 0; }
.foot-links { margin-top: var(--sp-24); display: flex; flex-wrap: wrap; gap: 0 4px; }
.foot-links a { color: var(--bg); font-weight: 700; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links .dot { color: var(--bg); font-weight: 700; }
.foot-bottom { border-top: 1px solid var(--muted); margin-top: var(--sp-24); padding-top: var(--sp-24); }
@media (min-width: 1024px) {
  .site-footer { padding-bottom: 56px; }
  .site-footer .logo { font-size: 28px; }
  .foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .foot-top .logo { grid-column: 1 / 5; align-self: start; }
  .foot-info { grid-column: 5 / 10; margin-top: 0; }
  .foot-links { grid-column: 10 / 13; margin-top: 0; flex-direction: column; align-items: flex-start; }
  .foot-links .dot { display: none; }
  .foot-bottom { margin-top: var(--sp-48); padding-top: 24px; }
}

/* ===== 10. 아이콘 줄 (영업·위치) ===== */
.icon-line { display: flex; align-items: center; gap: 8px; }
.icon-line svg { width: 24px; height: 24px; color: var(--ink); }
.icon-line + .icon-line { margin-top: 4px; }

/* ===== 11. 홈 / 히어로 ===== */
.hero-media img { width: 100%; height: auto; aspect-ratio: 390 / 280; object-fit: cover; }
.hero .wrap { padding-inline: 0; }
.hero-text { padding: var(--sp-24) var(--pad) 79px; }
.hero-text .t1 { margin-top: var(--sp-8); }
.hero-text .t4 { margin-top: var(--sp-24); }
.hero-cta { display: none; }
.hero-info { margin-top: var(--sp-24); }
.hero-help-mo { text-align: right; margin-top: 19px; }
@media (min-width: 768px) {
  .hero-media img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .hero { overflow: hidden; }
  .hero .wrap { align-items: stretch; }
  .hero-media { grid-column: 8 / 15 !important; grid-row: 1; }
  .hero-media img { height: 100%; aspect-ratio: auto; }
  .hero-text { grid-column: 2 / 8 !important; grid-row: 1; padding: var(--sp-96) 0 var(--sp-64); }
  .hero-text .t1 { margin-top: var(--sp-16); }
  .hero-text .t4 { margin-top: var(--sp-32); }
  .hero-cta { display: block; margin-top: var(--sp-32); }
  .hero-info { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
  .hero-help-mo { display: none; }
}

/* ===== 12. 홈 / 디자이너 ===== */
.designer-photo-pc { display: none; }
.d-cards {
  display: flex; gap: var(--sp-16); margin: var(--sp-32) calc(-1 * var(--pad)) 0;
  padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.d-cards::-webkit-scrollbar { display: none; }
.d-card { flex: 0 0 280px; scroll-snap-align: start; }
.d-card img { width: 280px; height: 350px; object-fit: cover; }
.d-card .t3 { margin-top: var(--sp-16); display: block; }
.d-card .meta { display: block; }
.d-card .meta { font-size: 13px; line-height: 1.6; color: var(--muted); }
.d-card .skill { margin-top: var(--sp-4); }
.d-card .btn { margin-top: var(--sp-16); width: 100%; }
.d-foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--sp-16); }
.d-foot .more-link { margin-top: 0; }
.d-count { font-size: 13px; color: var(--muted); }
@media (min-width: 1024px) {
  .designer-photo-pc { display: block; grid-column: 1 / 6; }
  .designer-photo-pc img { width: 100%; height: auto; aspect-ratio: 486 / 544; object-fit: cover; }
  .d-cards { grid-column: 7 / 13; display: block; margin: 0; padding: 0; overflow: visible; border-bottom: 1px solid var(--line); }
  .d-card {
    display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 24px;
    align-items: center; height: 136px; align-content: center; border-top: 1px solid var(--line);
  }
  .d-card img { display: none; }
  .d-card .name-line { grid-column: 1; grid-row: 1; display: flex; align-items: baseline; gap: 12px; }
  .d-card .t3 { margin-top: 0; display: inline; }
  .d-card .meta { display: inline; }
  .d-card .skill { grid-column: 1; grid-row: 2; margin-top: 4px; }
  .d-card .btn { grid-column: 2; grid-row: 1 / 3; width: auto; margin-top: 0; }
  .d-count { display: none; }
}
@media (min-width: 1024px) {
  .home-designers .wrap { position: relative; }
  .home-designers .d-foot { display: block; position: absolute; top: 0; right: max(var(--pad), calc((100% - 1200px) / 2)); margin: 0; }
  .home-designers .d-foot .more-link { margin-top: 46px; }
}

/* ===== 13. 홈 / 가격 요약 ===== */
.p-sum { margin-top: var(--sp-32); border-bottom: 1px solid var(--line); }
.p-sum li { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; border-top: 1px solid var(--line); }
.p-sum .cat { font-weight: 700; color: var(--ink); }
.p-sum .amt { font-family: var(--serif); font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.p-extra { margin-top: var(--sp-24); }
.p-extra h3 { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.p-extra dl > div { display: flex; gap: 4px; margin-top: 4px; }
.p-extra dt, .p-extra dd { font-size: 16px; }
.p-extra .note-sm { font-size: 13px; color: var(--muted); margin-top: 4px; }
.p-extra .note { font-size: 13px; margin-top: var(--sp-32); }
@media (min-width: 1024px) {
  .p-sum { grid-column: 1 / 7; margin-top: 0; }
  .p-sum li { height: 80px; }
  .p-sum .cat { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.35; letter-spacing: -0.02em; }
  .p-sum .amt { font-size: 28px; }
  .p-extra { grid-column: 7 / 13; margin-top: 0; background: var(--bg); padding: 32px; align-self: stretch; }
  .p-extra dl { margin-top: 12px; }
  .p-extra dl > div { justify-content: space-between; align-items: center; height: 53px; border-bottom: 1px solid var(--line); margin-top: 0; }
  .p-extra dd { font-family: var(--serif); font-size: 28px; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); }
  .p-extra .note-sm { margin-top: 12px; }
  .p-extra .note { margin-top: 24px; }
}

/* ===== 14. 스타일 카드 ===== */
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-top: var(--sp-32); }
.s-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.s-card h3 { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--ink); margin-top: 12px; }
.s-card p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.s-card[hidden] { display: none; }
@media (min-width: 768px) { .s-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .s-grid { grid-column: 1 / 13; gap: 48px 24px; margin-top: 0; }
  .s-card h3 { margin-top: 16px; }
  .s-card p { margin-top: 2px; }
}

/* ===== 15. 처음 오시는 분께 ===== */
.first-media img { width: 100%; height: auto; aspect-ratio: 350 / 234; object-fit: cover; }
.first-text { margin-top: var(--sp-32); }
.steps { margin-top: var(--sp-32); border-bottom: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 54px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
.steps .num { font-family: var(--serif); font-weight: 400; font-size: var(--t2); line-height: 1; color: var(--terra); letter-spacing: -0.02em; padding-top: 4px; }
.steps h3 { font-size: var(--t4); line-height: var(--t4-lh); font-weight: 700; color: var(--ink); letter-spacing: var(--t4-ls); }
.steps p { margin-top: var(--sp-8); }
.notice { background: var(--surface); padding: 24px; margin-top: var(--sp-32); }
@media (min-width: 1024px) {
  .first .wrap { align-items: stretch; }
  .first-media { grid-column: 2 / 7 !important; }
  .first-media img { height: 100%; aspect-ratio: auto; min-height: 703px; }
  .first-text { grid-column: 8 / 14 !important; margin-top: 0; display: flex; flex-direction: column; }
  .first-text .steps { margin-top: var(--sp-48); }
  .steps li { grid-template-columns: 80px 1fr; padding: 25px 0 25px; }
  .first-text .notice { margin-top: auto; }
  .first-text .steps { margin-bottom: 32px; }
  .steps .num { padding-top: 6px; }
  .notice { margin-top: 32px; }
}

/* ===== 16. 영업시간 표 ===== */
.hours-title { font-size: var(--t4); font-weight: 700; line-height: 1.6; color: var(--ink); margin-bottom: var(--sp-16); }
.hours-table th, .hours-table td { height: 48px; padding: 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.hours-table tr:first-child th, .hours-table tr:first-child td { border-top: 1px solid var(--line); }
.hours-table th { text-align: left; font-weight: 500; color: var(--ink); }
.hours-table td { text-align: right; }
.hours-table .off td { font-weight: 700; color: var(--ink); }
.hours-note { font-size: 13px; color: var(--muted); margin-top: var(--sp-16); }

/* ===== 17. 약도 · 주소 ===== */
.map svg { display: block; width: 100%; height: auto; }
.map .map-pc { display: none; }
@media (min-width: 768px) { .map .map-pc { display: block; } .map .map-mo { display: none; } }
.map-text { font-family: var(--sans); }
.addr { margin-top: var(--sp-24); }
.addr > div + div { margin-top: var(--sp-16); }
.addr dt { font-size: 13px; color: var(--muted); }
.addr dd { margin-top: 2px; }
.map-actions { margin-top: var(--sp-24); }
.map-actions .btn-pair .btn { height: 48px; }
.map-open { display: inline-block; margin-top: var(--sp-12); font-size: 13px; color: var(--muted); }
.map-open a { color: var(--ink); text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .addr { margin-top: 32px; }
  .addr > div { display: grid; grid-template-columns: 80px 1fr; }
  .addr > div + div { margin-top: 12px; }
  .addr dt { padding-top: 3px; }
  .addr dd { margin-top: 0; }
  .map-actions { margin-top: 32px; }
  .map-actions .btn-pair .btn { height: 56px; }
}

/* 홈 오시는 길 */
.visit-body .map { margin-top: var(--sp-32); }
.hours-mo { margin-top: var(--sp-32); border-top: 1px solid var(--line); padding-top: var(--sp-24); }
.hours-mo .today { margin-top: var(--sp-8); }
.hours-mo .last { font-size: 13px; color: var(--muted); }
@media (min-width: 1024px) {
  .visit-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .visit-body .hours { grid-column: 1 / 7; grid-row: 1 / 4; }
  .visit-body .map { grid-column: 7 / 13; margin-top: 0; }
  .visit-body .addr, .visit-body .map-actions { grid-column: 7 / 13; }
  .visit-body .addr { margin-top: 32px; }
  .acc.hours-acc { margin-top: 0; border-bottom: 0; }
  .acc.hours-acc details { border-top: 0; }
  .acc.hours-acc .answer { padding-bottom: 0; }
}

/* ===== 18. 아코디언 (details) ===== */
.acc { border-bottom: 1px solid var(--line); }
.acc details { border-top: 1px solid var(--line); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding: 12px 0; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink); line-height: 1.5;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.acc .ico { width: 24px; height: 24px; position: relative; flex: none; }
.acc .ico::before, .acc .ico::after { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 1.5px; background: var(--ink); }
.acc .ico::after { transform: rotate(90deg); }
.acc details[open] .ico::after { display: none; }
.acc .answer { padding: 0 0 32px; }
.acc .answer p { max-width: 36em; }
.hours-acc { margin-top: var(--sp-24); }
.hours-acc .answer { padding-bottom: var(--sp-24); }

/* ===== 19. 디자이너 페이지 ===== */
.name-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: -12px; margin-bottom: var(--sp-48); }
.name-chips .btn { padding: 0 4px; width: 100%; }
.d-list { padding-inline: var(--pad); }
.d-item { display: grid; grid-template-columns: 132px 1fr; column-gap: 16px; border-top: 1px solid var(--line); padding: 48px 0; scroll-margin-top: calc(var(--header-h) + 8px); }
.d-item .photo { grid-column: 1; grid-row: 1 / 4; }
.d-item .photo img { width: 132px; height: 165px; object-fit: cover; }
.d-item .info { display: contents; }
.d-item .meta { grid-column: 2; font-size: 13px; color: var(--muted); }
.d-item .t2 { grid-column: 2; font-size: var(--t3); line-height: var(--t3-lh); }
.d-item dl { grid-column: 2; }
.d-item dt { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.d-item dd { line-height: 1.6; }
.d-item .bio { grid-column: 1 / -1; margin-top: var(--sp-24); }
.d-item .cta { grid-column: 1 / -1; margin-top: var(--sp-24); }
.d-item .cta .help { display: none; }
.d-item .cta .btn { width: 100%; }
.no-pick { background: var(--surface); padding: 24px; }
.no-pick .t4 { font-size: 16px; line-height: 1.7; }
.no-pick .btn { width: 100%; margin-top: var(--sp-24); }
@media (min-width: 1024px) {
  .name-chips { display: none; }
  .d-list { padding-inline: 0; }
  .d-item {
    grid-column: 2 / 14; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
    padding: 64px 0; align-items: stretch;
  }
  .d-list > .d-item:first-child { padding-top: 96px; }
  .d-item .photo { grid-column: 1 / 6; grid-row: 1; }
  .d-item .photo img { width: 100%; height: auto; aspect-ratio: 486 / 544; }
  .d-item .info { display: flex; flex-direction: column; grid-column: 7 / 12; grid-row: 1; }
  .d-item.flip .photo { grid-column: 8 / 13; }
  .d-item.flip .info { grid-column: 1 / 6; }
  .d-item .meta { margin-top: -4px; }
  .d-item .t2 { font-size: var(--t2); line-height: var(--t2-lh); margin-top: 8px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  .d-item dl { margin-top: 32px; }
  .d-item dt:first-child { margin-top: 0; }
  .d-item dt { margin-top: 32px; }
  .d-item dd { margin-top: 4px; }
  .d-item dd.skill { font-size: var(--t4); line-height: var(--t4-lh); }
  .d-item dd.days { font-weight: 700; color: var(--ink); }
  .d-item .bio { margin-top: 32px; }
  .d-item .cta { margin-top: auto; padding-top: 24px; }
  .d-item .cta .btn { width: auto; }
  .d-item .cta .help { display: block; }
  .no-pick { grid-column: 2 / 14; margin: 64px 0 0; padding: 48px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
  .no-pick .t4 { color: var(--ink); font-size: var(--t4); line-height: var(--t4-lh); }
  .no-pick .btn { width: auto; margin-top: 0; }
  .no-pick .cta { margin-top: -12px; }
}
.no-pick-sec { padding-bottom: var(--section); }

/* ===== 20. 가격 페이지 ===== */
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab {
  flex: 1; height: 49px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-size: 16px; line-height: 1.5; color: var(--text); cursor: pointer; padding: 0 8px;
}
.tab:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.tab[aria-selected="true"] { font-weight: 700; color: var(--ink); border-bottom-color: var(--ink); }
.tab:focus-visible { outline-offset: -2px; }

.price-wrap { padding-inline: var(--pad); }
.price-tabs { margin-top: 0; }
.price-table { margin-top: var(--sp-24); }
.price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price-table tbody { display: block; }
.price-table tbody.is-inactive { display: none; }
.price-table tr { display: grid; grid-template-columns: repeat(3, 1fr); padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-table th[scope="rowgroup"] { display: none; }
.price-table th[scope="row"] { grid-column: 1 / -1; text-align: left; font-weight: 700; color: var(--ink); line-height: 1.5; margin-bottom: 4px; }
.price-table td { font-weight: 500; color: var(--ink); line-height: 1.5; }
.price-table td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; }
.price-extra-wrap { display: flex; flex-direction: column; }
.price-extra-wrap .tilde { order: -1; font-size: 13px; color: var(--muted); margin-top: var(--sp-16); }
.price-extra { background: var(--surface); padding: 24px; margin-top: var(--sp-32); }
.price-extra h2 { font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; }
.price-extra dl > div { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.price-extra dd { font-family: var(--serif); font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); }

@media (min-width: 768px) {
  .price-tabs { display: none; }
  .price-table { margin-top: 0; }
  .price-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .price-table tbody, .price-table tbody.is-inactive { display: table-row-group; }
  .price-table tr { display: table-row; padding: 0; border: 0; }
  .price-table th, .price-table td { height: 57px; padding: 0; vertical-align: middle; border-bottom: 1px solid var(--line); }
  .price-table thead th { height: 41px; font-size: 13px; font-weight: 500; color: var(--muted); text-align: right; border-bottom: 1px solid var(--ink); vertical-align: middle; }
  .price-table thead th.c-item { text-align: left; }
  .price-table thead th.c-cat { border-bottom: 0; }
  .price-table th[scope="rowgroup"] {
    display: table-cell; vertical-align: top; text-align: left; border-bottom: 0;
    font-family: var(--serif); font-weight: 400; font-size: var(--t3); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); color: var(--ink);
    padding-top: 6px;
  }
  .price-table th[scope="row"] { display: table-cell; font-weight: 400; color: var(--text); margin: 0; }
  .price-table td { text-align: right; }
  .price-table td::before { content: none; }
  .price-table tbody tr:first-child > * { border-top: 1px solid var(--ink); }
  .price-table tbody tr:last-child > * { border-bottom: 0; }
  .price-table tbody:last-of-type tr:last-child > td,
  .price-table tbody:last-of-type tr:last-child > th[scope="row"] { border-bottom: 1px solid var(--line); }
  .price-table .c-cat { width: 25.5%; }
  .price-table .c-num { width: 12.75%; }
  .price-extra-wrap { background: var(--surface); padding: 32px; margin-top: var(--sp-48); margin-left: 25.5%; }
  .price-extra-wrap .tilde { order: 0; margin-top: 32px; color: var(--text); }
  .price-extra { background: none; padding: 0; margin: 0; }
  .price-extra h2 { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.5; }
  .price-extra dl { display: flex; margin-top: 16px; }
  .price-extra dl > div { display: block; width: 260px; margin-top: 0; }
  .price-extra dt { font-size: 13px; color: var(--muted); }
  .price-extra dd { font-size: 28px; margin-top: 4px; }
}
.price-sec { padding-bottom: var(--section); }
@media (min-width: 1024px) {
  .price-wrap { padding-inline: 0; }
  .price-wrap > * { grid-column: 2 / 14; }
  .price-sec { padding-top: 96px; }
}

.faq-sec .wrap > .faq-head { margin-bottom: var(--sp-32); }
.faq-cta { margin-top: var(--sp-32); }
@media (max-width: 1023px) {
  .faq-sec { background: none; padding-top: 0; }
  .faq-sec .faq-head-wrap { border-top: 1px solid var(--line); padding-top: var(--sp-64); }
  .faq-head .faq-cta { display: none; }
}
@media (min-width: 1024px) {
  .faq-head { grid-column: 2 / 8 !important; }
  .faq-sec .acc { grid-column: 8 / 14 !important; grid-row: 1; }
  .faq-after { display: none; }
}

/* ===== 21. 스타일 페이지 ===== */
.style-tabs { margin-top: 0; }
@media (min-width: 1024px) { .style-sec { padding-top: var(--sp-64); } }
.style-more { margin-top: var(--sp-32); width: 100%; }
.style-cta { background: var(--surface); padding: 24px; margin-top: var(--sp-48); }
.style-cta .btn { width: 100%; margin-top: var(--sp-24); }
.style-cta .t4 { font-size: 16px; line-height: 1.7; }
@media (min-width: 1024px) {
  .style-tabs { grid-column: 2 / 6 !important; justify-content: flex-start; gap: 32px; }
  .style-tabs .tab { flex: none; padding: 0; }
  .style-grid { margin-top: var(--sp-48); }
  .style-more { display: none !important; }
  .style-cta { display: flex; justify-content: space-between; align-items: flex-start; padding: 32px 48px; margin-top: 96px; }
  .style-cta .t4 { padding-top: 13px; color: var(--ink); font-size: var(--t4); line-height: var(--t4-lh); }
  .style-cta .btn { width: auto; margin-top: 0; }
}

/* ===== 22. 예약·오시는 길 페이지 ===== */
.visit-head .photo { margin-top: var(--sp-32); }
.visit-head .photo img { width: 100%; height: auto; aspect-ratio: 350 / 224; object-fit: cover; }
@media (min-width: 1024px) {
  .visit-head { overflow: hidden; }
  .visit-head .wrap { align-items: start; }
  .visit-head .text { grid-column: 2 / 9 !important; grid-row: 1; padding-top: 128px; }
  .visit-head .text .lead { margin-top: 24px; font-size: var(--t4); line-height: var(--t4-lh); }
  .visit-head .photo { grid-column: 9 / 15 !important; grid-row: 1; margin-top: 0; }
  .visit-head .photo img { aspect-ratio: 606 / 448; }
}
.methods { padding-top: var(--sp-64); padding-bottom: var(--section); }
.method { border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; }
.method + .method { margin-top: var(--sp-32); }
.method .num { font-family: var(--serif); font-weight: 400; font-size: var(--t2); line-height: var(--t2-lh); letter-spacing: -0.02em; color: var(--terra); }
.method h2 { font-size: var(--t4); line-height: var(--t4-lh); font-weight: 700; color: var(--ink); margin-top: 8px; }
.method p { margin-top: 8px; }
.method .cta { margin-top: 24px; }
.method .cta .btn { width: 100%; }
@media (min-width: 1024px) {
  .methods { padding-top: 96px; padding-bottom: calc(var(--section) + 29px); }
  .methods .wrap { align-items: stretch; }
  .method + .method { margin-top: 0; }
  .method:nth-child(1) { grid-column: 2 / 6; }
  .method:nth-child(2) { grid-column: 6 / 10; }
  .method:nth-child(3) { grid-column: 10 / 14; }
  .method h2 { margin-top: 12px; }
  .method .cta { margin-top: auto; padding-top: 32px; position: relative; }
  .method .cta .btn { width: auto; }
  .method .cta .help { position: absolute; top: 100%; left: 0; }
}

.rules-sec { padding-block: 0; }
.rules-sec .wrap { padding-inline: 0; }
.rules { background: var(--surface); padding: var(--section) var(--pad); }
.rules-list { margin-top: var(--sp-32); border-bottom: 1px solid var(--line); }
.rules-list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.rules-list .n { font-weight: 700; color: var(--ink); }
.visit-hours { padding: var(--section) var(--pad) 0; }
.visit-hours .t2 { margin-bottom: var(--sp-32); }
.visit-hours .hours-note { margin-top: var(--sp-24); }
@media (min-width: 1024px) {
  .rules-sec { background: var(--surface); padding-block: var(--section); }
  .rules { grid-column: 2 / 8 !important; background: none; padding: 0; }
  .rules-list li { padding: 24px 0; grid-template-columns: 30px 1fr; gap: 0; }
  .visit-hours { grid-column: 8 / 14 !important; padding: 0; }
}
.loc-sec { padding-top: var(--section); }
.loc-sec .loc-rule { margin-bottom: var(--section); }
.loc-sec .map { margin-top: var(--sp-32); }
@media (min-width: 1024px) {
  .loc-sec .loc-rule { display: none; }
  .loc-sec .eyebrow { display: none; }
  .loc-sec .t2 { grid-column: 2 / 14; }
  .loc-sec .map { grid-column: 2 / 8 !important; grid-row: 2; }
  .loc-sec .loc-info { grid-column: 8 / 14 !important; grid-row: 2; margin-top: var(--sp-32); }
  .loc-sec .loc-info .addr { margin-top: 0; }
}

/* ===== 23. 폼 ===== */
.form-sec { padding-top: var(--section); padding-bottom: var(--section); }
.form-sec .rule-top { margin-bottom: var(--section); }
.form-intro p.t5 { margin-top: var(--sp-16); }
.form-intro .req-note { font-size: 13px; color: var(--muted); margin-top: var(--sp-8); }
.err-summary { display: flex; align-items: center; gap: 8px; margin-top: var(--sp-24); font-size: 13px; font-weight: 700; color: var(--ink); }
.err-summary[hidden] { display: none; }
.err-summary svg, .field-error svg { width: 20px; height: 20px; color: var(--ink); }
.form { margin-top: var(--sp-32); }
.field + .field, .field + fieldset, fieldset + .field { margin-top: var(--sp-24); }
.field > label, fieldset legend { display: block; font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.6; margin-bottom: 8px; padding: 0; }
.input, .select, .textarea {
  display: block; width: 100%; height: 52px; padding: 0 16px;
  background: var(--white); border: 1px solid var(--muted); border-radius: 0;
  font-size: 16px; line-height: 1.5; color: var(--ink);
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: none; border: 2px solid var(--ink); padding-inline: 15px; }
.textarea { height: 128px; padding: 14px 16px; resize: vertical; }
.textarea:focus { padding: 13px 15px; }
.select-wrap { position: relative; }
.select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 16px; top: 14px; width: 24px; height: 24px; pointer-events: none; }
.is-invalid .input, .is-invalid .textarea { border: 2px solid var(--ink); padding-inline: 15px; }
.field-error { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.field-error[hidden] { display: none; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field { margin-top: var(--sp-24); }
.checks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 24px; height: 24px; margin: 0; background: var(--white); border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
}
.check input:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F3EF' stroke-width='1.5'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.check:hover input { border-width: 2px; }
.consent { margin-top: var(--sp-32); }
.consent.is-invalid .check input { border: 2px solid var(--ink); }
.form .submit { margin-top: var(--sp-24); width: 100%; }
@media (min-width: 1024px) {
  .form-intro { grid-column: 2 / 8 !important; }
  .form { grid-column: 8 / 14 !important; margin-top: 0; }
  .form-intro p.t5 { margin-top: 24px; }
  .form-intro .req-note { margin-top: 16px; }
  .err-summary { margin-top: 32px; }
  .checks { column-gap: 24px; }
  .form .submit { width: auto; margin-top: 32px; }
}

/* ===== 24. 문의 완료 ===== */
.done-sec { padding-top: var(--sp-64); padding-bottom: var(--section); }
.done-text .t4 { margin-top: var(--sp-16); font-size: 16px; line-height: 1.7; }
.sent { background: var(--surface); padding: 24px; margin-top: var(--sp-32); }
.sent h2 { font-size: 13px; font-weight: 400; color: var(--muted); }
.sent dl > div { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; margin-top: 12px; }
.sent dt { font-size: 13px; color: var(--muted); }
.sent dd { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.next-title { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); margin-top: var(--sp-48); }
.next-steps { margin-top: var(--sp-24); border-bottom: 1px solid var(--line); }
.next-steps li { padding: 24px 0; border-top: 1px solid var(--line); }
.next-steps .num { font-family: var(--serif); font-weight: 400; font-size: var(--t2); line-height: 1.3; color: var(--terra); display: block; }
.next-steps strong { display: block; font-weight: 700; color: var(--ink); margin-top: 8px; }
.done-cta { margin-top: var(--sp-32); }
.done-cta .help { text-align: left; }
.done-cta .help-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 1024px) {
  .done-sec { padding-top: var(--sp-128); }
  .done-text { grid-column: 2 / 8 !important; grid-row: 1; }
  .done-text .t4 { margin-top: 24px; font-size: var(--t4); line-height: var(--t4-lh); }
  .done-sec .wrap { grid-template-rows: auto auto 1fr; }
  .done-main { grid-column: 8 / 14 !important; grid-row: 1 / 4; }
  .sent { margin-top: 0; padding: 32px; }
  .sent h2 { font-size: 16px; font-weight: 700; color: var(--ink); }
  .sent dl { margin-top: 4px; }
  .sent dl > div { grid-template-columns: 128px 1fr; margin-top: 16px; }
  .next-title { font-family: var(--sans); font-weight: 700; font-size: 20px; line-height: 1.6; letter-spacing: -0.01em; margin-top: 64px; }
  .next-steps { margin-top: 16px; }
  .next-steps li { display: grid; grid-template-columns: 64px 1fr; padding: 16px 0 17px; }
  .next-steps .num { font-size: 28px; line-height: 1.35; }
  .next-steps strong { font-weight: 400; color: var(--text); margin-top: 0; }
  .done-cta { grid-column: 2 / 8 !important; grid-row: 2; margin-top: 48px; }
  .done-cta .help-wrap { display: flex; gap: 0; }
  .done-cta .pc-spacer { width: 121px; flex: none; }
  .done-cta .btn-pair { display: flex; }
}

/* ===== 25. 움직임 줄이기 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
