/*
 * 크럭스 정시 2027 본예약 페이지 (시안 A: 밤바다 항해도)
 * 어두운 청록 바탕 + 금색 별. 일정(예약 → 케어 → 본상담 → 파이널콜)을 이어진 항로로 보여 준다.
 * crux2026-regular 의 공통 CSS(헤더 · PC 2단 배치)를 그대로 쓰고, 이 페이지의 모양은 .crux27 안에서만 정한다.
 */
.crux27 {
  --sea: #0e2529;
  --deep: #163a40;
  --line: #2b5158;
  --gold: #d9b97e;
  --mist: #a7bcbd;
  --ink: #eef1ec;
  --serif: "Gowun Batang", "Nanum Myeongjo", 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.crux27 { vertical-align: top; }
.crux27 *, .crux27 *::before, .crux27 *::after { box-sizing: border-box; }
.crux27 p, .crux27 h1, .crux27 h2, .crux27 h3, .crux27 ol, .crux27 ul { margin: 0; padding: 0; }
.crux27 a { color: inherit; }
.crux27 :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.crux27 .muted { color: var(--mist); }

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

.crux27 .c27-main { position: relative; }
.crux27 .c27-sec { padding: 44px 22px; border-top: 1px solid rgba(43, 81, 88, .6); }
.crux27 .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; }
.crux27 .c27-sec h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; margin: 26px 0 10px; color: var(--ink); }

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

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

/* 상품 */
.crux27 .c27-plans { display: grid; gap: 12px; }
.crux27 .c27-plan { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--deep); }
.crux27 .c27-plan .c27-name { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.crux27 .c27-plan .c27-who { color: var(--mist); font-size: 14px; margin: 4px 0 14px; }
.crux27 .c27-plan .c27-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.crux27 .c27-plan .c27-dates { font-size: 14px; color: var(--mist); }
.crux27 .c27-plan .c27-price { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.crux27 .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: #1a2a2c; text-decoration: none; white-space: nowrap; }
.crux27 .c27-btn[aria-disabled="true"] { background: #2b4b50; color: var(--mist); pointer-events: none; }
.crux27 .c27-facts { margin-top: 16px; display: grid; gap: 8px; font-size: 14.5px; color: var(--mist); }
.crux27 .c27-facts b { color: var(--ink); font-weight: 600; }

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

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

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

/* 합격 사례 */
.crux27 .c27-notes { font-size: 13.5px; color: var(--mist); display: grid; gap: 4px; margin-bottom: 16px; }
.crux27 .c27-years { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.crux27 .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; }
.crux27 .c27-years button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.crux27 .c27-year-count { margin: 14px 0 10px; font-size: 14px; color: var(--mist); }
.crux27 .c27-year-count b { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.crux27 .c27-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.crux27 .c27-case .c27-chips { margin-top: 14px; }
.crux27 .c27-chips span { font-size: 13.5px; padding: 6px 10px; border-radius: 8px; background: var(--deep); }
.crux27 .c27-case[hidden] { display: none; }

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

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

/* 하단 고정 예약 바 — PC 에서는 오른쪽 칸 안에서, 휴대폰에서는 화면 아래에 붙는다 */
.crux27 .c27-bar { position: sticky; bottom: 0; z-index: 20; background: rgba(14, 37, 41, .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)); }
.crux27 .c27-bar .c27-in { display: flex; gap: 8px; align-items: center; }
.crux27 .c27-bar .c27-t { flex: 1; min-width: 0; font-size: 13px; color: var(--mist); line-height: 1.4; }
.crux27 .c27-bar .c27-t b { color: var(--ink); display: block; font-size: 15px; }
.crux27 .c27-bar .c27-btn { padding: 0 14px; }

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

/* PC 왼쪽 소개 */
.crux27-pc .left-content .c27-pc-year { font-family: "Gowun Batang", serif; font-size: 20px; color: #8a6a32; margin-bottom: 12px; }
.crux27-pc .left-content .c27-pc-title { font-family: "Gowun Batang", serif; font-size: 38px; font-weight: 700; line-height: 1.3; color: #163a40; margin-bottom: 16px; }
.crux27-pc .left-content .c27-pc-open { font-size: 17px; color: #163a40; font-weight: 600; margin-bottom: 30px; }
.crux27-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) {
  .crux27 * { transition: none !important; animation: none !important; }
}
