/*
 * 픽셀 정시 2027 입시원 페이지
 * 크럭스 · 스나이퍼 2027 과 같은 한 페이지 구성. 픽셀 로고의 남색 바탕 + 파란 글씨에 맞춘 색.
 * crux2026-regular 의 공통 CSS(헤더 · PC 2단 배치)를 쓰고, 이 페이지 모양은 .pks27 안에서만 정한다.
 */
.pks27 {
  --sea: #111c2e;
  --deep: #17263d;
  --line: #25385a;
  --gold: #6aa5ff;
  --mist: #9aabc4;
  --ink: #eaf0f8;
  --serif: "IBM Plex Sans KR", "Apple SD Gothic Neo", sans-serif;
  --sans: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--sea);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* PC(1280px 이상)에서 왼쪽 소개와 이 칸이 inline-block 으로 나란히 놓이는데, 이 칸이 글자 기준선에 맞춰져
   아래에 5px 이 남아 페이지 전체가 스크롤됐다 (예전 페이지도 같음) → 위쪽 기준으로 맞춘다 */
.consult_mobile.pks27 { vertical-align: top; }
.pks27 *, .pks27 *::before, .pks27 *::after { box-sizing: border-box; }
.pks27 p, .pks27 h1, .pks27 h2, .pks27 h3, .pks27 ol, .pks27 ul { margin: 0; padding: 0; }
.pks27 a { color: inherit; }
.pks27 :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pks27 .muted { color: var(--mist); }

/* 기존 머리 메뉴(로그인 · 장바구니 …)는 원래 모양 그대로 둔다 */
.pks27 #header { font-family: "Noto Sans KR", sans-serif; line-height: normal; color: #222; background: #fff; word-break: keep-all; overflow-wrap: normal; }
.pks27 #header a { color: inherit; }

.pks27 .c27-main { position: relative; }
.pks27 .c27-sec { padding: 44px 22px; border-top: 1px solid rgba(37, 56, 90, .7); }
.pks27 .c27-sec h2 { font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.35; margin-bottom: 18px; color: var(--ink); text-wrap: balance; }
.pks27 .c27-sec h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; margin: 26px 0 10px; color: var(--ink); }

/* 첫 화면 */
.pks27 .c27-hero img { width: 100%; display: block; }
.pks27 .c27-hero .c27-over { padding: 22px 22px 40px; }
.pks27 .c27-year { font-family: var(--serif); color: var(--gold); font-size: 15px; }
.pks27 .c27-hero h1 { font-family: var(--serif); font-size: 30px; line-height: 1.3; margin: 4px 0 16px; font-weight: 700; color: var(--ink); }
.pks27 .c27-count { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--deep); }
.pks27 .c27-count b { font-family: var(--serif); font-size: 24px; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pks27 .c27-count span { color: var(--mist); font-size: 14px; }

/* 일정 */
.pks27 .c27-route { position: relative; list-style: none; }
.pks27 .c27-route::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; border-left: 1px dashed var(--gold); opacity: .55; }
.pks27 .c27-route li { position: relative; padding: 0 0 26px 46px; }
.pks27 .c27-route li:last-child { padding-bottom: 0; }
.pks27 .c27-route svg { position: absolute; left: 0; top: 2px; width: 27px; height: 27px; }
.pks27 .c27-when { font-family: var(--serif); color: var(--gold); font-size: 15px; }
.pks27 .c27-what { font-size: 18px; font-weight: 600; }
.pks27 .c27-route .c27-big .c27-what { font-size: 21px; }
.pks27 .c27-note { color: var(--mist); font-size: 14px; }

