/* =========================================================
   고요 필라테스 — style.css
   모바일 먼저 작성하고 768px · 1024px에서 넓혀요.
   ========================================================= */

/* ---------- 1. 디자인 토큰 ---------- */
:root {
  /* 색 — 바꿀 때는 여기만 고쳐요 */
  --sage-dark: #3F4A3A;   /* 제목 글자, 푸터 바탕, 주 버튼 누름 */
  --sage: #5F6B57;        /* 기본색: 주 버튼, 링크, 선택된 탭 */
  --sage-mid: #4F5A48;    /* 주 버튼 마우스 올림 */
  --sage-light: #E3E7DC;  /* 선택 바탕, 체험 띠, 시간표 칸 */
  --photo-ph: #EDEFE6;    /* 강사 사진 자리 */
  --map: #ECE5D9;         /* 약도 자리 */
  --bg: #F7F3EC;          /* 페이지 바탕 */
  --surface: #EFE8DD;     /* 번갈아 쓰는 섹션 바탕 */
  --line: #D9CFC1;        /* 표 선, 입력칸 테두리 */
  --white: #FFFFFF;
  --muted: #6E655B;       /* 보조 글자 */
  --text: #3A342D;        /* 본문 글자 */
  --error: #9B2C2C;       /* 입력 오류에만 */
  --foot-text: #C9CFC0;   /* 푸터 보조 글자 */

  /* 글자 */
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --fs-display: 34px;
  --fs-h1: 28px;
  --fs-h2: 22px;
  --fs-card: 18px;
  --fs-body: 16px;
  --fs-small: 13px;
  --track-title: -0.02em;

  /* 크기 · 간격 */
  --radius: 6px;
  --gutter: 20px;
  --header-h: 64px;
  --sec-pad: 64px;
  --bar-h: 72px;
  --btn-h: 48px;
  --content-max: 1200px;
}

@media (min-width: 768px) {
  :root {
    --fs-display: 46px;
    --fs-h1: 34px;
    --fs-h2: 25px;
    --fs-card: 20px;
    --fs-body: 17px;
    --fs-small: 14px;
    --gutter: 32px;
    --sec-pad: 96px;
  }
}

@media (min-width: 1024px) {
  :root {
    --fs-display: 60px;
    --fs-h1: 40px;
    --fs-h2: 28px;
    --fs-card: 22px;
    --gutter: 40px;
    --header-h: 88px;
    --sec-pad: 128px;
    --btn-h: 56px;
  }
}

/* ---------- 2. 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: clip;
}

body.has-bar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
th { font-weight: inherit; text-align: left; }

:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  padding: 12px 16px; border-radius: var(--radius);
  background: var(--sage-dark); color: var(--white); text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 화면 폭에 따라 다른 글 (768px 기준) */
@media (max-width: 767px) {
  .pc, br.br-pc { display: none !important; }
}
@media (min-width: 768px) {
  .mo, br.br-mo { display: none !important; }
}

/* ---------- 3. 틀 ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--content-max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec { padding-block: var(--sec-pad); }
.sec--surface { background: var(--surface); }
/* 모바일과 PC에서 섹션 바탕 순서가 다른 페이지용 */
.bg-m { background: var(--surface); }
@media (min-width: 1024px) {
  .bg-m { background: var(--bg); }
  .bg-p { background: var(--surface); }
}

@media (min-width: 1024px) {
  .grid12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }
}

/* ---------- 4. 글자 단계 ---------- */
.eyebrow {
  font-size: var(--fs-small); font-weight: 500; line-height: 1.6;
  color: var(--sage); margin-bottom: 8px;
}
.display {
  font-size: var(--fs-display); font-weight: 300; line-height: 1.25;
  letter-spacing: var(--track-title); color: var(--sage-dark);
}
.title {
  font-size: var(--fs-h1); font-weight: 300; line-height: 1.3;
  letter-spacing: var(--track-title); color: var(--sage-dark);
}
.num {
  font-size: var(--fs-h2); font-weight: 300; line-height: 1.35;
  letter-spacing: var(--track-title); color: var(--sage-dark);
}
.card-t {
  font-size: var(--fs-card); font-weight: 500; line-height: 1.45;
  letter-spacing: -0.01em; color: var(--sage-dark);
}
.lead { margin-top: 16px; }
.small { font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.note { margin-top: 24px; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }

@media (min-width: 1024px) {
  .eyebrow { margin-bottom: 9px; }
  .lead { margin-top: 24px; }
}

.arrow-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--fs-body); font-weight: 500; color: var(--sage);
  text-decoration: none;
}
.arrow-link:hover { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 4px; }
.arrow-link:active { color: var(--sage-mid); }

/* 섹션 머리 */
.sec-head { margin-bottom: 32px; }
@media (min-width: 1024px) {
  .sec-head { margin-bottom: 48px; }
  .sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
  .sec-head--row .arrow-link { flex: none; margin-bottom: 8px; }
}

