@charset "utf-8";

/* =========================================================
   무브태권도장 — 브랜드 스타일시트
   컬러 원본: 로고 PDF에서 추출 (퍼플 #542FAF / 민트 #47EAAF)
   ========================================================= */

:root {
  /* 브랜드 */
  --purple: #542faf;
  --purple-deep: #3a1f80;
  --purple-soft: #efeaff;
  --mint: #47eaaf;
  --mint-soft: #e3fbf1;

  /* 중립 — 화이트 + 다크그레이 중심 */
  --ink: #16161a;
  --ink-2: #33333c;
  --grey: #6c6c78;
  --grey-2: #9a9aa6;      /* 테두리·비활성 등 텍스트가 아닌 용도 */
  --grey-3: #6a6a76;      /* 작은 보조 텍스트 — 흰 배경에서 5.3:1 */
  --line: #e7e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f6f9;
  --bg-dark: #111116;

  /* 레이아웃 */
  --container: 1200px;
  --gutter: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --tabnav-h: 58px;

  /* 모션 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  /* 한국어는 keep-all, 공백 없는 언어·긴 URL은 anywhere 로 방어 */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

::selection { background: var(--purple); color: #fff; }

/* ---------- 공통 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 132px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
}
.section--dark .eyebrow { color: var(--mint); }

.sec-title {
  margin-top: 18px;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.035em;
}

.sec-lead {
  margin-top: 20px;
  max-width: 62ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
  color: var(--grey);
}
.section--dark .sec-lead { color: rgba(255, 255, 255, 0.62); }

.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }
.sec-head--center .eyebrow::before { display: none; }

/* 확정되지 않은 정보 표시 — 광고주 확인 후 교체 */
.todo {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--grey-3);
  border-radius: 6px;
  background: repeating-linear-gradient(-45deg, #fafafd 0 6px, #f2f2f7 6px 12px);
  color: var(--grey-3);
  font-size: 0.88em;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
.section--dark .todo {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}


/* ---------- 본문 바로가기 (키보드 사용자) ----------
   Tab 을 처음 눌렀을 때만 나타난다. 메뉴 60여 개를 지나지 않고 본문으로 갈 수 있게 한다. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* 포커스 링 — 마우스 클릭 때는 안 나오고 키보드일 때만 나온다 */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark a:focus-visible,
.hero a:focus-visible { outline-color: var(--mint); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-deep); }

.btn--mint { background: var(--mint); color: #0e3a2b; }
.btn--mint:hover { background: #35d69c; }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn--line {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.btn--line:hover { border-color: var(--purple); color: var(--purple); }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }


/* ---------- 전화번호 링크 ----------
   글 안에 섞인 전화번호는 실제로 눌러서 거는 자리다.
   기본 상태로 두면 높이가 16~19px 밖에 안 나와 손가락으로 누르기 어렵고,
   밑줄도 없어 누를 수 있는 곳인지 알기 어렵다.
   버튼(.btn)과 상담 카드(.channel)는 이미 충분히 크므로 제외한다. */
a[href^='tel:']:not(.btn):not(.channel) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--grey-2);
}
a[href^='tel:']:not(.btn):not(.channel):hover { text-decoration-color: currentColor; }
.footer a[href^='tel:'] { color: #fff; text-decoration-color: rgba(255,255,255,0.45); }

/* ---------- 헤더 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.header__logo { flex: none; }
.header__logo img { width: 118px; }

.gnb { display: flex; gap: 2px; margin-left: auto; }
.gnb__link {
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.gnb__link:hover { color: var(--purple); background: var(--purple-soft); }

.header__cta { flex: none; }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 메뉴 */
.mnav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 24px var(--gutter) 40px;
  background: #fff;
  overflow-y: auto;
}
.mnav.is-open { display: flex; }
.mnav__link {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.mnav__link small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--grey-3);
}
.mnav__foot { margin-top: 28px; display: grid; gap: 10px; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 영상은 포스터 위에 겹쳐 두고, 재생 준비가 끝나면 부드럽게 드러낸다 */
.hero__media video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero__media.has-video video { opacity: 1; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 18, 0.55) 0%,
    rgba(10, 8, 18, 0.35) 35%,
    rgba(10, 8, 18, 0.88) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  /* 뷰포트 높이에 연동한다. 세로가 짧은 창에서 히어로가 한 화면을 넘어가
     헤더가 버튼을 덮는 사고가 있었다. */
  padding-block: clamp(36px, 7vh, 96px);
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--mint);
}
.hero__title {
  margin-top: 22px;
  font-size: clamp(32px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.045em;
}
.hero__title em {
  font-style: normal;
  color: var(--mint);
}
.hero__lead {
  margin-top: 24px;
  max-width: 52ch;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.76);
}
.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__scroll {
  margin-top: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--mint), transparent);
  animation: scrollCue 1.9s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 앵커 탭 내비 ---------- */
