/* @fonts:start — node _fonts.mjs 가 만든다. 손으로 고치지 않는다 */
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/noto-sans-kr-300.1d02971c.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-kr-400.d0c17fb5.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-kr-500.77dbbcbe.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-kr-600.3250e164.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-kr-700.e9c2e684.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/noto-sans-kr-800.429a9a24.woff2") format("woff2"); }
/* @fonts:end */
/* JINU PLAN(옛 CLASS JINU) 리뉴얼 시안 v4 — 에듀코치 사이트(ui.css 최종 규칙)의 숫자 타일·강점 카드·후기 흐름·상담 영역을
   클래스지누 범위로 옮긴 스타일. 영어 소제목·형광펜은 쓰지 않는다. */
:root {
  --navy: #102e4c;
  --navy-deep: #0a2038;
  --hero-deep: #102e4c; /* 에듀코치 .hero 바탕(사진이 뜨기 전) */
  --blue: #2155c9;
  --blue-hover: #1947af;
  --blue-soft: #e9f0fe;
  --blue-mid: #8fb4ee;
  --blue-button: #2a62d8; /* 흰 글자 대비 5.5:1 */
  --form-blue: #17459e;
  --ink: #172d43;
  --ink-2: #4b5f75;
  --muted: #5b6d80;
  --line: #dce5ef;
  --line-soft: #e4ebf4;
  --line-mid: #d7e3f4;
  --line-strong: #c3d3e8;
  --field-line: #8191a6;
  --pale: #f3f7fc;
  --tint: #f6f9fd;
  --radius-card: 16px;
  --radius-control: 8px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
/* .proof-grid 처럼 display를 정한 요소도 hidden이면 숨긴다(작성자 CSS가 UA의 hidden을 덮어쓰는 문제) */
[hidden] { display: none !important; }
/* 사용자 11/7 "체크박스 클릭하면 파란 박스가 생긴다 — 다른 곳도 없게": 휴대폰 브라우저가 누른 요소에 덧칠하는 반투명 상자(안드로이드 크롬 파랑, iOS 회색)를 끈다.
   눌림 표시는 버튼 눌림 축소·과정 카드 파란 채움이 맡는다. 상속 속성이라 html 한 곳이면 된다 */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: 17px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.32; letter-spacing: -0.022em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-control); background: var(--navy); color: #fff; font-size: 15px; }
.skip-link:focus { top: 12px; }
.keep { white-space: nowrap; }
/* 구절 단위로 줄을 바꾼다(폭이 모자라면 구절 안에서도 줄바꿈) — "없는 / 이유," 같은 어색한 끊김 방지 */
.phrase { display: inline-block; }
/* 마지막 한 단어만 다음 줄로 떨어지지 않게 */
.hero-description, .cta-card p, .contact-lead, .section-heading h2, .section-heading p, .page-head h1, .page-head p, .guide-big { text-wrap: balance; }
.step-card > p, .review-quote, .footer-brand p, .terms-body p { text-wrap: pretty; }

/* 헤더 — 지금 사이트와 같은 가운데 글자 워드마크 */
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-h); display: flex; align-items: center; justify-content: center; background: rgb(255 255 255 / 96%); border-bottom: 1px solid var(--line-soft); backdrop-filter: saturate(140%) blur(8px); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: 0.16em; line-height: 1; }

