:root {
  --bg: #0c0b0a;
  --card: #15130f;
  --line: #2a2620;
  --gold: #c9a86a;
  --gold-dim: #8f7748;
  --text: #e9e3d6;
  --dim: #9a9284;
  --serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --sans: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --dock-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.75 var(--sans); letter-spacing: -0.01em; word-break: keep-all;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.35; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* 머리말 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(12, 11, 10, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1080px; margin: 0 auto; padding: 0 12px 0 20px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo span { font-family: var(--serif); font-size: 20px; letter-spacing: .32em; color: var(--text); }
.logo small { font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.menu { width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); }
.nav { display: none; }
.nav.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
.nav a { padding: 12px 0; min-height: 44px; color: var(--text); border-bottom: 1px solid var(--line); }
.nav a:last-child { border: 0; }
.nav-call { color: var(--gold) !important; }
@media (min-width: 900px) {
  .menu { display: none; }
  .nav, .nav.open { display: flex; flex-direction: row; position: static; padding: 0; border: 0; background: none; align-items: center; gap: 28px; }
  .nav a { border: 0; padding: 0; min-height: 0; font-size: 15px; color: var(--dim); transition: color .2s; }
  .nav a:hover { color: var(--text); }
  .nav-call { border: 1px solid var(--gold); padding: 8px 16px !important; border-radius: 2px; }
}

/* 첫 화면 */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero picture, .hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img.bg { object-fit: cover; animation: drift 18s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,10,.25) 0%, rgba(12,11,10,.55) 45%, var(--bg) 100%); }
.hero-in { position: relative; z-index: 1; padding: 0 20px 56px; max-width: 1080px; margin: 0 auto; width: 100%; }
.eyebrow { font-size: 13px; letter-spacing: .14em; color: var(--gold); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 8vw, 60px); font-weight: 700; }
.hero .lead { margin-top: 16px; font-size: 17px; color: #d8d1c3; max-width: 30em; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 1px solid var(--gold); color: var(--gold); border-radius: 2px; font-weight: 500; transition: background .2s, color .2s; }
.btn:hover { background: rgba(201,168,106,.1); }
.btn.solid { background: var(--gold); color: #17130c; }
.btn.solid:hover { background: #d6b87d; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }

/* 구획 */
.sec { padding: 72px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(24px, 5vw, 32px); }
.sec-head h2::after { content: ""; display: block; width: 36px; height: 1px; background: var(--gold); margin-top: 14px; transform-origin: left; transition: transform .9s .2s ease-out; }
.sec-head p { color: var(--dim); margin-top: 12px; }
.js .sec-head.reveal h2::after { transform: scaleX(0); }
.js .sec-head.reveal.in h2::after { transform: scaleX(1); }
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(28px, 6vw, 40px); }
.page-head p { color: var(--dim); margin-top: 12px; }

/* 한눈에 */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.fact { background: var(--bg); padding: 22px 18px; }
.fact svg { color: var(--gold); margin-bottom: 12px; }
.fact dt { font-size: 13px; color: var(--dim); }
.fact dd { margin: 4px 0 0; font-size: 17px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* 요금표 */
.fees { width: 100%; border-collapse: collapse; }
.fees th, .fees td { padding: 18px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.fees th small { display: block; color: var(--dim); font-size: 13px; margin-top: 2px; }
.fees td { text-align: right; font-family: var(--serif); font-size: 22px; color: var(--gold); white-space: nowrap; }
.fees td span { font-size: 15px; color: var(--dim); margin-left: 2px; font-family: var(--sans); }
.note { color: var(--dim); font-size: 14px; margin-top: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 12px; color: var(--gold); }
.more::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .2s; }
.more:hover::after { width: 28px; }

/* 계산기 */
.calc { background: var(--card); border: 1px solid var(--line); padding: 24px 20px; margin-top: 28px; }
.calc h2 { font-size: 20px; margin-bottom: 8px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.calc-row .label small { display: block; color: var(--dim); font-size: 13px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border: 1px solid var(--line); color: var(--gold); font-size: 20px; line-height: 1; border-radius: 2px; }
.stepper output { min-width: 48px; text-align: center; font-size: 18px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; }
.total strong { font-family: var(--serif); font-size: 32px; color: var(--gold); font-weight: 700; }

/* 이야기 */
.points { display: grid; gap: 32px; }
.point h3 { font-size: 20px; margin-bottom: 8px; }
.point p { color: #cfc8ba; }
.point .num { font-family: var(--serif); color: var(--gold); font-size: 14px; display: block; margin-bottom: 6px; }
@media (min-width: 900px) { .points { grid-template-columns: repeat(3, 1fr); } }

/* 사진 */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--card); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s ease-out; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.tall img { aspect-ratio: auto; }
.gallery figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: #e9e3d6; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.photo-note { font-size: 13px; color: var(--dim); margin-top: 10px; }

/* 이용 순서 */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 0 0 26px 52px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); color: var(--gold); font-size: 15px; }
.flow li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 6px; width: 1px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow strong { display: block; font-weight: 500; font-size: 17px; }
.flow span { color: var(--dim); }

/* 후기 */
.reviews { display: grid; gap: 12px; }
@media (min-width: 900px) { .reviews.three { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--card); border: 1px solid var(--line); padding: 18px; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review-name { font-weight: 500; }
.review-date { color: var(--dim); font-size: 13px; }
.review-body { margin-top: 8px; color: #d8d1c3; white-space: pre-line; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); margin-top: 6px; }
.empty { color: var(--dim); padding: 18px 0; }
.score { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; min-height: 60px; }
.score strong { font-family: var(--serif); font-size: 40px; color: var(--gold); font-weight: 700; }
.score span { color: var(--dim); }

/* 입력 */
.form { background: var(--card); border: 1px solid var(--line); padding: 22px 20px; margin-top: 32px; position: relative; }
.form h2 { font-size: 22px; margin-bottom: 4px; }
.form > p { color: var(--dim); font-size: 14px; }
.field { margin-top: 16px; }
.field label, .field .label { display: block; font-size: 14px; color: var(--dim); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font: inherit; border-radius: 2px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-dim); }
.rate { display: flex; gap: 4px; }
.rate button { width: 44px; height: 44px; display: grid; place-items: center; color: #4a4338; transition: color .15s; }
.rate button.on { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 20px; }
.form .btn[disabled] { opacity: .5; }
.form-msg { min-height: 24px; margin-top: 12px; font-size: 14px; color: var(--gold); }

/* 자주 묻는 질문 */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; min-height: 44px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: #cfc8ba; }

/* 글 페이지 */
.prose h2 { font-size: 22px; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #d4cdbf; margin-bottom: 14px; }
.prose ul { padding-left: 1.1em; margin: 0 0 14px; color: #d4cdbf; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); font-weight: 600; }
.addr { font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.map-btns { display: grid; gap: 8px; margin-top: 20px; }
@media (min-width: 600px) { .map-btns { grid-template-columns: repeat(3, 1fr); } }
.wide-photo { margin: 28px 0 0; }
.wide-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* 마지막 띠 */
.cta { text-align: center; padding: 80px 0; background: radial-gradient(ellipse at center, #1a1610 0%, var(--bg) 70%); border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(24px, 5vw, 32px); }
.cta p { color: var(--dim); margin-top: 10px; }
.cta .btns { justify-content: center; }

/* 꼬리말 */
.foot { border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: 14px; color: var(--dim); line-height: 1.9; }
.foot-name { color: var(--text); font-family: var(--serif); font-size: 16px; margin-bottom: 6px; }
.foot a { color: var(--text); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 16px 0; }
.foot-nav a { color: var(--dim); min-height: 32px; display: inline-flex; align-items: center; }
.adult { color: var(--text); margin-top: 8px; }
.copy { margin-top: 8px; font-size: 12px; }

/* 아래 고정 바 */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #100f0d; border-top: 1px solid var(--line); }
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px; color: var(--text); }
.dock svg { color: var(--gold); }
.dock .dock-call { background: var(--gold); color: #17130c; font-weight: 600; }
.dock .dock-call svg { color: #17130c; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .dock { left: auto; right: 24px; bottom: 24px; width: 380px; height: 60px; padding: 0; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
  .foot { padding-bottom: 100px; }
}
.toast { position: fixed; z-index: 50; left: 50%; bottom: calc(var(--dock-h) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 10px); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 2px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 스크롤 등장 — 자바스크립트가 켜졌을 때만 숨긴다(꺼져 있으면 그냥 보임) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 픽업 띠 */
.pickup { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 18px; border: 1px solid var(--gold-dim); background: linear-gradient(90deg, rgba(201,168,106,.08), transparent); }
.pickup svg { color: var(--gold); flex: none; }
.pickup strong { display: block; color: var(--gold); font-weight: 600; }
.pickup span { color: #d8d1c3; font-size: 15px; }