/* 히어로 이미지 바로 아래 탭이 붙으면 답답해 보여 흰 여백을 한 단 둔다.
   sticky 요소 앞의 형제라 스크롤 시 탭이 헤더에 붙는 동작에는 영향이 없다. */
.tabnav-gap {
  height: 32px;
  background: var(--bg);
}

.tabnav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  height: var(--tabnav-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.tabnav__list {
  display: flex;
  gap: 6px;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabnav__list::-webkit-scrollbar { display: none; }
.tabnav__link {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;          /* 손가락으로 누를 수 있는 최소 크기 */
  padding: 0 16px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--grey);
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tabnav__link.is-active,
.tabnav__link:hover {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

/* ---------- 한눈에 보기 (AEO 요약 블록) ---------- */
.summary { padding-block: clamp(48px, 6vw, 80px) 0; }
.summary__box {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.summary__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.summary__def {
  margin-top: 14px;
  max-width: 68ch;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.85;
  color: var(--ink-2);
}
.summary__dl {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
.summary__dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.summary__dl dt {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--grey);
}
.summary__dl dd { font-size: 15px; line-height: 1.7; }
.summary__meta {
  margin-top: 22px;
  font-size: 13px;
  color: var(--grey-3);
}

/* ---------- 브랜드 3원칙 ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  padding: 38px 32px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.pillar:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(84, 47, 175, 0.1);
}
.pillar__num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--mint);
}
.pillar__title {
  margin-top: 16px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.pillar__desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
}

/* ---------- 성장 시스템 ---------- */
.system { display: grid; gap: clamp(52px, 7vw, 96px); }
.system__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
}
.system__row:nth-child(even) .system__media { order: 2; }
.system__figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.system__figure img { width: 100%; }
.system__step {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--purple);
}
.system__step b {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.system__title {
  margin-top: 14px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.system__desc {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--grey);
}
.system__list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.system__list > li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-2);
}
.system__list > li::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

/* ---------- 프로그램 카드 ---------- */
.programs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.program {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.program__thumb { overflow: hidden; }
.program__thumb img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}
.program:hover .program__thumb img { transform: scale(1.05); }
.program__body { padding: 26px 24px 30px; }
.program__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.program__meta {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
}
.program__desc {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--grey);
}

/* ---------- 수업 시간표 ----------
   이미지가 아니라 표로 둔다. 이미지 안 글자는 검색·AI 가 읽지 못한다. */
.sched { margin-top: 44px; }
.sched__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sched__lead {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--grey);
}
/* 좁은 화면에서 표만 가로로 스크롤한다. 페이지 본문은 넘치지 않는다 */
.sched__scroll {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scrollbar-width: thin;
}
.sched__table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14.5px;
}
/* 화면 낭독기용 — 눈에는 안 보이지만 읽힌다 */
.sched__cap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sched__table th,
.sched__table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.sched__table thead th {
  background: var(--purple);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 0;
}
.sched__table thead th:first-child { background: var(--purple-deep); }
.sched__table tbody th {
  background: var(--bg-soft);
  color: var(--ink-2);
  font-weight: 650;
  white-space: nowrap;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.sched__table tbody td { color: var(--ink-2); }
.sched__table td small { display: block; font-size: 11.5px; margin-top: 1px; }
.sched__table tbody tr:last-child th,
.sched__table tbody tr:last-child td { border-bottom: 0; }
/* 성인부 — 원본 시간표의 보라 강조를 그대로 옮겼다 */
.sched__table tbody tr.sched__row--adult td {
  background: var(--purple-soft);
  color: var(--purple-deep);
  font-weight: 700;
}
.sched__table tbody tr.sched__row--adult td.sched__soon,
.sched__table tbody tr.sched__row--adult td.sched__plain,
.sched__table tbody tr.sched__row--adult td.sched__none {
  background: var(--bg);
  color: var(--grey-3);
  font-weight: 500;
}
/* 성인부 행에 섞인 일반 수업 칸은 본문색으로 둔다 — 「개설 예정」과 구분돼야 한다 */
.sched__table tbody tr.sched__row--adult td.sched__plain { color: var(--ink-2); }
.sched__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--grey-3);
}

