/* 숨 필라테스 (가상의 필라테스 스튜디오) — 모모듀 샘플 사이트
   밝은 세이지 그린, 둥근 카드, 한 페이지 구성, 시간표가 주인공 */
:root {
  --bg: #F4F6F1;
  --white: #FFFFFF;
  --sage: #7F9C7E;
  --sage-deep: #3F5D45;
  --sage-tint: #E3EBDF;
  --peach: #F2C5A8;
  --sky: #CFE0EA;
  --ink: #1F2A22;
  --muted: #66716A;
  --line: #DCE3D8;
  --font: 'Gothic A1', 'Malgun Gothic', system-ui, sans-serif;
  --num: 'Manrope', 'Gothic A1', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.num { font-family: var(--num); font-weight: 700; }

.sample-bar { background: var(--sage-deep); color: #E8F0E4; font-size: 14px; }
.sample-bar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; padding-top: 7px; padding-bottom: 7px; text-align: center; }
.sample-bar a { color: var(--peach); font-weight: 700; text-decoration: none; white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 30; background: rgba(244,246,241,.94); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.logo__mark { width: 34px; height: 34px; border-radius: 50%; background: var(--sage); position: relative; }
.logo__mark::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2.5px solid var(--white); border-right-color: transparent; transform: rotate(-30deg); }
.logo b { font-size: 20px; font-weight: 800; }
.logo small { font-family: var(--num); font-size: 11px; letter-spacing: .2em; color: var(--muted); display: block; line-height: 1; }
.jump { display: none; gap: 4px; }
.jump a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.jump a:hover { background: var(--white); color: var(--ink); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; }
.pill--sage { background: var(--sage-deep); }
.pill--light { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.pill--lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }

/* 첫 화면 */
.hero { padding: 24px 0 56px; }
.hero .wrap { display: grid; gap: 26px; }
.hero__eyebrow { display: inline-flex; gap: 8px; align-items: center; background: var(--white); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 14.5px; font-weight: 600; }
.hero__eyebrow i { background: var(--sage-tint); color: var(--sage-deep); border-radius: 999px; padding: 2px 9px; font-style: normal; font-size: 13px; }
.hero h1 { font-size: 44px; margin: 18px 0 14px; }
.hero h1 em { font-style: normal; color: var(--sage-deep); background: linear-gradient(transparent 62%, var(--peach) 62%); }
.hero__text { color: var(--muted); font-size: 18px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__photo { position: relative; }
.hero__photo img { border-radius: 36px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.live { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.95); border-radius: 22px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 30px rgba(31,42,34,.15); }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: #E2725B; flex-shrink: 0; box-shadow: 0 0 0 5px rgba(226,114,91,.18); }
.live p { font-size: 15px; line-height: 1.45; }
.live b { display: block; font-size: 16.5px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
.facts li { list-style: none; background: var(--white); border-radius: 20px; padding: 14px 12px; text-align: center; }
.facts { padding: 0; }
.facts b { display: block; font-family: var(--num); font-size: 26px; color: var(--sage-deep); line-height: 1.2; }
.facts span { font-size: 13.5px; color: var(--muted); }

/* 섹션 */
.sec { padding: 64px 0; }
.sec--white { background: var(--white); border-radius: 40px 40px 0 0; }
.sec--white + .sec--white { border-radius: 0; }
.sec__tag { font-family: var(--num); font-weight: 800; font-size: 13.5px; letter-spacing: .2em; color: var(--sage); }
.sec h2 { font-size: 32px; margin: 8px 0 10px; }
.sec__lead { color: var(--muted); max-width: 36em; }

/* 원장 소개 */
.teacher { display: grid; gap: 24px; margin-top: 26px; }
.quote { background: var(--sage-tint); border-radius: 30px; padding: 28px 24px; font-size: 21px; font-weight: 700; line-height: 1.6; letter-spacing: -0.02em; position: relative; }
.quote::before { content: "“"; font-family: Georgia, serif; font-size: 80px; color: var(--sage); position: absolute; top: -16px; left: 18px; line-height: 1; }
.quote footer { margin-top: 16px; font-size: 15px; font-weight: 400; color: var(--muted); }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: w; }
.ways li { counter-increment: w; background: var(--bg); border-radius: 22px; padding: 18px 20px 18px 64px; position: relative; }
.ways li::before { content: counter(w, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font-family: var(--num); font-weight: 800; color: var(--sage); }
.ways b { display: block; font-size: 17.5px; }
.ways span { color: var(--muted); font-size: 15.5px; }

/* 시간표 */
.levels { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 16px; }
.level { border: 0; background: var(--white); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; box-shadow: inset 0 0 0 1.5px var(--line); }
.level i { width: 12px; height: 12px; border-radius: 4px; }
.level[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.lv-intro { background: var(--sage-tint); }
.lv-base { background: var(--sky); }
.lv-mid { background: var(--peach); }
.days-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.days-tabs button { flex: 1; border: 0; background: var(--white); border-radius: 14px; padding: 10px 0; font: inherit; font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.days-tabs button[aria-pressed="true"] { background: var(--sage-deep); color: var(--white); box-shadow: none; }
.tt { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.tt th { font-size: 14px; color: var(--muted); font-weight: 600; padding: 4px; }
.tt th[scope="row"] { font-family: var(--num); text-align: left; width: 64px; color: var(--ink); }
.tt td { padding: 0; height: 64px; }
.cls { width: 100%; height: 100%; border: 0; border-radius: 14px; font: inherit; text-align: left; padding: 8px 10px; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: transform .15s, opacity .2s; }
.cls:hover { transform: translateY(-2px); }
.cls b { font-size: 14.5px; line-height: 1.3; }
.cls small { font-size: 12.5px; color: rgba(31,42,34,.72); }
.cls.is-full { opacity: .45; cursor: not-allowed; }
.cls.is-dim { opacity: .15; }
.cls.is-picked { outline: 3px solid var(--ink); outline-offset: 2px; }
.tt .day-col { display: none; }
.tt .day-col.is-on { display: table-cell; }
.tt-note { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* 회원권 */
.kinds { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 5px; margin: 22px 0 18px; }
.kinds button { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); }
.kinds button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(31,42,34,.1); }
.passes { display: grid; gap: 12px; }
.pass { border-radius: 28px; padding: 24px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; position: relative; }
.pass--best { background: var(--sage-deep); color: var(--white); }
.pass__badge { position: absolute; top: 20px; right: 20px; background: var(--peach); color: var(--ink); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.pass h3 { font-size: 18px; }
.pass__price { font-family: var(--num); font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.pass__price small { font-family: var(--font); font-size: 16px; font-weight: 600; }
.pass__per { font-size: 15px; opacity: .78; }
.pass ul { padding-left: 18px; margin: 8px 0 0; font-size: 15px; opacity: .9; }

/* 체험 신청 */
.trial { background: var(--sage-deep); color: var(--white); border-radius: 36px; padding: 30px 22px; display: grid; gap: 22px; }
.trial h2 { color: var(--white); }
.trial .sec__lead { color: #CFDDCC; }
.trial__price { display: inline-block; background: var(--peach); color: var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 800; margin-top: 12px; }
.tf { display: grid; gap: 12px; }
.tf label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.tf input, .tf select { font: inherit; font-size: 16.5px; border: 0; border-radius: 14px; padding: 12px 14px; min-height: 50px; color: var(--ink); background: var(--white); }
.tf input:focus, .tf select:focus { outline: 3px solid var(--peach); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.check { flex-direction: row !important; align-items: center; gap: 6px !important; background: rgba(255,255,255,.12); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-weight: 400 !important; }
.check input { min-height: 0 !important; width: 16px; height: 16px; accent-color: var(--peach); }
.check:has(input:checked) { background: var(--peach); color: var(--ink); }
.tf .pill { background: var(--peach); color: var(--ink); width: 100%; min-height: 54px; font-size: 17px; }
.tf-err { color: var(--peach); font-weight: 700; font-size: 15px; }

/* 꼬리 · 알림 */
.foot { padding: 36px 0 44px; color: var(--muted); font-size: 14.5px; }
.foot a { color: var(--sage-deep); font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--ink); color: var(--white); border-radius: 999px; padding: 12px 20px; font-size: 14.5px; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.modal { border: 0; border-radius: 32px; padding: 28px 24px; max-width: 420px; width: calc(100% - 32px); color: var(--ink); }
.modal::backdrop { background: rgba(31,42,34,.5); }
.modal h2 { font-size: 26px; }
.modal p { color: var(--muted); margin: 8px 0; }
.modal ul { padding-left: 18px; margin: 12px 0 18px; }
.modal .pill { width: 100%; margin-top: 8px; min-height: 52px; }

@media (min-width: 820px) {
  .jump { display: flex; }
  .hero { padding: 40px 0 80px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: 64px; }
  .sec { padding: 96px 0; }
  .sec h2 { font-size: 42px; }
  .teacher { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .quote { padding: 40px 36px; font-size: 25px; }
  .days-tabs { display: none; }
  .tt .day-col { display: table-cell; }
  .tt th[scope="row"] { width: 80px; }
  .passes { grid-template-columns: repeat(3, 1fr); }
  .trial { grid-template-columns: .9fr 1.1fr; padding: 48px; gap: 48px; }
  .tf { grid-template-columns: 1fr 1fr; }
  .tf .wide { grid-column: 1 / -1; }
}

/* 긴 선택 목록 글자 때문에 화면이 넓어지지 않게 */
.trial > *, .tf > * { min-width: 0; }
.tf select { width: 100%; text-overflow: ellipsis; }
