/* ==========================================================================
   비발디파크 미스타 스키선생 — Meta 광고 랜딩
   모바일(390) 우선, 1024 이상에서 데스크톱 레이아웃
   ========================================================================== */

:root {
  --cobalt: #1640F0;
  --cobalt-2: #0E2BB8;
  --cobalt-ice: #DCE5FF;
  --ink: #070D2A;
  --ink-2: #1B2347;
  --ink-soft: #4A5375;
  --snow: #F3F6FD;
  --white: #FFFFFF;
  --flare: #FF5A1F;
  --flare-hi: #FF7440;
  --ok: #1FB25A;
  --err: #FF4D4D;
  --line: rgba(7, 13, 42, .12);

  --f-ko: "Pretendard Subset", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --f-disp: "Barlow Condensed", "Pretendard Subset", "Pretendard Variable", sans-serif;

  --g: 20px;                 /* 좌우 여백 */
  --wrap: 1280px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-step: cubic-bezier(.3, .9, .3, 1);
  --dock-h: 206px;            /* 휴대폰 하단 빠른 상담예약 카드 높이 + 아래 여백 */
  --top-h: 60px;             /* 스크롤 중 고정 헤더 높이 (로고 + 메뉴 버튼 한 줄) */
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
/* --sv: 화면 높이의 1%. 처음 연 높이로 고정해 두고(main.js·index.html 머리말), 주소창이나
   카카오톡·인스타그램 앱의 하단 바가 접히고 펴질 때는 바꾸지 않는다. 페이지 길이를 정하는 높이만 이 값을 쓴다. */
:root { --sv: 1vh; }
@supports (height: 1svh) { :root { --sv: 1svh; } }
@media (min-width: 640px) { :root { --top-h: 60px; --dock-h: 152px; } }
@media (min-width: 768px) { :root { --g: 40px; } }
@media (min-width: 1280px) { :root { --g: 56px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); scroll-padding-bottom: calc(var(--dock-h) + var(--safe-b) + 16px); }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--f-ko);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.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; }
figure { margin: 0; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--flare); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .top :focus-visible, .proof :focus-visible, .cert :focus-visible, .foot :focus-visible { outline-color: var(--white); }
html { scrollbar-color: var(--cobalt) transparent; scrollbar-width: thin; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin-inline: auto; padding-inline: var(--g); }

.skip {
  position: fixed; left: var(--g); top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--white); color: var(--ink);
  font-weight: 700; transform: translateY(-160%); transition: transform .2s var(--ease-out);
  letter-spacing: -0.02em;
}
.skip:focus { transform: none; }