/* 공통 버튼 */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius-control); background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.button-block { width: 100%; }
.button-primary { background: var(--blue-button); }
.button-glass { background: transparent; border-color: rgb(255 255 255 / 66%); color: #fff; }
.button-quiet { background: #fff; color: var(--ink); border-color: var(--line-strong); }

/* 히어로 — 기획안 image1 배치 그대로: 사진 위에 가운데 문구, 그 아래 버튼 카드 2개 */
.hero { position: relative; isolation: isolate; padding-block: 96px 84px; background: var(--hero-deep); color: #fff; text-align: center; overflow: hidden; }
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: center 45%; filter: brightness(.9) saturate(.94); }
/* 진우 대표님 피드백 4번 + 사용자 교정(11/4 "에듀코치처럼 하늘색 톤"): 에듀코치 메인 첫 화면 값을 그대로 옮긴다 —
   밝은 사무실 사진에 밝기 .9·채도 .94, 남색 덮개를 가로로 48→65→48% 고르게(ui.css body[data-feedback][data-page="home"] .hero-shade).
   대비는 _ui-audit.mjs가 실제 픽셀로 잰다. */
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgb(8 30 56 / 48%), rgb(8 30 56 / 65%) 50%, rgb(8 30 56 / 48%)); }
.hero-copy { max-width: 780px; }
.hero-badge { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 18px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 999px; background: rgb(8 30 56 / 36%); color: #eef3fb; font-size: 15px; font-weight: 500; line-height: 1.5; }
.hero h1 { margin: 22px 0 18px; font-size: 58px; font-weight: 800; line-height: 1.2; letter-spacing: -0.035em; text-wrap: balance; }
.hero-description { color: #e6edf7; font-size: 19px; line-height: 1.75; }
.hero-description strong { color: #fff; font-weight: 700; }
.hero-actions { margin-top: 44px; }
/* 넓은 화면에서는 카드 묶음을 가운데에 좁게 두어 사진 좌우 바깥의 두 사람(가로 5~25%·75~95%)을 가리지 않는다 */
.cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: clamp(520px, 44vw, 680px); margin-inline: auto; text-align: left; }
.cta-card { position: relative; display: flex; flex-direction: column; min-height: 212px; padding: 28px 28px 24px; border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--radius-card); background: rgb(8 26 46 / 66%); overflow: hidden; }
.cta-card-icon { position: absolute; top: 20px; right: 20px; width: 64px; height: 64px; color: rgb(255 255 255 / 20%); pointer-events: none; }
.cta-card-icon svg { width: 100%; height: 100%; }
.cta-card h2 { position: relative; color: #fff; font-size: 23px; font-weight: 700; }
.cta-card p { position: relative; max-width: 290px; margin-top: 10px; color: #dbe5f2; font-size: 16px; line-height: 1.7; }
.cta-card .button-wrap { position: relative; margin-top: auto; padding-top: 24px; }
/* 진우 대표님 11/6 피드백 1번 "버튼 글씨 좀 더 키워주세요"(무료상담 예약하기 / 수강일정 확인하기) — 16→18px */
.cta-card .button { width: 100%; border-radius: 999px; font-size: 18px; }
/* 진우 대표님 피드백 3번: 두 박스를 지금 사이트처럼 파랑 / 초록으로. 흰 글자 대비(밝은 쪽 끝 5:1 이상)는 _ui-audit.mjs가 실제 픽셀로 잰다 */
.cta-card--blue { border-color: rgb(255 255 255 / 22%); background: #2051c4 linear-gradient(150deg, #2453c9 0%, #173a94 100%); }
/* 피드백 3번: 초록은 전체 파랑 톤과 안 어울린다 → 진우 대표님이 보낸 시안의 회청색(카드 평균 #384b63, 버튼 #4a607f 실측) */
.cta-card--slate { border-color: rgb(255 255 255 / 22%); background: #384b63 linear-gradient(150deg, #3f5471 0%, #2f4058 100%); }
.cta-card--blue p, .cta-card--slate p { color: #fff; }
.cta-card .button-tone { border-color: rgb(255 255 255 / 30%); color: #fff; box-shadow: 0 6px 16px rgb(4 16 40 / 24%), inset 0 1px 0 rgb(255 255 255 / 18%); }
/* 진우 대표님 11/5 "버튼 색도 흰색 말고 비슷한 계열 색으로", "살짝 그라데이션 넣어서 세련되게": 박스보다 한 단계 밝은 같은 계열(흰 글자 대비 밝은 끝 4.8:1 이상) */
.cta-card--blue .button-tone { background: #2a5ed2 linear-gradient(135deg, #346bdf 0%, #2155c9 100%); }
.cta-card--slate .button-tone { background: #4a607f linear-gradient(135deg, #546b8c 0%, #435874 100%); }
/* 피드백 5번: 두 버튼 아래 통통 튀는 동그라미 — 에듀코치 .hero-scroll-cue 값(1.5px 흰 테두리, 1초 bounce). 크기만 40→44px(누르는 칸 최소 44px) */
.hero-scroll-cue { display: grid; place-items: center; width: 44px; height: 44px; margin: 36px auto 0; border: 1.5px solid rgb(255 255 255 / 65%); border-radius: 50%; background: rgb(10 24 38 / 12%); color: #fff; }
.hero-scroll-cue svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) {
  /* 피드백 1번: 에듀코치 첫 화면 두 버튼처럼 0.6초 뒤 0.6초 동안 20px 아래에서 떠오른다(에듀코치 edu-hero-slide 값) */
  .hero .cta-card .button-wrap { animation: hero-button-slide .6s ease-out .6s both; }
  @keyframes hero-button-slide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  .hero-scroll-cue { animation: hero-scroll-bounce 1s infinite; }
  .hero-scroll-cue:focus-visible { animation-play-state: paused; }
  @keyframes hero-scroll-bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); }
  }
}

/* 숫자 띠 — 진우 대표님 피드백 5번 "기존 클래스지누처럼 분리하되 한눈에": 수료·만족도는 옅은 파랑 패널에 나란히,
   금일 상담 수는 따로 떼어 파란 큰 숫자로(지금 사이트 배치). 아이콘·세로로 긴 타일은 뺐다. */
.stats { padding-block: 40px 8px; }
.stats-band { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.stats-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; padding: 30px 12px; border: 1px solid var(--line-mid); border-radius: 20px; background: #edf3fc; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; text-align: center; }
.stats-panel .stat + .stat { border-left: 1px solid var(--line-strong); }
.stat-value { color: var(--navy); font-size: 46px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-unit { margin-left: 4px; color: var(--ink-2); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.stat-label { margin-top: 8px; color: var(--ink-2); font-size: 16px; font-weight: 700; line-height: 1.5; }
.stat-today { padding: 24px 20px; border: 1px solid #bcd0f2; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgb(33 85 201 / 12%); }
.stat-today .stat-value, .stat-today .stat-total { color: var(--blue); }
/* 피드백 8번: 숫자가 0부터 올라가는 동안 자리를 최종 폭으로 잡아 둬 단위('명'·'점')가 흔들리지 않게 한다(폭은 JS가 잰다) */
.stat-value [data-count], .stat-value [data-consult-today] { display: inline-block; text-align: right; }

/* 공통 영역 제목 */
.section { padding-block: 96px; }
.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; }
.section-heading p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-heading p strong { color: var(--ink); }

/* 강점 3단계 — 에듀코치 advantage-card(흰→옅은 파랑 카드, 오른쪽 위 큰 선 아이콘, 알약 태그) */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 34px 28px 28px; background: linear-gradient(145deg, #fff, var(--pale)); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 8px 24px rgb(16 46 76 / 7%), 0 1px 3px rgb(16 46 76 / 4%); overflow: hidden; }
.step-icon { position: absolute; top: 20px; right: 20px; width: 72px; height: 72px; color: var(--blue-mid); opacity: 0.42; pointer-events: none; }
.step-icon svg { width: 100%; height: 100%; }
.step-number { position: relative; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.step-card h3 { position: relative; margin: 12px 0 14px; font-size: 22px; font-weight: 700; }
.step-card > p { position: relative; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
/* 진우 대표님 참고 이미지(7번)처럼 구절마다 한 줄 */
.step-card > p .phrase { display: block; }
.step-card > p .phrase + .phrase { margin-top: 4px; }

/* 후기 흐름 — 에듀코치 review-marquee: 두 벌을 나란히 두고 제 폭만큼 민다(이음매 없음) */
/* 후기 — 진우 대표님 11/5 "후기부분은 에듀코치 때랑 동일하게": 에듀코치 메인 #testimonials를 화면 계산값 그대로 옮긴다
   (영문 작은 제목·형광 밑줄·프로필 사진·별점·목표과정 카드, 카드 380px, 64초 흐름). '후기 더보기' 버튼은 기획안대로 뺐다 */
.reviews-home { background: #eef2f7; }
.reviews-home .section-heading { max-width: none; margin-bottom: 48px; }
/* 영문 작은 제목(진우 대표님 11/5 01:05 "생생한 후기·3단계 시스템·무료상담 사전예약 위에 영어 소제목 한 줄") — 에듀코치 .eyebrow 값.
   .section-heading p(회색 17px)보다 세게 써야 회색 큰 글씨가 되지 않는다 */
.eyebrow, .section-heading .eyebrow, .page-head .eyebrow { display: inline-flex; align-items: center; justify-content: center; margin: 0 0 20px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.7; }
.reviews-home .section-heading h2 { font-size: 42px; font-weight: 800; line-height: 1.34; letter-spacing: -.036em; }
.reviews-home .section-heading p:not(.eyebrow), .steps-home .section-heading p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 16px; }
.hl { padding: 0 .06em; background-image: linear-gradient(transparent 56%, rgb(33 85 201 / 20%) 56%); background-repeat: no-repeat; background-position: left top; background-size: 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* 진우 대표님 11/5 "밑줄 모션 … 밑에서 위로 올렸을 때 다시 밑줄 그어지게": JS가 화면에 들어올 때 in, 나갈 때 pending으로 바꾼다(움직임 줄이기면 처음부터 다 그어진 채) */
.js-reveal .hl[data-highlight] { background-size: 0% 100%; transition: background-size .8s cubic-bezier(.2, .65, .3, 1) .2s; }
.js-reveal .hl[data-highlight="in"] { background-size: 100% 100%; }
.mobile-line { display: inline; }
.review-marquee { display: flex; width: 100%; overflow: hidden; margin-top: 4px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); }
.review-set { display: flex; flex: 0 0 auto; align-items: stretch; margin: 0; padding: 12px 0 18px; }
.review-marquee.is-running { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.review-marquee.is-running .review-set { animation: review-marquee 64s linear infinite; }
/* 마우스·터치로 누르면 띠에 포커스가 남아(:focus-within) 다시 눌러도 흐르지 않았다 — 키보드 포커스만 멈추고,
   마우스 올림 멈춤은 마우스 기기에서만 쓴다(터치는 누른 뒤에도 :hover가 남는다) */
/* :focus-visible을 모르는 옛 브라우저가 목록 전체를 버리지 않게 두 규칙으로 나눈다 */
.review-marquee.is-paused .review-set { animation-play-state: paused; }
.review-marquee.is-running:focus-visible .review-set { animation-play-state: paused; }
@media (hover: hover) { .review-marquee.is-running:hover .review-set { animation-play-state: paused; } }
.review-marquee:not(.is-running) { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: thin; scroll-padding-inline: 20px; }
.review-marquee:not(.is-running) .review-set { padding-inline: max(20px, calc((100vw - 1120px) / 2)); }
.review-marquee:not(.is-running) [data-review-set][aria-hidden="true"] { display: none; }
.review-marquee:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.review-marquee:focus-visible { -webkit-mask-image: none; mask-image: none; }
/* <dialog>를 모르는 브라우저가 확대창을 페이지 끝에 흰 상자로 보여 주지 않게 */
dialog:not([open]) { display: none; }
@keyframes review-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.review-card { display: flex; flex: 0 0 380px; flex-direction: column; width: 380px; min-width: 0; margin-inline-end: 20px; padding: 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.review-person { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.review-person img { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; outline: 1px solid rgb(0 0 0 / 10%); }
.review-name { color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.7; }
.review-stars { margin: 3px 0 0; color: #8b5700; font-size: 16px; letter-spacing: 2px; line-height: 1.25; }
.review-quote { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.85; }
.review-goal { margin-top: auto; padding-top: 22px; }
.review-goal-label { display: inline-block; padding: 4px 9px; border-radius: 5px; background: #edf3ff; color: #2854a6; font-size: 11px; font-weight: 700; line-height: 1.7; }
.review-role { margin-top: 9px; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.7; }
.review-degree { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.review-guides { margin-top: 36px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.icon-button svg { width: 20px; height: 20px; }
.icon-button[aria-pressed="true"] .icon-pause, .icon-button[aria-pressed="false"] .icon-play { display: none; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }

/* 안내 링크 카드 2개 — 후기 흐름 바로 아래(진우 대표님 피드백 9번) */
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-card { display: flex; align-items: center; gap: 20px; min-height: 124px; padding: 24px 28px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-card); box-shadow: 0 6px 18px rgb(16 46 76 / 6%); transition: border-color 0.15s, transform 0.15s; }
.guide-icon { flex: 0 0 auto; display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.guide-icon svg { width: 28px; height: 28px; }
.guide-text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-width: 0; }
.guide-small { color: var(--muted); font-size: 15px; line-height: 1.5; }
.guide-big { color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1.4; }
.guide-arrow { flex: 0 0 auto; color: var(--blue); }
.guide-arrow svg { width: 26px; height: 26px; }

/* 상담 영역 — 진우 대표님 요청(11/4 18:15) "클래스지누 양식 그대로, 디자인적인 부분도": 가운데 제목·문구 2줄·칸 4개(안내 문구만 보임)·파란 버튼.
   피드백 10번 "더 진한 파랑, 가볍지 않게, 깔끔한 그라데이션": 깊은 파란 남색 바탕 + 위쪽 가운데 은은한 파란 빛, 원래 사이트의 사선 빛은 옅게(장식용 CSS). */
/* 진우 대표님 11/5 15:23 "좀 쨍한 느낌… 너무 단색 느낌만 안 들게": 기존 클래스지누 하단(main_last_bg — 어두운 바탕에 비단 같은 빛 결)처럼
   채도를 낮춘 진한 남색 바탕 위에 빛 결(큰 원호 두 줄·왼쪽 아래 번짐·사선 광택)을 겹친다. 이미지 없이 CSS만 쓴다 */
/* 진우 대표님 11/7 20:15 "비단물결 과감히 빼고 그라데이션만 — 배경보다 상담문의가 더 눈에 보이게"(보내 주신 예시 색을 그대로 잼):
   왼쪽 위만 은은하게 밝은 파랑(#0f224e), 나머지는 짙은 남색(#03142f) → 거의 검은 남색(#000a21). 사진·광택 결 없음 */
.contact { position: relative; overflow: hidden; background-color: #03142f; background-image:
  radial-gradient(ellipse 70% 60% at 0% 0%, rgb(22 52 112 / 85%) 0%, rgb(22 52 112 / 0%) 70%),
  radial-gradient(ellipse 60% 45% at 45% 30%, rgb(12 38 92 / 45%) 0%, rgb(12 38 92 / 0%) 70%),
  linear-gradient(180deg, #04173a 0%, #021232 45%, #000a21 100%);
  color: #fff; text-align: center; }
.contact-inner { position: relative; z-index: 1; max-width: 460px; margin-inline: auto; }
.contact h2 { color: #fff; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.contact-lead { margin-top: 14px; color: #dbe6fb; font-size: 17px; line-height: 1.75; }
.consult-form { display: grid; gap: 12px; margin-top: 32px; text-align: left; }
.consult-form input[type="text"], .consult-form input[type="tel"] { display: block; width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid #ffffff; border-radius: 6px; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.5; box-shadow: 0 8px 18px rgb(4 16 40 / 28%); }
.consult-form input::placeholder { color: #66778b; font-size: 15px; }
/* 마우스·손가락으로 누를 때는 테두리 밖 상자를 그리지 않는다. 글자 칸은 테두리 색만 파랗게, 동의 체크는 키보드(Tab)로 왔을 때만 링 */
.consult-form input:focus { outline: none; }
.consult-form input:is([type="text"], [type="tel"]):focus { border-color: var(--blue); }
.consult-form input[type="checkbox"]:focus-visible { outline: 3px solid #9cc0ff; outline-offset: 2px; }
.consult-form input[aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 2px #e5484d; }
/* 브라우저가 저장된 이름·전화로 칸을 채우면 크롬이 칸을 연파랑으로 칠한다(UA !important라 배경색으로는 못 덮음) — 안쪽 그림자로 칸 원래 색을 덮는다 */
.consult-form input:-webkit-autofill { box-shadow: inset 0 0 0 1000px #fff, 0 8px 18px rgb(4 16 40 / 28%); -webkit-text-fill-color: var(--ink); caret-color: var(--ink); }
.consult-form input:-webkit-autofill[aria-invalid="true"] { box-shadow: inset 0 0 0 1000px #fff, 0 0 0 2px #e5484d; }
.contact .field-error { margin-top: -4px; color: #ffd9d2; }
.contact .eyebrow { margin: 0 0 14px; color: #9cc0ff; }
.page-head .eyebrow { margin: 0 0 14px; }
.contact .consent { position: relative; margin: 4px 0 0; }
/* 진우 대표님 11/5 01:11 "자세히보기 저거 체크박스 우측에 배치": 펼침 단추만 체크 줄 오른쪽 끝으로, 펼친 내용은 그 아래 전체 폭.
   좁은 폭에서 동의 문구와 겹치지 않게 오른쪽 자리를 비워 둔다 */
.contact .consent-row { padding-right: 96px; }
.contact .consent .terms { margin-top: 0; }
.contact .consent .terms summary { position: absolute; top: 0; right: 0; }
.contact .consent-row label { color: #eef3fe; }
.contact .terms summary { color: #dbe6fb; }
.contact .terms-body { background: rgb(255 255 255 / 9%); color: #e3ebfa; }
/* 진우 대표님 11/5 "버튼은 살짝 그라데이션 효과 넣어서 세련되게"(기존 클래스지누 상담 접수 버튼) */
/* 진우 대표님 11/6 피드백 4번 "상담 접수하기 버튼 에듀코치사이트 버튼처럼 그라데이션" — 에듀코치 실측 값(좌→우 #2a63de→#17398c, 올리면 #2155c9→#122d73) */
.consult-form .button { min-height: 56px; margin-top: 8px; border-color: rgb(255 255 255 / 18%); background: #2a63de linear-gradient(90deg, #2a63de 0%, #17398c 100%); font-size: 17px; box-shadow: 0 10px 22px rgb(4 16 40 / 30%); }
/* 하위 화면의 주요 버튼도 같은 그라데이션 */
.back-home .button { border-color: rgb(255 255 255 / 18%); background: #2a63de linear-gradient(90deg, #2a63de 0%, #17398c 100%); box-shadow: 0 8px 18px rgb(16 46 76 / 16%); }
/* 상담 예약의 상담 접수하기 버튼: 크기는 기존 클래스지누(345×66, 모서리 5, 22px), 색은 11/6 18:54 "그라데이션 효과 메인 버튼처럼" — 메인 상담 접수하기와 같은 #2a63de→#17398c */
/* 22px 한글은 글자 잉크가 상자 가운데보다 1.75px 아래에 앉아 아래 안쪽 여백을 3px 더 준다(_ui-audit button-ink) */
.request-card .button[type="submit"] { display: flex; width: min(345px, 100%); min-height: 66px; margin: 24px auto 0; padding-block: 11px 14px; border: 0; border-radius: 5px; background: #2a63de linear-gradient(90deg, #2a63de 0%, #17398c 100%); box-shadow: 5px 5px 10px #ddd; font-size: 22px; font-weight: 500; }

.contact .form-status { color: #fff; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { min-width: 0; margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15px; font-weight: 500; }
/* 입력칸 테두리 #8191a6: 흰 바탕 대비 3.2:1(입력 영역 경계 기준 3:1 이상) */
.field input[type="text"], .field input[type="tel"] { display: block; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--field-line); border-radius: var(--radius-control); background: #fff; color: var(--ink); font-size: 16px; line-height: 1.5; }
.field input::placeholder { color: #6b7c8f; font-size: 15px; }
.field input:focus { outline: none; border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 1px #c0392b; }
.field-error { display: block; margin-top: 6px; color: #b42318; font-size: 14px; line-height: 1.5; }
.consent { margin: 4px 0 20px; }
.consent-row { display: flex; align-items: center; gap: 10px; }
.consent-row input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.consent-row label { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.terms { margin-top: 4px; font-size: 14px; }
.terms summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.terms-body { margin-top: 4px; padding: 16px 18px; border-radius: var(--radius-control); background: var(--pale); color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.terms-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 10px; }
.terms-body dt { font-weight: 700; }
.terms-body dd { margin: 0; }
.form-status { min-height: 24px; margin-top: 14px; color: var(--ink); font-size: 15px; line-height: 1.6; text-align: center; }
.form-status[data-state="sent"] { font-weight: 700; }
.form-status[data-state="error"] { color: #b42318; }
.contact .form-status[data-state="error"] { color: #ffd9d2; }
.button:disabled { cursor: progress; opacity: 0.72; }
/* 덫 칸(자동 프로그램 걸러내기) — 에듀코치 .field-trap 과 같은 방식. 사람·화면 읽기 프로그램에는 보이지 않는다 */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consult-form .button { min-height: 56px; font-size: 17px; }

/* 푸터 */
.footer { background: var(--navy); color: #c7d4e3; padding-block: 52px 20px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
/* 하단은 클래스지누 중심: 머리와 같은 글자 워드마크 + 지금 사이트와 같은 사업자 정보 */
.footer-wordmark { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 22px; font-weight: 500; letter-spacing: 0.16em; line-height: 1; }
.footer-brand p { max-width: 360px; margin-top: 6px; color: #c7d4e3; line-height: 1.8; }
.footer-info h2 { color: #fff; font-size: 15px; }
.footer-info ul { margin-top: 12px; }
/* 줄마다 44px — 이메일·전화 링크의 누르는 영역이 서로 겹치지 않게(음수 여백으로 줄이면 위아래가 14px 겹쳤다) */
.footer-info li { display: flex; align-items: center; gap: 12px; min-height: 44px; line-height: 1.6; }
.footer-info li span { flex: 0 0 112px; color: #a6bbd1; }
.footer-info a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 40%); text-underline-offset: 3px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #36516d; font-size: 13px; }

/* 하위 화면 공통 — 지금 사이트의 밝은 큰 둥근 패널 느낌 */
.page { padding-block: 28px 64px; }
.page-panel { padding: 56px 32px 64px; background: var(--pale); border: 1px solid var(--line-soft); border-radius: 32px; }
.page-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.page-head h1 { font-size: 34px; font-weight: 700; }
.page-head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.page-head p strong { color: var(--ink); }

/* /interests */
/* 진우 대표님 11/6 "희망과정 선택은 기존 클래스지누 디자인·느낌으로" — classjinu.com 실측(_plan/ref/classjinu-1106.md 2절):
   가운데 1열 490px, 흰 카드·모서리 10·그림자 4px 4px 6px #ddd, 보조 설명 위·과정 이름 아래 가운데, 오른쪽 끝에 잘리는 큰 선 아이콘(기존 사이트 그림),
   올리거나 누르면(키보드 초점·터치 포함) 파란 그라데이션(130deg #0b4fd2 12% → #123b88 77%)에 흰 글자 */
.course-grid { display: grid; grid-template-columns: minmax(0, 490px); justify-content: center; gap: 20px; }
.course-card { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 105px; padding: 22px 25px; background: #fff; border-radius: 10px; box-shadow: 4px 4px 6px #ddd; overflow: hidden; text-align: center; }
.course-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(130deg, #0b4fd2 12%, #123b88 77%); opacity: 0; transition: opacity .4s; }
.course-text { display: flex; flex-direction: column; gap: 2px; }
.course-sub { color: #4d4d4d; font-size: 16px; line-height: 1.6; transition: color .4s; }
.course-name { color: #444; font-size: 19px; font-weight: 500; line-height: 1.5; transition: color .4s; }
/* 오른쪽 가장자리 선 아이콘 — 원본 그림과 같은 느낌(회색 #7d7d7d 10%, 파랑 상태에선 흰 10%)이지만 그림은 새로 그렸다(11/6 13:04 "너무 똑같다보니 비슷한 다른 거로") */
.course-art { position: absolute; top: 10px; right: -5px; z-index: -1; width: 100px; height: 100px; color: rgb(125 125 125 / 16%); pointer-events: none; transition: color .4s; }
.course-art svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.course-card:is(:focus-visible, :active, .is-pressed)::before { opacity: 1; }
.course-card:is(:focus-visible, :active, .is-pressed) .course-art { color: rgb(255 255 255 / 22%); }
.course-card:is(:focus-visible, :active, .is-pressed) :is(.course-sub, .course-name) { color: #fff; }

/* /requests */
/* 상담 예약도 기존 클래스지누처럼(실측 3절): 흰 상자(490px·안쪽 50·모서리 10·그림자 5px 5px 8px #ddd)에는 입력 세 줄만 —
   이름표 왼쪽 160px·밑줄 입력 오른쪽, 약관 제목(왼쪽 회색 막대)·동의/거절(체크 그림)·상담접수 버튼은 상자 밖 */
.request-card { max-width: 490px; margin-inline: auto; }
.request-fields { padding: 50px; background: #fff; border-radius: 10px; box-shadow: 5px 5px 8px #ddd; }
.request-fields .field { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; margin: 0; }
.request-fields .field + .field { margin-top: 20px; }
.request-fields .field label { margin: 0; color: #191919; font-size: 19px; font-weight: 500; }
/* 밑줄은 기존 클래스지누 그대로 #ddd(11/6 사용자 "클래스지누처럼") — 칸은 왼쪽 이름표와 안내 문구로 알아보고, 초점이 오면 밑줄 색만 파랗게(누를 때 상자·굵은 줄을 새로 그리지 않는다) */
.request-fields .field input[type="text"], .request-fields .field input[type="tel"] { min-height: 44px; padding: 8px 4px 8px 10px; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; background: transparent; color: #191919; }
.request-fields .field input::placeholder { color: #767676; font-size: 16px; font-weight: 300; }
.request-fields .field input:focus { outline: none; border-bottom-color: var(--blue); }
.request-fields .field input[aria-invalid="true"] { border-bottom-color: #c0392b; box-shadow: 0 2px 0 #c0392b; }
.request-fields .field input:-webkit-autofill { box-shadow: inset 0 0 0 1000px #fff; -webkit-text-fill-color: #191919; caret-color: #191919; }
.request-fields .field input:-webkit-autofill[aria-invalid="true"] { box-shadow: inset 0 0 0 1000px #fff, 0 2px 0 #c0392b; }
.request-fields .field-error { grid-column: 2; padding-left: 10px; }
.agree-box { min-width: 0; margin: 30px 0 0; padding: 0; border: 0; }
.agree-title { position: relative; float: left; width: 100%; padding: 0 0 0 20px; color: #191919; font-size: 17px; font-weight: 400; }
.agree-title::before { content: ""; position: absolute; top: 50%; left: 0; width: 7px; height: 20px; margin-top: -10px; background: #909090; }
.agree-title + * { clear: both; }
.agree-options { clear: both; display: flex; justify-content: flex-end; gap: 26px; margin-top: 8px; } /* 제목(legend)이 왼쪽 float — '+ 자세히보기'는 absolute라 줄을 끊지 못해 여기서 끊는다 */
.agree-options label { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: #191919; font-size: 16px; cursor: pointer; }
/* 진짜 radio는 투명하게 글자 칸 전체를 덮어 누르기·키보드·화면 읽기를 그대로 받는다. 고르면 기존 사이트의 파란 체크 그림(check_checked).
   원본은 안 고른 칸도 회색 체크(check_basic)라 색으로만 구분돼 — 안 고른 칸은 빈 동그라미로 모양까지 다르게 한다(WCAG 1.4.1) */
.agree-options label span { display: inline-flex; align-items: center; min-height: 25px; padding-left: 30px; background: url("../images/requests/check_basic.png") no-repeat left center / 25px 25px; }
/* 기존 클래스지누처럼 회색 체크 → 고르면 파란 체크. 색만으로 구분되지 않게 고른 쪽 글자를 굵게 */
.agree-options input:checked + span { background-image: url("../images/requests/check_checked.png"); font-weight: 600; }
.agree-options input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.agree-options input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; } /* 글자(span, position: relative)보다 위 — 누르면 radio가 직접 받는다 */
/* 진우 대표님 11/5 01:11 "자세히보기 저거 체크박스 우측에 배치" — 상담 예약 화면 약관도 메인 동의칸처럼 '자세히보기'를
   제목 줄 오른쪽 끝에 둔다(제목·링크 모두 44px 줄 가운데). 펼친 본문은 제목 줄 바로 아래로 열린다. top은 .agree-box 위 여백과 같다 */
.agree-box { position: relative; }
/* 좁은 휴대폰에서 제목이 두 줄이 돼도 두 줄이 44px 줄 안에 들어가 가운데가 맞도록 행간을 줄이고, 오른쪽은 링크 폭(64px)+틈만 비운다 */
.agree-box .agree-title { display: flex; align-items: center; min-height: 44px; padding-right: 74px; line-height: 1.4; }
.agree-box .terms { margin-top: 0; }
/* 원본처럼 '+ 자세히보기'(밑줄 없는 14px #444) — 누르면 약관 창(.terms-dialog) */
.agree-box .agree-title { padding-right: 92px; }
.agree-box .terms-open { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #444; font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; }
.terms-dialog { width: min(600px, 85%); max-height: calc(100% - 32px); margin: auto; padding: 30px; border: 0; border-radius: 10px; background: #fff; color: #191919; text-align: center; }
.terms-dialog::backdrop { background: rgb(0 0 0 / 30%); }
.terms-dialog h2 { padding-bottom: 25px; border-bottom: 1px solid #ddd; font-size: 22px; font-weight: 500; line-height: 1.4; }
.terms-dialog dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 15px 0; width: min(340px, 100%); margin: 18px auto 0; font-size: 16px; text-align: left; }
.terms-dialog dt { font-size: 17px; font-weight: 500; }
.terms-dialog dd { margin: 0; }
.terms-dialog p { margin: 20px 0; padding: 15px; border-radius: 10px; background: #ececec; font-size: 16px; font-weight: 300; line-height: 26px; }
.terms-dialog p .phrase { display: block; }
.terms-dialog .terms-close { display: block; width: 100px; min-height: 44px; margin: 0 auto; padding: 5px; border: 1px solid #0b4fd2; border-radius: 10px; background: #fff; color: #191919; font: inherit; font-size: 17px; cursor: pointer; }
@media (min-width: 640px) and (min-height: 720px) { .terms-dialog { margin-top: 25vh; } }

/* /reviews */
.quote-rotator { max-width: 680px; margin: 0 auto 36px; text-align: center; cursor: pointer; }
/* 기존 클래스지누 한 줄 후기(실측 4절): 2.5초 머문 뒤 0.3초 동안 다음 문장이 아래에서 올라온다(세로 슬라이드, 페이드 아님).
   떠나는 문장만 위로 빠지고, 나머지는 보이지 않는 아래 자리로 즉시 돌아간다 */
.quote-stage { position: relative; min-height: 96px; overflow: hidden; }
.quote-item { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; visibility: hidden; transform: translateY(100%); }
.quote-item.is-active, .quote-item.is-leaving { visibility: visible; transition: transform .3s ease; }
.quote-item.is-active { transform: none; }
.quote-item.is-leaving { transform: translateY(-100%); }
/* 움직임 줄이기: 넘기지 않고 여섯 문장을 차례로 펼친다(JS가 is-still) */
.quote-rotator.is-still { cursor: auto; }
.quote-rotator.is-still .quote-stage { display: grid; gap: 18px; min-height: 0; overflow: visible; }
.quote-rotator.is-still .quote-item { position: static; visibility: visible; transform: none; }
.quote-text { color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1.5; }
.quote-by { color: var(--muted); font-size: 15px; }
.tabs { display: flex; gap: 0; max-width: 760px; margin: 0 auto; border-bottom: 1px solid var(--line-strong); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; min-width: 112px; min-height: 52px; padding: 12px 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ink-2); font-size: 16px; font-weight: 500; cursor: pointer; }
.tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.tab-panels { max-width: 960px; margin: 24px auto 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.proof-item { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: zoom-in; transition: border-color 0.15s; }
.proof-item img { width: 100%; height: 100%; object-fit: contain; }
.proof-empty { padding: 32px; text-align: center; color: var(--muted); }
.laurels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 960px; margin: 48px auto 0; }
/* 고객 기존 월계수 그림(양옆 회색·가운데 금색). 글자는 화환 안쪽 빈 곳에 둔다. */
.laurel { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 236px; padding: 0 16px; text-align: center; background-repeat: no-repeat; background-position: center; background-size: 252px auto; }
.laurel--1, .laurel--3 { background-image: url("../images/reviews/laurel/laurel.png"); }
/* 금색 리본 글자는 CLASS JINU → JINU PLAN으로 고쳐 그렸다(11/6 피드백 10번, 원본·스크립트 _plan/assets/laurel/) */
.laurel--2 { background-image: url("../images/reviews/laurel/laurel_main.png"); padding-bottom: 60px; }
.laurel h2, .laurel p { max-width: 168px; }
.laurel h2 { margin: 0; font-size: 17px; font-weight: 700; }
.laurel p { margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.back-home { display: flex; justify-content: center; margin-top: 40px; }
/* 404 화면: 첫 화면·상담 예약 버튼 두 개(좁은 화면에서는 줄바꿈) */
.not-found-actions { gap: 12px; flex-wrap: wrap; }
.back-home .button-outline { background: #fff; border-color: var(--blue); color: var(--blue); }
.lightbox { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 16px; border: 0; border-radius: var(--radius-card); background: #fff; }
.lightbox::backdrop { background: rgb(10 32 56 / 72%); }
.lightbox img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox-bar { display: flex; justify-content: flex-end; margin-bottom: 8px; }

/* 마우스 올림 — 진우 대표님 11/5 "에듀코치 때처럼 마우스로 대면 살짝 확대되는 모션이랑 살짝 그림자", "2082명·4.8점은 그림자 없이, 우측만 그림자".
   에듀코치 값(scale 1.025, 0 14px 32px)을 쓰고, 마우스가 있는 기기·움직임 줄이기가 아닐 때만 켠다 */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cta-card, .step-card, .review-card, .guide-card, .course-card, .proof-item, .stats-panel .stat, .stat-today { transition: scale .2s ease-out, box-shadow .2s ease-out, border-color .15s; }
  .cta-card:hover, .step-card:hover, .review-card:hover, .guide-card:hover, .course-card:hover, .proof-item:hover { scale: 1.025; box-shadow: 0 14px 32px rgb(16 46 76 / 12%); }
  .cta-card:hover { box-shadow: 0 16px 36px rgb(4 16 40 / 32%); }
  .stats-panel .stat:hover { scale: 1.04; }
  .stat-today:hover { scale: 1.025; box-shadow: 0 18px 38px rgb(33 85 201 / 22%); }
  .button:not(:disabled):hover { scale: 1.025; filter: brightness(1.06); }
}
/* 피드백 9번 "마우스 대거나 클릭하면 살짝 확대": 터치 기기는 :hover가 없어 누르는 동안 JS가 is-pressed를 붙인다 */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .cta-card, .step-card, .review-card, .guide-card, .course-card, .proof-item, .stats-panel .stat, .stat-today { transition: scale .2s ease-out, box-shadow .2s ease-out; }
  :is(.cta-card, .step-card, .review-card, .guide-card, .course-card, .proof-item, .stat-today).is-pressed { scale: 1.025; box-shadow: 0 14px 32px rgb(16 46 76 / 12%); }
  .cta-card.is-pressed { box-shadow: 0 16px 36px rgb(4 16 40 / 32%); }
  .stats-panel .stat.is-pressed { scale: 1.04; }
}

/* 등장 효과 — JS가 켤 때만 숨기고, 처음 보일 때 한 번만 드러낸다 */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
/* 피드백 7번: 3단계 카드는 하나씩 32px 아래에서 0.6초에 서서히(0.1초 간격) — 내려갈 때도 올라올 때도 다시 재생된다.
   마우스 올림 확대(scale)의 전환도 같은 줄에 함께 적어야 지워지지 않는다 */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .step-card[data-reveal] { transition: opacity .6s cubic-bezier(.4, 0, .2, 1) var(--reveal-delay, 0s), transform .6s cubic-bezier(.4, 0, .2, 1) var(--reveal-delay, 0s), scale .2s ease-out, box-shadow .2s ease-out, border-color .15s; }
  .js-reveal .step-card[data-reveal]:not(.is-in) { transform: translateY(32px); }
  .step-card:nth-child(2) { --reveal-delay: .1s; }
  .step-card:nth-child(3) { --reveal-delay: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  /* 보는 도중 '동작 줄이기'를 켜도 밑줄은 완성된 채로 멈춘다 */
  .js-reveal .hl[data-highlight] { background-size: 100% 100%; transition: none; }
  .quote-item, .quote-item.is-active, .quote-item.is-leaving { transition: none; }
  .quote-item.is-leaving { visibility: hidden; }
  .guide-card { transition: none; }
  .course-card::before, .course-art, .course-sub, .course-name { transition: none; }
}

/* 태블릿 */
@media (max-width: 1024px) {
  /* 태블릿·모바일도 에듀코치처럼 사진 위에 문구·카드를 올리고, 버튼은 문구 바로 아래에 둔다(11/5 진우 대표님 "간격이 너무 멀다") */
  .hero { padding-block: 80px 72px; }
  /* 설명 줄이 양끝 밝은 곳까지 닿는 폭에서는 덮개 끝만 56%로(가운데 65%는 에듀코치 값 그대로) */
  .hero-shade { background: linear-gradient(90deg, rgb(8 30 56 / 56%), rgb(8 30 56 / 65%) 50%, rgb(8 30 56 / 56%)); }
  .hero h1 { font-size: 46px; }
  .cta-grid { max-width: 880px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 38px; }
}

/* 모바일 — 에듀코치처럼 사진 위에 문구·카드, 버튼은 문구 바로 아래 */
@media (max-width: 639px) {
  :root { --header-h: 56px; }
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .wordmark { font-size: 16px; }
  /* 390×844 첫 화면 안에 첫 예약 버튼이 들어오게 간격을 줄인다 */
  .hero { padding-block: 40px 32px; }
  .hero-actions { margin-top: 28px; }
  .hero-badge { min-height: 32px; padding: 4px 14px; font-size: 13px; }
  .hero h1 { margin: 16px 0 14px; font-size: 34px; }
  /* 11/7 진우 대표님 "모바일 메인 상단 체크한 곳 글씨 좀 줄여" — 설명 문장 16→14px, 카드 설명은 아래 .cta-card p */
  .hero-description { font-size: 14px; line-height: 1.7; }
  /* 11/6 16:03 진우 대표님 "모바일에서도 상담문의 버튼 두 개 양옆으로"(기존 클래스지누 모바일 첫 화면처럼) — 두 카드를 한 줄에.
     칸이 반으로 좁아져 글자·여백을 폭에 맞춘다: 버튼 글자는 '무료상담 예약하기'(약 8.4em)가 버튼 안에 한 줄로 들어가는 크기(390px 15px, 320px 12px) */
  .cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cta-card { min-height: 0; padding: 16px 12px 14px; }
  .cta-card-icon { top: 10px; right: 10px; width: 34px; height: 34px; }
  .cta-card h2 { font-size: clamp(15px, 4.6vw, 18px); }
  .cta-card p { max-width: none; margin-top: 6px; font-size: clamp(11px, 3.1vw, 12.5px); line-height: 1.55; }
  .cta-card .button-wrap { padding-top: 14px; }
  /* 기본 글자 크기에선 이 크기로 한 줄. 줄바꿈을 막지는 않는다 — 기기에서 글자를 키우면(200% 등) 칸 밖으로 넘치지 않고 두 줄이 된다 */
  .cta-card .button { min-height: 44px; padding-inline: 4px; font-size: clamp(11.5px, calc((50vw - 57px) / 8.4), 15px); letter-spacing: -0.02em; line-height: 1.3; }
  .hero-scroll-cue { margin-top: 24px; }
  /* 하단 사전예약: 높이 46px·칸 사이 10px. 11/8 요청으로 입력 글자도 안내 문구와 같은 14px. */
  .consult-form { gap: 10px; }
  .consult-form input[type="text"], .consult-form input[type="tel"] { min-height: 46px; padding: 10px 14px; font-size: 14px; }
  .consult-form input::placeholder { font-size: 14px; }
  .stats { padding-block: 24px 0; }
  /* 11/5 사용자 "금일상담 수 글자 위치나 박스의 위치가 좌측의 배열과 맞지 않아": PC처럼 한 줄에 [수료·만족도 패널 | 금일 상담 수],
     칸마다 숫자 위·설명 아래. 320px에서도 '2,082명'이 한 칸(약 89px)에 들어가게 글자 크기를 폭에 맞춘다 */
  .stats-band { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; }
  .stats-panel { padding: 16px 2px; border-radius: 16px; }
  .stat-value { font-size: clamp(20px, 6.2vw, 28px); }
  .stat-unit { margin-left: 2px; font-size: 12px; }
  .stat-label { margin-top: 4px; font-size: 12.5px; }
  .stat-today { padding: 16px 4px; border-radius: 16px; }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading p { font-size: 16px; }
  .step-card { padding: 28px 22px 22px; }
  .step-icon { width: 60px; height: 60px; }
  .step-card h3 { font-size: 20px; }
  /* 진우 대표님 11/6 01:18 "세 줄로 끝나게": 가장 긴 줄('학습 단계에 필요한 자료와 정보를 제공하며', 약 17.9em)이 카드 글 폭(화면 − 86px)에 들어가게
     — 375px 이상은 16px 그대로, 360px 15.2px, 320px 13px */
  .step-card > p { font-size: min(16px, calc((100vw - 86px) / 18)); }
  .reviews-home .section-heading { margin-bottom: 32px; }
  .reviews-home .section-heading h2 { font-size: 28px; }
  .section-heading .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .mobile-line { display: block; margin-top: .1em; }
  /* 에듀코치 모바일 값: 가장자리 흐림 40px(ui.css 2225행) — 64px이면 첫 카드 글자까지 흐려진다 */
  .review-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
  .review-card { flex-basis: 268px; width: 268px; margin-inline-end: 14px; padding: 24px; }
  .review-quote { font-size: 14px; }
  .review-guides { margin-top: 24px; }
  .guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-card { min-height: 104px; padding: 20px; gap: 14px; }
  .guide-icon { width: 44px; height: 44px; border-radius: 12px; }
  .guide-big { font-size: 18px; }
  .guide-small { font-size: 14px; }
  .contact h2 { font-size: 27px; }
  .contact-lead { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page { padding-block: 16px 40px; }
  .page-panel { padding: 36px 18px 40px; border-radius: 20px; }
  .page-head h1 { font-size: 26px; }
  .page-head p { font-size: 16px; }
  /* 휴대폰: 원본 390 화면상 값(보조 13.8px·이름 17.7px, 아이콘 60px)보다 글자를 조금 키워 읽기 쉽게 */
  .course-grid { gap: 12px; } /* 폭은 PC와 같이 최대 490px 한 열(639px에서 561px로 늘어나던 것) */
  .course-card { min-height: 88px; padding: 16px 20px; }
  .course-sub { font-size: 14px; }
  .course-name { font-size: 18px; }
  .course-art { width: 64px; height: 64px; }
  .course-art { top: 12px; right: -4px; }
  /* 기존 클래스지누 모바일처럼 이름표 왼쪽(35%)·밑줄 입력 오른쪽(65%). 긴 안내 문구('예) 저녁, 낮 12시, …')는 원본처럼 칸 끝에서 잘린다 */
  .request-fields { padding: 15px 18px; }
  .request-fields .field { grid-template-columns: 35% 65%; }
  .request-fields .field + .field { margin-top: 10px; }
  .request-fields .field label { font-size: clamp(12.5px, 3.75vw, 14.5px); letter-spacing: -0.5px; } /* 기본 글자 크기에선 '원하시는 시간대'가 320px에서도 한 줄, 글자를 키우면 이름표 칸 안에서 줄바꿈 */
  .request-fields .field input[type="text"], .request-fields .field input[type="tel"] { padding-inline: 8px; font-size: 14px; }
  .request-fields .field input::placeholder { font-size: 13.5px; }
  .request-fields .field-error { grid-column: 2; }
  .agree-title { font-size: 15px; }
  .agree-options { gap: 18px; }
  .agree-options label { font-size: 13.5px; }
  .agree-options label span { padding-left: 24px; background-size: 20px 20px; }
  .request-card .button[type="submit"] { width: min(260px, 85%); min-height: 50px; margin-top: 18px; padding-block: 12px; font-size: 16px; border-radius: 3px; }
  .terms-dialog { padding: 22px 18px; }
  .terms-dialog h2 { padding-bottom: 16px; font-size: 18px; }
  .terms-dialog dl { grid-template-columns: 40% minmax(0, 1fr); font-size: 14px; }
  .terms-dialog dt { font-size: 14px; }
  .terms-dialog p { padding: 12px 8px; font-size: 13px; line-height: 21px; }
  /* 11/6 피드백 10번 "모바일에서도 한줄후기 한 줄로": 가장 긴 문장(18.93em 실측)이 후기 칸 폭(화면 − 78px)에 들어가게 글자 크기를 폭에 맞춘다
     — 320px 12.6px, 390px 16.2px. 문장을 바꾸면 _ui-audit quote-one-line이 다시 잰다 */
  .quote-text { font-size: min(19px, calc((100vw - 78px) / 19.3)); white-space: nowrap; }
  /* 390px에서 탭 5개가 한 줄에 다 보이게(320px은 가로 스크롤) */
  .tab { flex: 1 0 auto; min-width: 0; min-height: 48px; padding: 10px 4px; font-size: 14px; }
  /* 11/6 피드백 10번 "PC처럼 모바일도 네 개씩 두 줄", "모바일에서는 엑스 표시한 두 개(옆 은색 월계관) 지우기" */
  .proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .laurels { grid-template-columns: 1fr; gap: 8px; margin-top: 32px; }
  .laurel--1, .laurel--3 { display: none; }
}

/* 마우스 올림 색·테두리 — 터치 기기에서는 탭한 뒤 :hover가 남으므로 마우스가 있는 기기에서만 */
@media (hover: hover) {
  .button:hover { background: var(--blue-hover); }
  .button-primary:hover { background: #2457c4; }
  .button-glass:hover { background: rgb(255 255 255 / 12%); }
  .button-quiet:hover { background: var(--blue-soft); border-color: var(--blue-mid); }
  .cta-card--blue .button-tone:hover { background: #2155c9 linear-gradient(135deg, #2d63d6 0%, #1c4bb6 100%); }
  .cta-card--slate .button-tone:hover { background: #435874 linear-gradient(135deg, #4d6383 0%, #3c4f69 100%); }
  .icon-button:hover { background: var(--blue-soft); border-color: var(--blue-mid); }
  .guide-card:hover { border-color: var(--blue); transform: translateY(-2px); }
  /* 에듀코치 버튼 올림 값 */
  .consult-form .button:hover, .back-home .button:hover { background: #2155c9 linear-gradient(90deg, #2155c9 0%, #122d73 100%); }
  .request-card .button[type="submit"]:hover { background: #2155c9 linear-gradient(90deg, #2155c9 0%, #122d73 100%); }
  .course-card:hover::before { opacity: 1; }
  .course-card:hover .course-art { color: rgb(255 255 255 / 22%); }
  .course-card:hover :is(.course-sub, .course-name) { color: #fff; }
  .proof-item:hover { border-color: var(--blue); }
  .back-home .button-outline:hover { background: var(--pale); }
}

/* 인쇄: 어두운 바탕 위 흰 글자가 종이에서 사라지지 않게 배경을 걷고 글자를 검게 */
@media print {
  .hero, .contact, .contact[data-bg], .footer, .cta-card { background: none !important; color: #111 !important; }
  .hero *, .contact *, .footer *, .cta-card * { color: #111 !important; }
  .hero-media, .hero-shade, .skip-link { display: none !important; }
  .review-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .review-marquee .review-set { animation: none !important; flex: 1 1 100%; width: 100%; flex-wrap: wrap; }
  .review-marquee .review-set[aria-hidden="true"] { display: none !important; } /* 흐름용 복제본은 종이에 안 찍는다 */
  .review-card { flex: 1 1 280px; width: auto; }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ── 희망 과정 선택·무료 상담 예약: 기존 classjinu.com 그대로(진우 대표님 11/6, 사용자 "그 부분만 클래스지누처럼") ──
   원본 #sub01_con/#sub02_con: 폭 최대 1720·모서리 100·위아래 85·은빛 결 배경(sub_bg.jpg — 원본 _plan/assets/), 영어 소제목·형광 밑줄 없음,
   제목 35/45 #191919 자간 -1(원본 Pretendard SemiBold ≈ Noto 600), 설명 21/31 가늘게, 카드·폼 글자도 원본 굵기(한 단계씩 가늘게) */
/* 두 화면은 머리줄(JINU PLAN)·바닥글 없이 판만(11/6 13:01). 16:04 "둥근 정사각형이 살짝 위로 올라가 있어서 중앙 정렬" — 판을 화면 세로 가운데에 */
.page--classic { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; padding-block: 24px; }
.page--classic > .container { width: 100%; }
.page--classic .page-panel { width: min(1720px, 100%); margin-inline: auto; padding: 85px 24px; border: 0; border-radius: 100px; background: #f2f2f2 url("../images/pages/sub-bg.webp") no-repeat center / cover; }
.page--classic .page-head { max-width: none; margin-bottom: 60px; }
.page--classic .page-head h1 { color: #191919; font-size: 35px; font-weight: 600; line-height: 45px; letter-spacing: -1px; }
.page--classic .page-head p { margin-top: 25px; color: #191919; font-size: 21px; font-weight: 300; line-height: 31px; letter-spacing: -1px; }
.page--classic .page-head p strong { color: #191919; font-weight: 600; }
.page--classic .course-sub { font-weight: 300; }
.page--classic .course-name { font-weight: 400; }
.page--classic .agree-title { font-weight: 300; }
.page--classic .agree-options label { font-weight: 400; }
.page--classic .request-card .button[type="submit"] { font-weight: 400; }
/* 아래 좁은 폭 규칙은 후기 화면용 — 과정 선택·상담 예약은 파일 끝 '비율 배치'가 모든 폭을 맡는다 */
@media (max-width: 639px) {
  /* 16:03 "모바일에서 하단에 공백이 많아 보이니 공백 없이 상담폼만 중앙에" — 판이 화면 높이를 채우고 내용은 판 안에서 세로 가운데 */
  .page--classic { padding-block: 12px; }
  .page--classic > .container { display: flex; flex: 1; flex-direction: column; }
  .page--classic .page-panel { display: flex; flex: 1; flex-direction: column; justify-content: center; }
  /* 세로 flex 안에서 좌우 auto 여백 요소는 내용 폭으로 줄어든다 — 폼은 원래 폭(최대 310px)을 지키게 */
  .page--classic .request-card { width: 100%; }
  .page--classic .page-panel { padding: 40px 15px 44px; border-radius: 30px; background-image: url("../images/pages/sub-bg-mobile.webp"); }
  .page--classic .page-head { margin-bottom: 24px; }
  .page--classic .page-head h1 { font-size: 24px; line-height: 1.3; letter-spacing: -0.6px; }
  /* 원본 모바일은 PC 화면을 줄여 보여 줘 카드·상자가 화면 폭의 65~78%이고 모서리·그림자가 가늘다 — 그 비율로(글자는 읽히는 크기 유지) */
  .page--classic .course-grid { grid-template-columns: minmax(0, 272px); gap: 8px; }
  .page--classic .course-card { min-height: 72px; padding: 12px 16px; border-radius: 5px; box-shadow: 2px 2px 3px #ddd; }
  .page--classic .course-name { font-weight: 500; }
  .page--classic .course-art { width: 60px; height: 60px; }
  .page--classic .course-art { top: 8px; right: -3px; }
  .page--classic .request-card { max-width: 310px; }
  .page--classic .request-fields { border-radius: 5px; box-shadow: 2px 2px 3px #ddd; }
  .page--classic .agree-box { margin-top: 16px; }
  .page--classic .agree-title { padding-left: 10px; }
  .page--classic .agree-title::before { width: 3px; height: 15px; margin-top: -7.5px; }
  .page--classic .page-head p { margin-top: 16px; font-size: 15.5px; line-height: 1.45; letter-spacing: -0.6px; }
}

/* ── 합격 후기도 기존 classjinu.com 그대로(11/6 18:55 "수료후기도 기존 클래스지누 폼 그대로, 파랑 둥근 정사각형 배경 빼도") ──
   판·제목은 .page--classic 공통. 원본 #sub03_con: 한 줄 후기 22px(굵기 Medium)·출처 17px 가늘게 #666, 탭 965px·아래 1px #bbb·고른 탭 4px #0b4fd2·글자 20px 검정,
   자료는 흰 상자(965px, 안쪽 20px 10px, 위 30px) 안에 1px #ddd 테두리 칸 */
.page--reviews .quote-text { color: #191919; font-weight: 500; letter-spacing: -0.5px; }
.page--reviews .quote-by { color: #666; font-size: 17px; font-weight: 300; }
.page--reviews .tabs { max-width: 965px; border-bottom-color: #bbb; }
.page--reviews .tab { min-height: 56px; padding: 15px 10px; border-bottom-width: 4px; color: #000; font-size: 20px; font-weight: 400; }
.page--reviews .tab[aria-selected="true"] { color: #000; border-bottom-color: #0b4fd2; font-weight: 500; }
.page--reviews .tab-panels { max-width: 965px; margin-top: 30px; padding: 20px 10px; background: #fff; }
.page--reviews .proof-grid { gap: 20px; padding-inline: 10px; }
.page--reviews .proof-item { padding: 0; border-color: #ddd; border-radius: 0; }
@media (max-width: 639px) {
  /* 후기 화면은 내용이 길어 화면 채우기·세로 가운데가 필요 없다 — 판을 블록으로 되돌려 가운데 정렬 요소(한 줄 후기·탭)가 내용 폭으로 줄지 않게 */
  .page--reviews > .container { display: block; }
  .page--reviews .page-panel { display: block; }
  .page--reviews .quote-by { font-size: 14px; }
  .page--reviews .tab { min-height: 48px; padding: 10px 4px; font-size: 15px; }
  .page--reviews .tab-panels { margin-top: 16px; padding: 10px 6px; }
  .page--reviews .proof-grid { gap: 6px; padding-inline: 0; }
}

/* ── 과정 선택·상담 예약: 해상도마다 PC 배치를 비율로 줄여 한 화면에 맞춘다 (11/7 사용자 "반응형으로 해상도마다 제대로") ──
   진우 대표님 11/7 "모바일도 PC 축소한 느낌으로 PC와 동일하게"를 viewport width=640 대신 CSS 배율로 한다. width=640은 태블릿에서
   오히려 확대되고(아이패드 미니 판 159px 잘림), 아이폰은 아래 흰 띠·입력칸 확대(글자 8~11px)가 생겼다.
   --u = PC 1px이 이 화면에서 차지할 크기: 폭 640px 기준 비율과 높이(판 자연 높이 --fit-h가 화면에 들어가는 비율) 중 작은 쪽, 최대 1px.
   높이 쪽은 0.5px 아래로는 줄이지 않는다(휴대폰 가로처럼 아주 낮은 화면은 글자가 너무 작아져 스크롤을 택한다).
   글자는 실제 크기 11px 아래로 내려가지 않게, 누르는 줄(약관 보기·동의·거절·접수)은 44px 아래로 내려가지 않게 바닥을 둔다 — 손가락으로 누를 크기(_ui-audit touch-target).
   그만큼 판이 비율보다 길어지는 몫을 --fit-h(상담 예약)에 더해 둔다 */
.page--interests { --fit-h: 880; }
.page--requests { --fit-h: 960; }
.page--classic:not(.page--reviews) { --u: min(1px, calc(100vw / 640), max(0.5px, calc((100vh - 48px) / var(--fit-h)))); }
@supports (height: 100svh) {
  .page--classic:not(.page--reviews) { --u: min(1px, calc(100vw / 640), max(0.5px, calc((100svh - 48px) / var(--fit-h)))); }
}
.page--classic:not(.page--reviews) { padding-block: max(8px, calc(24 * var(--u))); }
.page--classic:not(.page--reviews) > .container { width: min(1120px, calc(100% - 64 * var(--u))); }
.page--classic:not(.page--reviews) .page-panel { padding: calc(85 * var(--u)) calc(24 * var(--u)); border-radius: calc(100 * var(--u)); }
.page--classic:not(.page--reviews) .page-head { margin-bottom: calc(60 * var(--u)); }
.page--classic:not(.page--reviews) .page-head h1 { font-size: max(16px, calc(35 * var(--u))); line-height: 1.2857; letter-spacing: calc(-1 * var(--u)); }
.page--classic:not(.page--reviews) .page-head p { margin-top: calc(25 * var(--u)); font-size: max(11px, calc(21 * var(--u))); line-height: 1.476; letter-spacing: calc(-1 * var(--u)); }
/* 과정 선택 */
.page--classic:not(.page--reviews) .course-grid { grid-template-columns: minmax(0, calc(490 * var(--u))); gap: calc(20 * var(--u)); }
.page--classic:not(.page--reviews) .course-card { min-height: calc(105 * var(--u)); padding: calc(22 * var(--u)) calc(25 * var(--u)); gap: calc(2 * var(--u)); border-radius: calc(10 * var(--u)); box-shadow: calc(4 * var(--u)) calc(4 * var(--u)) calc(6 * var(--u)) #ddd; }
.page--classic:not(.page--reviews) .course-text { gap: calc(2 * var(--u)); }
.page--classic:not(.page--reviews) .course-sub { font-size: max(11px, calc(16 * var(--u))); }
.page--classic:not(.page--reviews) .course-name { font-size: max(12px, calc(19 * var(--u))); font-weight: 400; }
.page--classic:not(.page--reviews) .course-art { top: calc(10 * var(--u)); right: calc(-5 * var(--u)); width: calc(100 * var(--u)); height: calc(100 * var(--u)); }
/* 상담 예약 */
.page--classic:not(.page--reviews) .request-card { width: 100%; max-width: calc(490 * var(--u)); }
.page--classic:not(.page--reviews) .request-fields { padding: calc(50 * var(--u)); border-radius: calc(10 * var(--u)); box-shadow: calc(5 * var(--u)) calc(5 * var(--u)) calc(8 * var(--u)) #ddd; }
/* 이름표 칸은 비율 폭(160)을 기본으로, 글자 바닥(11px) 때문에 길어지면 그만큼만 넓힌다 — '원하시는 시간대'가 한 줄을 지킨다 */
.page--classic:not(.page--reviews) .request-fields .field { grid-template-columns: minmax(calc(160 * var(--u)), max-content) minmax(0, 1fr); }
.page--classic:not(.page--reviews) .request-fields .field + .field { margin-top: calc(20 * var(--u)); }
.page--classic:not(.page--reviews) .request-fields .field label { padding-right: calc(8 * var(--u)); font-size: max(11px, calc(19 * var(--u))); letter-spacing: normal; white-space: nowrap; }
.page--classic:not(.page--reviews) .request-fields .field input[type="text"],
.page--classic:not(.page--reviews) .request-fields .field input[type="tel"] { min-height: max(24px, calc(44 * var(--u))); padding: calc(8 * var(--u)) calc(4 * var(--u)) calc(8 * var(--u)) calc(10 * var(--u)); font-size: max(11px, calc(16 * var(--u))); }
.page--classic:not(.page--reviews) .request-fields .field input::placeholder { font-size: max(11px, calc(16 * var(--u))); }
/* 폭이나 높이가 작은 화면에서도 시간대 예시의 '가능한 빨리'가 끝까지 보이도록 입력 상자 안쪽 폭을 확보한다. */
@media (max-width: 350px), (max-height: 570px) {
  .page--classic:not(.page--reviews) .request-fields { padding-inline: 20px; }
}
/* 11/8 요청: 손가락 화면에서도 입력 글자를 안내 문구와 같은 비율로 표시한다. 브라우저의 기본 확대는 허용한다. */
.page--classic:not(.page--reviews) .request-fields .field-error { padding-left: calc(10 * var(--u)); font-size: max(11px, calc(14 * var(--u))); }
.page--classic:not(.page--reviews) .agree-box { margin-top: calc(30 * var(--u)); }
.page--classic:not(.page--reviews) .agree-box .agree-title { min-height: max(44px, calc(44 * var(--u))); padding: 0 calc(92 * var(--u)) 0 calc(20 * var(--u)); font-size: max(11px, calc(17 * var(--u))); }
.page--classic:not(.page--reviews) .agree-title::before { width: calc(7 * var(--u)); height: calc(20 * var(--u)); margin-top: calc(-10 * var(--u)); }
.page--classic:not(.page--reviews) .agree-box .terms-open { min-height: max(44px, calc(44 * var(--u))); font-size: max(11px, calc(14 * var(--u))); }
.page--classic:not(.page--reviews) .agree-options { gap: calc(26 * var(--u)); margin-top: calc(8 * var(--u)); }
.page--classic:not(.page--reviews) .agree-options label { min-width: 44px; min-height: max(44px, calc(44 * var(--u))); font-size: max(11px, calc(16 * var(--u))); }
.page--classic:not(.page--reviews) .agree-options label span { min-height: calc(25 * var(--u)); padding-left: calc(30 * var(--u)); background-size: calc(25 * var(--u)) calc(25 * var(--u)); }
.page--classic:not(.page--reviews) .request-card .button[type="submit"] { width: min(max(200px, calc(345 * var(--u))), 100%); min-height: max(44px, calc(66 * var(--u))); margin: calc(24 * var(--u)) auto 0; padding-block: calc(11 * var(--u)) calc(14 * var(--u)); border-radius: calc(5 * var(--u)); box-shadow: calc(5 * var(--u)) calc(5 * var(--u)) calc(10 * var(--u)) #ddd; font-size: max(12px, calc(22 * var(--u))); }
/* 11/6 16:03 "하단 공백 없이 폼만 가운데" — 세로 화면(휴대폰·태블릿)은 판이 화면 높이를 채우고 내용은 판 안 세로 가운데 */
@media (orientation: portrait) {
  .page--classic:not(.page--reviews) > .container { display: flex; flex: 1; flex-direction: column; }
  .page--classic:not(.page--reviews) .page-panel { display: flex; flex: 1; flex-direction: column; justify-content: center; border-radius: calc(50 * var(--u)); }
}

/* ── 11/7 20:10~20:21 진우 대표님 피드백 ── */
/* 메인 첫 화면(20:11) "제목부터 화살표까지 살짝 밑으로 내려 간격 조정, 맨 위 10년 경력 문구와 통통 튀는 것은 더 작게".
   화살표는 그림(동그라미)만 줄이고 누르는 칸은 44px 그대로 둔다 */
.hero-badge { min-height: 30px; padding: 4px 14px; font-size: 13.5px; }
.hero-scroll-cue { position: relative; border: 0; background: none; }
.hero-scroll-cue::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid rgb(255 255 255 / 65%); border-radius: 50%; background: rgb(10 24 38 / 12%); }
.hero-scroll-cue svg { position: relative; width: 20px; height: 20px; }
@media (max-width: 639px) {
  .hero { padding-block: 44px 32px; }
  .hero-badge { min-height: 26px; padding: 3px 11px; font-size: 11.5px; }
  .hero h1 { margin: 22px 0 16px; }
  .hero-actions { margin-top: 34px; }
  .hero-scroll-cue { margin-top: 26px; }
  .hero-scroll-cue::before { inset: 9px; }
  .hero-scroll-cue svg { width: 16px; height: 16px; }
}
/* 카드 아이콘(20:12) "선이 얇되 선명하게 — 기존은 굵으면서 흐려서 둔해 보임": 화면 크기와 상관없이 1.15px 선, 흐린 20% → 62% */
.cta-card-icon { color: rgb(255 255 255 / 62%); }
.cta-card-icon svg :is(path, rect, circle, line, polyline, polygon, ellipse) { stroke-width: 1.15px; vector-effect: non-scaling-stroke; }
/* 메인 하단 상담(20:15) "텍스트 적는 박스가 양옆으로 긴 느낌이라 좀 줄여" */
.consult-form { width: min(100%, 400px); margin-inline: auto; }
@media (max-width: 639px) {
  .consult-form { width: min(88%, 330px); }
  /* 칸이 좁아진 만큼 동의 줄('개인정보 수집·이용 동의 (필수)')이 '자세히 보기' 옆에서 한 줄을 지키게 글자·오른쪽 자리를 맞춘다 */
  .contact .consent-row label { font-size: 13px; letter-spacing: -0.02em; }
  .contact .consent .terms-open { font-size: 13px; }
}
/* 메인 동의 '자세히 보기'(20:12)는 상담 예약 화면과 같은 약관 창을 연다 — 펼침(details) 대신 단추 */
/* 동의 줄과 단추는 한 줄에 흐르고, 자리가 모자라면(글자 200% 확대 등) 단추가 아랫줄로 내려간다 — 겹치거나 화면 밖으로 나가지 않게 */
.contact .consent { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; }
.contact .consent .consent-row { flex: 1 1 auto; min-width: 0; padding-right: 0; }
.contact .consent .field-error { flex-basis: 100%; }
.contact .consent .terms-open { position: static; margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #dbe6fb; font: inherit; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* 바닥글(20:13) "정보 부분 간격 넓을 필요 없으니 최대한 축소, 주소는 줄바꿈 없이 한 줄" — 링크가 없는 줄이라 44px 줄 높이를 풀고 촘촘하게 */
.footer { padding-block: 36px 16px; }
.footer-brand p { margin-top: 2px; }
.footer-info ul { margin-top: 8px; }
.footer-info li { flex-wrap: wrap; min-height: 0; padding-block: 2px; line-height: 1.55; } /* 기본 글자 크기면 360px 이상에서 주소가 한 줄. 줄바꿈은 막지 않는다(글자 200% 확대 때 넘치지 않게) */
.footer-bottom { margin-top: 20px; padding-top: 14px; }
@media (max-width: 639px) {
  .footer { padding-block: 12px 14px; }
  .footer .container { width: calc(100% - 32px); }
  .footer-grid { gap: 14px; }
  .footer-info li { gap: 8px; font-size: clamp(11px, 3.1vw, 13px); }
  .footer-info li span { flex-basis: 7.2em; }
}
/* 두 칸 바닥글(640~899px)은 정보 칸이 좁아 한 줄 주소가 넘친다(아이패드 세로 54px) — 이 폭까지는 한 칸으로 쌓는다 */
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr; gap: 14px; } }
/* 과정 선택(20:11) "한 번 클릭해도 꾹 누른 것처럼 글씨 선명한 채로 넘어가게": 눌린 상태는 서서히(.4s) 바뀌지 않고 바로 — 넘어가기 직전 상태(is-going)도 같다 */
.course-card:is(:active, .is-pressed, .is-going)::before { opacity: 1; transition: none; }
.course-card:is(:active, .is-pressed, .is-going) :is(.course-sub, .course-name) { color: #fff; transition: none; }
.course-card:is(:active, .is-pressed, .is-going) .course-art { color: rgb(255 255 255 / 22%); transition: none; }
/* 후기(20:11) "클래스지누처럼 한 줄 후기 양옆에 파랑 동그라미": 원본 review_left/right.png처럼 진한→연한 점 3개, 움직이지 않는 장식(쪽 표시 아님) */
.page--reviews .quote-rotator { position: relative; }
.page--reviews .quote-stage { margin-inline: 34px; }
.page--reviews .quote-rotator::before, .page--reviews .quote-rotator::after { content: ""; position: absolute; top: 50%; width: 26px; height: 6px; margin-top: 4px; pointer-events: none; }
.page--reviews .quote-rotator::before { left: 0; background:
  radial-gradient(circle, #0b4fd2 2.6px, transparent 3px) 0 0 / 6px 6px no-repeat,
  radial-gradient(circle, #6f97e8 2.6px, transparent 3px) 10px 0 / 6px 6px no-repeat,
  radial-gradient(circle, #cbd9f6 2.6px, transparent 3px) 20px 0 / 6px 6px no-repeat; }
.page--reviews .quote-rotator::after { right: 0; background:
  radial-gradient(circle, #cbd9f6 2.6px, transparent 3px) 0 0 / 6px 6px no-repeat,
  radial-gradient(circle, #6f97e8 2.6px, transparent 3px) 10px 0 / 6px 6px no-repeat,
  radial-gradient(circle, #0b4fd2 2.6px, transparent 3px) 20px 0 / 6px 6px no-repeat; }
.page--reviews .quote-rotator.is-still::before, .page--reviews .quote-rotator.is-still::after { display: none; }
@media (max-width: 639px) {
  .page--reviews .quote-stage { margin-inline: 26px; }
  .page--reviews .quote-rotator::before, .page--reviews .quote-rotator::after { transform: scale(.85); }
  .page--reviews .quote-rotator::before { transform-origin: left center; }
  .page--reviews .quote-rotator::after { transform-origin: right center; }
}
/* 상담 예약(20:13) "전체적으로 살짝 위로 정렬된 느낌 — 과정 선택처럼 가운데로": 비어 있는 접수 결과 칸(약 38px)이 자리를 차지해
   보이는 내용이 그 절반만큼 위로 쏠렸다 → 버튼 아래에 겹쳐 띄워 판 가운데 정렬을 지킨다(안내가 뜨면 판 아래 여백에 보인다) */
.page--classic:not(.page--reviews) .request-card { position: relative; }
.page--classic:not(.page--reviews) .request-card .form-status { position: absolute; top: 100%; left: 0; right: 0; min-height: 0; margin-top: 10px; }
/* 약관 창(20:14) "자세히보기 이후 팝업 글씨가 커졌다 — 예전처럼 깔끔하게": 휴대폰에서 640 폭 PC 배치를 줄여 보이던 때와 같은 비율로 줄인다.
   수집항목(20:10)은 한 줄 — 칸 폭은 내용에 맞추고 값은 줄바꿈하지 않는다. 글자 바닥 11px, 확인 단추 32px 이상 */
.terms-dialog { --u: min(1px, calc(100vw / 640)); width: min(600px, 90%); padding: max(14px, calc(30 * var(--u))); border-radius: max(8px, calc(10 * var(--u))); }
.terms-dialog h2 { padding-bottom: calc(25 * var(--u)); font-size: max(13px, calc(22 * var(--u))); }
.terms-dialog dl { grid-template-columns: max-content minmax(0, max-content); justify-content: center; gap: calc(15 * var(--u)) max(10px, calc(28 * var(--u))); width: auto; margin-top: calc(18 * var(--u)); font-size: max(11px, calc(16 * var(--u))); }
.terms-dialog dt { font-size: max(11px, calc(17 * var(--u))); }
.terms-dialog dd { overflow-wrap: anywhere; } /* 기본 크기면 한 줄(칸이 내용 폭), 글자 200% 확대 때는 창 안에서 줄을 바꾼다 */
.terms-dialog p { margin: calc(20 * var(--u)) 0; padding: max(8px, calc(15 * var(--u))); border-radius: max(6px, calc(10 * var(--u))); font-size: max(11px, calc(16 * var(--u))); line-height: 1.625; }
.terms-dialog .terms-close { width: max(72px, calc(100 * var(--u))); min-height: max(32px, calc(44 * var(--u))); padding: calc(5 * var(--u)); border-radius: max(6px, calc(10 * var(--u))); font-size: max(12px, calc(17 * var(--u))); }

/* ── 11/8 01:09 진우 대표님 새 피드백 두 건 ──
   첫 설명의 "학점은행제"만 삭제(큰 제목은 유지). 사진 아래 여백을 줄여 숫자 세 칸을 함께 본다.
   높이를 고정하거나 내용을 자르지 않아 짧은 가로 화면·글자 확대에서는 자연스럽게 스크롤한다. */
.hero { padding-block: 32px 24px; }
.hero h1 { margin-block: 18px 14px; }
.hero-actions { margin-top: 24px; }
.hero-scroll-cue { margin-top: 20px; }
/* 원만 32→36px(휴대폰 26→30px)로 조금 키우고, 누르는 영역은 44px 그대로 둔다. */
.hero-scroll-cue::before { inset: 4px; }
/* 바깥 카드와 하단 접수 버튼의 흰 테두리만 제거. 카드 안쪽 button-tone 선·키보드 초점은 유지. */
.hero .cta-card, .consult-form .button { border: 0; }
.stats { padding-top: 24px; }
@media (min-width: 640px) {
  .hero .cta-card { min-height: 190px; padding: 20px 29px 18px; }
  .hero .cta-card .button-wrap { padding-top: 18px; }
}
@media (max-width: 639px) {
  /* 카톡 인앱 브라우저의 위·아래 도구막대를 제외한 640px 높이에서도 숫자와 설명을 함께 보이게 한다. */
  .hero { padding-block: 28px 20px; }
  .hero-scroll-cue { margin-top: 18px; }
  .hero-scroll-cue::before { inset: 7px; }
  .stats { padding-top: 28px; }
}

/* 높이가 낮은 PC·태블릿 가로 화면도 사진보다 숫자가 먼저 잘리지 않게 간격을 줄인다.
   500px 미만의 짧은 가로 화면은 내용을 자르지 않고 그대로 스크롤한다. */
@media (min-width: 1024px) and (min-height: 500px) and (max-height: 800px) {
  .hero { padding-block: 16px; }
  .hero h1 { margin-block: 14px 12px; font-size: 46px; }
  .hero-description { font-size: 17px; line-height: 1.6; }
  .hero-actions { margin-top: 16px; }
  .hero .cta-card { min-height: 172px; padding-block: 16px; }
  .hero .cta-card h2 { font-size: 21px; }
  .hero .cta-card-icon { top: 12px; width: 36px; height: 36px; }
  .hero .cta-card p { margin-top: 8px; font-size: 14px; line-height: 1.6; }
  .hero .cta-card .button-wrap { padding-top: 12px; }
  .hero-scroll-cue { margin-top: 12px; }
  .stats { padding-top: 16px; }
  .stats-panel { padding-block: 20px; }
  .stat-today { padding-block: 18px; }
  .stat-value { font-size: 38px; }
}