/* ---------- 5. 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--btn-h); padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; font-weight: 500; line-height: 1.3; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--sage); color: var(--white); }
.btn--primary:hover { background: var(--sage-mid); }
.btn--primary:active { background: var(--sage-dark); }
.btn--secondary { background: var(--bg); color: var(--sage-dark); border-color: var(--sage); }
.btn--secondary:hover { background: var(--sage-light); }
.btn--secondary:active { background: var(--surface); border-color: var(--sage-dark); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 48px; }
.btn[disabled] { cursor: progress; opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* ---------- 6. 머리 (상단 바) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: calc(var(--header-h) - 1px);
}
.logo {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 20px; line-height: 1; letter-spacing: -0.03em;
  color: var(--sage-dark); text-decoration: none; white-space: nowrap;
}
.logo b { font-weight: 500; }
.logo span { font-weight: 300; margin-left: .25em; }

.gnav { display: none; }
.menu-btn {
  display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; border-radius: var(--radius); color: var(--sage-dark); cursor: pointer;
}
.menu-btn:hover { background: var(--surface); }

@media (min-width: 1024px) {
  .logo { font-size: 24px; }
  .menu-btn { display: none; }
  .gnav { display: flex; align-items: center; gap: 40px; }
  .gnav__list { display: flex; gap: 40px; }
  .gnav__list a {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 16px; color: var(--text); text-decoration: none;
  }
  .gnav__list a:hover { color: var(--sage); }
  .gnav__list a[aria-current="page"],
  .gnav .btn[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .gnav .btn { min-height: 48px; width: 120px; padding: 0; }
}

/* 모바일 메뉴 */
.mnav {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
}
.mnav[hidden] { display: none; }
.mnav__top {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line);
}
.mnav__body { padding: 16px var(--gutter) 48px; }
.mnav__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 70px; border-bottom: 1px solid var(--line);
  font-size: 20px; font-weight: 300; letter-spacing: -0.02em; color: var(--sage-dark); text-decoration: none;
}
.mnav__list a:hover { color: var(--sage); }
.mnav__list small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.mnav__cta { display: grid; gap: 16px; margin-top: 32px; }
.mnav__info { margin-top: 40px; display: grid; gap: 24px; font-size: 14px; line-height: 1.6; }
.mnav__info dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
@media (min-width: 1024px) { .mnav { display: none !important; } }

/* 하단 고정 행동 바 (모바일·태블릿) */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 16px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--bg); border-top: 1px solid var(--line);
}
.actionbar .btn { min-height: 48px; }
.actionbar .btn--secondary { flex: 0 0 106px; padding: 0; }
.actionbar .btn--primary { flex: 1; }
@media (min-width: 1024px) { .actionbar { display: none; } }

/* ---------- 7. 바닥 (푸터) ---------- */
.site-footer { background: var(--sage-dark); color: var(--foot-text); padding: 48px 0; }
.site-footer .logo { color: var(--bg); min-height: 0; font-size: 20px; }
.foot__info { margin-top: 20px; font-size: 13px; line-height: 1.8; }
.foot__info span { display: block; }
.foot__info a { text-decoration: none; }
.foot__info a:hover { text-decoration: underline; }
.foot__links { display: flex; gap: 28px; margin-top: 20px; }
.foot__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 500; color: var(--sage-light); text-decoration: none;
}
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__copy { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--sage); font-size: 13px; }

@media (min-width: 768px) {
  .foot__info p span { display: inline; }
  .foot__info p span + span::before { content: " · "; }
}
@media (min-width: 1024px) {
  .site-footer { padding: 56px 0 40px; }
  .site-footer .logo { font-size: 22px; }
  .foot__grid { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; }
  .foot__links { grid-column: 2; grid-row: 1; margin-top: 0; gap: 32px; align-self: start; }
  .foot__links a { font-size: 14px; min-height: 32px; }
  .foot__info { grid-column: 1 / -1; margin-top: 28px; font-size: 14px; }
  .foot__copy { grid-column: 1 / -1; margin-top: 30px; padding-top: 16px; }
}

/* ---------- 8. 하위 페이지 머리말 · 바로가기 ---------- */
.page-head { padding: 24px 0 24px; }
.crumb ol { display: flex; flex-wrap: wrap; font-size: 13px; color: var(--muted); line-height: 1.6; }
.crumb li + li::before { content: "/"; margin: 0 .35em; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.page-head .display { margin-top: 12px; font-size: var(--fs-h1); line-height: 1.3; }
.page-head .lead { margin-top: 16px; }

.jump { padding-bottom: 24px; }
.jump ul {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.jump ul::-webkit-scrollbar { display: none; }
.jump li { flex: none; scroll-snap-align: start; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; color: var(--text); text-decoration: none; white-space: nowrap;
}
.jump a:hover { border-color: var(--sage); }
.jump a[aria-current="true"] { background: var(--sage); border-color: var(--sage); color: var(--white); font-weight: 500; }

@media (min-width: 768px) {
  .page-head .display { font-size: var(--fs-display); }
}
@media (min-width: 1024px) {
  .page-head { padding: 96px 0 96px; }
  .page-head .display { margin-top: 24px; line-height: 1.25; }
  .page-head .lead { margin-top: 24px; }
  .jump { padding: 14px 0 13px; border-bottom: 1px solid var(--line); }
  .jump ul { margin: 0; padding: 0; overflow: visible; }
}

/* ---------- 9. 표 공통 ---------- */
.rows > div {
  display: grid; grid-template-columns: 88px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.rows { border-top: 1px solid var(--sage-dark); }
.rows dt { font-size: 13px; color: var(--muted); padding-top: 2px; }
.rows dd { font-size: var(--fs-body); }
.rows dd strong { font-weight: 500; }
@media (min-width: 1024px) {
  .rows > div { grid-template-columns: 130px 1fr; padding: 16px 0; }
  .rows dt { font-size: 14px; }
  .rows dd { font-size: 16px; }
}

/* 표 → 카드 (모바일): tr 안의 칸을 줄 단위로 다시 놓아요 */
.tbl { font-size: var(--fs-body); }
.tbl th, .tbl td { padding: 0; vertical-align: top; }

/* ---------- 10. 홈 · 첫 화면 ---------- */
.hero { display: flex; flex-direction: column; }
.hero__media img { width: 100%; aspect-ratio: 390 / 280; object-fit: cover; }
.hero__media picture { display: block; height: 100%; }
.hero__body { padding: 28px var(--gutter) 40px; }
.hero__body .display { margin-top: 0; }
.hero__body .lead { margin-top: 16px; }
.hero__cta { display: none; }
.hero__info { margin-top: 28px; display: grid; gap: 14px; font-size: 13px; line-height: 1.6; }
.hero__info > div { display: grid; grid-template-columns: 70px 1fr; }
.hero__info dt { color: var(--muted); font-weight: 500; }
.hero__info dd { color: var(--text); }

@media (min-width: 768px) {
  .hero__media img { aspect-ratio: auto; height: 460px; }
  .hero__body { max-width: calc(var(--content-max) + var(--gutter) * 2); padding-top: 48px; }
}
@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 600px) minmax(0, 600px) minmax(var(--gutter), 1fr);
    min-height: 812px;
  }
  .hero__media { grid-column: 3 / 5; grid-row: 1; }
  .hero__media img { width: 100%; height: 100%; min-height: 812px; aspect-ratio: auto; }
  .hero__body { grid-column: 2 / 3; grid-row: 1; align-self: center; padding: 0 24px 0 0; max-width: 560px; }
  .hero__body .eyebrow { margin-bottom: 13px; }
  .hero__body .lead { margin-top: 32px; }
  .hero__cta { display: flex; gap: 16px; margin-top: 40px; }
  .hero__cta .btn--primary { width: 200px; }
  .hero__cta .btn--secondary { width: 224px; }
  .hero__info { margin-top: 48px; padding-top: 23px; border-top: 1px solid var(--line); max-width: 486px; gap: 8px; font-size: 14px; }
  .hero__info > div { grid-template-columns: 96px 1fr; }
}