/* 상품 */
.pks27 .c27-plans { display: grid; gap: 12px; }
.pks27 .c27-plan { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--deep); }
.pks27 .c27-plan .c27-name { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.pks27 .c27-plan .c27-who { color: var(--mist); font-size: 14px; margin: 4px 0 14px; }
.pks27 .c27-plan .c27-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pks27 .c27-plan .c27-dates { font-size: 14px; color: var(--mist); }
.pks27 .c27-plan .c27-price { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.pks27 .c27-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font: 600 15px var(--sans); border: 0; background: var(--gold); color: #121626; text-decoration: none; white-space: nowrap; }
.pks27 .c27-btn[aria-disabled="true"] { background: #262c3a; color: var(--mist); pointer-events: none; }
.pks27 .c27-facts { margin-top: 16px; display: grid; gap: 8px; font-size: 14.5px; color: var(--mist); }
.pks27 .c27-facts b { color: var(--ink); font-weight: 600; }

/* 목록 */
.pks27 .c27-list { list-style: none; display: grid; gap: 8px; }
.pks27 .c27-list li { position: relative; padding-left: 20px; color: var(--ink); }
.pks27 .c27-list li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.pks27 .c27-lead { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.pks27 .c27-text { color: var(--mist); font-size: 15.5px; }

/* 분석 프로그램 */
.pks27 .c27-progs { margin-top: 20px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pks27 .c27-prog { background: var(--deep); padding: 16px 18px; }
.pks27 .c27-prog-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.pks27 .c27-prog-desc { font-size: 14.5px; color: var(--mist); }

/* 컨설턴트 */
.pks27 .c27-people { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pks27 .c27-person { background: var(--sea); padding: 14px; min-width: 0; }
.pks27 .c27-person b { font-family: var(--serif); font-size: 18px; display: block; margin-bottom: 4px; }
.pks27 .c27-person span { color: var(--mist); font-size: 13px; line-height: 1.5; display: block; }
.pks27 .c27-person span + span { margin-top: 5px; }
.pks27 .c27-people.c27-folded .c27-person:nth-child(n+9) { display: none; }
/* 인원이 홀수면 마지막 줄 옆을 빈 칸(바탕색)으로 채운다 — 구분선 색이 그대로 드러나지 않게 */
.pks27 .c27-person.c27-empty { padding: 0; }
.pks27 .c27-more { margin-top: 14px; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; min-height: 44px; width: 100%; font: 500 15px var(--sans); cursor: pointer; }

/* 합격 사례 */
.pks27 .c27-notes { font-size: 13.5px; color: var(--mist); display: grid; gap: 4px; margin-bottom: 16px; }
.pks27 .c27-years { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.pks27 .c27-years button { flex: none; background: none; border: 1px solid var(--line); color: var(--mist); border-radius: 999px; padding: 6px 14px; font: 500 14px var(--sans); cursor: pointer; }
.pks27 .c27-years button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.pks27 .c27-year-count { margin: 14px 0 10px; font-size: 14px; color: var(--mist); }
.pks27 .c27-year-count b { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.pks27 .c27-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pks27 .c27-chips span { font-size: 13.5px; padding: 6px 10px; border-radius: 8px; background: var(--deep); }
.pks27 .c27-case[hidden] { display: none; }

/* 크럭스 이야기 */
.pks27 .c27-story p { font-family: var(--serif); font-size: 16.5px; line-height: 1.95; color: var(--ink); }
.pks27 .c27-story p + p { margin-top: 18px; }
.pks27 .c27-logo { width: 100%; max-width: 360px; display: block; margin: 0 auto 26px; border-radius: 12px; }

/* 약관 */
.pks27 details { border-top: 1px solid var(--line); padding: 14px 0; }
.pks27 details:last-of-type { border-bottom: 1px solid var(--line); }
.pks27 summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.pks27 summary::-webkit-details-marker { display: none; }
.pks27 summary::after { content: "+"; color: var(--gold); }
.pks27 details[open] summary::after { content: "−"; }
.pks27 .c27-terms { margin-top: 10px; display: grid; gap: 8px; color: var(--mist); font-size: 14.5px; }
.pks27 .c27-terms .c27-warn { color: #f0a58c; }
.pks27 .c27-terms .c27-mail { color: var(--gold); }
.pks27 .c27-terms .c27-mail a { color: inherit; text-decoration: underline; }
.pks27 .c27-last { margin-top: 26px; font-family: var(--serif); font-size: 19px; text-align: center; }

/* 하단 고정 예약 바 — PC 에서는 오른쪽 칸 안에서, 휴대폰에서는 화면 아래에 붙는다 */
.pks27 .c27-bar { position: sticky; bottom: 0; z-index: 20; background: rgba(17, 28, 46, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
.pks27 .c27-bar .c27-in { display: flex; gap: 8px; align-items: center; }
.pks27 .c27-bar .c27-t { flex: 1; min-width: 0; font-size: 13px; color: var(--mist); line-height: 1.4; }
.pks27 .c27-bar .c27-t b { color: var(--ink); display: block; font-size: 15px; }
.pks27 .c27-bar .c27-btn { padding: 0 14px; }

/* 맨 아래 */
.pks27 .c27-footer { padding: 30px 22px 40px; text-align: center; font-size: 13px; color: var(--mist); }
.pks27 .c27-footer a { color: var(--gold); }

/* PC 왼쪽 소개 */
.pks27-pc .left-content .c27-pc-year { font-size: 20px; color: #3b82f6; margin-bottom: 12px; }
.pks27-pc .left-content .c27-pc-title { font-size: 38px; font-weight: 700; line-height: 1.3; color: #111c2e; margin-bottom: 16px; }
.pks27-pc .left-content .c27-pc-open { font-size: 17px; color: #111c2e; font-weight: 600; margin-bottom: 30px; }
.pks27-pc .left-content .c27-pc-text { font-size: 16px; color: #2f2f2f; line-height: 1.8; padding-bottom: 40px; border-bottom: 1px solid #cecece; }

@media (prefers-reduced-motion: reduce) {
  .pks27 * { transition: none !important; animation: none !important; }
}

/* 픽셀 전용 */
.pks27 .c27-hero { background: #111c2e; }
.pks27 .c27-hero .c27-over { background: linear-gradient(180deg, #111c2e 0%, var(--sea) 80%); }
.pks27 .c27-hero h1 { letter-spacing: -0.01em; }
.pks27 .c27-sec h2, .pks27 .c27-sec h3, .pks27 .c27-plan .c27-name, .pks27 .c27-prog-name { letter-spacing: -0.01em; }
.pks27 .c27-steps { list-style: none; counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 18px; }
.pks27 .c27-steps li { counter-increment: step; background: var(--deep); padding: 13px 16px 13px 50px; position: relative; font-size: 15px; }
.pks27 .c27-steps li::before { content: counter(step); position: absolute; left: 16px; top: 13px; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--gold); color: var(--gold); font-size: 12.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.pks27 .c27-terms .c27-sub { color: var(--ink); font-weight: 600; margin-top: 8px; }
.pks27 .c27-terms .c27-sub:first-child { margin-top: 0; }
.pks27 .c27-quote { margin: 16px 0; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--deep); border-radius: 0 12px 12px 0; }
.pks27 .c27-quote p { font-size: 17px; font-weight: 600; color: var(--ink); }
.pks27 .c27-quote p + p { font-size: 15px; font-weight: 500; color: var(--mist); }
.pks27 .c27-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--gold); }
.pks27 .c27-facts-top { margin-top: 0; }
.pks27 .c27-plan .c27-name { margin-bottom: 10px; }