.h-xl {
  font-size: clamp(34px, 8.4vw, 80px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lede {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36em;
  text-wrap: pretty;
  letter-spacing: -0.015em;
}

/* ---------- 버튼 ---------- */
.btn {
  --bh: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--bh); padding: 0 24px;
  border: 0; border-radius: 999px;
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease-out), background-color .2s, box-shadow .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--flare { background: var(--flare); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(255, 90, 31, .9); }
.btn--flare:hover { background: var(--flare-hi); transform: translateY(-1px); }
.btn--glass { background: rgba(255, 255, 255, .14); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--sm { --bh: 44px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- 헤더: 로고 · 메뉴 · 상담/예약 ---------- */
/* 휴대폰·태블릿은 로고 + ≡ 메뉴 버튼 한 줄(메뉴·상담 버튼은 전체 메뉴 안), 1024px 이상은 로고 · 메뉴 · 상담 버튼 한 줄 */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40;
  padding: calc(var(--safe-t) + 12px) 0 8px;
  color: var(--white);
  transition: background-color .3s, padding .3s, box-shadow .3s;
}
.top.is-solid {
  padding-top: calc(var(--safe-t) + 6px); padding-bottom: 6px;
  background: rgba(7, 13, 42, .88);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.top__in {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand cta" "menu menu";
  align-items: center; column-gap: 12px; row-gap: 8px;
}
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 40px; }
.brand__mark { width: 32px; height: 32px; color: var(--white); flex: none; }
.brand__txt { display: grid; gap: 2px; line-height: 1.15; }
.brand__txt b { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.brand__txt small { font-size: 11px; font-weight: 800; letter-spacing: -0.01em; color: var(--flare); white-space: nowrap; }
.top__cta { grid-area: cta; display: flex; align-items: center; gap: 8px; }
.top__cta .btn--sm { --bh: 40px; }
.top__book { display: none; }
.menu {
  grid-area: menu; display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(7, 13, 42, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.menu::-webkit-scrollbar { display: none; }
.top.is-solid .menu { background: rgba(255, 255, 255, .07); }
.menu__link {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 12px; border-radius: 999px;
  color: var(--white); text-decoration: none; white-space: nowrap;
  font-size: 14.5px; font-weight: 800; letter-spacing: -0.02em;
  transition: background-color .2s, color .2s;
  line-height: 1;
}
.menu__link:hover { background: rgba(255, 255, 255, .16); }
.menu__link[aria-current] { background: var(--white); color: var(--ink); }
@media (min-width: 640px) {
  .top__in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand menu cta"; }
  .menu { justify-self: center; }
  .menu__link { flex: none; padding: 0 14px; font-size: 15px; }
}
.burger { display: none; }
@media (max-width: 1023px) {
  .top__in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand burger"; }
  .menu, .top__cta { display: none; }
  .burger {
    grid-area: burger; display: grid; place-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: var(--white);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: background-color .2s, box-shadow .2s;
  }
  .burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .32s var(--ease-out), opacity .2s; }
  .burger:active { transform: scale(.95); }
  .top.is-solid .burger, .top.is-menu .burger { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* 메뉴가 열리면 헤더는 메뉴 위에 투명하게 남아 로고와 닫기(X)만 보인다 */
  .top.is-menu { z-index: 70; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- 전체 메뉴 (휴대폰·태블릿) ---------- */
html.menu-open { overflow: hidden; }
.mnav {
  position: fixed; inset: 0; z-index: 65; overflow-y: auto; overscroll-behavior: contain;
  background:
    radial-gradient(90% 55% at 100% 0%, rgba(22, 64, 240, .55), rgba(22, 64, 240, 0) 70%),
    radial-gradient(70% 40% at 0% 100%, rgba(255, 90, 31, .22), rgba(255, 90, 31, 0) 70%),
    var(--ink);
  color: var(--white);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.mnav.is-open { opacity: 1; }
.mnav__in { display: flex; flex-direction: column; min-height: 100%; padding-top: calc(var(--safe-t) + var(--top-h) + 28px); padding-bottom: calc(var(--safe-b) + 26px); }
.mnav__eyebrow { font-family: var(--f-disp); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .16em; line-height: 1; color: var(--flare); }
.mnav__links { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.mnav__link {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 42px; align-items: center; column-gap: 12px;
  padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: inherit; text-decoration: none;
  opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.mnav.is-open .mnav__link, .mnav.is-open .mnav__cta, .mnav.is-open .mnav__tel { opacity: 1; transform: none; }
.mnav.is-open .mnav__link:nth-child(2) { transition-delay: .05s; }
.mnav.is-open .mnav__link:nth-child(3) { transition-delay: .1s; }
.mnav__link i { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 22px; line-height: 1; letter-spacing: 0; color: var(--flare); }
.mnav__t { display: grid; gap: 5px; min-width: 0; }
.mnav__t b { font-size: 25px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; }
.mnav__t small { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4; color: rgba(255, 255, 255, .62); }
.mnav__go { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: background-color .2s, color .2s, box-shadow .2s; }
.mnav__go svg { width: 18px; height: 18px; }
.mnav__link:hover .mnav__go, .mnav__link[aria-current] .mnav__go { background: var(--white); color: var(--ink); box-shadow: none; }
.mnav__link[aria-current] .mnav__t b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 4px 8px; border-radius: 50%; background: var(--flare); vertical-align: middle; }
.mnav__link:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; border-radius: 6px; }
.mnav__cta { display: grid; gap: 10px; margin-top: 30px; opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease-out) .15s, transform .45s var(--ease-out) .15s; }
.mnav__cta .btn { --bh: 56px; font-size: 17px; }
.mnav__cta :focus-visible { outline-color: var(--white); }
.btn--kakao { background: #FEE500; color: #191919; }
.btn--kakao:hover { background: #F5DC00; }
.btn--kakao svg { width: 21px; height: 20px; }
.btn--kakao:hover svg { transform: none; }
.mnav__tel {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 30px;
  color: rgba(255, 255, 255, .7); text-decoration: none; opacity: 0; transition: opacity .45s var(--ease-out) .2s;
}
.mnav__tel span { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.mnav__tel b { font-family: var(--f-disp); font-style: italic; font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: .01em; color: var(--white); }
.mnav__tel:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
@media (min-width: 640px) {
  .mnav__in { max-width: 640px; }
  .mnav__t b { font-size: 28px; }
}
@media (min-width: 1024px) {
  .mnav { display: none !important; }
}
@media (min-width: 1024px) {
  .brand__mark { width: 34px; height: 34px; }
  .brand__txt b { font-size: 17px; }
  .brand__txt small { font-size: 11.5px; }
  .top__book { display: inline-flex; }
  .menu__link { padding: 0 20px; }
}

/* ==========================================================================
   HERO — 영상 몽타주 (whpcreative 레퍼런스)
   ========================================================================== */
.hero {
  position: relative; height: calc(100 * var(--sv)); min-height: 640px; overflow: hidden;
  background: var(--ink); color: var(--white); isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* 장면 시간: 1번 4.5초(제목을 읽는 동안 다음 사진을 받는다), 2·3번 3.5초, 겹침 0.8초. 천천히 확대(--kb)는 장면 시간+겹침에 맞춰 장면 안에서 끝난다 */
.clip { --kb: 4.3s; --rh: 1; --px: 42%; --py: 50%; --oy: 50%; position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease-out); }
.clip:nth-child(1) { --kb: 5.3s; }
.clip picture { display: block; width: 100%; height: 100%; }
/* 장면마다 얼굴이 상단 메뉴와 FIRST RUN 사이에 오도록 틀을 잡는다.
   --rh 이미지 상자 높이(히어로 높이 배수, 아래쪽 기준), --px/--py object-position, --oy 확대 기준점(세로).
   값은 실제 브라우저 화면(PC 20개, 휴대폰·태블릿 18개)에서 사진 속 얼굴 위치와 글자 위치를 재서 정했다. */
.clip img, .clip video {
  position: absolute; left: 0; bottom: 0; width: 100%; height: calc(100% * var(--rh));
  object-fit: cover; object-position: var(--px) var(--py);
  transform-origin: var(--px) var(--oy); transform: scale(1.06);
}
.clip.is-on { opacity: 1; }
.clip.is-on img { animation: kenburns var(--kb) linear both; }
@keyframes kenburns {
  from { transform: scale(1.14) translate3d(1.6%, .6%, 0); }
  to   { transform: scale(1.03) translate3d(0, 0, 0); }
}
/* 휴대폰·세로 태블릿 (세로 사진) */
@media (max-aspect-ratio: 4/5) {
  .clip img, .clip video { transform: scale(1.04); }
  .clip.is-on img { animation-name: kenburns-m; }
  /* 세로 태블릿: 사진이 화면보다 길어 위아래가 남는다 */
  .clip { --py: 50%; --oy: 20%; }
  .clip:nth-child(1), .clip:nth-child(3) { --py: 75%; }
}
@media (max-aspect-ratio: 13/20) {   /* 보통 비율 휴대폰(주소창·하단 바가 있는 실제 화면, 앱 안 브라우저) */
  .clip:nth-child(1) { --rh: 1.10; --px: 60%; --py: 0%; --oy: 50%; }
  .clip:nth-child(2) { --rh: 1; --px: 0%; --py: 50%; --oy: 50%; }
  .clip:nth-child(3) { --rh: 1.16; --px: 55%; --py: 0%; --oy: 60%; }
}
@media (max-aspect-ratio: 12/25) {   /* 길쭉한 휴대폰(390×844, 412×915 등) */
  .clip:nth-child(1) { --rh: 1; --px: 60%; --py: 0%; --oy: 40%; }
  .clip:nth-child(2) { --rh: 1; --px: 40%; --py: 0%; --oy: 20%; }
  .clip:nth-child(3) { --rh: 1.04; --px: 55%; --py: 0%; --oy: 60%; }
}
@keyframes kenburns-m {
  from { transform: scale(1.04) translate3d(.55%, .2%, 0); }
  to   { transform: scale(1) translate3d(0, 0, 0); }
}
/* PC·가로 태블릿 (가로 사진) */
@media (min-width: 1024px) and (min-aspect-ratio: 801/1000) {
  .clip:nth-child(1) { --rh: 1.10; --px: 45%; --py: 25%; --oy: 20%; }
  .clip:nth-child(2) { --rh: 1.26; --px: 45%; --py: 0%; --oy: 60%; }
  .clip:nth-child(3) { --rh: 1.08; --px: 60%; --py: 75%; --oy: 60%; }
  .clip.is-on img { animation-name: kenburns-pc; }
}
@keyframes kenburns-pc {
  from { transform: scale(1.06) translate3d(.8%, .3%, 0); }
  to   { transform: scale(1) translate3d(0, 0, 0); }
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 13, 42, .55) 0%, rgba(7, 13, 42, 0) 20%),
    linear-gradient(0deg, rgba(7, 13, 42, .92) 0%, rgba(7, 13, 42, .7) 30%, rgba(7, 13, 42, 0) 62%);
}

.hero__body { position: absolute; left: 0; right: 0; bottom: calc(28px + var(--safe-b)); }
.hero__display {
  font-family: var(--f-disp); font-style: italic; font-weight: 900;
  /* 한 줄로 좌우 여백 안에 꽉 차게(FIRST RUN 폭 = 글자 크기 × 3.618). 390·412px 휴대폰에서 두 줄로 쌓이던 것을 막는다 */
  font-size: clamp(64px, min(25vw, calc((100vw - 2 * var(--g)) / 3.66)), 330px); line-height: .82; letter-spacing: -0.01em;
  margin: 0 0 18px; text-transform: uppercase; white-space: nowrap;
  color: var(--white);
}
.hero__title {
  font-size: clamp(30px, 8vw, 60px); font-weight: 800; line-height: 1.12; letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__lede { margin-top: 14px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 20.75em; letter-spacing: -0.015em; text-wrap: pretty; }
.hero__cta { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }

@media (min-width: 560px) { .hero__cta { grid-template-columns: auto auto; justify-content: start; } }
@media (min-width: 1024px) { .hero__cta { display: none; } }
@media (max-width: 1023px) and (max-height: 760px) {
  .hero__display { font-size: min(21vw, calc(12.5 * var(--sv)), calc((100vw - 2 * var(--g)) / 3.66)); margin-bottom: 12px; }
  .hero__title { font-size: min(7.4vw, 30px); letter-spacing: -0.04em; line-height: 1.2; }
  .hero__lede { font-size: 15px; margin-top: 10px; }
  .hero__cta { margin-top: 16px; gap: 8px; }
}
@media (min-width: 1024px) {
  /* 하단 예약 바(바닥 20px + 높이 74px)가 늘 떠 있으므로 글자는 그 위 24px 부터 */
  .hero__body {
    bottom: 118px;
    display: grid; grid-template-columns: 1fr minmax(360px, 440px); column-gap: 64px; align-items: end;
  }
  .hero__display { grid-column: 1 / -1; margin-bottom: 30px; white-space: nowrap; }
  .hero__title { grid-column: 1; grid-row: 2 / span 2; align-self: end; }
  .hero__lede { grid-column: 2; margin-top: 0; font-size: 18px; }
  .hero__cta { grid-column: 2; }
  /* 화면 높이가 낮으면 FIRST RUN 을 줄여 글자 윗선이 화면 높이의 49% 아래에 오게 한다.
     그래야 사진 속 얼굴이 메뉴와 글자 사이에 들어간다. 1099px 이하는 한글 제목이 세 줄이라 한 줄만큼 더 뺀다.
     (식의 상수 = (글자 아래 여백 118 + 한글 제목 136 + 간격 30) ÷ 0.71) */
  .hero__display { font-size: clamp(92px, min(25vw, calc(max(100 * var(--sv), 640px) * .7746 - 400px)), 330px); }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .hero__display { font-size: clamp(92px, min(25vw, calc(max(100 * var(--sv), 640px) * .7746 - 494px)), 330px); }
}

/* 첫 화면 등장 (한 번) */
[data-enter] { animation: rise .9s var(--ease-out) both; }
.hero__title[data-enter] { animation-delay: .08s; }
.hero__lede[data-enter] { animation-delay: .16s; }
.hero__cta[data-enter] { animation-delay: .24s; }
.hero__display[data-enter] { animation: rise-wide 1.1s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise-wide { from { opacity: 0; transform: translateX(-4%) skewX(-6deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

/* ==========================================================================
   PROOF — 릴스 양방향 관성 흐름 (jesperwestlund 레퍼런스)
   ========================================================================== */
.proof { position: relative; height: calc(420 * var(--sv)); background: var(--cobalt); color: var(--white); }
.proof__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto 1fr;
  padding-top: calc(var(--safe-t) + var(--top-h) + 4px);
  padding-bottom: calc(var(--dock-h) + var(--safe-b));
}
.proof__rail { position: relative; overflow: hidden; }
.proof__rail .col { position: absolute; inset: 0; }
.proof__rail .col + .col { display: none; }

.reel {
  position: absolute; left: 0; top: 0;
  width: var(--rw, 120px); aspect-ratio: 9 / 16;
  border-radius: 16px; overflow: hidden; display: block;
  background: var(--cobalt-2);
  box-shadow: 0 24px 50px -24px rgba(3, 8, 40, .7), 0 0 0 1px rgba(255, 255, 255, .22);
  will-change: transform; text-decoration: none;
}
.reel img, .reel video { width: 100%; height: 100%; object-fit: cover; }
.reel::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7, 13, 42, .35) 0%, rgba(7, 13, 42, 0) 22%, rgba(7, 13, 42, 0) 70%, rgba(7, 13, 42, .45) 100%);
}
.reel__ic { position: absolute; z-index: 2; left: 10px; top: 10px; width: 18px; height: 18px; color: var(--white); }
.reel__play { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 16px; height: 16px; color: var(--white); opacity: .9; }
a.reel[href] { cursor: pointer; }
a.reel[href]:hover img { transform: scale(1.03); }
.reel img { transition: transform .4s var(--ease-out); }

.proof__center { position: relative; z-index: 2; padding: 18px var(--g); text-align: center; }
.proof__h { font-size: 16px; font-weight: 800; line-height: 1.4; letter-spacing: -0.02em; }
.facts { position: relative; display: grid; margin-top: 10px; }
.fact {
  grid-area: 1 / 1; display: grid; justify-items: center; align-content: start;
  opacity: 0; transform: translateY(18px); filter: blur(6px);
  transition: opacity .55s var(--ease-out), transform .7s var(--ease-out), filter .55s;
  pointer-events: none;
}
.fact.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.fact__num {
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  font-family: var(--f-disp); font-style: italic; font-weight: 900;
  font-size: clamp(76px, 22vw, 200px); line-height: .82; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-bottom: .04em;
}
.fact__num small { font-family: var(--f-ko); font-style: normal; font-weight: 800; font-size: clamp(20px, 5vw, 36px); letter-spacing: -0.03em; }
.fact__num--badges { align-items: center; gap: clamp(8px, 2.4vw, 18px); padding: 6px 0 10px; margin-bottom: 0; }
.fact__num--badges img { width: auto; height: clamp(62px, 16vw, 112px); filter: drop-shadow(0 8px 14px rgba(7, 13, 42, .32)); }
.nobr { white-space: nowrap; }
.fact__title { margin-top: 8px; font-size: clamp(22px, 5.6vw, 34px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; text-wrap: balance; }
.fact__body { margin-top: 10px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 26em; letter-spacing: -0.012em; text-wrap: pretty; }
.facts__dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.facts__dots i { width: 22px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); transition: background-color .3s, width .3s var(--ease-out); }
.facts__dots i.is-on { width: 38px; background: var(--white); }
@media (max-width: 499px) {
  .fact__title { letter-spacing: -0.03em; line-height: 1.4; margin-top: 6px; }
}
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 560px) {
  .proof__stage { padding-top: calc(var(--safe-t) + var(--top-h)) !important; padding-bottom: calc(var(--dock-h) + var(--safe-b)) !important; }
  .proof__h { display: none; }
  .fact__num { font-size: clamp(44px, 13svh, 72px); }
  .fact__num--badges img { height: clamp(44px, 14svh, 64px); }
  .fact__title { font-size: 18px; }
  .fact__body { font-size: 13px; line-height: 1.5; }
  .facts__dots { margin-top: 8px; }
}
.proof--norails .proof__rail { visibility: hidden; }
.proof--one .proof__rail .col + .col { display: none !important; }
.proof--small .reel__ic, .proof--small .reel__play { display: none; }
.proof--small .reel { border-radius: 10px; }
@media (max-width: 1023px) and (max-height: 700px) {
  .proof__h { font-size: 14px; letter-spacing: -0.01em; line-height: 1.5; }
  .fact__num { font-size: clamp(52px, 15vw, 96px); }
  .fact__num--badges img { height: 54px; }
  .fact__title { font-size: 19px; margin-top: 2px; letter-spacing: -0.03em; line-height: 1.4; }
  .fact__num small { font-size: 16px; }
  .fact__body { font-size: 13.5px; line-height: 1.5; margin-top: 6px; }
  .facts__dots { margin-top: 10px; }
}

@media (min-width: 1024px), (orientation: landscape) and (max-height: 560px) and (min-width: 640px) {
  .proof { height: calc(460 * var(--sv)); }
  .proof__stage { grid-template-rows: none; grid-template-columns: 1fr minmax(440px, 34%) 1fr; padding-top: 0; padding-bottom: 0; }
  .proof__rail { display: flex; justify-content: center; gap: 18px; padding: 0 18px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%); }
  .proof__rail .col, .proof__rail .col + .col { position: relative; inset: auto; display: block; flex: 0 0 var(--rw); height: 100%; }
  .proof__center { align-self: center; padding: 0 12px; }
  .proof__h { font-size: 21px; letter-spacing: -0.03em; }
  .fact__body { font-size: 17px; }
}
@media (min-width: 1024px) {
  .fact__num { font-size: clamp(150px, 12.5vw, 200px); }
}

/* ==========================================================================
   PRICE — 탭 카드 덱 (codefronts "Dynamic Tabbed Stack Deck" 구조 차용)
   탭을 누르면 그 카드가 맨 앞으로 오고 나머지는 뒤에 겹쳐 색만 살짝 보인다.
   ========================================================================== */
.price { background: var(--white); border-top: 1px solid var(--line); padding: 104px 0 120px; overflow-x: clip; }
.price__in { display: grid; gap: 40px; }
.price__notes { margin-top: 22px; display: grid; gap: 6px; }
.price__notes li { position: relative; padding-left: 14px; font-size: 13px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft); text-wrap: pretty; }
.price__notes li::before { content: ""; position: absolute; left: 0; top: calc(.75em - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: var(--cobalt); }

.deck { position: relative; width: 100%; max-width: 520px; padding-bottom: 26px; }
/* 강습 시간 2시간 / 4시간 */
.dur { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dur__label { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.dur__seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--snow); box-shadow: inset 0 0 0 1px var(--line); }
.dur__opt {
  min-width: 84px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--ink-soft); font-size: 14.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.dur__opt:hover { color: var(--ink); }
.dur__opt[aria-checked="true"] { background: var(--ink); color: var(--white); box-shadow: 0 8px 16px -10px rgba(7, 13, 42, .7); }
.dur__opt:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.deck__tabs { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 6px; }
.deck__tab {
  display: grid; justify-items: start; align-content: end; gap: 3px; min-height: 56px;
  padding: 10px 14px 10px; border: 0; border-radius: 16px 16px 0 0;
  background: var(--c); color: var(--t); text-align: left; cursor: pointer;
  filter: brightness(.88);
  transition: min-height .35s var(--ease-step), padding .35s var(--ease-step), filter .25s;
}
.deck__tab:hover { filter: brightness(.96); }
.deck__tab[aria-selected="true"] { filter: none; min-height: 66px; padding-bottom: 14px; }
.deck__tab b { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 28px; line-height: .82; letter-spacing: -0.01em; }
.deck__tab span { font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; white-space: nowrap; }
.deck__tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.deck__cards { display: grid; }
.dcard {
  --d: 0;
  grid-area: 1 / 1; position: relative; z-index: calc(3 - var(--d));
  display: flex; flex-direction: column;
  border-radius: 0 0 24px 24px; overflow: hidden; background: var(--c);
  box-shadow: 0 34px 60px -36px rgba(7, 13, 42, .55), 0 0 0 1px rgba(7, 13, 42, .06);
  transform-origin: 50% 100%;
  transform: translateY(calc(var(--d) * 13px)) scale(calc(1 - var(--d) * .045));
  transition: transform .5s var(--ease-step);
}
.dcard:nth-child(2) { --d: 1; }
.dcard:nth-child(3) { --d: 2; }
.dcard:not(.is-on) > * { visibility: hidden; }
.dcard__head { display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px 20px; color: var(--t); }
.dcard__ratio { flex: none; font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 56px; line-height: .82; letter-spacing: -0.01em; }
.dcard__name { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.04em; }
.dcard__desc { margin-top: 6px; font-size: 14px; line-height: 1.55; letter-spacing: -0.012em; opacity: .88; text-wrap: pretty; }
.dcard__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 20px; background: var(--white); }
.dcard__body > .btn { margin-top: auto; }

.lv__head { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.lv__label { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.lv__unit { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink-soft); white-space: nowrap; }
.lv__info {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 11px 0 7px;
  border: 0; border-radius: 999px; background: var(--cobalt-ice); color: var(--cobalt-2); cursor: pointer;
  font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
}
.lv__info svg { width: 17px; height: 17px; flex: none; }
.lv__info:hover { background: #CBD7FF; }
.lv__info:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.lv { display: grid; gap: 8px; }
.lv__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px;
  padding: 12px 16px; border: 0; border-radius: 16px; text-align: left; cursor: pointer;
  background: var(--snow); color: var(--ink); box-shadow: inset 0 0 0 1.5px transparent;
  transition: box-shadow .2s, background-color .2s;
}
.lv__row:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.lv__row[aria-checked="true"] { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink), 0 10px 24px -18px rgba(7, 13, 42, .6); }
.lv__row:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.lv__tag { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 5px; row-gap: 4px; }
.lv__tag em { font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; }
.lv__tag small { grid-column: 1 / -1; }
.lv__tag b { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 24px; line-height: .82; letter-spacing: -0.01em; }
.lv__tag small { font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink-soft); }
.lv__price { display: grid; justify-items: end; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.lv__price b { display: inline-block; font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 30px; line-height: .82; letter-spacing: 0; margin-right: 1px; font-variant-numeric: tabular-nums; }
.lv__price { grid-template-columns: auto auto; align-items: baseline; column-gap: 2px; }
.lv__per { grid-column: 1 / -1; margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.lv__price--ask { display: flex; }
.lv__ask { display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px; border-radius: 999px; background: rgba(7, 13, 42, .06); color: var(--ink-2); font-size: 13px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.lv__row[aria-checked="true"] .lv__ask { background: var(--ink); color: var(--white); }
/* 강습 시간을 바꾸면 금액이 살짝 올라오며 바뀐다 */
.deck.is-tick .lv__price b, .deck.is-tick .lv__per, .deck.is-tick [data-unit] { animation: tick .45s var(--ease-out); }
@keyframes tick { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lv__row[aria-checked="true"] .lv__tag b { color: var(--cobalt); }

/* 강사 레벨 안내 팝업 (Popover API, 지원하지 않는 브라우저는 main.js 가 같은 동작을 맡는다) */
.lvpop {
  position: fixed; inset: 0; margin: auto; width: min(380px, calc(100vw - 32px)); height: fit-content; max-height: calc(100svh - 32px); overflow: auto;
  padding: 22px 22px 20px; border: 0; border-radius: 24px; background: var(--white); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(7, 13, 42, .6);
}
.lvpop { display: none; }
.lvpop:popover-open { display: block; }
.lvpop::backdrop { background: rgba(7, 13, 42, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lvpop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lvpop__h { font-size: 19px; font-weight: 800; line-height: 1.4; letter-spacing: -0.03em; }
.lvpop__x { display: grid; place-items: center; width: 40px; height: 40px; margin: -8px -8px -8px 0; border: 0; border-radius: 50%; background: var(--snow); color: var(--ink); cursor: pointer; }
.lvpop__x svg { width: 18px; height: 18px; }
.lvpop__lead { margin: -4px 0 14px; font-size: 14px; line-height: 1.55; letter-spacing: -0.012em; color: var(--ink-2); text-wrap: pretty; }
.lvpop__list { display: grid; gap: 8px; }
.lvpop__list li { display: grid; gap: 5px; padding: 12px 14px; border-radius: 14px; background: var(--snow); }
.lvpop__list b { font-family: var(--f-disp); font-style: italic; font-weight: 900; font-size: 20px; line-height: 1; letter-spacing: -0.01em; color: var(--cobalt); white-space: nowrap; }
.lvpop__list span { font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: -0.012em; text-wrap: pretty; }
.lvpop__note { margin-top: 14px; font-size: 13px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft); text-wrap: pretty; }
.lvpop.is-open { display: block; z-index: 100; }

@media (max-width: 767px) {
  .dcard__ratio { display: none; }
  .dcard__head { padding: 18px 20px 16px; }
}
@media (max-width: 359px) {
  .lv__unit { display: none; }
  .deck__tab { padding: 10px 10px 12px; }
  .deck__tab span { font-size: 12px; }
  .dcard__head { padding: 20px 18px 18px; gap: 12px; }
  .dcard__ratio { font-size: 46px; }
  .lv__row { padding: 12px 14px; }
}
@media (min-width: 1024px) {
  .price { min-height: calc(100 * var(--sv)); display: flex; align-items: center; padding: 104px 0 136px; }
  .price .wrap { width: 100%; }
  .price__in { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); column-gap: 72px; align-items: center; }
  .deck { justify-self: end; }
  .deck__tab { min-height: 62px; padding: 12px 18px 12px; }
  .deck__tab[aria-selected="true"] { min-height: 76px; padding-bottom: 16px; }
  .deck__tab b { font-size: 32px; }
  .deck__tab span { font-size: 14px; }
  .dcard__head { padding: 26px 28px 24px; }
  .dcard__ratio { font-size: 64px; }
  .dcard__name { font-size: 24px; }
  .dcard__body { padding: 22px 24px 24px; }
  .lv__row { min-height: 70px; padding: 14px 20px; }
  .lv__tag b { font-size: 26px; }
  .lv__price b { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .dcard, .deck__tab { transition: none; }
}

/* ==========================================================================
   COACH — 강사진
   ========================================================================== */
.coach { background: var(--snow); padding: 96px 0 104px; }
.coach__head { margin-bottom: 32px; }
.coaches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cc {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 12px 28px -24px rgba(7, 13, 42, .5);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.cc:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), 0 26px 44px -28px rgba(7, 13, 42, .55); }
.cc__ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #BFC1C2; }
.cc__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .5s var(--ease-out); }
.cc:hover .cc__ph img { transform: scale(1.03); }
.cc__role {
  position: absolute; left: 10px; bottom: 10px;
  padding: 7px 11px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: -0.01em;
  box-shadow: 0 6px 14px -8px rgba(7, 13, 42, .55);
  line-height: 1.3;
}
.cc--lead .cc__role { background: var(--cobalt); color: var(--white); }
.cc__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 14px 14px 18px; }
.cc__name { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.4; }
/* 강사 본인의 한마디 */
.cc__say { position: relative; margin: 0; padding-top: 17px; font-size: 14.5px; font-weight: 600; line-height: 1.65; letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; }
.cc__say::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 10.5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath fill='%23FF5A1F' d='M0 24V14C0 6 4 1.5 12 0l1.5 3.4C9 4.8 7 7.6 7 11h5v13H0Zm19 0V14c0-8 4-12.5 12-14l1 3.4C27.6 4.8 26 7.6 26 11h5v13H19Z'/%3E%3C/svg%3E") no-repeat 0 0 / contain; }
@media (max-width: 639px) {
  .cc__ph { aspect-ratio: 4 / 5; }
  .cc__body { padding: 12px 12px 16px; gap: 8px; }
  .cc__name { font-size: 18px; }
  .cc__say { padding-top: 15px; font-size: 13.5px; line-height: 1.5; }
  .cc__say::before { width: 12px; height: 9px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .cc__ph { aspect-ratio: 1 / 1; }
  .cc__body { padding: 16px 16px 20px; }
  .cc__name { font-size: 21px; }
  .cc__say { font-size: 15.5px; }
}
@media (min-width: 1024px) {
  .coach { padding: 120px 0 150px; }
  .coach__head { margin-bottom: 48px; }
  .coaches { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .cc__body { padding: 16px 16px 20px; gap: 10px; }
  .cc__name { font-size: 21px; }
  .cc__role { left: 12px; bottom: 12px; font-size: 12.5px; }
  .cc__say { font-size: 15px; }
}

/* ==========================================================================
   CERT — 대한스키지도자연맹 마무리
   ========================================================================== */
.cert {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--cobalt); color: var(--white);
  min-height: calc(100 * var(--sv)); display: flex; align-items: center;
  padding: 120px 0;
}
.cert__mark {
  position: absolute; z-index: -1; right: -0.06em; bottom: -0.2em;
  font-family: var(--f-disp); font-style: italic; font-weight: 900;
  font-size: clamp(220px, 52vw, 760px); line-height: .8; letter-spacing: -0.02em;
  color: rgba(255, 255, 255, .09); pointer-events: none; user-select: none;
}
.cert__h { font-size: clamp(34px, 8.6vw, 96px); font-weight: 800; line-height: 1.12; letter-spacing: -0.045em; text-wrap: balance; overflow-wrap: normal; }
.cert__sub { margin-top: 22px; font-family: var(--f-disp); font-style: italic; font-weight: 700; font-size: clamp(16px, 2vw, 22px); letter-spacing: .02em; opacity: .8; line-height: 1.4; }
.cert__sub .ko { font-family: var(--f-ko); font-style: normal; font-weight: 700; letter-spacing: -0.01em; }
.cert__cta { display: grid; gap: 10px; margin-top: 36px; }
@media (min-width: 560px) { .cert__cta { grid-template-columns: auto auto; justify-content: start; } }
@media (min-width: 1024px) { .cert { min-height: calc(100 * var(--sv)); padding: 140px 0 180px; } }
@media (max-width: 499px) {
  .h-xl, .hero__title, .cert__h { letter-spacing: -0.04em; line-height: 1.2; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--ink); color: rgba(255, 255, 255, .9); padding: 56px 0 calc(48px + var(--safe-b)); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot__tel { font-family: var(--f-disp); font-style: italic; font-weight: 800; font-size: 30px; text-decoration: none; letter-spacing: .01em; min-height: 44px; display: inline-flex; align-items: center; line-height: 1; }
.foot__tel:hover { color: var(--flare); }
.biz { display: grid; gap: 8px; padding: 26px 0 18px; }
.biz p { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 6px; font-size: 13px; line-height: 1.5; letter-spacing: -0.01em; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.biz span { overflow-wrap: anywhere; }
.biz em { font-style: normal; color: rgba(255, 255, 255, .5); }
.biz a { color: inherit; text-decoration: none; }
.biz a:hover { text-decoration: underline; }
.biz .biz__check { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); font-size: 12px; font-weight: 700; }
.biz .biz__check:hover { text-decoration: none; background: rgba(255, 255, 255, .1); }
.foot__links { display: flex; flex-wrap: wrap; column-gap: 18px; margin-bottom: 10px; }
.foot__privacy { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; color: var(--white); text-decoration: underline; text-underline-offset: .25em; letter-spacing: -0.01em; line-height: 1.3; }
.foot__privacy:hover { color: var(--flare); }
.foot__copy { font-size: 12px; color: rgba(255, 255, 255, .55); letter-spacing: -0.01em; line-height: 1.5; }
@media (max-width: 359px) {
  .cert__sub { max-width: 13em; }
}
@media (min-width: 1024px) {
  .foot { padding-bottom: 150px; }
}

/* ==========================================================================
   DOCK — 하단 고정 빠른 상담예약
   휴대폰: 화면 아래 떠 있는 흰 카드. 제목·카톡 상담 / 이름·강습 인원 / 연락처·상담예약 / 동의
   입력칸은 알약 모양, 이름표는 화면낭독기용으로만 두고 칸 안 안내 글자로 보여 준다.
   PC: 화면 가운데 한 줄 바 + 오른쪽 아래 카카오톡 상담 원(.kfab)
   ========================================================================== */
.dock {
  position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b));
  padding: 14px 14px 10px; border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 22px 44px -18px rgba(7, 13, 42, .5), 0 0 0 1px rgba(7, 13, 42, .07);
  transform: translateY(calc(100% + 30px)); transition: transform .5s var(--ease-out);
}
.dock.is-shown { transform: none; }
.dock__form { position: relative; }
.dock__head { display: flex; align-items: center; gap: 8px; min-height: 30px; margin-bottom: 10px; }
.dock__title { font-size: 15.5px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.dock__plan { display: none; }
.dock__chat {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 11px 0 9px;
  border: 0; border-radius: 999px; background: #FEE500; color: #191919;
  font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  transition: background-color .2s, transform .18s;
}
.dock__chat svg { width: 16px; height: 15px; }
.dock__chat:hover { background: #F5DC00; }
.dock__chat:active { transform: scale(.96); }
.dock__fields {
  display: grid; gap: 8px;
  grid-template-columns: 55fr 10fr 35fr;
  grid-template-areas: "name people people" "phone phone go" "agree agree agree";
}
.dock .field--name { grid-area: name; }
.dock .field--phone { grid-area: phone; }
.dock .field--select { grid-area: people; }
.dock__go { grid-area: go; }
.dock__agree { grid-area: agree; }
.dock .field { gap: 0; }
.dock .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dock .field input, .dock .field select {
  height: 46px; padding: 0 16px; border-radius: 999px; background-color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(7, 13, 42, .16); font-size: 16px; font-weight: 600;
}
.dock .field select { padding-right: 34px; background-position: right 13px center; }
.dock .field input:hover, .dock .field select:hover { box-shadow: inset 0 0 0 1px rgba(7, 13, 42, .34); }
.dock .field input:focus, .dock .field select:focus { box-shadow: inset 0 0 0 2px var(--cobalt), 0 0 0 4px rgba(22, 64, 240, .14); }
.dock__go { --bh: 46px; min-width: 0; padding: 0 14px; font-size: 16px; box-shadow: 0 10px 20px -12px rgba(255, 90, 31, .9); }
.dock__agree { display: flex; align-items: center; flex-wrap: wrap; column-gap: 8px; min-height: 24px; padding: 0 4px; }
.dock .agree { min-height: 24px; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
.dock .agree input { width: 16px; height: 16px; }
.dock .agree em { font-style: normal; font-weight: 800; color: var(--cobalt); }
.dock .agree__more { font-size: 12px; color: var(--ink-soft); }
.dock .agree__more summary { min-height: 24px; }
/* 동의 자세히·안내 말풍선은 카드 위에 뜬다 */
.dock .agree__more p {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(100% + 24px);
  padding: 12px 14px; border-radius: 14px; background: var(--ink); color: rgba(255, 255, 255, .9);
  font-size: 12.5px; line-height: 1.55; box-shadow: 0 16px 30px -12px rgba(7, 13, 42, .6);
}
.dock .agree__more p a { color: #A9BDFF; }
.dock .agree__more p :focus-visible { outline-color: var(--white); }
.dock__msg {
  position: absolute; z-index: 4; left: var(--msg-x, 0px); bottom: var(--msg-b, calc(100% + 8px)); white-space: nowrap;
  padding: 9px 13px; border-radius: 10px; background: #D92D2D; color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.45;
  box-shadow: 0 12px 24px -10px rgba(7, 13, 42, .55);
  animation: msg-in .22s var(--ease-out);
}
.dock__msg::after { content: ""; position: absolute; top: 100%; left: var(--tail-x, 18px); margin-left: -6px; border: 6px solid transparent; border-top-color: #D92D2D; }
@keyframes msg-in { from { opacity: 0; transform: translateY(4px); } }
.dock .field input[aria-invalid="true"], .dock .field select[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #E5484D, 0 0 0 3px rgba(229, 72, 77, .18); }
.dock__agree.is-invalid .agree input { outline: 2px solid #E5484D; outline-offset: 2px; }
.dock__agree.is-invalid .agree > span { color: #C62D33; }
.dock.is-done .dock__fields { display: none; }
.dock__done { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 2px 4px; color: var(--ink); }
.dock__done:focus { outline: none; }
.dock__done svg { flex: none; width: 34px; height: 34px; animation: pop .4s var(--ease-out); }
.dock__done p { display: grid; gap: 2px; }
.dock__done b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.dock__done span { font-size: 13px; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink-soft); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
/* 넓은 휴대폰·태블릿: 입력칸 한 줄 */
@media (min-width: 640px) {
  .dock { left: var(--g); right: var(--g); }
  .dock__fields {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr) minmax(0, 1fr) auto;
    grid-template-areas: "name phone people go" "agree agree agree agree";
  }
  .dock__go { padding: 0 24px; }
}
@media (max-width: 359px) {
  .dock { left: 6px; right: 6px; padding: 12px 10px 8px; }
  .dock__fields { gap: 6px; }
  .dock .field input, .dock .field select { padding: 0 12px; }
  .dock .field select { padding-right: 28px; background-position: right 9px center; }
  .dock .agree { font-size: 11.5px; }
}
.kfab { display: none; }

/* 입력칸 (PC 예약 바 · 예약 페이지 공용) */
.field { position: relative; display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: -0.01em; line-height: 1.3; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px;
  border: 0; border-radius: 14px; background: var(--snow);
  box-shadow: inset 0 0 0 1.5px #7A82A0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 16px; font-weight: 600; color: var(--ink);
  transition: box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
  letter-spacing: -0.012em;
  font-variant-numeric: tabular-nums;
}
.field input { caret-color: var(--cobalt); }
.field select {
  padding-right: 40px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234A5375' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px;
}
.field select:has(option[value=""]:checked) { color: #666E8C; font-weight: 500; }
.field input::placeholder { color: #666E8C; font-weight: 500; }
.field input:hover, .field select:hover { box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.field input:focus, .field select:focus { outline: none; background-color: var(--white); box-shadow: inset 0 0 0 2px var(--cobalt), 0 0 0 4px rgba(22, 64, 240, .15); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); }
.field__err { min-height: 0; font-size: 12.5px; font-weight: 700; color: #D92D2D; letter-spacing: -0.01em; line-height: 1.5; }
.field__err:empty { display: none; }
.agree { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; letter-spacing: -0.01em; line-height: 1.3; }
.agree input { width: 22px; height: 22px; accent-color: var(--cobalt); flex: none; }
.agree em { font-style: normal; color: var(--cobalt); }
.agree__more { font-size: 12.5px; color: var(--ink-soft); letter-spacing: -0.01em; line-height: 1.3; }
.agree__more summary { cursor: pointer; width: fit-content; min-height: 32px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.agree__more p { padding: 6px 0 2px; line-height: 1.5; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* 데스크톱: 화면 가운데 한 줄 바 + 오른쪽 아래 카카오톡 상담 원(둘 다 높이 74px, 바닥 20px) */
@media (min-width: 1024px) {
  :root { --kfab: 74px; --dock-h: 76px; }
  html { scroll-padding-bottom: 116px; }
  .dock {
    left: 50%; right: auto; bottom: 20px;
    width: min(1120px, calc(100% - 2 * (var(--kfab) + 36px)));
    display: flex; align-items: center; padding: 13px 13px 13px 24px;
    transform: translate(-50%, calc(100% + 40px));
  }
  .dock.is-shown { transform: translate(-50%, 0); }
  .dock__form { flex: 1; display: flex; align-items: center; gap: 18px; }
  .dock__head { flex: none; margin: 0; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; }
  .dock__title { font-size: 16.5px; }
  .dock__plan { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 8px; border-radius: 999px; background: var(--cobalt-ice); color: var(--cobalt-2); font-size: 11px; font-weight: 800; letter-spacing: 0; line-height: 1.3; }
  .dock__plan[hidden] { display: none; }
  .dock__chat { display: none; }
  .dock__fields { flex: 1; grid-template-columns: minmax(104px, .9fr) minmax(150px, 1.1fr) minmax(150px, 1fr) auto auto; grid-template-areas: "name phone people agree go"; gap: 10px; align-items: center; }
  .dock .field input, .dock .field select { height: 48px; font-size: 15px; padding: 0 18px; }
  .dock .field select { padding-right: 36px; background-position: right 14px center; }
  .dock__go { --bh: 48px; padding: 0 24px; font-size: 16px; }
  .dock__agree { display: grid; gap: 0; justify-items: start; padding: 0 2px; }
  .dock .agree { min-height: 22px; font-size: 12.5px; white-space: nowrap; }
  .dock .agree__more summary { min-height: 22px; }
  .dock .agree__more p { left: auto; right: 0; width: 340px; bottom: calc(100% + 22px); }
  .dock__done { min-height: 48px; padding: 0; }

  .kfab {
    position: fixed; z-index: 61; right: 20px; bottom: 20px;
    display: grid; place-content: center; justify-items: center; gap: 4px;
    width: var(--kfab); height: var(--kfab); padding: 0; border: 0; border-radius: 50%;
    background: #FEE500; color: #191919;
    box-shadow: 0 18px 36px -14px rgba(7, 13, 42, .55), 0 0 0 1px rgba(25, 25, 25, .06);
    transition: transform .2s var(--ease-out), box-shadow .2s, background-color .2s;
  }
  .kfab svg { width: 30px; height: 28px; }
  .kfab span { font-size: 11.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
  .kfab:hover { background: #F5DC00; transform: translateY(-2px); box-shadow: 0 24px 44px -14px rgba(7, 13, 42, .6), 0 0 0 1px rgba(25, 25, 25, .06); }
  .kfab:active { transform: scale(.96); }
  .kfab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
}

/* 1024–1199px: 바가 좁으니 제목은 화면낭독기에만 남기고, 고른 강습 칩은 숨긴다 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .dock { padding-left: 13px; }
  .dock__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dock__fields { grid-template-columns: minmax(92px, .8fr) minmax(140px, 1.1fr) minmax(136px, 1fr) auto auto; gap: 8px; }
  .dock .field input, .dock .field select { padding: 0 14px; }
  .dock .field select { padding-right: 32px; background-position: right 11px center; }
  .agree__x { display: none; }
  .dock__go { padding: 0 20px; }
}

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .clip.is-on img { animation: none; transform: none; }
}