/* ---------- 11. 홈 · 수업 종류 ---------- */
.cls-list { border-top: 1px solid var(--sage-dark); }
.cls-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.cls__rec { margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--sage); }
.cls__desc { margin-top: 12px; }
.cls__price { margin-top: 12px; font-weight: 500; color: var(--text); }
.cls__cnt + .cls__amt::before { content: " · "; }
.sec-classes .arrow-link { margin-top: 16px; }

@media (min-width: 1024px) {
  .sec-classes .grid12 > .sec-head { grid-column: 1 / 6; margin: 0; }
  .sec-classes .grid12 > .cls-list { grid-column: 6 / 13; }
  .sec-classes .arrow-link { margin-top: 56px; }
  .cls-list li {
    display: grid; grid-template-columns: 1fr 180px; column-gap: 24px;
    min-height: 200px; padding: 32px 0;
  }
  .cls__rec { font-size: 14px; }
  .cls__price { margin-top: 0; font-weight: 300; }
  .cls__cnt { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
  .cls__amt { display: block; font-size: 28px; letter-spacing: var(--track-title); color: var(--sage-dark); line-height: 1.35; margin-top: 4px; }
  .cls__cnt + .cls__amt::before { content: none; }
}

/* ---------- 12. 단계 (첫 수업) ---------- */
.steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 0; padding: 0 0 24px; }
.steps li + li { padding-top: 0; }
.steps__no { font-size: 13px; font-weight: 500; color: var(--sage); padding-top: 4px; }
.steps p { grid-column: 2; margin-top: 6px; }
.first__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 700 / 467; object-fit: cover; }
.first__media { margin-bottom: 32px; }
.first__note { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--line); }

@media (min-width: 1024px) {
  .sec-first .grid12 { grid-template-areas: "m m m m m m h h h h h h" "m m m m m m s s s s s s" "m m m m m m n n n n n n"; }
  .first__media { grid-area: m; align-self: center; margin: 0; }
  .first__media img { aspect-ratio: 588 / 440; }
  .sec-first .sec-head { grid-area: h; margin-bottom: 48px; }
  .sec-first .steps { grid-area: s; }
  .first__note { grid-area: n; margin-top: 8px; }
  .steps li { grid-template-columns: 56px 1fr; padding-bottom: 32px; min-height: 130px; }
  .steps__no { font-size: 14px; padding-top: 6px; }
}

/* ---------- 13. 강사 ---------- */
.trainers {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
  scroll-padding-inline: var(--gutter);
}
.trainers > li { flex: 0 0 225px; scroll-snap-align: start; }
.ph {
  display: grid; place-content: center; justify-items: center; gap: 8px;
  width: 225px; aspect-ratio: 3 / 4; background: var(--photo-ph); border-radius: var(--radius);
  text-align: center;
}
.ph__init { font-size: 40px; font-weight: 300; color: var(--sage); line-height: 1; }
.ph__note { font-size: 12px; color: var(--muted); }
.trainer__name { margin-top: 20px; }
.trainer__qual { margin-top: 4px; font-size: 13px; color: var(--muted); }
.trainer__intro { margin-top: 12px; }
.trainers-hint { margin-top: 16px; font-size: 13px; color: var(--muted); }
.sec-trainers .sec-link { margin-top: 8px; }

@media (min-width: 768px) {
  .trainers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 0; padding: 0; }
  .trainers-hint { display: none; }
  .ph { width: min(225px, 100%); }
}
@media (min-width: 1024px) {
  .sec-trainers .sec-link { margin-top: 0; }
  .trainer__name { margin-top: 24px; }
  .trainer__qual { font-size: 14px; }
  .trainer__intro { margin-top: 16px; }
}