/* ---------- 수련비 ---------- */
.fee {
  /* 컨테이너(1200px) 전체로 늘리면 항목과 금액이 멀어져 읽기 나쁘다 */
  max-width: 560px;
  margin-top: 40px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.fee__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.fee__table {
  margin-top: 16px;
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
.fee__table th,
.fee__table td {
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.fee__table thead th {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--grey-3);
}
.fee__table thead th:last-child,
.fee__table tbody td { text-align: right; }
.fee__table tbody th { font-weight: 600; color: var(--ink-2); }
.fee__table tbody td { font-weight: 700; font-variant-numeric: tabular-nums; }
.fee__table tbody tr:last-child th,
.fee__table tbody tr:last-child td { border-bottom: 0; }
.fee__event {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.fee__eventTitle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--purple);
}
/* 할인 표시에는 기간이 반드시 함께 보여야 한다 (표시광고법) */
.fee__eventTerm {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-3);
}
.fee__eventList {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
}
.fee__eventList li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}
.fee__eventList s { color: var(--grey-3); }
.fee__eventList strong { color: var(--purple); font-weight: 700; }

.fee__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--grey-3);
}

/* ---------- 변화 사례 ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.case__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(71, 234, 175, 0.14);
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.case__title {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.case__grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.case__cell { text-align: center; }
.case__cell dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}
.case__cell dd {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
}
.case__arrow { color: var(--mint); font-size: 18px; }
.case__spec {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 12px;
}
.case__spec > div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: baseline;
}
.case__spec dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}
.case__spec dd { font-size: 14.5px; line-height: 1.7; }
.case__note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 시설 갤러리 ---------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 38%);
  gap: 16px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.gallery > figure {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.gallery figcaption {
  padding: 16px 18px 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.gallery__hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--grey-3);
}

/* ---------- 후기 ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.review__quote {
  flex: 1;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
}
.review__by {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 4px;
  font-size: clamp(16px, 1.7vw, 18.5px);
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
  list-style: none;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::before {
  content: 'Q';
  flex: none;
  color: var(--purple);
  font-weight: 800;
}
.faq__item > summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  margin-left: auto;
  margin-top: 8px;
  border-right: 2px solid var(--grey-3);
  border-bottom: 2px solid var(--grey-3);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(-135deg); }
.faq__answer {
  display: flex;
  gap: 16px;
  padding: 0 4px 28px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--grey);
}
.faq__answer::before {
  content: 'A';
  flex: none;
  font-weight: 800;
  color: var(--mint);
}

/* ---------- 오시는 길 ---------- */
.info {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.info__map {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
}
.info__map span {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.info__map svg,
.info__map img { width: 100%; height: 100%; object-fit: cover; }
.info__map:hover img { transform: scale(1.03); }
.info__map img { transition: transform 0.8s var(--ease); }

.info__floor {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.info__floor img { width: 100%; }
.info__floor figcaption {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--grey);
}
.info__dl { display: grid; gap: 0; }
.info__dl > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info__dl dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey);
}
.info__dl dd { font-size: 15.5px; line-height: 1.75; }
.info__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 상담 신청 ---------- */
.apply {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.field > label span { color: var(--purple); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(84, 47, 175, 0.12);
}
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;            /* 라벨 전체가 터치 영역이 되도록 */
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--grey);
  cursor: pointer;
}
.agree input {
  width: 22px; height: 22px; min-height: 0; margin-top: 1px; flex: none;
  accent-color: var(--purple);
}
/* 동의 문구 — 한 문단으로 흘리면 "확인하실 / 수 있습니다" 처럼 어색하게 끊긴다.
   동의 내용과 안내 문장을 줄로 나눠 각각 온전히 읽히게 한다 */
