/* =========================================================
   코딩두잇 메인 페이지 (3차 시안: AI 학습 플랫폼 랜딩페이지)
   기준 화면 폭 1333px — 배너·하단 소개는 원본 그림 구도 그대로
   ========================================================= */
:root {
  --blue: #1166f0; --blue-d: #0b55d0;
  --ink: #111827; --text: #2d3748; --muted: #6b7280;
  --line: #e6ebf2; --soft: #f3f8fd;
  --title: #121a2f; --blue-ink: #1a4fc6; --blue-tint: #eaf2ff;
  --star: #f7b500;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard", "Noto Sans KR", -apple-system, "Malgun Gothic", sans-serif;
  color: var(--ink); background: #fff; word-break: keep-all;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.blue { color: var(--blue); }
.wrap { max-width: 1333px; margin: 0 auto; padding: 0 55px; }

/* ---------- 헤더 ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 #edf0f5; }
.header-inner { height: 90px; display: flex; align-items: center; padding-left: 80px; padding-right: 34px; }
.logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo strong { font-size: 37px; font-weight: 800; letter-spacing: -.5px; }
.logo-a { color: #1a2340; }
.logo-b { color: var(--blue); }
.logo em { font-style: normal; font-size: 16.5px; font-weight: 500; color: #2b3a5c; margin-top: 7px; letter-spacing: -.2px; }
/* 메뉴 7개(학습정보안내 추가, 2026-11-11): 메뉴 전체를 왼쪽으로 당겨 고객지원~로그인 버튼 사이에 여유를 둠.
   로그인 상태(마이페이지·로그아웃)와 대체 글꼴(맑은 고딕)에서도 961px 이상 모든 폭에서 40px 이상 띄움 (아래 반응형 구간 포함) */
.gnb { display: flex; gap: 24px; margin-left: 40px; }
.gnb a { font-size: 17.5px; font-weight: 600; color: #1f2937; white-space: nowrap; transition: color .15s; }
.gnb a:hover, .gnb a.active { color: var(--blue); }
.util { display: flex; align-items: center; margin-left: auto; gap: 12px; }
.btn-login, .btn-join { height: 48px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 10px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: .15s; }
.btn-login { border: 1px solid #dfe4ec; background: #fff; }
.btn-login:hover { border-color: var(--blue); color: var(--blue); }
.btn-join { background: var(--blue); color: #fff; font-weight: 700; }
.btn-join:hover { background: var(--blue-d); }
.menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 22px; height: 2px; background: #1f2937; border-radius: 2px; transition: .15s; }

/* ---------- 메인 배너 ---------- */
/* --u = 시안 1px. 배너 폭(최대 1333px)에 맞춰 글·상담창이 그림과 함께 같은 비율로 줄어듭니다. */
.hero { background: #fff; }
.hero-stage { position: relative; width: min(100%, 1333px); margin: 0 auto; container-type: inline-size; --u: calc(100cqw / 1333); }
/* PC 배너 높이: 원본(2048x1036)의 위아래를 잘라 약 25% 낮춤. 두 인물 얼굴이 잘리지 않게 위쪽 30% 기준 */
.hero-art { width: 100%; height: auto; aspect-ratio: 2048 / 780; object-fit: cover; object-position: 50% 30%; }
.hero-copy { position: absolute; left: calc(80 * var(--u)); top: calc(62 * var(--u)); }
.hero-copy h1 { margin-top: 0; }
.eyebrow {
  display: inline-flex; align-items: center; height: calc(34 * var(--u)); padding: 0 calc(18 * var(--u));
  border-radius: 999px; background: rgba(214, 228, 252, .85); color: var(--blue);
  font-size: calc(16 * var(--u)); font-weight: 600;
}
.hero h1 {
  margin-top: calc(14 * var(--u)); font-size: calc(46 * var(--u)); font-weight: 800;
  line-height: 1.25; letter-spacing: calc(-1.2 * var(--u)); color: var(--title);
}
.hero-desc { margin-top: calc(10 * var(--u)); font-size: calc(20 * var(--u)); line-height: 1.55; color: #222b3a; }

.ask-wrap { position: absolute; left: calc(61 * var(--u)); top: calc(292 * var(--u)); width: calc(733 * var(--u)); }
.ask {
  position: relative; height: calc(200 * var(--u)); border-radius: calc(20 * var(--u));
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 calc(3 * var(--u)) rgba(190, 212, 250, .55), 0 calc(10 * var(--u)) calc(34 * var(--u)) rgba(40, 100, 220, .22);
}
.ask-bot { position: absolute; left: calc(30 * var(--u)); top: calc(14 * var(--u)); width: calc(100 * var(--u)); height: auto; border-radius: 50%; }
.ask-box {
  position: absolute; left: calc(150 * var(--u)); top: calc(16 * var(--u)); width: calc(567 * var(--u)); height: calc(84 * var(--u));
  border: 1px solid var(--line); border-radius: calc(18 * var(--u)); background: #fff;
  padding: calc(13 * var(--u)) calc(84 * var(--u)) 0 calc(20 * var(--u));
}
.ask-hello { display: block; font-size: calc(18 * var(--u)); font-weight: 600; color: var(--ink); line-height: 1.6; }
.ask-box input { width: 100%; font-size: calc(18 * var(--u)); font-weight: 600; color: var(--ink); line-height: 1.6; outline: 0; }
.ask-box input::placeholder { color: var(--ink); opacity: 1; }
.ask-box input:focus::placeholder { color: var(--muted); }
.ask-btn {
  position: absolute; right: calc(10 * var(--u)); top: 50%; transform: translateY(-50%);
  width: calc(58 * var(--u)); height: calc(58 * var(--u)); border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #2a7bff, #0d5ae6); color: #fff; box-shadow: 0 4px 12px rgba(17, 102, 240, .35); transition: .15s;
}
.ask-btn svg { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.ask-btn:hover { filter: brightness(1.08); }
.ask-chips { position: absolute; left: calc(27 * var(--u)); top: calc(116 * var(--u)); right: calc(20 * var(--u)); display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)) calc(12 * var(--u)); }
.ask-chips button {
  height: calc(34 * var(--u)); padding: 0 calc(22 * var(--u)); border-radius: 999px;
  background: #eaf2fe; color: var(--blue-ink); font-size: calc(16 * var(--u)); font-weight: 500; transition: .15s;
}
.ask-chips button:hover, .ask-chips button.on { background: var(--blue); color: #fff; }
/* PC에서는 배너 높이를 줄이려고 안내 문구를 숨김(휴대폰에서만 표시) */
.ask-hint { display: none; align-items: center; gap: calc(8 * var(--u)); margin: calc(6 * var(--u)) 0 0 calc(165 * var(--u)); font-size: calc(17 * var(--u)); color: #222b3a; }
.ask-hint img { width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; }

/* ---------- 서비스 특징 ---------- */
.process { padding-top: 36px; padding-bottom: 40px; }
.process h2 { font-size: 30px; font-weight: 800; letter-spacing: -.8px; color: var(--title); text-align: center; }
.process-list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; margin-top: 24px; }
.p-step { position: relative; display: flex; }
.p-step > a, .p-step > div { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 22px 14px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(30, 70, 140, .06); text-align: center; color: inherit; transition: .15s; }
.p-step > a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(30, 70, 140, .14); }
.p-step > a:hover h3 { color: var(--blue); }
.p-step > a:focus-visible { outline: 3px solid rgba(17, 102, 240, .45); outline-offset: 3px; }
/* 단계 사이 화살표 */
.p-step:not(:last-child)::after { content: ""; position: absolute; right: -18px; top: 50%; width: 10px; height: 10px; border-top: 2px solid #8a94a6; border-right: 2px solid #8a94a6; transform: translateY(-50%) rotate(45deg); }
.p-num { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13.5px; font-weight: 800; }
.p-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); }
.p-step h3 { margin-top: 12px; font-size: 19px; font-weight: 800; letter-spacing: -.4px; color: var(--title); }
.p-step p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--muted); word-break: keep-all; }

/* ---------- 섹션 공통 ---------- */
.sec-head { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; }
.sec-head h2 { font-size: 32.5px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.more { margin-left: auto; font-size: 17px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.more:hover { color: var(--blue-d); }
.slider { position: relative; }
.nav-btn {
  position: absolute; z-index: 2; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  background: #fff; box-shadow: 0 3px 12px rgba(30, 70, 140, .14); transition: .15s;
}
.nav-btn::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  border-top: 2.5px solid var(--blue); border-right: 2.5px solid var(--blue);
}
.nav-btn.prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.nav-btn.next::before { transform: translate(-70%, -50%) rotate(45deg); }
.nav-btn:hover { box-shadow: 0 6px 18px rgba(30, 70, 140, .22); }

/* ---------- 교육 분야 ---------- */
.fields-sec { background: linear-gradient(180deg, #eef5fd, #f3f8fe); padding: 32px 0 30px; }
.fields-sec .wrap { padding-left: 72px; padding-right: 55px; }
/* 교육 분야: 한 줄에 8개씩 보이고, 화살표로 8개 단위 페이지 이동 (script.js) */
.field-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 11px; }
.field {
  min-height: 114px; padding: 10px 6px; border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 500; line-height: 1.25; text-align: center; word-break: keep-all; color: var(--ink); box-shadow: 0 2px 8px rgba(30, 70, 140, .05); transition: .15s;
}
.field img { width: 62px; height: 60px; }
.field:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(30, 70, 140, .12); }
/* ---------- 추천 멘토 ---------- */
.mentors-sec { padding-top: 26px; padding-bottom: 28px; padding-left: 49px; padding-right: 41px; }
.mentor-head { padding-left: 6px; padding-right: 14px; }
.filters { display: flex; align-items: center; margin-left: 28px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { position: relative; height: 36px; padding: 0 15px; border-radius: 8px; font-size: 16px; color: #4b5563; white-space: nowrap; transition: .15s; }
.chip + .chip::before { content: ""; position: absolute; left: 0; top: 11px; width: 1px; height: 14px; background: #dfe4ec; }
.chip.active { background: var(--blue); color: #fff; font-weight: 700; padding: 0 19px; margin-right: 6px; }
.chip.active + .chip::before, .chip.active::before { display: none; }
.chip:not(.active):hover { color: var(--blue); }

.mentors-sec .nav-btn { top: 92px; margin-top: 0; }
.mentors-sec .nav-btn.prev { left: -35px; }
.mentors-sec .nav-btn.next { right: -26px; }
.mentor-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 6px; margin: -6px; }
.mentor-list::-webkit-scrollbar { display: none; }
.mentor {
  border-radius: 14px; background: #fff; padding: 5px 5px 16px; min-width: 200px;
  box-shadow: 0 2px 12px rgba(30, 70, 140, .09); transition: .15s;
}
.mentor[hidden] { display: none; }
.mentor:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(30, 70, 140, .14); }
/* 멘토 사진은 150×160 비율로 등록됨 → 같은 비율로, 얼굴이 잘리지 않게 위쪽 기준 */
.photo { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 150 / 160; background: #eef2f7; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* 사진이 2장 이상인 멘토의 사진 넘김 (목록을 넘기는 큰 화살표와 구분되게 사진 위에 작게) */
.mentor { position: relative; }
.photo-nav { position: absolute; left: 5px; right: 5px; top: 5px; aspect-ratio: 150 / 160; pointer-events: none; }
.photo-btn { position: absolute; top: 72%; width: 30px; height: 30px; margin-top: -15px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); box-shadow: 0 1px 6px rgba(15, 44, 92, .28); cursor: pointer; pointer-events: auto; transition: background .15s; }
.photo-btn::before { content: ""; position: absolute; top: 10px; width: 9px; height: 9px; border-top: 2px solid #1f3b66; border-right: 2px solid #1f3b66; }
.photo-btn.prev { left: 6px; }
.photo-btn.prev::before { left: 12px; transform: rotate(-135deg); }
.photo-btn.next { right: 6px; }
.photo-btn.next::before { left: 8px; transform: rotate(45deg); }
.photo-btn:hover { background: #fff; }
.photo-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.photo-count { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(15, 30, 55, .68); font-size: 12px; font-weight: 700; line-height: 1.5; color: #fff; }
.tags { position: absolute; left: 12px; bottom: 0; display: flex; gap: 6px; }
.tags i { font-style: normal; height: 29px; padding: 0 12px; border-radius: 9px 9px 0 0; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; }
.t-blue { background: #dce8ff; color: #2c5fd8; }
.t-orange { background: #ffe6da; color: #e2572b; }
.t-sky { background: #dfecf8; color: #2a4f80; }
.t-purple { background: #ece2ff; color: #7a42e0; }
.t-gray { background: #e6ebf3; color: #3b4a63; }
.t-mint { background: #dcf3e8; color: #1e8758; }
.mentor h3 { margin: 15px 7px 6px; font-size: 21px; font-weight: 700; letter-spacing: -.5px; }
.mentor p { margin: 0 7px; font-size: 16.5px; line-height: 1.5; color: var(--muted); min-height: 50px; }
.rate { display: flex; align-items: center; margin: 12px 7px 0; font-size: 18px; }
.rate .star { color: var(--star); font-size: 24px; line-height: 1; margin-right: 6px; }
.rate b { font-weight: 700; margin-right: 6px; }
.rate .cnt { color: var(--muted); font-size: 17px; }
.go { position: relative; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(30, 70, 140, .14); transition: .15s; }
.go::before { content: ""; position: absolute; left: 11px; top: 19px; width: 16px; height: 2.5px; background: var(--blue); border-radius: 2px; }
.go::after { content: ""; position: absolute; left: 17px; top: 14.5px; width: 9px; height: 9px; border-top: 2.5px solid var(--blue); border-right: 2.5px solid var(--blue); transform: rotate(45deg); }
.go:hover { background: var(--blue-tint); }
.mentor-link { display: block; color: inherit; border-radius: 10px; }
.mentor-link:focus-visible { outline: 3px solid rgba(17, 102, 240, .45); outline-offset: 3px; }
.mentor-link:hover h3 { color: var(--blue); }
.mentor p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mentor-list[aria-busy="true"] { min-height: 330px; }
.empty-link { color: var(--blue); font-weight: 700; }
.empty { grid-column: 1 / -1; padding: 60px 20px; border-radius: 12px; background: #fff; text-align: center; color: var(--muted); box-shadow: 0 2px 10px rgba(30, 70, 140, .07); }

/* ---------- 하단 성장 소개 ---------- */
.growth { background: #fff; }
.growth-stage { position: relative; width: min(100%, 1333px); margin: 0 auto; container-type: inline-size; --u: calc(100cqw / 1333); }
.growth-art { width: 100%; height: auto; aspect-ratio: 2048 / 626; }
.growth-copy { position: absolute; left: calc(72 * var(--u)); top: calc(32 * var(--u)); }
.growth h2 { font-size: calc(44 * var(--u)); font-weight: 800; line-height: 1.3; letter-spacing: calc(-1.5 * var(--u)); color: var(--title); }
.steps { display: flex; margin-top: calc(24 * var(--u)); margin-left: calc(-9 * var(--u)); }
.steps li { display: flex; align-items: center; gap: calc(12 * var(--u)); font-size: calc(17 * var(--u)); line-height: 1.55; color: #222b3a; }
.steps li:nth-child(1) { width: calc(242 * var(--u)); }
.steps li:nth-child(2) { width: calc(220 * var(--u)); }
.steps img { width: calc(77 * var(--u)); height: calc(77 * var(--u)); flex-shrink: 0; border-radius: 50%; }
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: calc(18 * var(--u));
  margin-top: calc(12 * var(--u)); width: calc(326 * var(--u)); height: calc(68 * var(--u)); border-radius: 999px;
  background: linear-gradient(90deg, #1a6ff5, #0b5ce8); color: #fff; font-size: calc(22 * var(--u)); font-weight: 700;
  box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(17, 102, 240, .3); transition: .15s;
}
.btn-cta:hover { filter: brightness(1.08); }
.growth-quote {
  position: absolute; right: calc(32 * var(--u)); top: calc(34 * var(--u));
  display: flex; flex-direction: column; white-space: nowrap; transform: rotate(-11deg); transform-origin: right top;
  font-family: "Nanum Pen Script", "나눔손글씨 펜", "Nanum Pen", "Malgun Gothic", sans-serif; font-size: calc(34 * var(--u)); line-height: 1.2; color: #1d2a48;
}
.growth-quote span:nth-child(2) { padding-left: calc(18 * var(--u)); }
/* 손글씨 글꼴(Nanum Pen Script)을 못 불러오면 대체 글꼴이 넓으므로 작게 표시 */
.no-pen .growth-quote { font-size: calc(21 * var(--u)); line-height: 1.45; font-weight: 500; }

/* ---------- 반응형 ---------- */
@media (max-width: 1400px) {
  /* 헤더: 1400px 이하에서 메뉴 간격을 조금 줄임 */
  .header-inner { padding-left: 40px; }
  .gnb { gap: 18px; margin-left: 28px; }
  .gnb a { font-size: 17px; }
}
@media (max-width: 1240px) {
  .header-inner { padding-left: 32px; padding-right: 24px; }
  .gnb { gap: 18px; margin-left: 28px; }
  .gnb a { font-size: 16px; }
  .mentor-head { flex-wrap: wrap; }
  .mentor-head .filters { order: 3; width: 100%; margin-left: -15px; }
}
@media (max-width: 1100px) {
  /* 헤더: 메뉴·버튼 간격을 줄여 회원가입 버튼이 화면 밖으로 밀리지 않게 */
  .header-inner { padding-left: 20px; padding-right: 20px; }
  .gnb { gap: 12px; margin-left: 20px; }
  .gnb a { font-size: 15px; }
  .util { gap: 8px; }
  .btn-login, .btn-join { padding: 0 14px; }
  .field-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* 태블릿: 3칸 + 2칸, 화살표 없음 */
  .process-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .p-step { grid-column: span 2; }
  .p-step:nth-child(4) { grid-column: 2 / span 2; }
  .p-step:not(:last-child)::after { display: none; }
  .mentor-list { grid-template-columns: repeat(5, 230px); }
}
/* 헤더(PC 좁은 폭): 메뉴 7개 + 로그인 버튼 사이 간격 확보. 모바일(960px 이하)은 영향 없음 */
@media (min-width: 1101px) and (max-width: 1240px) {
  .header-inner { padding-left: 24px; padding-right: 20px; }
  .logo strong { font-size: 33px; }
  .logo em { font-size: 14.5px; margin-top: 6px; }
  .gnb { gap: 14px; margin-left: 20px; }
  .gnb a { font-size: 15px; }
  .util { gap: 8px; }
  .btn-login, .btn-join { padding: 0 16px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .header-inner { padding-left: 16px; padding-right: 16px; }
  .logo strong { font-size: 29px; }
  .logo em { font-size: 12.5px; margin-top: 5px; }
  .gnb { gap: 10px; margin-left: 16px; }
  .gnb a { font-size: 14px; }
  .util { gap: 6px; }
  .btn-login, .btn-join { height: 42px; padding: 0 12px; font-size: 15px; }
}
@media (max-width: 960px) {
  .header-inner { height: 70px; padding: 0 16px; }
  .logo strong { font-size: 26px; }
  .logo em { font-size: 12px; margin-top: 5px; }
  .gnb { display: none; position: absolute; left: 0; right: 0; top: 70px; margin: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 10px 20px rgba(30, 70, 140, .1); }
  .gnb.open { display: flex; }
  .gnb a { padding: 14px 20px; border-top: 1px solid #f0f2f5; }
  .menu-toggle { display: flex; }
  .util { gap: 8px; }
  .btn-login, .btn-join { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
  .wrap, .fields-sec .wrap, .mentors-sec { padding-left: 20px; padding-right: 20px; }
  .mentors-sec .slider { margin: 0; padding: 0; }
  .nav-btn { display: none; }
  .sec-head h2 { font-size: 24px; }
}

/* 휴대폰: 배너는 글 → 그림 전체(원본 비율) → 상담창 순서로 세로 배치 */
@media (max-width: 760px) {
  .hero-stage, .growth-stage { --u: 1px; display: flex; flex-direction: column; }
  .hero-copy, .growth-copy { position: static; order: 1; padding: 26px 16px 18px; background: linear-gradient(180deg, #f2f7fd, #fff); }
  .hero-art { order: 2; aspect-ratio: 2048 / 1036; }
  .growth-quote { display: none; }
  .hero-stage { display: grid; grid-template-areas: "copy" "art" "ask"; }
  .hero-copy { grid-area: copy; }
  .hero-art { grid-area: art; }
  .ask-wrap { grid-area: ask; }
  .eyebrow { font-size: 13px; height: 30px; padding: 0 14px; }
  .hero h1 { font-size: 27px; margin-top: 14px; letter-spacing: -.9px; }
  .hero-desc { font-size: 15px; margin-top: 10px; }
  .hero-desc br, .mentor p br, .steps br { display: none; }
  .ask-wrap { position: static; order: 3; width: auto; margin: 16px 16px 6px; }
  .ask-wrap { margin-top: 44px; }
  .ask { height: auto; padding: 44px 14px 16px; border-radius: 18px; display: flex; flex-direction: column; gap: 12px; }
  .ask-bot, .ask-chips { position: static; }
  .ask-bot { position: absolute; left: 50%; top: -38px; width: 72px; margin-left: -36px; box-shadow: 0 4px 14px rgba(30, 70, 140, .15); }
  .ask-box { position: relative; left: auto; top: auto; width: auto; height: auto; padding: 10px 52px 10px 14px; border-radius: 14px; }
  .ask-hello, .ask-box input { font-size: 14px; }
  .ask-btn { width: 40px; height: 40px; right: 7px; }
  .ask-btn svg { width: 22px; height: 22px; }
  .ask-chips { grid-column: 1 / -1; gap: 8px; }
  .ask-chips button { height: 34px; padding: 0 14px; font-size: 13.5px; }
  .ask-hint { display: flex; margin: 10px 0 0; justify-content: center; font-size: 14px; }
  .ask-hint img { width: 32px; height: 32px; }

  .process { padding-top: 26px; padding-bottom: 26px; }
  .process h2 { font-size: 21px; }
  .process-list { grid-template-columns: 1fr; gap: 22px; margin-top: 16px; }
  .p-step, .p-step:nth-child(4) { grid-column: auto; }
  .p-step > a, .p-step > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 14px 14px 40px; text-align: left; }
  .p-num { left: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; font-size: 13px; }
  .p-ico { grid-row: 1 / span 2; width: 52px; height: 52px; }
  .p-step h3 { margin-top: 0; font-size: 17px; }
  .p-step p { margin-top: 2px; font-size: 14px; }
  /* 세로 화살표 */
  .p-step:not(:last-child)::after { display: block; left: 50%; right: auto; top: auto; bottom: -15px; transform: translateX(-50%) rotate(135deg); }

  .wrap, .fields-sec .wrap, .mentors-sec { padding-left: 16px; padding-right: 16px; }
  .fields-sec { padding: 24px 0; }
  .sec-head { gap: 12px; margin-bottom: 14px; }
  .sec-head h2 { font-size: 20px; }
  .more { font-size: 14px; }
  .field-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .field { min-height: 96px; padding: 8px 3px; gap: 5px; font-size: 12.5px; }
  .field img { width: 46px; height: 44px; }
  .chip { height: 34px; font-size: 14px; padding: 0 12px; }
  .mentor-head .filters { margin-left: -12px; }
  .mentor-list { grid-template-columns: repeat(5, 210px); gap: 12px; }
  .mentor h3 { font-size: 18px; }
  .mentor p { font-size: 14px; min-height: 42px; }
  .tags i { font-size: 13px; height: 26px; padding: 0 10px; }
  .rate { font-size: 16px; }
  .rate .cnt { font-size: 14px; }

  .growth-art { order: 2; }
  .growth h2 { font-size: 23px; letter-spacing: -.8px; }
  .steps { flex-direction: column; gap: 10px; margin: 18px 0 0; }
  .steps li, .steps li:nth-child(1), .steps li:nth-child(2) { width: auto; font-size: 14.5px; }
  .steps img { width: 52px; height: 52px; }
  .btn-cta { width: 100%; height: 52px; font-size: 17px; margin-top: 18px; }
}
/* 휴대폰 하단 소개: 제목·손글씨는 PC 구도대로 그림 위에 줄여 올리고, 단계·버튼은 그림 아래에 읽기 좋은 크기로 */
@media (max-width: 760px) {
  .growth-stage { --u: calc(100cqw / 1333); display: grid; grid-template-areas: "art" "steps" "cta"; padding-bottom: 8px; }
  .growth-copy { display: contents; }
  .growth-art { grid-area: art; }
  .growth h2 {
    grid-area: art; z-index: 1; align-self: start; justify-self: start;
    margin: calc(32 * var(--u)) 0 0 calc(72 * var(--u));
    font-size: max(12px, calc(44 * var(--u))); letter-spacing: -.4px; line-height: 1.3;
  }
  .growth-quote {
    display: flex; grid-area: art; position: relative; right: auto; top: auto; z-index: 1;
    align-self: start; justify-self: end; margin: calc(80 * var(--u)) calc(32 * var(--u)) 0 0;
    transform: rotate(-11deg); transform-origin: right top; font-size: max(11px, calc(34 * var(--u)));
  }
  .no-pen .growth-quote { font-size: max(9px, calc(21 * var(--u))); }
  .steps { grid-area: steps; padding: 18px 16px 0; margin: 0; }
  .steps li:nth-child(n) { gap: 12px; }
  .btn-cta { grid-area: cta; justify-self: stretch; width: auto; margin: 18px 16px 0; gap: 12px; }
}
@media (max-width: 420px) {
  .logo strong { font-size: 22px; }
  .logo em { font-size: 10.5px; }
  .btn-login, .btn-join { height: 34px; padding: 0 11px; font-size: 13px; }
}

@media (max-width: 370px) {
  .header-inner { padding: 0 10px; }
  .logo strong { font-size: 19px; }
  .logo em { font-size: 9px; }
  .util { gap: 5px; }
  .btn-login, .btn-join { padding: 0 8px; font-size: 12px; }
  .menu-toggle { width: 32px; }
}

.mentor-all-link { margin-top: 14px; text-align: right; font-size: 15px; font-weight: 700; }
.mentor-all-link a { color: var(--blue); }
.mentor-all-link a:hover { color: var(--blue-d); }
@media (max-width: 760px) { .mentor-all-link { text-align: center; font-size: 14px; } }

/* 카카오톡 고객센터 버튼 (메인 오른쪽 아래) */
#chat-channel-button { position: fixed; z-index: 999; right: 20px; bottom: 20px; }
/* 페이지 맨 아래에서 버튼이 하단 정보 글자를 가리지 않도록 여백 확보 */
@media (max-width: 760px) { body:has(#chat-channel-button) .site-footer { padding-bottom: 84px; } }

/* ---------- 하단 정보 (사업자 정보·정책 링크) ---------- */
.site-footer { background: #f5f7fa; border-top: 1px solid var(--line); padding: 28px 0 32px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.footer-inner { padding-left: 80px; padding-right: 34px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 12px; }
.footer-links a { color: var(--text); font-weight: 600; }
.footer-links a.strong { color: var(--ink); font-weight: 800; }
.footer-links a:hover { color: var(--blue); }
.site-footer .biz span { display: inline-block; margin-right: 14px; }
.site-footer .copy { margin-top: 8px; font-size: 13px; }
@media (max-width: 960px) {
  .footer-inner { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 420px) {
  .site-footer { font-size: 12.5px; }
  .footer-inner { padding-left: 16px; padding-right: 16px; }
}

/* 상단 메뉴: 로고와 오른쪽 버튼(로그인 등) 사이의 가운데 정렬 (2026-11-11)
   gnb 양쪽 margin auto로 남는 공간을 똑같이 나누고, header-inner gap으로 로고·버튼과 최소 간격 유지. 모바일(960px 이하)은 그대로 */
@media (min-width: 961px) {
  .header-inner { column-gap: 40px; }
  .header-inner .gnb { margin-left: auto; margin-right: auto; }
  .header-inner .util { margin-left: 0; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .header-inner { column-gap: 20px; }
}

/* 모바일 메인 배너: 문구를 배너 그림 위에 겹쳐 보이게 (2026-11-11)
   예전에는 문구(위) / 그림(아래)으로 나뉘어 보였음. 문구와 그림을 같은 칸(art)에 두고, 그림은 문구 아래쪽에서 시작하며 위쪽을 흐리게 이어 붙임 */
@media (max-width: 760px) {
  .hero-stage { grid-template-areas: "art" "ask"; }
  .hero-copy { grid-area: art; align-self: start; position: relative; left: 0; top: 0; z-index: 1; background: none; }
  .hero-art { grid-area: art; align-self: end; margin-top: 150px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 38%); mask-image: linear-gradient(180deg, transparent 0, #000 38%); }
  .hero { background: linear-gradient(180deg, #f2f7fd 0, #fff 260px); }
}
@media (max-width: 360px) {
  .hero-art { margin-top: 190px; }
}