/* 강사·시설 페이지 강사 카드 */
.tcards { display: grid; gap: 40px; }
.tcard { display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; }
.tcard .ph { width: 120px; grid-row: 1 / 3; }
.tcard .ph__init { font-size: 28px; }
.tcard .ph__note { font-size: 11px; }
.tcard__name { grid-column: 2; padding-top: 8px; }
.tcard .rows { display: contents; }
.tcard .rows > div { grid-column: 1 / -1; }
.tcard .rows > div:first-child { grid-column: 2; grid-row: 2; display: block; border: 0; padding: 4px 0 0; align-self: start; }
.tcard .rows > div:first-child dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tcard .rows > div:first-child dd { font-size: 13px; color: var(--muted); line-height: 1.6; }
.tcard .rows > div:nth-child(2) { margin-top: 20px; border-top: 1px solid var(--line); }

@media (min-width: 1024px) {
  .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .tcard { display: block; }
  .tcard .ph { width: 225px; }
  .tcard .ph__init { font-size: 40px; }
  .tcard .ph__note { font-size: 12px; }
  .tcard__name { padding: 24px 0 14px; border-bottom: 1px solid var(--sage-dark); }
  .tcard .rows { display: block; border: 0; }
  .tcard .rows > div,
  .tcard .rows > div:first-child { display: grid; grid-template-columns: 100px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; border-top: 0; }
  .tcard .rows > div:first-child dt { position: static; width: auto; height: auto; clip: auto; }
  .tcard .rows > div:first-child dd { font-size: 16px; color: var(--text); }
}

/* ---------- 14. 시간표 ---------- */
.sched-wrap { overflow-x: auto; }
.sched {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; min-width: 720px;
}
.sched table { table-layout: fixed; }
.sched thead th {
  height: 56px; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--muted);
  border-bottom: 1px solid var(--sage); vertical-align: middle;
}
.sched thead th.is-today { background: var(--sage); color: var(--white); }
.sched col.c-time { width: 80px; }
.sched tbody th { padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--text); vertical-align: middle; height: 72px; }
.sched tbody tr + tr > * { border-top: 1px solid var(--surface); }
.sched td { padding: 12px 8px 12px 0; vertical-align: middle; }
.sched td span {
  display: flex; align-items: center; min-height: 48px; padding-left: 12px;
  background: var(--sage-light); border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--sage-dark); white-space: nowrap;
}
@media (min-width: 1024px) {
  .sched { min-width: 0; }
  .sched col.c-time { width: 120px; }
  .sched thead th, .sched tbody th { padding-left: 24px; }
  .sched thead th + th { padding-left: 16px; }
  .sched td { padding-right: 12px; }
  .sched td span { padding-left: 16px; }
}

/* 모바일 요일 탭 (main.js가 표에서 만들어요) */
.day-tabs { display: none; }
.js .day-tabs { display: block; }
.js .sched-wrap { display: none; }
@media (min-width: 768px) {
  .js .day-tabs { display: none; }
  .js .sched-wrap { display: block; }
}
.day-tabs [role="tablist"] { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.day-tabs [role="tab"] {
  min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--text); font-size: 16px; cursor: pointer;
}
.day-tabs [role="tab"]:hover { border-color: var(--sage); }
.day-tabs [role="tab"][aria-selected="true"] { background: var(--sage); border-color: var(--sage); color: var(--white); font-weight: 500; }
.day-panel { margin-top: 24px; }
.day-panel h3 { font-size: 13px; font-weight: 500; color: var(--sage-dark); padding-bottom: 8px; border-bottom: 1px solid var(--sage-dark); }
.day-panel li {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center;
  min-height: 54px; border-bottom: 1px solid var(--line);
}
.day-panel b { font-weight: 500; }
.day-panel small { font-size: 12px; color: var(--muted); }

/* ---------- 15. 가격 ---------- */
.trial-band {
  display: grid; gap: 4px; padding: 20px;
  background: var(--sage-light); border-radius: var(--radius);
}
.trial-band__label { font-size: 13px; font-weight: 500; color: var(--muted); }
.trial-band__price { font-size: var(--fs-h2); font-weight: 300; letter-spacing: var(--track-title); color: var(--sage-dark); line-height: 1.35; }
.trial-band__desc { font-size: 13px; line-height: 1.6; margin-top: 4px; }
.trial-band__cta { display: grid; gap: 12px; margin-top: 16px; }
.trial-band__cta .btn { min-height: 48px; }
.trial-band--home .trial-band__cta .btn--secondary { display: none; }