.agree__text {
  display: grid;
  gap: 3px;
}
.agree__text b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  word-break: keep-all;
}
.agree__text small {
  font-size: 13px;
  line-height: 1.65;
  color: var(--grey-3);
  word-break: keep-all;
}
/* 끊기면 어색한 구절을 한 덩어리로 묶는다.
   keep-all 은 낱말 안에서만 막아 줘서 "확인하실 / 수 있습니다" 는 그대로 갈라진다 */
.nobr { white-space: nowrap; }
/* 봇 거르기용 숨은 칸 — display:none 은 일부 봇이 알아채고 건너뛴다.
   화면 밖으로 밀어내고 낭독기에서도 빼는 편이 확실하다 */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey-3);
}

.channels { display: grid; gap: 12px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.channel:hover { border-color: var(--purple); transform: translateX(4px); }
.channel__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--purple-soft);
  color: var(--purple);
}
.channel__icon svg { width: 23px; height: 23px; display: block; }
/* 매체별 색 — 각 서비스의 브랜드 컬러다.
   준비 중 칸에서도 색을 살린다. 무슨 창구인지 한눈에 보여야 한다 */
.channel__icon--kakao { background: #fee500; color: #3c1e1e; }  /* 카카오 옐로 + 브라운 */
.channel__icon--naver { background: #03c75a; color: #fff; }      /* 네이버 그린 */
.channel__icon--tel   { background: var(--purple-soft); color: var(--purple); }
.channel__body strong {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.channel__body small {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--grey);
}
.channel__rank {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  /* 민트는 흰 배경에서 1.7:1 이라 작은 글자에 못 쓴다. 퍼플로 둔다 */
  color: var(--purple);
}
.channel__rank--muted { color: var(--grey-3); font-weight: 700; }

/* ---------- 푸터 ---------- */
.footer {
  padding-block: 64px 100px;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__logo img { width: 132px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 12px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.footer__links a:hover { color: var(--mint); }
.footer__body { padding-top: 30px; display: grid; gap: 8px; line-height: 1.8; }
.footer__copy { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.38); }
/* 관리자 입구 — 눈에 띄지 않게 둔다. 학부모에게는 필요 없는 링크다. */
.footer__admin {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
/* 보이는 크기는 그대로 두고 누를 수 있는 범위만 44px 로 넓힌다.
   테두리를 키우면 푸터에서 너무 튄다. 손가락으로 눌러야 하는 것은 눈에 보이는
   크기가 아니라 실제로 반응하는 범위다. */
.footer__admin::after {
  content: '';
  position: absolute;
  inset: -11px -8px;
}
.footer__admin:hover,
.footer__admin:focus-visible { color: #fff; border-color: rgba(255, 255, 255, 0.45); }

/* ---------- 모바일 하단 고정 CTA ---------- */
.mcta {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mcta .btn { flex: 1; min-height: 50px; padding: 0 12px; font-size: 14.5px; }

/* ---------- 스크롤 등장 ----------
   .has-js 는 <head> 인라인 스크립트가 붙인다.
   JS 가 실패하면 이 규칙 자체가 적용되지 않아 콘텐츠는 항상 보인다. */
.has-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.has-js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   모션 그래픽
   광고주 요청: "화려하지 않고 고급스럽게" — 느린 이징, 짧은 이동거리,
   한 번만 재생. 모든 규칙은 .has-js 아래에만 걸어 JS 실패 시 정지 상태로 보이게 한다.
   ========================================================= */

/* ---------- 스크롤 진행 바 ---------- */
.progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  z-index: 101;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.progress__bar {
  height: 100%;
  width: 0;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--purple), var(--mint));
  transition: width 0.12s linear;
}

/* ---------- 히어로 진입 ---------- */
.has-js .hero__inner > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.has-js .hero.is-ready .hero__inner > * { opacity: 1; transform: none; }
.has-js .hero.is-ready .hero__eyebrow { transition-delay: 0.15s; }
.has-js .hero.is-ready .hero__title { transition-delay: 0.28s; }
.has-js .hero.is-ready .hero__lead { transition-delay: 0.44s; }
.has-js .hero.is-ready .hero__actions { transition-delay: 0.58s; }
.has-js .hero.is-ready .hero__scroll { transition-delay: 0.72s; }

/* 배경은 아주 느리게 밀어 준다 (켄번즈)
   ⚠️ 아래 scale 값은 @keyframes kenburns 의 from 과 반드시 같아야 한다.
      값이 다르면 애니메이션이 시작하는 순간(지연 1.2s 뒤) 그 차이만큼
      배경이 한 번에 튄다. 실제 사고: 1.06 → 1.02 로 튀어 "히어로 영상이
      한 번 줄어든다"는 지적을 받았다 (2026-08-16).
      영상은 주입 시점부터 자기 지연을 세기 때문에 페이드인 직후에 튄다. */
.has-js .hero__media img,
.has-js .hero__media video {
  transform: scale(1.02);   /* = @keyframes kenburns 의 from */
  transition: transform 1.6s var(--ease);
}
.has-js .hero.is-ready .hero__media img,
.has-js .hero.is-ready .hero__media video {
  animation: kenburns 26s var(--ease) 1.2s infinite alternate;
  transition: none;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.2%, -1.6%, 0); }
}

/* 히어로 텍스트는 스크롤에 살짝 뒤따른다 (JS가 --hero-shift 를 갱신) */
.has-js .hero__inner {
  will-change: transform;
  transform: translate3d(0, var(--hero-shift, 0px), 0);
}
.has-js .hero.is-ready .hero__inner { opacity: var(--hero-fade, 1); }

/* ---------- 섹션 라벨 선 긋기 ---------- */
.has-js .reveal .eyebrow::before {
  width: 0;
  transition: width 0.85s var(--ease) 0.25s;
}
.has-js .reveal.is-in .eyebrow::before { width: 22px; }

/* ---------- 이미지 와이프 ---------- */
.has-js .fx-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease);
}
.has-js .fx-clip.is-in { clip-path: inset(0 0 0 0); }

