/* 헬바디 — 첫 페이지 */
:root {
  --ink: #0E0E0F;
  --ink-2: #19191B;
  --ink-3: #26262A;
  --paper: #F4F2EE;
  --white: #FFFFFF;
  --red: #C30C24;          /* 로고 빨강 */
  --red-deep: #9E0A1D;
  --red-hi: #FF5A6A;       /* 검정 위 작은 빨강 글자 */
  --text: #161616;
  --muted: #5E5A55;
  --muted-d: #A9A59F;
  --line: #DCD7D0;
  --line-d: #2E2E33;
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 48px);
  --r: 14px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --display: "Anton", "Pretendard Variable", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--white); font-size: 17px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.03em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }

/* 시안 띠 */
.demo-bar { background: #FFE14D; color: #1B1600; font-size: 14px; line-height: 1.4; text-align: center; padding: 8px 16px; }
.demo-bar a { font-weight: 700; }
.demo-bar[hidden] { display: none; }

/* 머리글 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(14, 14, 15, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-d); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.top .logo img { height: 26px; width: auto; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.top nav a { color: #E7E4DF; text-decoration: none; padding: 8px 0; }
.top nav a:hover { color: var(--white); }
.top .btn { margin-left: 8px; }
@media (max-width: 860px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.arrow::after { content: "→"; font-weight: 400; }

/* 공통 섹션 */
section { padding: clamp(72px, 10vw, 128px) 0; }
.dark { background: var(--ink); color: #F2EFEA; }
.paper { background: var(--paper); }
.eyebrow { font-family: var(--display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 18px; }
.dark .eyebrow { color: var(--red-hi); }
.h2 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 800; }
.h2 em { font-style: normal; color: var(--red); }
.dark .h2 em { color: var(--red-hi); }
.lede { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); margin-top: 18px; max-width: 640px; }
.dark .lede { color: var(--muted-d); }
.src { display: inline-block; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-top: 12px; }
.dark .src { color: var(--muted-d); border-color: var(--line-d); }
.head { margin-bottom: clamp(36px, 5vw, 56px); }

/* 1. 첫 화면 */
.hero { padding: 0; background: var(--ink); color: #F2EFEA; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { font-size: clamp(48px, 8.4vw, 104px); font-weight: 900; letter-spacing: -0.045em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--red-hi); display: block; }
.hero .lede { color: #CFCBC5; max-width: 520px; margin-top: 26px; }
.hero .lede b { color: var(--white); font-weight: 700; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 720 / 930; object-fit: cover; border-radius: 6px; filter: saturate(.9) contrast(1.05); }
.hero figure::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--red); border-radius: 6px; z-index: -1; }
.hero figcaption { font-size: 13px; color: #8E8A84; margin-top: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); margin-top: 44px; }
.facts div { padding: 18px 12px 0 0; }
.facts b { display: block; font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; line-height: 1; color: var(--white); letter-spacing: .01em; }
.facts span { display: block; font-size: 14px; color: #A9A59F; margin-top: 8px; line-height: 1.4; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 0; gap: 28px; }
  .hero figure { order: -1; margin: 0 calc(var(--gut) * -1); }
  .hero figure img { aspect-ratio: 5 / 4; object-position: 50% 30%; border-radius: 0; }
  .hero figure::before { display: none; }
  .hero figcaption { padding: 0 var(--gut); }
  .hero .cta .btn { flex: 1 1 auto; }
}

/* 2. 먼저 말씀드립니다 */
.promise { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.promise li { display: grid; grid-template-columns: 96px 1fr 1.2fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.promise .n { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--red); }
.promise h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.promise p { color: #3B3835; }
.promise ol, ul.promise { list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) {
  .promise li { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .promise .n { font-size: 34px; }
}

/* 3. 어디가 불편하세요 */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 22px; background: var(--white); text-decoration: none; transition: border-color .15s, transform .15s; }
.area:hover { border-color: var(--ink); transform: translateY(-2px); }
.area .tag { font-size: 14px; font-weight: 700; color: var(--red); }
.area h3 { font-size: 22px; font-weight: 800; margin-top: 8px; }
.area p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.area .tip { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 15px; color: #2B2926; }
.area .tip::before { content: "헬바디 한 줄 · "; font-weight: 700; }
.area .go { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 15px; }
.area .go::after { content: " →"; }
.areas-note { margin-top: 28px; font-size: 17px; color: var(--muted); }
.areas-note b { color: var(--text); }
@media (max-width: 960px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .areas { grid-template-columns: 1fr; } }

/* 4. 원장 */
.director .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.director figure { margin: 0; position: sticky; top: 96px; }
.director figure img { width: 100%; border-radius: 6px; aspect-ratio: 720 / 850; object-fit: cover; }
.director figcaption { font-size: 13px; color: #8E8A84; margin-top: 12px; }
.record { margin-top: 36px; border-top: 1px solid var(--line-d); }
.record div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.record dt { font-weight: 700; color: var(--white); }
.record dd { margin: 0; color: #CFCBC5; }
.big14 { display: flex; align-items: baseline; gap: 16px; margin-top: 30px; }
.big14 b { font-family: var(--display); font-size: clamp(72px, 10vw, 120px); line-height: .9; font-weight: 400; color: var(--red-hi); }
.big14 span { font-size: 18px; color: #E7E4DF; line-height: 1.5; }
.quotes { margin-top: 36px; display: grid; gap: 14px; }
.quotes blockquote { margin: 0; padding: 22px 24px; background: var(--ink-2); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; font-size: 19px; font-weight: 600; color: var(--white); }
.quotes cite { display: block; font-style: normal; font-weight: 400; font-size: 14px; color: var(--muted-d); margin-top: 8px; }
@media (max-width: 860px) {
  .director .wrap { grid-template-columns: 1fr; }
  .director figure { position: static; }
  .director figure img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
}

/* 5. 첫 방문 과정 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { padding: 24px 20px 8px 0; position: relative; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.steps .n { font-family: var(--display); font-size: 15px; color: var(--red); letter-spacing: .06em; }
.steps h3 { font-size: 21px; font-weight: 800; margin-top: 8px; }
.steps p { font-size: 15.5px; color: var(--muted); margin-top: 10px; }
.steps .hot { justify-self: start; display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--white); background: var(--red); border-radius: 999px; padding: 2px 10px; }
.strip { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 12px; margin-top: 48px; }
.strip figure { margin: 0; }
.strip img { width: 100%; height: 280px; object-fit: cover; border-radius: 8px; }
.strip figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
  .steps li > * { grid-column: 2; }
  .steps .n { grid-column: 1; grid-row: 1 / span 3; font-size: 26px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:last-child { grid-column: 1 / -1; }
  .strip img { height: 220px; }
}

/* 6. 후기 */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.count { text-align: right; }
.count b { font-family: var(--display); font-size: clamp(56px, 8vw, 96px); line-height: .9; font-weight: 400; display: block; }
.count span { font-size: 14px; color: var(--muted); }
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 24px; border-radius: var(--r); background: var(--paper); }
.review p { font-size: 17px; color: #22201E; }
.review p b { background: linear-gradient(transparent 60%, rgba(195, 12, 36, .18) 0); }
.review footer { font-size: 13px; color: var(--muted); margin-top: 14px; }
.reviews-more { margin-top: 20px; }

/* 7. 숙제 */
.reels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.reel { text-decoration: none; display: block; }
.reel .thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--ink-3); }
.reel .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.reel:hover .thumb img { transform: scale(1.03); }
.reel .views { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 700; color: var(--white); background: rgba(0, 0, 0, .66); border-radius: 999px; padding: 3px 9px; }
.reel h3 { font-size: 16px; font-weight: 700; margin-top: 12px; line-height: 1.35; }
.reel p { font-size: 14px; color: var(--muted-d); margin-top: 4px; line-height: 1.45; }
@media (max-width: 1060px) {
  .reels { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scroll-padding-left: var(--gut); }
  .reel { scroll-snap-align: start; }
}
@media (max-width: 560px) { .reels { grid-auto-columns: 62%; } }

/* 8. 가격·시간 */
.info { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); }
.box { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); background: var(--white); }
.box h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc b { font-size: 18px; }
.svc .price { font-weight: 800; font-size: 18px; text-align: right; }
.svc small { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { padding: 11px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours th { width: 64px; font-weight: 700; }
.hours td.off { color: var(--red); font-weight: 700; }
.hours tr.today th, .hours tr.today td { background: var(--paper); }
.hours tr.today th { padding-left: 8px; }
.howto { margin-top: 22px; padding: 18px 20px; background: var(--paper); border-radius: 10px; font-size: 15.5px; color: #3B3835; }
.howto ol { margin: 8px 0 0; padding-left: 20px; }
@media (max-width: 860px) { .info { grid-template-columns: 1fr; } }

/* 9. 오시는 길 */
.map { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.addr { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; line-height: 1.35; }
.addr small { display: block; font-size: 16px; font-weight: 500; color: var(--muted); margin-top: 8px; }
.ways { margin: 0; }
.ways div { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.ways dt { font-weight: 800; }
.ways dd { margin: 0; color: #3B3835; }
.map .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 860px) { .map { grid-template-columns: 1fr; } }

/* 10. 묻는 말 */
.faq { max-width: 860px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 24px; color: #3B3835; }
.faq .a p + p { margin-top: 10px; }

/* 11. 마지막 */
.final { background: var(--red); color: var(--white); text-align: center; }
.final h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 900; letter-spacing: -0.04em; }
.final p { margin-top: 16px; font-size: 18px; color: #FFE3E6; }
.final .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.final .btn-ghost { border-color: rgba(255, 255, 255, .7); }

/* 바닥글 */
.foot { background: var(--ink); color: #A9A59F; font-size: 14.5px; padding: 56px 0 120px; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.foot img { height: 24px; width: auto; margin-bottom: 18px; }
.foot p + p { margin-top: 6px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.foot nav a { color: #E7E4DF; text-decoration: none; }
.foot .made { margin-top: 24px; font-size: 13px; color: #7A7670; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } .foot nav { text-align: left; } }

/* 휴대폰 아래 고정 줄 */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
.dock .btn { min-height: 50px; }
.dock .btn-red { flex: 1; }
.dock .sq { width: 56px; padding: 0; border: 1.5px solid var(--line); color: var(--ink); background: var(--white); font-size: 14px; flex-direction: column; gap: 0; line-height: 1.1; }
@media (max-width: 860px) { .dock { display: flex; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