@media (min-width: 768px) {
  .trial-band { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 24px; padding: 24px 32px; }
  .trial-band__head { grid-column: 1; }
  .trial-band__desc { grid-column: 2; margin: 0; font-size: 14px; }
  .trial-band__cta { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
}
@media (min-width: 1024px) {
  .trial-band { grid-template-columns: 352px 1fr auto; min-height: 120px; padding: 0 24px 0 32px; }
  .trial-band__cta { grid-column: 3; margin: 0; }
  .trial-band__label { font-size: 14px; }
  .trial-band__price { font-size: 28px; }
  .trial-band--home .trial-band__cta .btn--primary { width: 200px; }
  .trial-band__cta .btn--secondary { width: 160px; padding: 0; }
  .trial-band__cta .btn--primary { width: 144px; padding: 0; }
}

/* 가격표 */
.price-tbl { margin-top: 32px; }
.price-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price-tbl tbody { display: block; border-top: 1px solid var(--line); }
.price-tbl tr {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.price-tbl tr::before { content: ""; order: 2; flex-basis: 100%; height: 6px; }
.price-tbl td, .price-tbl th[scope="row"] { order: 3; font-size: 13px; color: var(--muted); }
.price-tbl tr > :nth-child(-n+2) { order: 1; font-size: 16px; font-weight: 500; color: var(--sage-dark); }
.price-tbl tr > :nth-child(2) { margin-left: -16px; }
.price-tbl tr > :nth-child(2)::before { content: "\00a0· "; }
.price-tbl tr > :nth-child(3) { font-size: 22px; font-weight: 300; letter-spacing: var(--track-title); color: var(--sage-dark); }
.price-tbl tr > :nth-child(4)::before { content: "회당 "; }
.price-tbl tr > :nth-child(5) { margin-left: -16px; }
.price-tbl tr > :nth-child(5)::before { content: "\00a0· "; }
.price-tbl tr > :nth-child(6) { margin-left: -16px; }
.price-tbl tr > :nth-child(6)::before { content: "\00a0· 홀딩 "; }
.price-tbl tr > [data-m] { font-size: 0; }
.price-tbl tr > [data-m]::before { content: attr(data-m) !important; font-size: 13px; }
.price-tbl tr > .m-hide { display: none; }
.price-tbl tr.is-trial { background: var(--sage-light); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }

@media (min-width: 768px) {
  .price-tbl { margin-top: 48px; }
  .price-tbl thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .price-tbl tbody { display: table-row-group; border: 0; }
  .price-tbl tr { display: table-row; padding: 0; }
  .price-tbl tr::before { content: none; }
  .price-tbl th, .price-tbl td,
  .price-tbl tr > :nth-child(n) { font-size: 16px; font-weight: 400; color: var(--text); margin: 0; vertical-align: middle; letter-spacing: 0; }
  .price-tbl tr > :nth-child(n)::before { content: none !important; }
  .price-tbl tr > [data-m] { font-size: 16px; }
  .price-tbl tr > .m-hide { display: table-cell; }
  .price-tbl thead th:first-child { width: 32%; }
  .price-tbl thead th { height: 48px; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--sage); }
  .price-tbl tbody > tr > * { height: 64px; border-bottom: 1px solid var(--line); padding-right: 16px; }
  .price-tbl tbody > tr > :first-child { padding-left: 0; }
  .price-tbl tr > :nth-child(3) { font-weight: 500; }
  .price-tbl tr.is-trial { margin: 0; }
  .price-tbl tr.is-trial > * { font-weight: 500; }
}
@media (min-width: 1024px) {
  .price-tbl th, .price-tbl td, .price-tbl tr > :nth-child(n) { font-size: 17px; }
  .price-tbl thead th { font-size: 14px; }
}

/* 접는 칸 (규정 · FAQ · 그룹 단계) */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 500; color: var(--sage-dark);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; flex: none; width: 20px; text-align: center;
  font-size: 22px; font-weight: 300; line-height: 1; color: var(--sage-dark);
}
.acc details[open] > summary::after { content: "\2212"; }
.acc summary:hover { color: var(--sage); }
.acc__body { padding: 0 0 20px; }
.acc__body p + p { margin-top: 4px; }
/* PC에서 늘 펼쳐 두는 칸 */
.is-static > summary { cursor: default; pointer-events: none; }
.is-static > summary::after { display: none; }

/* 홈 규정 3단 (PC) */
.sec-price .acc { margin-top: 32px; }
.sec-price .sec-link { margin-top: 16px; }
@media (min-width: 1024px) {
  .sec-price .sec-link { margin-top: 0; }
  .sec-price .acc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border: 0; margin-top: 64px; }
  .sec-price .acc details { border-bottom: 0; border-top: 1px solid var(--sage-dark); }
  .sec-price .acc summary { font-size: 22px; padding: 24px 0 12px; min-height: 0; }
  .sec-price .acc__body { font-size: 17px; }
}

/* ---------- 16. 시설 ---------- */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.photos .is-big { grid-column: 1 / -1; aspect-ratio: 350 / 230; }
.photos .is-small { aspect-ratio: 768 / 496; }
@media (min-width: 1024px) {
  .photos { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 248px 248px; gap: 24px; }
  .photos .is-big { grid-column: 1 / 9; grid-row: 1 / 3; aspect-ratio: auto; }
  .photos .is-small { grid-column: 9 / 13; aspect-ratio: auto; }
}

.feats { margin-top: 32px; border-top: 1px solid var(--line); }
.feats li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feats h3 { font-size: 16px; font-weight: 500; color: var(--sage-dark); line-height: 1.7; }
.feats--rows h3 { font-size: 13px; font-weight: 400; color: var(--muted); padding-top: 2px; }
@media (min-width: 1024px) {
  .feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; border: 0; }
  .feats li { display: block; padding: 24px 0 0; border-bottom: 0; border-top: 1px solid var(--sage-dark); }
  .feats h3, .feats--rows h3 { font-size: 22px; font-weight: 500; color: var(--sage-dark); line-height: 1.45; padding: 0; }
  .feats p { margin-top: 12px; font-size: 17px; }
}
.feats-after { margin-top: 24px; }
@media (min-width: 1024px) {
  .feats-after { display: flex; align-items: center; gap: 32px; margin-top: 48px; }
  .feats-after .arrow-link { font-size: 16px; }
}