/* 패럴랙스 대상 (JS가 --par 를 갱신, 데스크톱에서만).
   확대율은 이동폭(±16px)보다 커야 한다. 작으면 이미지가 밀리며 가장자리에 빈 틈이 생긴다. */
.has-js .fx-par {
  will-change: transform;
  transform: translate3d(0, var(--par, 0px), 0) scale(1.14);
}

/* ---------- 브랜드 모티프 아크 ---------- */
.arcs {
  position: absolute;
  inset: auto 0 -1px;
  z-index: 0;
  height: 220px;
  pointer-events: none;
  opacity: 0.5;
}
.arcs path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.35;
}
.has-js .arcs path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.has-js .hero.is-ready .arcs path { stroke-dashoffset: 0; }
.has-js .hero.is-ready .arcs path:nth-child(2) { transition-delay: 0.25s; }
.has-js .hero.is-ready .arcs path:nth-child(3) { transition-delay: 0.5s; }

/* ---------- 브랜드 티커 ---------- */
.marquee {
  overflow: hidden;
  padding-block: 26px;
  background: var(--bg-dark);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  /* 두 벌의 폭이 정확히 같아야 -50% 이동이 이음매 없이 반복된다.
     track 에 gap 을 주면 사이에 한 칸이 더 생겨 어긋난다. 여백은 span 안에 둘 것. */
  gap: 0;
}
.has-js .marquee__track { animation: marquee 38s linear infinite; }
.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex: none;
  white-space: nowrap;
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}
.marquee__track em {
  font-style: normal;
  color: var(--mint);
}
.marquee__smile {
  flex: none;
  width: 26px;
  height: 14px;
  stroke: var(--purple-soft);
  stroke-width: 3.4;
  stroke-linecap: round;
  fill: none;
  opacity: 0.75;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- 탭 활성 인디케이터 ---------- */
.tabnav__list { position: relative; }
.tabnav__ind {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--purple);
  transform: translate3d(var(--ind-x, 0px), 0, 0);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.tabnav__ind.is-on { opacity: 1; }
.has-js .tabnav__link { border-bottom-color: transparent !important; }

/* ---------- 버튼 스윕 ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* ---------- 카드 미세 반응 ---------- */
.program { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.program:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(22, 22, 26, 0.12); }

.case { transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease); }
.case:hover { border-color: rgba(71, 234, 175, 0.45); background: rgba(71, 234, 175, 0.05); }

.gallery > figure img { transition: transform 0.8s var(--ease); }
.gallery > figure:hover img { transform: scale(1.05); }

/* ---------- FAQ 아코디언 ---------- */
.faq__item > summary::before { transition: transform 0.4s var(--ease); }
.faq__item[open] > summary::before { transform: scale(1.15); }
.faq__answer { overflow: hidden; }

