/* MOVEL 랜딩 v2 — 다크 #1c1c1c / 크림 #f5f0e8 / 골드 #c8b882 (골드는 버튼·얇은 선에만) */
:root {
  --dark: #1c1c1c;
  --cream: #f5f0e8;
  --gold: #c8b882;
  --ink: #1c1c1c;
  --muted: #4c473f;
  --line: #e4ddd0;
  --white: #fdfbf7;
  --sans: 'Noto Sans KR', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --serif: 'Noto Serif KR', 'Apple SD Gothic Neo', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  word-break: keep-all;
  -webkit-text-size-adjust: 100%;
  padding-bottom: 76px; /* 하단 고정 바 자리 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 700; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.32; margin: 0 0 .7em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 6vw, 2.75rem); }
p { margin: 0 0 .9em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 600px; }
.section { padding: 112px 0; }
.dark { background: var(--dark); color: var(--cream); }
.cream { background: var(--cream); }

/* 섹션 영문 라벨 */
.label {
  font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .28em;
  color: var(--muted); margin-bottom: 18px;
}
.label::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }
.dark .label, .hero .label { color: #ddd6c8; }

.body-lg { font-size: 1.12rem; color: inherit; }
.micro { font-size: .82rem; color: var(--muted); margin: 12px 0 0; letter-spacing: .02em; }
.hero .micro { color: #e6dfd2; }
.center { text-align: center; }

/* 상단 바: 첫 화면 위에서는 투명, 스크롤하면 어둡게 */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 24px; color: #fff;
  transition: background-color .3s;
}
.topbar.is-solid { background: rgba(28, 28, 28, .94); }
.brand { font-family: var(--serif); font-weight: 700; text-decoration: none; letter-spacing: .1em; }
.brand span { font-family: var(--sans); font-weight: 400; font-size: .66rem; letter-spacing: .2em; opacity: .75; margin-left: 6px; }
.brand, .topbar-cta { white-space: nowrap; }
@media (max-width: 420px) { .brand span { display: none; } }
.topbar-cta { font-size: .85rem; text-decoration: none; border: 1px solid var(--gold); color: var(--gold); padding: 6px 16px; border-radius: 999px; }

/* 첫 화면 */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--dark); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,.3) 42%, rgba(18,18,18,.88) 68%, rgba(18,18,18,.97) 100%);
}
.hero-text { position: relative; z-index: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px 88px; }
.hero h1 { font-size: clamp(2.1rem, 8.5vw, 4rem); font-weight: 600; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.lead { font-size: 1.1rem; color: #f3eee4; max-width: 32em; margin-bottom: 28px; }

/* 버튼 */
.btn {
  display: inline-block; text-align: center; text-decoration: none; font-weight: 500; font-family: var(--sans);
  padding: 17px 32px; border-radius: 2px; border: 0; font-size: 1rem; cursor: pointer; letter-spacing: .02em;
}
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--cream); width: 100%; }
.btn-dark:disabled { opacity: .6; cursor: wait; }
.btn-line { border: 1px solid var(--dark); color: var(--dark); background: transparent; }
.btn:focus-visible, .topbar-cta:focus-visible, .sticky-bar a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 문장 목록 — 카드 대신 얇은 골드 선 */
.lines { list-style: none; margin: 48px 0 0; padding: 0; }
.lines li { padding: 28px 0; border-top: 1px solid var(--gold); }
.lines li:last-child { border-bottom: 1px solid var(--gold); }
.lines strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin-bottom: 6px; }
.lines p { margin: 0; color: var(--muted); }

.statement { font-size: clamp(2.4rem, 10vw, 4.6rem); line-height: 1.22; margin-bottom: .6em; }

/* 단계 */
.steps { list-style: none; margin: 48px 0 0; padding: 0; }
.steps li { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps span { font-family: var(--serif); color: var(--gold); font-size: 1.05rem; min-width: 2em; padding-top: 2px; }
.steps strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

.checks { margin-top: 72px; }
.checks-title { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin-bottom: 20px; }
.checks dl { margin: 0; }
.checks dl div { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.checks dt { font-weight: 500; min-width: 6.5em; }
.checks dd { margin: 0; color: var(--muted); }

.cta { margin-top: 72px; }

/* 대표 */
.coach { display: grid; gap: 40px; align-items: center; }
.coach-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.creds { list-style: none; margin: 8px 0 0; padding: 0; }
.creds li { padding: 14px 0; border-top: 1px solid var(--gold); font-size: 1.05rem; font-weight: 400; }
.creds li:last-child { border-bottom: 1px solid var(--gold); }

/* 공간 */
.gallery { display: grid; gap: 4px; margin-top: 56px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* 자주 묻는 질문 */
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: -3px; font-size: 1.35rem; font-weight: 300; color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* 신청 후 흐름 */
.flow { list-style: none; margin: 8px 0 48px; padding: 0; display: grid; gap: 0; }
.flow li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--gold); font-weight: 400; }
.flow li:last-child { border-bottom: 1px solid var(--gold); }
.flow span { font-family: var(--serif); color: var(--gold); width: 1.4em; }

/* 신청 폼 */
.field { display: block; font-weight: 500; margin-bottom: 22px; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 8px; padding: 14px 0;
  border: 0; border-bottom: 1px solid #b9b09e; border-radius: 0; background: transparent;
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--dark); }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: block; text-align: center; padding: 13px 8px; border: 1px solid #c9c0ad;
  background: var(--white); font-weight: 400; transition: background-color .15s, color .15s;
}
.chips input:checked + span { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { border-top: 1px solid #c9c0ad; padding-top: 18px; margin: 8px 0 22px; font-size: .88rem; }
.consent ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); }
.consent .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.consent .check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--dark); }
.form-error { color: #a12d2d; font-weight: 500; }
.done { border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 40px 0; text-align: center; }
.done h3 { margin-top: 0; }
.location { margin-top: 72px; }

/* 하단 */
.footer { background: var(--dark); color: #c4bdb0; padding: 48px 0 36px; font-size: .84rem; }
.footer strong { color: var(--cream); }
.footer p { margin: 0 0 6px; }
.footer a { color: #c4bdb0; }

/* 휴대폰 하단 고정 바 */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: grid; grid-template-columns: 2fr 1fr;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(28, 28, 28, .96); gap: 8px;
  transition: transform .25s, opacity .25s;
}
.sticky-bar a { text-align: center; text-decoration: none; padding: 14px 8px; font-weight: 500; }
.sticky-apply { background: var(--gold); color: var(--dark); }
.sticky-call { border: 1px solid #5a564f; color: var(--cream); }
.sticky-bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* 스크롤 시 살짝 떠오르는 효과 (자바스크립트가 켜졌을 때만) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .section { padding: 160px 0; }
  .hero-text { padding-bottom: 120px; }
  .lines, .steps { max-width: 760px; }
  .coach:has(.coach-photo) { grid-template-columns: 1fr 1fr; gap: 80px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { aspect-ratio: 3 / 4; }
  .chips { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sticky-bar, .topbar { transition: none; }
}