/* ---------- 17. 오시는 길 ---------- */
.map img { width: 100%; height: auto; aspect-ratio: 690 / 460; object-fit: cover; border-radius: var(--radius); background: var(--map); }
.map__cta { margin-top: 16px; }
.map__alt { margin-top: 4px; font-size: 13px; color: var(--muted); }
.map__alt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sage); font-weight: 500; text-decoration: none; }
.map__alt a:hover { text-decoration: underline; }
.today {
  margin-top: 24px; display: flex; align-items: center; min-height: 48px; padding: 0 16px;
  background: var(--sage-light); border-radius: var(--radius); font-size: 15px; font-weight: 500; color: var(--sage-dark);
}
.hours { margin-top: 12px; }
.hours > div { display: grid; grid-template-columns: 125px 1fr; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { font-weight: 500; }
.place { margin-top: 32px; display: grid; gap: 14px; }
.place dt { font-size: 13px; color: var(--muted); }
.place dd { margin-top: 2px; }
.place .small { margin-top: 4px; }
.place a[href^="tel:"] { text-decoration: none; }
.place a[href^="tel:"]:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .sec-location .grid12 > .map { grid-column: 1 / 8; }
  .sec-location .grid12 > .loc-info { grid-column: 8 / 13; }
  .map__cta { margin-top: 24px; width: 200px; }
  .today { margin-top: 0; min-height: 56px; font-size: 16px; padding: 0 20px; }
  .hours { margin-top: 36px; }
  .hours > div { grid-template-columns: 166px 1fr; }
  .hours dt, .hours dd { font-size: 16px; }
  .place { margin-top: 28px; grid-template-columns: 1fr; gap: 16px; }
  .place dt { font-size: 14px; font-weight: 500; }
  .place dd { font-size: 16px; }
}

/* ---------- 18. 하위 페이지 공통 블록 ---------- */
/* 사진 + 글 두 단 */
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 700 / 500; object-fit: cover; }
.split__media { margin-bottom: 28px; }
.split .rows { margin-top: 24px; }
.split .arrow-link { margin-top: 12px; }
@media (min-width: 1024px) {
  .split .grid12 { align-items: start; }
  .split__media { grid-column: 1 / 7; margin: 0; }
  .split__media img { aspect-ratio: 588 / 560; }
  .split__body { grid-column: 7 / 13; }
  .split--rev .split__media { grid-column: 7 / 13; grid-row: 1; }
  .split--rev .split__body { grid-column: 1 / 7; grid-row: 1; }
  .split .rows { margin-top: 40px; }
  .split .arrow-link { margin-top: 20px; }
}

/* 그룹 수업 단계 */
.group-steps { margin-top: 32px; }
.group-steps > h3 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
@media (min-width: 1024px) {
  .sec-group .grid12 > .split__body { grid-column: 1 / 7; }
  .sec-group .grid12 > .group-steps { grid-column: 7 / 13; margin-top: 0; }
  .group-steps .acc { border-top-color: var(--sage-dark); }
  .group-steps .acc summary { font-size: 20px; padding: 20px 0 4px; min-height: 0; }
}