/* ---------- 스크롤 큐 ---------- */
.hero__scroll { transition: opacity 0.4s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
  .has-js .hero__inner > * { opacity: 1; transform: none; transition: none; }
  .has-js .hero__inner { transform: none; }
  .has-js .hero__media img,
  .has-js .hero__media video { transform: none; animation: none; }
  .has-js .fx-clip { clip-path: none; transition: none; }
  .has-js .fx-par { transform: none; }
  .has-js .arcs path { stroke-dashoffset: 0; transition: none; }
  .has-js .marquee__track { animation: none; }
  .has-js .reveal .eyebrow::before { width: 22px; transition: none; }
  .btn::after { display: none; }
  .hero__scroll i { animation: none; }
  .progress { display: none; }
}

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1080px) {
  .programs { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
}

/* 헤더 메뉴가 보이는 폭에서는 앵커 탭이 같은 항목을 그대로 반복해
   스크롤 시 두 줄로 겹쳐 보인다. 그래서 이 폭에서는 탭바를 감춘다.
   헤더 메뉴가 햄버거로 바뀌는 폭 이하에서만 탭바가 내비게이션 역할을 한다.
   ※ "정보" 가 늘어 메뉴가 9개가 되면서 전환 폭을 1180 → 1280 으로 올렸다. */
@media (min-width: 1281px) {
  :root { --tabnav-h: 0px; }  /* 앵커 이동 시 여백이 남지 않도록 */

  .tabnav,
  .tabnav-gap { display: none; }
}

/* 메뉴 항목이 9개라 데스크톱 폭이 좁아지면 로고·CTA와 부딪힌다.
   레이아웃 breakpoint(960)보다 먼저 햄버거로 전환한다. */
@media (max-width: 1280px) {
  .gnb,
  .header__cta { display: none; }
  .hamburger { display: block; }

  .mcta { display: flex; }
  body { padding-bottom: 74px; }
  .footer { padding-bottom: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; --tabnav-h: 52px; }

  .tabnav-gap { height: 24px; }

  .pillars { grid-template-columns: 1fr; }

  .system__row { grid-template-columns: 1fr; }
  .system__row:nth-child(even) .system__media { order: 0; }

  .info { grid-template-columns: 1fr; }
  .apply { grid-template-columns: 1fr; }
  .summary__dl { grid-template-columns: 1fr; gap: 0; }
}

/* 세로가 짧은 창(노트북·창 축소)에서 히어로가 한 화면에 들어오도록 압축 */
@media (max-height: 760px) and (min-width: 641px) {
  .hero__title { font-size: clamp(28px, 4vw, 46px); }
  .hero__lead { margin-top: 16px; font-size: 16px; }
  .hero__actions { margin-top: 26px; }
  .hero__scroll { margin-top: 26px; }
  .hero__scroll i { height: 26px; }
}

/* 폰 가로 모드(높이 480px 이하) — 위 압축으로도 CTA 버튼이 첫 화면 밖으로
   밀린다(740x360 실측 +132px). 한 단계 더 줄여 버튼까지 보이게 한다. */
@media (max-height: 480px) {
  .hero__inner { padding-block: 20px; }
  .hero__eyebrow { font-size: 12px; }
  .hero__title { font-size: clamp(22px, 5.5vh, 30px); }
  .hero__lead { margin-top: 8px; font-size: 14px; }
  .hero__lead br { display: none; }
  .hero__actions { margin-top: 14px; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --radius: 14px; }

  body { font-size: 15.5px; }

  .section { padding-block: 60px; }
  .programs { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: 84%; }
  .field__row { grid-template-columns: 1fr; }
  .info__dl > div { grid-template-columns: 88px 1fr; gap: 12px; }
  .summary__dl > div { grid-template-columns: 82px 1fr; gap: 12px; }
  .hero__actions .btn { flex: 1; min-width: 140px; }
  .footer__top { flex-direction: column; gap: 24px; }
}

/* =========================================================
   글 페이지 (/growth/)
   본문 폭을 좁게 잡는다 — 한 줄이 길면 읽다가 줄을 놓친다.
   ========================================================= */
.post { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(64px, 8vw, 110px); }
.post__inner { max-width: 760px; }

.post__crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--grey-3);
}
.post__crumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.post__crumb a:hover { color: var(--purple); }

