/*
 * 하제맑음 정시 2027 페이지 — 크럭스 2027 과 같은 한 페이지 구조, 하제맑음 로고 색(남색 · 해 뜨는 금색)의 밝은 새벽 톤.
 * crux2026-regular 의 공통 CSS(헤더 · PC 2단 배치)를 그대로 쓰고, 이 페이지의 모양은 .haje27 안에서만 정한다.
 */
.haje27 {
  /* 배너 사진에서 뽑은 색: 해 근처 살구빛 #f9e9e3 · 길 #a48f87 · 돌 건물 #83796f */
  --sea: #fbf5f0;      /* 바탕: 해 근처 살구빛을 옅게 */
  --deep: #fffbf8;     /* 카드 */
  --line: #ecdfd5;     /* 구분선 */
  --gold: #c27a3a;     /* 해 · 강조 (호박빛) */
  --mist: #6f6159;     /* 보조 글자: 길 · 돌의 회갈색 */
  --ink: #1d2747;      /* 본문 · 로고 남색 */
  --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.haje27 { vertical-align: top; }
.haje27 *, .haje27 *::before, .haje27 *::after { box-sizing: border-box; }
.haje27 p, .haje27 h1, .haje27 h2, .haje27 h3, .haje27 ol, .haje27 ul { margin: 0; padding: 0; }
.haje27 a { color: inherit; }
.haje27 :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.haje27 .muted { color: var(--mist); }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 하제맑음: 카드에 옅은 그림자로 밝은 바탕과 구분 */
.haje27 .c27-plan, .haje27 .c27-people, .haje27 .c27-count { box-shadow: 0 1px 0 var(--line); }
.haje27 .c27-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.haje27 .c27-cats button { background: none; border: 1px solid var(--line); color: var(--mist); border-radius: 999px; padding: 7px 14px; font: 600 14px var(--sans); cursor: pointer; }
.haje27 .c27-cats button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.haje27 .c27-cat[hidden] { display: none; }
.haje27 .c27-cat h3 { font-size: 17px; margin: 22px 0 8px; }
.haje27 .c27-steps { list-style: none; counter-reset: s; display: grid; gap: 10px; }
.haje27 .c27-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.haje27 .c27-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 14px/28px var(--sans); text-align: center; }

/* 첫 화면: 사진 아래쪽(길의 회갈빛)에서 바탕(살구빛)으로 이어지게 */
.haje27 .c27-hero .c27-over { background: linear-gradient(180deg, #f1e4da 0%, var(--sea) 70%); }
.haje27 .c27-terms .c27-sub { color: var(--ink); font-weight: 600; margin-top: 8px; }
.haje27 .c27-terms .c27-sub:first-child { margin-top: 0; }