/* 수업 비교표 */
.cmp thead tr, .cmp tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
.cmp thead tr { padding-bottom: 8px; border-bottom: 1px solid var(--sage-dark); }
.cmp thead td { display: none; }
.cmp thead th { font-size: 13px; font-weight: 500; color: var(--sage-dark); }
.cmp tbody tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmp tbody th { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.cmp tbody td { font-size: 15px; }
.cmp .pc-row { display: none; }
@media (min-width: 768px) {
  .cmp thead tr, .cmp tbody tr { grid-template-columns: 1.1fr 1fr 1fr 1fr; column-gap: 24px; }
  .cmp thead td { display: block; }
  .cmp tbody th { grid-column: auto; margin: 0; font-size: 16px; }
  .cmp tbody td { font-size: 16px; }
  .cmp .pc-row { display: grid; }
  .cmp thead th { font-size: 14px; }
}
@media (min-width: 1024px) {
  .cmp thead tr, .cmp tbody tr { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cmp tbody tr { padding: 16px 0; }
  .cmp tbody tr:has(td:nth-child(2) br) { padding: 16px 0; }
  .cmp tbody td, .cmp tbody th { font-size: 16px; }
  .cmp .price td { font-weight: 500; }
}
.cmp .price td { font-weight: 500; }

/* 첫 수업 과정 (수업 안내) 세 단 */
.steps3 { border-top: 1px solid var(--line); }
.steps3 li { display: grid; grid-template-columns: 30px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps3__no { font-size: 15px; font-weight: 300; color: var(--sage); line-height: 1.6; }
.steps3 h3 { font-size: 16px; }
.steps3 p { grid-column: 2; margin-top: 6px; font-size: 14px; }
@media (min-width: 1024px) {
  .steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border: 0; }
  .steps3 li { display: block; padding: 24px 0 0; border: 0; border-top: 1px solid var(--sage-dark); }
  .steps3__no { display: block; font-size: 24px; line-height: 1.35; margin-bottom: 20px; }
  .steps3 h3 { font-size: 20px; }
  .steps3 p { font-size: 16px; margin-top: 8px; }
}

/* 자주 묻는 질문 */
@media (min-width: 1024px) {
  .sec-faq .grid12 > .sec-head { grid-column: 1 / 5; margin: 0; }
  .sec-faq .grid12 > .acc { grid-column: 5 / 13; }
  .sec-faq .acc { border-top-color: var(--line); }
}

/* 기구 표 */
.equip { border-top: 1px solid var(--line); }
.equip thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.equip tbody { display: block; }
.equip tr { display: flex; flex-wrap: wrap; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.equip tr::before { content: ""; order: 2; flex-basis: 100%; }
.equip tr::after { content: ""; order: 4; flex-basis: 100%; }
.equip tr > :nth-child(1), .equip tr > :nth-child(2) { order: 1; font-size: 16px; font-weight: 500; color: var(--sage-dark); }
.equip tr > :nth-child(2)::before { content: "\00a0· "; }
.equip tr > :nth-child(3) { order: 3; font-size: 13px; color: var(--muted); margin-top: 2px; }
.equip tr > :nth-child(3)::before { content: "쓰는 수업: "; }
.equip tr > :nth-child(4) { order: 5; margin-top: 6px; }
@media (min-width: 768px) {
  .equip { border: 0; }
  .equip thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .equip tbody { display: table-row-group; }
  .equip tr { display: table-row; }
  .equip tr::before, .equip tr::after, .equip tr > :nth-child(n)::before { content: none; }
  .equip th, .equip td, .equip tr > :nth-child(n) { font-size: 16px; color: var(--text); font-weight: 400; margin: 0; vertical-align: middle; }
  .equip tr > :first-child { font-weight: 500; }
  .equip thead th { height: 48px; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--sage-dark); }
  .equip tbody > tr > * { height: 64px; border-bottom: 1px solid var(--line); padding-right: 16px; }
  .equip col.c1 { width: 32%; }
  .equip col.c2, .equip col.c3 { width: 17%; }
}

/* 시간표의 수업 이름 · 운영 시간 */
.two-lists { display: grid; gap: 40px; }
.two-lists h3 { font-size: 13px; font-weight: 500; color: var(--muted); padding-bottom: 8px; }
.two-lists .rows > div { grid-template-columns: 80px 1fr; }
@media (min-width: 1024px) {
  .two-lists { grid-template-columns: 1fr 1fr; gap: 24px; }
  .two-lists h3 { font-size: 14px; }
  .two-lists .rows > div { grid-template-columns: 160px 1fr; }
  .two-lists .rows dt { font-size: 16px; font-weight: 500; color: var(--text); padding: 0; }
}

/* 규정 (시간표·가격) */
.rules .acc { border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .rules .acc { border-top-color: var(--sage-dark); }
  .rules .acc details { display: block; padding: 20px 0; }
  .rules .acc details::after { content: ""; display: table; clear: both; }
  .rules .acc summary { float: left; width: 25.5%; min-height: 0; padding: 0; }
  .rules .acc__body { margin-left: 25.5%; padding: 0; }
  .rules .acc__body p { font-size: 16px; }
}
.rules .acc__body .small { margin-top: 8px; }

/* 각 페이지 아래 체험 띠 */
.band-sec { padding-block: 48px; }
@media (min-width: 1024px) { .band-sec { padding-block: 96px; } }

/* ---------- 19. 체험 신청 폼 ---------- */
.trial-layout { display: grid; gap: 32px; grid-template-areas: "info" "form" "phone"; }
.trial-info { grid-area: info; background: var(--sage-light); border-radius: var(--radius); padding: 20px; }
.trial-info > summary { list-style: none; cursor: pointer; }
.trial-info > summary::-webkit-details-marker { display: none; }
.trial-info__t { font-size: 16px; font-weight: 500; color: var(--sage-dark); }
.trial-info__s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.trial-info__more { margin-top: 12px; font-size: 13px; color: var(--muted); }
.trial-info[open] .trial-info__more { display: none; }
.trial-info .rows { margin-top: 16px; }
.trial-info .rows > div { grid-template-columns: 64px 1fr; }
.trial-info .rows dd { font-size: 14px; }
.trial-phone { grid-area: phone; padding-top: 24px; border-top: 1px solid var(--line); }
.trial-phone h2 { font-size: 16px; font-weight: 500; color: var(--sage-dark); }
.trial-phone .btn { margin-top: 12px; }
.trial-phone .num-tel { display: none; }
.trial-form { grid-area: form; }

@media (min-width: 1024px) {
  .trial-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; grid-template-areas: none; align-items: start; }
  .trial-info { grid-column: 1 / 6; grid-row: 1; padding: 32px; background: var(--surface); }
  .trial-info__t { font-size: 14px; color: var(--muted); }
  .trial-info__price { font-size: 28px; }
  .trial-info .rows { margin-top: 24px; border-top-color: var(--sage-dark); }
  .trial-info .rows > div { grid-template-columns: 96px 1fr; }
  .trial-info .rows dd { font-size: 15px; }
  .trial-phone { grid-column: 1 / 6; grid-row: 2; border: 0; padding: 0; }
  .trial-phone h2 { font-size: 14px; color: var(--muted); font-weight: 500; }
  .trial-phone .btn { display: none; }
  .trial-phone .num-tel { display: block; font-size: 28px; font-weight: 300; color: var(--sage-dark); text-decoration: none; letter-spacing: var(--track-title); }
  .trial-form { grid-column: 7 / 13; grid-row: 1 / 3; }
}
.trial-info__price { display: none; }
@media (min-width: 1024px) {
  .trial-info__price { display: block; font-weight: 300; color: var(--sage-dark); letter-spacing: var(--track-title); line-height: 1.35; margin-top: 4px; }
  .trial-info__s, .trial-info__more { display: none; }
  .trial-info__sub { margin-top: 8px; font-size: 15px; }
}
.trial-info__sub { display: none; }
@media (min-width: 1024px) { .trial-info__sub { display: block; } }

.field + .field { margin-top: 24px; }
.field > label, .field legend { display: block; font-size: 13px; font-weight: 500; color: var(--sage-dark); margin-bottom: 8px; }
.input, .textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 16px; color: var(--text);
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:hover, .textarea:hover { border-color: var(--sage); }
.input:focus-visible, .textarea:focus-visible { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage); }
.is-error .input, .is-error .textarea { border: 2px solid var(--error); padding: 9px 13px; }
.err { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--error); }
.err:empty { display: none; }

