/* 숨 필라테스 & 요가 — 공통 스타일 */
:root {
  --bg: #faf7f2;
  --soft: #f2ece2;
  --beige: #e7ddcd;
  --ink: #2b2a26;
  --muted: #77736b;
  --line: #e4ddd1;
  --sage: #7c8f74;
  --sage-dark: #5d6f57;
  --sage-soft: #e5eae0;
  --white: #ffffff;
  --dark: #23241f;
  --serif: "Gowun Batang", "Noto Serif KR", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: "Noto Sans KR", sans-serif; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; padding-bottom: 64px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 샘플 배너 */
.sample { background: var(--dark); color: #b9b6ad; text-align: center; font-size: 12.5px; padding: 8px 16px; }
.sample b { color: #fff; font-weight: 500; }
.sample a { color: #fff; text-decoration: underline; }

/* 헤더 */
header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; flex-direction: column; line-height: 1.2; flex-shrink: 0; }
.logo b { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .04em; }
.logo span { font-size: 10.5px; letter-spacing: .32em; color: var(--sage-dark); margin-top: 3px; }
header nav { display: flex; align-items: center; gap: 4px; }
header nav a { font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
header nav a:hover { color: var(--ink); }
header nav a.on { color: var(--ink); font-weight: 500; background: var(--sage-soft); }
header nav a.cta { background: var(--sage); color: #fff; margin-left: 8px; padding: 8px 18px; }
header nav a.cta:hover, header nav a.cta.on { background: var(--sage-dark); color: #fff; }

/* 버튼 */
.btn { display: inline-block; padding: 14px 30px; font-size: 15px; border-radius: 999px; letter-spacing: .02em; transition: background .2s, color .2s; text-align: center; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn.sage { background: var(--sage); color: #fff; }
.btn.sage:hover { background: var(--sage-dark); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.line-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 섹션 공통 */
section { padding: 96px 0; }
section.soft { background: var(--soft); }
.head { margin-bottom: 48px; }
.head.center { text-align: center; }
.eyebrow { display: block; color: var(--sage-dark); letter-spacing: .28em; font-size: 12px; font-weight: 500; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.head h2 { font-size: clamp(26px, 4vw, 34px); line-height: 1.4; margin-top: 10px; }
.head p { color: var(--muted); margin-top: 12px; font-weight: 300; }
.lead { color: var(--muted); font-weight: 300; font-size: 16px; }

/* 페이지 상단 타이틀 */
.page-title { padding: 72px 0 56px; background: var(--soft); text-align: center; }
.page-title h1 { font-size: clamp(30px, 5vw, 42px); margin: 10px 0 12px; }
.page-title p { color: var(--muted); font-weight: 300; }

/* 홈 히어로 */
.hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,30,25,.08) 15%, rgba(30,30,25,.45) 50%, rgba(30,30,25,.75) 100%); }
.hero h1, .hero p { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 80px; }
.hero .eyebrow { color: #e9eee4; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.3; margin: 14px 0 18px; }
.hero p { font-weight: 300; font-size: 17px; max-width: 520px; margin-bottom: 32px; color: #f1efe9; }

/* 소개 */
.intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.intro h2 { font-size: clamp(26px, 4vw, 34px); line-height: 1.5; margin-top: 10px; }
.intro p { color: var(--muted); font-weight: 300; font-size: 16px; }
.intro p + p { margin-top: 14px; }

/* 핵심 포인트 */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.point { border-top: 1px solid var(--ink); padding-top: 24px; }
.point .num { font-family: var(--serif); color: var(--sage); font-size: 15px; }
.point h3 { font-size: 21px; margin: 6px 0 10px; }
.point p { color: var(--muted); font-size: 14.5px; font-weight: 300; }

/* 수업 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(60,55,40,.08); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.card .tag { font-size: 12px; color: var(--sage-dark); letter-spacing: .12em; }
.card h3 { font-size: 22px; margin: 4px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; font-weight: 300; flex: 1; }
.card .more { margin-top: 18px; font-size: 14px; color: var(--sage-dark); font-weight: 500; }
.card.text-only { background: var(--sage); color: #fff; border-color: var(--sage); }
.card.text-only .body { padding: 32px 28px; justify-content: center; }
.card.text-only .tag, .card.text-only p, .card.text-only .more { color: #eef2ea; }

/* 사진 밴드 */
.band { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--sage-soft); }
.band img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.band .text { padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; }
.band h2 { font-size: clamp(26px, 4vw, 32px); line-height: 1.5; margin: 10px 0 16px; }
.band p { color: var(--muted); font-weight: 300; }
.band ul { list-style: none; margin-top: 22px; color: var(--ink); font-size: 15px; }
.band li { padding: 8px 0; border-bottom: 1px solid rgba(93,111,87,.2); }
.band li::before { content: "—"; color: var(--sage); margin-right: 10px; }

/* CTA */
.cta-band { background: var(--dark); color: #fff; text-align: center; padding: 88px 0; }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.45; margin: 12px 0 14px; }
.cta-band p { color: #c3c1b8; font-weight: 300; margin-bottom: 30px; }
.cta-band .eyebrow { color: #a9b8a1; }
.cta-band .btns { justify-content: center; }
.cta-band .price-pill { display: inline-block; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 4px 16px; font-size: 14px; margin-bottom: 8px; color: #e9eee4; }

/* 위치/운영시간 */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.info-grid > div { padding: 28px 28px 0 0; }
.info-grid h3 { font-size: 18px; margin-bottom: 10px; }
.info-grid p, .info-grid li { color: var(--muted); font-size: 15px; font-weight: 300; }
.info-grid ul { list-style: none; }
.info-grid .text-link { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--sage-dark); font-weight: 500; border-bottom: 1px solid var(--sage); }

/* 수업 안내 상세 */
.class-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.class-feature + .class-feature { margin-top: 96px; }
.class-feature.reverse .photo { order: 2; }
.class-feature .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.class-feature h2 { font-size: clamp(26px, 4vw, 32px); margin: 8px 0 14px; }
.class-feature > div > p { color: var(--muted); font-weight: 300; }
.spec { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec li span { color: var(--muted); font-weight: 300; }
.spec li b { font-weight: 500; text-align: right; }

.class-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.class-item { background: var(--bg); border-radius: 18px; padding: 32px 28px; border: 1px solid var(--line); }
.class-item .tag { font-size: 12px; color: var(--sage-dark); letter-spacing: .12em; }
.class-item h3 { font-size: 22px; margin: 6px 0 10px; }
.class-item p { color: var(--muted); font-size: 14.5px; font-weight: 300; }
.class-item .meta { margin-top: 16px; font-size: 13px; color: var(--ink); display: flex; flex-wrap: wrap; gap: 6px; }
.class-item .meta span { background: var(--sage-soft); border-radius: 999px; padding: 2px 12px; }

/* 시간표 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.timetable { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; text-align: center; }
.timetable th, .timetable td { padding: 14px 10px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.timetable tr > *:last-child { border-right: 0; }
.timetable tbody tr:last-child > * { border-bottom: 0; }
.timetable thead th { background: var(--soft); font-weight: 500; }
.timetable tbody th { text-align: left; font-weight: 500; white-space: nowrap; background: var(--soft); }
.timetable tbody th small { display: block; color: var(--muted); font-weight: 300; font-size: 12px; }
.timetable .slot { display: inline-block; white-space: nowrap; border-radius: 8px; padding: 4px 10px; font-size: 13px; line-height: 1.5; }
.timetable .slot small { display: block; font-size: 11.5px; opacity: .8; }
.slot.g { background: var(--sage-soft); color: var(--sage-dark); }
.slot.y { background: #f3e9d8; color: #8a6c3f; }
.slot.b { background: #ece4ef; color: #6f5878; }
.timetable .none { color: #bdb7ab; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.legend .lg-g::before { background: var(--sage); }
.legend .lg-y::before { background: #c9a56c; }
.legend .lg-b::before { background: #a68aae; }
.scroll-hint { display: none; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }

/* 강사 소개 */
.teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teacher { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 40px 30px 34px; text-align: center; display: flex; flex-direction: column; }
.mono { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; font-family: var(--serif); font-size: 44px; color: var(--sage-dark); background: var(--sage-soft); border: 1px solid rgba(93,111,87,.25); box-shadow: inset 0 0 0 6px var(--bg), inset 0 0 0 7px rgba(93,111,87,.2); }
.mono.beige { background: #efe5d4; color: #8a6c3f; border-color: rgba(138,108,63,.25); box-shadow: inset 0 0 0 6px var(--bg), inset 0 0 0 7px rgba(138,108,63,.2); }
.teacher .role { font-size: 12px; letter-spacing: .2em; color: var(--sage-dark); }
.teacher h3 { font-size: 24px; margin: 4px 0 18px; }
.teacher .quote { font-family: var(--serif); color: var(--ink); font-size: 16px; line-height: 1.7; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.teacher dl { text-align: left; margin-top: 18px; font-size: 14px; flex: 1; }
.teacher dt { color: var(--sage-dark); font-weight: 500; font-size: 13px; margin-top: 12px; }
.teacher dd { color: var(--muted); font-weight: 300; }
.teacher .focus { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: 12.5px; }
.teacher .focus span { background: var(--soft); border-radius: 999px; padding: 3px 12px; color: var(--muted); }

.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise div { padding: 28px; border-left: 2px solid var(--sage); background: var(--bg); }
.promise h3 { font-size: 19px; margin-bottom: 8px; }
.promise p { color: var(--muted); font-size: 14.5px; font-weight: 300; }

/* 가격 */
.trial-highlight { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: var(--sage); color: #fff; border-radius: 24px; padding: 48px 52px; }
.trial-highlight .eyebrow { color: #e3eadc; }
.trial-highlight h2 { font-size: clamp(24px, 4vw, 32px); margin: 8px 0 10px; line-height: 1.45; }
.trial-highlight p { color: #eef2ea; font-weight: 300; }
.trial-highlight .amount { text-align: right; }
.trial-highlight .amount strong { display: block; font-family: var(--serif); font-size: clamp(40px, 7vw, 60px); font-weight: 400; line-height: 1.1; }
.trial-highlight .amount small { display: block; color: #e3eadc; margin-bottom: 18px; font-size: 14px; }

.price-block + .price-block { margin-top: 72px; }
.price-block > h2 { font-size: 26px; margin-bottom: 6px; }
.price-block > p { color: var(--muted); font-weight: 300; margin-bottom: 24px; font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; position: relative; }
.plan.best { border-color: var(--sage); box-shadow: 0 0 0 1px var(--sage); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--sage); color: #fff; font-size: 12px; padding: 2px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .sub { color: var(--muted); font-size: 13.5px; font-weight: 300; }
.plan ul { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.plan li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li span { color: var(--muted); font-weight: 300; }
.plan li b { font-weight: 500; white-space: nowrap; }
.plan li em { display: block; font-style: normal; font-size: 12px; color: var(--sage-dark); text-align: right; }
.notes { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.notes h3 { font-size: 19px; margin-bottom: 12px; }
.notes ul { padding-left: 18px; color: var(--muted); font-size: 14.5px; font-weight: 300; }
.notes li + li { margin-top: 6px; }
.notes .ph { display: inline-block; background: var(--soft); color: var(--ink); font-size: 12px; padding: 0 8px; border-radius: 4px; margin-left: 4px; }

/* 체험 신청 */
.trial-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.form-box { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 40px; }
.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field label .req { color: var(--sage-dark); margin-left: 2px; }
.field label .opt { color: var(--muted); font-weight: 300; font-size: 12.5px; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); background: var(--soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--sage); flex-shrink: 0; }
.agree small { display: block; color: var(--muted); font-weight: 300; font-size: 12.5px; }
.form-box .btn { width: 100%; font-size: 16px; padding: 16px; }
.success { display: none; margin-top: 20px; background: var(--sage-soft); border: 1px solid var(--sage); border-radius: 14px; padding: 20px 22px; color: var(--sage-dark); font-size: 15px; }
.success.show { display: block; }
.success b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

.side-box { background: var(--soft); border-radius: 22px; padding: 36px 32px; }
.side-box h3 { font-size: 21px; margin-bottom: 8px; }
.side-box > p { color: var(--muted); font-weight: 300; font-size: 14.5px; margin-bottom: 20px; }
.side-box .btns { flex-direction: column; }
.side-box .btn { width: 100%; }
.btn.kakao { background: #2b2a26; color: #fff; }
.btn.kakao:hover { background: #000; }
.steps { list-style: none; margin-top: 30px; counter-reset: step; }
.steps li { position: relative; padding: 0 0 18px 44px; font-size: 14.5px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: 1px solid var(--sage); color: var(--sage-dark); display: grid; place-items: center; font-size: 13px; }
.steps li b { display: block; font-weight: 500; }
.steps li span { color: var(--muted); font-weight: 300; font-size: 13.5px; }

/* 푸터 */
footer { background: var(--dark); color: #a9a69d; font-size: 14px; padding: 64px 0 48px; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
footer .logo b { color: #fff; }
footer .logo span { color: #a9b8a1; }
footer .desc { margin-top: 16px; font-weight: 300; font-size: 13.5px; }
footer h4 { color: #fff; font-weight: 500; font-size: 14px; margin-bottom: 10px; }
footer ul { list-style: none; font-weight: 300; }
footer li { padding: 2px 0; }
footer a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; margin-top: 8px; font-size: 12px; letter-spacing: .08em; }

/* 모바일 하단 고정 바 */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1.4fr; background: var(--dark); padding-bottom: env(safe-area-inset-bottom); }
.bar a { color: #fff; text-align: center; padding: 16px 0; font-size: 14.5px; }
.bar a + a { border-left: 1px solid rgba(255,255,255,.1); }
.bar a:last-child { background: var(--sage); font-weight: 500; border-left: 0; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .bar { display: none; }
}

@media (max-width: 960px) {
  .cards, .class-list, .teachers, .plans { grid-template-columns: 1fr 1fr; }
  .band .text { padding: 56px 36px; }
}

@media (max-width: 759px) {
  section { padding: 64px 0; }
  header { position: static; }
  header .wrap { flex-direction: column; align-items: stretch; gap: 10px; min-height: 0; padding-top: 16px; padding-bottom: 10px; }
  .logo { align-items: center; }
  header nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px; gap: 2px; }
  header nav::-webkit-scrollbar { display: none; }
  header nav a { font-size: 13.5px; padding: 7px 12px; flex-shrink: 0; }
  header nav a.cta { margin-left: 4px; }

  .hero { min-height: 520px; }
  .hero .wrap { padding-bottom: 48px; }
  .hero p { font-size: 15.5px; }
  .page-title { padding: 52px 0 40px; }

  .intro, .class-feature, .trial-layout, .trial-highlight { grid-template-columns: 1fr; gap: 28px; }
  .points, .cards, .class-list, .teachers, .plans, .promise, .info-grid, .field-row { grid-template-columns: 1fr; }
  .points { margin-top: 48px; gap: 32px; }
  .field-row { gap: 0; }
  .info-grid > div { padding-right: 0; }
  .class-feature + .class-feature { margin-top: 64px; }
  .class-feature.reverse .photo { order: 0; }
  .band { grid-template-columns: 1fr; }
  .band img { min-height: 0; height: 280px; }
  .band .text { padding: 48px 20px 56px; }
  .trial-highlight { padding: 36px 26px; }
  .trial-highlight .amount { text-align: left; }
  .form-box { padding: 28px 20px; }
  .side-box { padding: 30px 22px; }
  .plans { gap: 24px; }
  .scroll-hint { display: block; }
  footer { padding: 48px 0 32px; }
  footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 64px 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