.post__head { margin-top: 22px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.post__cat {
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--purple);
}
.post__title {
  margin-top: 14px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700; line-height: 1.35; letter-spacing: -0.04em;
}
.post__meta { margin-top: 16px; font-size: 13.5px; color: var(--grey-3); }

/* 요약 박스 — 답변 엔진이 떼어 가는 구간 */
.post__summary {
  margin-top: 34px; padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--line); border-left: 3px solid var(--purple);
  border-radius: var(--radius); background: var(--bg-soft);
}
.post__summary-title {
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--purple);
}
.post__summary p { margin-top: 12px; font-size: 16px; line-height: 1.9; color: var(--ink-2); }

.post__toc {
  margin-top: 30px; padding: 22px 26px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.post__toc-title { font-size: 13px; font-weight: 700; color: var(--grey); }
.post__toc ol { margin-top: 10px; display: grid; gap: 7px; counter-reset: toc; }
.post__toc li { counter-increment: toc; font-size: 15px; }
.post__toc li::before { content: counter(toc) '. '; color: var(--grey-2); }
.post__toc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.post__toc a:hover { color: var(--purple); }

/* 본문 */
.post__body { margin-top: 40px; font-size: 16.5px; line-height: 1.95; }
.post__body > h2 {
  margin-top: 56px; padding-top: 8px;
  font-size: clamp(20px, 2.3vw, 26px); font-weight: 700;
  line-height: 1.45; letter-spacing: -0.035em;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.post__body > h3 { margin-top: 36px; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.post__body > p { margin-top: 18px; color: var(--ink-2); }
.post__body > ul, .post__body > ol { margin-top: 18px; display: grid; gap: 9px; }
.post__body > ul > li { position: relative; padding-left: 20px; color: var(--ink-2); }
.post__body > ul > li::before {
  content: ''; position: absolute; top: 13px; left: 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
}
.post__body > ol { counter-reset: n; }
.post__body > ol > li { counter-increment: n; position: relative; padding-left: 26px; color: var(--ink-2); }
.post__body > ol > li::before {
  content: counter(n); position: absolute; left: 0; top: 1px;
  font-size: 13px; font-weight: 800; color: var(--purple);
}
.post__body strong { font-weight: 700; color: var(--ink); }
.post__body code {
  padding: 2px 7px; border-radius: 5px; background: var(--purple-soft);
  font-family: inherit; font-size: 0.94em; font-weight: 600; color: var(--purple-deep);
}
.post__body a { text-decoration: underline; text-underline-offset: 3px; color: var(--purple); }
.post__body blockquote {
  margin: 26px 0 0; padding: 20px 24px;
  border-left: 3px solid var(--mint); background: var(--mint-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post__body blockquote p { margin-top: 0; font-size: 15.5px; }

/* 표는 좁은 화면에서 스스로 가로 스크롤한다 */
/* ---------- 글 본문 — 툴바로 넣는 서식 ---------- */
.post__body hr {
  height: 1px;
  margin: 36px 0;
  border: 0;
  background: var(--line);
}
.post__body del { color: var(--grey-3); }
.post__body u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* 형광펜은 브랜드 민트로 고정한다. 색을 자유롭게 고르게 하면 글마다 달라져
   화면이 지저분해진다 */
.post__body mark {
  background: var(--mint-soft);
  color: inherit;
  padding: 1px 3px;
  border-radius: 3px;
}
/* 유튜브 — 가로세로 16:9 를 지켜 어느 폭에서도 안 깨진다 */
.post__video {
  margin: 26px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
}
.post__video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.post__body table {
  display: block; overflow-x: auto; width: 100%;
  margin-top: 24px; border-collapse: collapse; white-space: nowrap;
}
.post__body th, .post__body td {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: 15px; text-align: left;
}
.post__body th { background: var(--bg-soft); font-weight: 700; }

.post__body img { margin-top: 26px; border-radius: var(--radius-sm); }

/* FAQ · 안내 · 출처 */
.post__faq, .post__place, .post__src { margin-top: 60px; }
.post__faq > h2, .post__place > h2, .post__src > h2 {
  font-size: clamp(19px, 2.1vw, 24px); font-weight: 700; letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.post__place {
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
}
.post__place-dl > div {
  display: grid; grid-template-columns: 92px 1fr; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--line);
}
.post__place-dl dt { font-size: 13.5px; font-weight: 700; color: var(--grey); }
.post__place-dl dd { font-size: 15.5px; line-height: 1.7; }
.post__place .btn { margin-top: 22px; }

.post__src ul { display: grid; gap: 9px; }
.post__src li { position: relative; padding-left: 18px; font-size: 15px; color: var(--grey); }
.post__src li::before { content: ''; position: absolute; top: 12px; left: 0; width: 6px; height: 1px; background: var(--grey-2); }
.post__src a { text-decoration: underline; text-underline-offset: 3px; }
.post__src a:hover { color: var(--purple); }

.post__more { margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--line); }

/* 목록 페이지 */
.postlist { margin-top: 40px; display: grid; gap: 16px; }
.postlist__item > a {
  display: flex; gap: clamp(16px, 2.5vw, 26px); align-items: stretch;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.postlist__thumb {
  flex: none; width: clamp(96px, 16vw, 168px);
  border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft);
}
.postlist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.postlist__text { display: block; min-width: 0; }
.postlist__cat, .postlist__title, .postlist__desc, .postlist__date { display: block; }
.postlist__item > a:hover {
  border-color: var(--purple); transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(84, 47, 175, 0.09);
}
.postlist__cat { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--purple); }
.postlist__title { margin-top: 12px; font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.42; }
.postlist__desc { margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--grey); }
.postlist__date { margin-top: 16px; font-size: 13px; color: var(--grey-3); }
.postlist__empty { margin-top: 40px; color: var(--grey-3); }

/* 글 대표 이미지 */
.post__cover { margin-top: 34px; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.post__cover img { width: 100%; }

@media (max-width: 640px) {
  .post__body { font-size: 16px; }
  .post__place-dl > div { grid-template-columns: 78px 1fr; gap: 10px; }
  .postlist__item > a { flex-direction: column; }
  .postlist__thumb { width: 100%; aspect-ratio: 16 / 10; }
  .postlist__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}


/* ---------- 지도진 (브랜드 섹션 안) ----------
   자격증이 13개라 그냥 나열하면 벽처럼 보인다. 두 칸으로 나누고
   목록은 작은 글씨로 눌러 둔다. 읽는 사람은 "많다"는 인상만 받으면 된다. */
.staff { margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.staff__head { max-width: 640px; }
.staff__title { margin-top: 14px; font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.03em; }
.staff__lead { margin-top: 14px; color: var(--grey-3); line-height: 1.8; word-break: keep-all; }
.staff__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(18px, 2.4vw, 30px); margin-top: clamp(26px, 3.4vw, 40px); }
.staff__card { padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.staff__role { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--purple); }
.staff__career { margin-top: 10px; font-size: clamp(16px, 1.6vw, 18px); font-weight: 700; letter-spacing: -.02em; word-break: keep-all; }
.staff__note { margin-top: 7px; font-size: 14px; color: var(--grey-3); line-height: 1.7; word-break: keep-all; }
.staff__label { margin-top: 20px; font-size: 12.5px; font-weight: 700; color: var(--grey-3); }
.staff__list { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 7px; }
.staff__list li { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); }
@media (max-width: 860px) { .staff__grid { grid-template-columns: 1fr; } }


/* ---------- 보유 장비 (시설 섹션) ---------- */
.equip { margin-top: clamp(30px, 4vw, 46px); padding-top: clamp(24px, 3vw, 34px); border-top: 1px solid var(--line); }
.equip__title { font-size: clamp(17px, 1.8vw, 20px); font-weight: 800; letter-spacing: -.03em; }
.equip__list { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 22px; }
.equip__list li { position: relative; padding-left: 15px; font-size: 14.5px; color: var(--grey-3); line-height: 1.7; word-break: keep-all; }
.equip__list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.equip__list b { color: var(--ink); font-weight: 700; }




/* ---------- 후기 ----------
   전문이 아니라 한두 문장 인용이라 카드가 짧다. 여러 개를 나란히 둔다. */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.review { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.review__quote { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink); word-break: keep-all; }
.review__by { margin-top: auto; padding-top: 16px; font-size: 12.5px; color: var(--grey-3); }
.reviews__note { margin-top: clamp(20px, 2.4vw, 28px); font-size: 13.5px; color: var(--grey-3); line-height: 1.7; word-break: keep-all; }
.reviews__note a { color: var(--purple); font-weight: 600; }