.chips { display: grid; gap: 8px; }
.chips--3 { grid-template-columns: repeat(3, 1fr); }
.chips--6 { grid-template-columns: repeat(6, 1fr); }
.chips--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .chips--4 { grid-template-columns: repeat(4, 1fr); } }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; text-align: center; white-space: nowrap;
}
.chip input:hover + span { border-color: var(--sage); }
.chip input:checked + span { background: var(--sage); border-color: var(--sage); color: var(--white); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--sage-dark); outline-offset: 2px; }
.is-error .chip span { border-color: var(--error); }

.consent { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--sage); flex: none; }
.is-error .check input { outline: 2px solid var(--error); outline-offset: 1px; border-radius: 3px; }
.consent a { font-size: 13px; color: var(--muted); flex: none; }
.consent-box { margin-top: 12px; padding: 14px 16px; background: var(--surface); border-radius: var(--radius); font-size: 13px; line-height: 1.6; color: var(--muted); }
.form-submit { margin-top: 32px; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.form-status { margin-top: 8px; font-size: 13px; color: var(--error); }
.form-status:empty { display: none; }

/* ---------- 20. 신청 완료 ---------- */
.done-grid { display: grid; }
.done-sum h2, .done-next h2, .done-map h2 { font-size: 13px; font-weight: 500; color: var(--sage-dark); padding-bottom: 12px; }
.done-sum .rows { border-top-color: var(--line); }
.done-sum .rows > div { padding: 16px 0; }
.done-next ol { border-top: 1px solid var(--line); }
.done-next li { display: grid; grid-template-columns: 32px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.done-next .no { font-size: 16px; font-weight: 300; color: var(--sage); line-height: 1.45; }
.done-next h3 { font-size: 17px; }
.done-next p { grid-column: 2; margin-top: 6px; }
.done-map .rows { border-top-color: var(--line); }
.done-map .rows > div { padding: 16px 0; }
.done-cta { display: grid; gap: 12px; margin-top: 32px; }
.done-empty { padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.done-empty[hidden] { display: none; }

@media (min-width: 1024px) {
  .done-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .done-sum { grid-column: 1 / 6; }
  .done-next { grid-column: 7 / 13; }
  .done-sum h2, .done-next h2, .done-map h2 { font-size: 14px; color: var(--muted); }
  .done-sum .rows, .done-next ol { border-top-color: var(--sage-dark); }
  .done-next li { grid-template-columns: 48px 1fr; padding: 24px 0; }
  .done-next .no { font-size: 28px; line-height: 1.1; }
  .done-next h3 { font-size: 22px; }
  .done-map { grid-column: 1 / -1; margin-top: 64px; }
  .done-map .rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border: 0; }
  .done-map .rows > div { display: block; padding: 16px 0 0; border: 0; border-top: 1px solid var(--sage-dark); }
  .done-map .rows dt { font-size: 20px; font-weight: 500; color: var(--sage-dark); margin-bottom: 8px; }
  .done-cta { display: flex; gap: 16px; margin-top: 48px; }
  .done-cta .btn { width: 200px; }
}
.sec-group .rows { margin-top: 24px; }
.group-steps .arrow-link { margin-top: 12px; }
.trial-info > summary > span { display: block; }
.trial-info > summary > span.trial-info__price,
.trial-info > summary > span.trial-info__sub { display: none; }
@media (min-width: 1024px) {
  .trial-info > summary > span.trial-info__price,
  .trial-info > summary > span.trial-info__sub { display: block; }
  .trial-info > summary > span.trial-info__s,
  .trial-info > summary > span.trial-info__more { display: none; }
}
.trial-phone .note { margin-top: 8px; }
@media (min-width: 1024px) { .feats--rows h3 { font-size: 18px; } }
@media (max-width: 1023px) {
  .done-sec { padding-block: 0; }
  .done-sum, .done-next, .done-map { padding-block: 48px; }
  .done-sum, .done-map { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
}

@media (min-width: 1024px) {
  .trial-band__cta .btn--secondary { order: -1; }
  .jump a { font-size: 15px; padding: 0 18px; }
  .rows > div { padding: 18px 0; }
  .cmp tbody tr { padding: 20px 0; }
  #compare .sec-head { margin-bottom: 64px; }
}

/* 시간표·가격 이용권 카드 (모바일): 값 줄을 가격 아래로 */
@media (max-width: 767px) {
  .price-tbl--full tr::after { content: ""; order: 4; flex-basis: 100%; height: 2px; }
  .price-tbl--full tr > :nth-child(n+4) { order: 5; }
  .two-lists .rows > div { grid-template-columns: 100px 1fr; }
}
@media (max-width: 1023px) {
  .trial-sec { padding-top: 16px; }
}

/* 강사 사진이 오면 .ph 대신 <img class="ph-img"> */
.ph-img { width: 225px; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.tcard .ph-img { width: 120px; grid-row: 1 / 3; }
@media (min-width: 1024px) { .tcard .ph-img { width: 225px; } }
