/* ============================================================
   인재잇다 (TalentItda) — 코어 디자인 시스템
   · 딥 잉크 + 에메랄드 · 채용포털형 고밀도 레이아웃
   · 메인 페이지 전용 스타일은 css/home.css
   · 서브 페이지 전용 스타일은 css/pages.css
   ============================================================ */

:root {
  /* 베이스 — 흰 바탕 + 얇은 보더 중심(포털형) */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f6f5;
  --surface-3: #e8eeec;

  /* 텍스트 */
  --ink: #0a1420;
  --ink-2: #33424f;
  --ink-3: #5b6b78;
  --muted: #6b7a86;
  --faint: #98a5af;

  /* 라인 */
  --line: #e0e6e4;
  --line-2: #eef2f0;

  /* 브랜드 — 에메랄드 */
  --accent: #0d9e6e;
  --accent-2: #14b981;
  --accent-ink: #097d56;
  --accent-deep: #05553a;
  --accent-soft: #e7f7f0;
  --accent-soft-2: #cdeee0;

  /* 강조 — 앰버(적합도·랭킹·마감) */
  --hot: #e07b12;
  --hot-soft: #fdf1e0;

  /* 프리미엄 */
  --gold: #a8801f;
  --gold-soft: #fbf4e0;

  /* 상태 */
  --ok: #0d9e6e;
  --ok-soft: #e7f7f0;
  --warn: #d97706;
  --warn-soft: #fdf1e0;
  --danger: #d5342b;

  /* 다크 */
  --dark: #08131f;
  --dark-2: #0e1f2e;
  --dark-3: #16303f;

  /* 형태 */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-xs: 0 2px 8px -4px rgba(10, 20, 32, 0.14);
  --shadow-sm: 0 6px 18px -10px rgba(10, 20, 32, 0.18);
  --shadow: 0 18px 44px -22px rgba(10, 20, 32, 0.26);
  --shadow-lg: 0 34px 76px -32px rgba(10, 20, 32, 0.36);
  --glow: 0 0 0 1px rgba(13, 158, 110, 0.18), 0 12px 30px -12px rgba(13, 158, 110, 0.45);

  --topbar-h: 34px;
  --header-h: 66px;
  --wrap: 1280px;

  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
input, select, textarea { font-family: inherit; }
em { font-style: normal; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }
::placeholder { color: var(--faint); opacity: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ================= 버튼 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 22px; border-radius: 9px;
  font-size: 0.92rem; font-weight: 700; white-space: nowrap;
  transition: background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); box-shadow: var(--glow); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { box-shadow: var(--shadow); }
.btn--soft { background: var(--accent-soft); color: var(--accent-ink); }
.btn--soft:hover { background: var(--accent-soft-2); }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink-2); background: var(--surface); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost-light { border: 1.5px solid rgba(255,255,255,0.34); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.62); }
.btn--match { background: var(--hot); color: #fff; }
.btn--match:hover { filter: brightness(0.94); }
.btn--sm { padding: 9px 14px; font-size: 0.83rem; border-radius: 8px; }
.btn--lg { padding: 15px 28px; font-size: 1rem; border-radius: 11px; }
.btn--block { width: 100%; }

/* ================= 뱃지 ================= */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 5px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: -0.01em;
  background: var(--surface-2); color: var(--ink-2);
}
.tag--accent { background: var(--accent-soft); color: var(--accent-ink); }
.tag--match, .tag--hot { background: var(--hot-soft); color: var(--hot); }
.tag--gold { background: var(--gold-soft); color: var(--gold); }
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--warn { background: var(--warn-soft); color: var(--warn); }
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ================= 상단 유틸바 ================= */
.topbar { background: var(--dark); color: #b7c4cd; font-size: 0.77rem; }
.topbar__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
  height: var(--topbar-h); display: flex; align-items: center; gap: 18px;
}
.topbar__switch { display: flex; align-items: center; gap: 0; }
.topbar__switch a {
  padding: 4px 13px; font-weight: 700; color: #7e8f9c; position: relative;
  transition: color 0.15s;
}
.topbar__switch a + a::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 1px; background: rgba(255,255,255,0.14); }
.topbar__switch a.is-on { color: #fff; }
.topbar__switch a.is-on::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 2px; background: var(--accent-2); }
.topbar__switch a:not(.is-on):hover { color: #d7e2e8; }
.topbar__links { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.topbar__links a { color: #90a1ac; font-weight: 600; transition: color 0.15s; }
.topbar__links a:hover { color: #fff; }
.topbar__tel { font-weight: 800; color: #fff !important; letter-spacing: 0.01em; }

/* ================= 헤더 ================= */
.header {
  position: sticky; top: 0; z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.header.is-scrolled { box-shadow: 0 4px 18px -14px rgba(10,20,32,0.7); }
.header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
  height: var(--header-h); display: flex; align-items: center; gap: 34px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.28rem; font-weight: 800; letter-spacing: -0.045em; flex-shrink: 0; }
.logo__mark {
  width: 25px; height: 25px; border-radius: 7px; flex-shrink: 0;
  background: var(--accent); display: grid; place-items: center; color: #fff;
}
.logo__mark svg { width: 15px; height: 15px; }
.logo em { color: var(--accent); }

.gnb { display: flex; align-items: center; gap: 28px; height: 100%; }
.gnb__link {
  display: flex; align-items: center; height: 100%;
  font-size: 0.95rem; font-weight: 700; color: var(--ink-2); position: relative;
  transition: color 0.15s;
}
.gnb__link:hover, .gnb__link.is-on { color: var(--accent); }
.gnb__link.is-on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--accent);
}
.gnb__link .dot { position: absolute; top: 16px; right: -7px; width: 5px; height: 5px; border-radius: 50%; background: var(--hot); }

.header__side { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header__side .txtlink { font-size: 0.88rem; font-weight: 700; color: var(--ink-2); padding: 8px 4px; }
.header__side .txtlink:hover { color: var(--accent); }
.header__sep { width: 1px; height: 15px; background: var(--line); }

/* 모바일 메뉴는 기본 숨김 — 1024px 이하에서만 노출 */
.header__nav-mobile { display: none; }

.hmenu {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 42px; height: 40px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.hmenu span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s; }
.hmenu.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hmenu.is-open span:nth-child(2) { opacity: 0; }
.hmenu.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ================= 섹션 공통 ================= */
.section { max-width: var(--wrap); margin: 0 auto; padding: 58px 28px; }
.section--tight { padding-top: 38px; padding-bottom: 38px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.section__kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.71rem; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase;
}
.section__title { font-size: 1.58rem; font-weight: 800; letter-spacing: -0.042em; margin-top: 7px; line-height: 1.32; }
.section__title em { color: var(--accent); }
.section__sub { font-size: 0.91rem; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.section__more { font-size: 0.86rem; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.section__more:hover { color: var(--accent); }
.section--band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.section--band > .wrap { padding-top: 58px; padding-bottom: 58px; }

/* ================= IMS (matching.html) ================= */
.ims { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.ims::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 12% 0%, rgba(20,185,129,0.22) 0%, transparent 60%),
    radial-gradient(620px 400px at 92% 100%, rgba(224,123,18,0.14) 0%, transparent 58%);
  pointer-events: none;
}
.ims > .wrap { position: relative; }
.ims .section__kicker { color: var(--accent-2); }
.ims .section__title { color: #fff; }
.ims .section__sub { color: #9dafba; }
.ims__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.ims__step { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 22px 20px; }
.ims__step__n { width: 29px; height: 29px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 0.82rem; font-weight: 800; margin-bottom: 13px; }
.ims__step h4 { font-size: 1rem; font-weight: 800; letter-spacing: -0.03em; }
.ims__step p { font-size: 0.85rem; color: #a3b4bf; margin-top: 8px; line-height: 1.62; }
.ims__step__tag { display: inline-block; margin-top: 12px; font-size: 0.71rem; font-weight: 800; color: #7fd9b6; background: rgba(20,185,129,0.15); border-radius: 5px; padding: 4px 8px; }
.ims__note {
  margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px; padding: 16px 20px; font-size: 0.87rem; color: #b0c1cb; font-weight: 600;
}
.ims__note svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; }
.ims__note b { color: #fff; }

/* ================= 비용 비교 카드 (freelancer.html) ================= */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp { border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); background: var(--surface); }
.cmp--old { background: var(--surface-2); }
.cmp--new { border: 2px solid var(--accent); box-shadow: var(--glow); position: relative; }
.cmp__flag { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.cmp h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.cmp__price { margin: 15px 0 17px; display: flex; align-items: baseline; gap: 6px; }
.cmp__price b { font-size: 1.95rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.cmp--old .cmp__price b { color: var(--muted); }
.cmp--new .cmp__price b { color: var(--accent); }
.cmp__price span { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.cmp ul { display: flex; flex-direction: column; gap: 10px; }
.cmp li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.87rem; color: var(--ink-2); font-weight: 600; line-height: 1.55; }
.cmp li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.cmp--old li { color: var(--muted); }
.cmp--old li svg { color: var(--faint); }
.cmp--new li svg { color: var(--ok); }

/* ================= 단계 카드 (guide.html) ================= */
.howtabs { display: inline-flex; gap: 3px; background: var(--surface-2); padding: 4px; border-radius: 10px; }
.howtabs button { padding: 9px 20px; border-radius: 7px; font-size: 0.88rem; font-weight: 700; color: var(--muted); transition: all 0.15s; }
.howtabs button.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.step__n { font-size: 0.71rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; }
.step h4 { font-size: 1.01rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 8px; }
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.62; }
.step__arrow { position: absolute; right: -11px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; z-index: 2; color: var(--faint); }
.step:last-child .step__arrow { display: none; }

/* ================= 신뢰 카드 ================= */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trustcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.trustcard__ic { width: 40px; height: 40px; margin-bottom: 12px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.trustcard__ic svg { width: 20px; height: 20px; }
.trustcard b { display: block; font-size: 0.94rem; font-weight: 800; letter-spacing: -0.025em; }
.trustcard span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 7px; line-height: 1.58; }

/* ================= 인재 카드 (talents.html) ================= */
.filterbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 15px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: all 0.15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.talents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tcard {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px 18px; display: flex; flex-direction: column;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.tcard:hover { box-shadow: var(--shadow); border-color: var(--accent-soft-2); }
.tcard__top { display: flex; align-items: center; gap: 12px; }
.tcard__avt {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1rem; font-weight: 800;
  background: var(--surface-2); color: var(--ink-2); letter-spacing: -0.02em;
}
.tcard__avt.is-verified { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ok); }
.tcard__id { min-width: 0; }
.tcard__name { display: flex; align-items: center; gap: 6px; font-size: 1rem; font-weight: 800; letter-spacing: -0.03em; }
.tcard__name svg { width: 15px; height: 15px; color: var(--ok); flex-shrink: 0; }
.tcard__role { font-size: 0.81rem; color: var(--muted); font-weight: 600; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard__match { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; align-items: flex-end; }
.tcard__match b { font-size: 1.04rem; font-weight: 800; color: var(--accent); letter-spacing: -0.04em; line-height: 1; }
.tcard__match span { font-size: 0.65rem; font-weight: 700; color: var(--faint); margin-top: 3px; }
.tcard__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.tcard__skills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; min-height: 25px; }
.tcard__skills .sk { font-size: 0.72rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 5px; padding: 3px 7px; }
.tcard__skills .sk--more { background: var(--surface-2); color: var(--muted); }
.tcard__stat { display: flex; gap: 14px; margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tcard__stat div { flex: 1; }
.tcard__stat b { display: block; font-size: 0.9rem; font-weight: 800; letter-spacing: -0.03em; }
.tcard__stat span { display: block; font-size: 0.7rem; color: var(--faint); font-weight: 600; margin-top: 2px; }
.tcard__lock { margin-top: 13px; display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 9px; padding: 9px 11px; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.tcard__lock svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--faint); }
.tcard__lock .blur { filter: blur(3.6px); user-select: none; color: var(--ink-2); }
.tcard__actions { margin-top: 11px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.tcard__ribbon { position: absolute; top: -1px; left: 18px; background: var(--gold); color: #fff; font-size: 0.67rem; font-weight: 800; padding: 4px 9px 5px; border-radius: 0 0 6px 6px; letter-spacing: 0.02em; }

/* ================= 프로젝트 카드 (projects.html) ================= */
.projects { display: flex; flex-direction: column; gap: 9px; }
.pjt {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: border-color 0.16s, box-shadow 0.16s;
}
.pjt:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.pjt__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pjt__co { font-size: 0.81rem; font-weight: 700; color: var(--muted); }
.pjt__title { font-size: 1.03rem; font-weight: 800; letter-spacing: -0.035em; margin-top: 6px; }
.pjt__title:hover { color: var(--accent); }
.pjt__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 9px; font-size: 0.81rem; color: var(--muted); font-weight: 600; }
.pjt__meta span { display: inline-flex; align-items: center; gap: 5px; }
.pjt__meta svg { width: 14px; height: 14px; color: var(--faint); }
.pjt__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pjt__budget { font-size: 1.06rem; font-weight: 800; letter-spacing: -0.04em; }
.pjt__budget span { font-size: 0.77rem; font-weight: 700; color: var(--muted); }
.pjt__dday { font-size: 0.77rem; font-weight: 800; color: var(--danger); }
.pjt__applied { font-size: 0.75rem; color: var(--faint); font-weight: 600; }

/* ================= 개인정보 블러 =================
   이름·연락처는 열람 결제 전까지 블러 처리합니다.
   시각적 가림이므로, 실서비스에서는 서버가 결제 전 원문을
   내려주지 않도록 반드시 응답 자체를 마스킹해야 합니다. */
.blurtx { filter: blur(5px); user-select: none; pointer-events: none; color: var(--ink-2); letter-spacing: 0.03em; }

/* 공개 범위 안내 박스 (여러 페이지에서 사용) */
.privnote {
  background: var(--surface-2); border: 1px dashed var(--line); border-radius: 12px;
  padding: 15px 18px; font-size: 0.83rem; color: var(--muted); line-height: 1.7; font-weight: 600;
}
.privnote b { color: var(--ink-2); }

/* ================= 동의 체크 ================= */
.cform__agree { display: flex; align-items: center; gap: 7px; font-size: 0.79rem; color: var(--muted); font-weight: 600; }
.cform__agree input { width: 15px; height: 15px; accent-color: var(--accent); flex-shrink: 0; }
.cform__agree a { text-decoration: underline; }

/* ================= 서브 페이지 헤드 ================= */
.pagehead { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 32px 0 28px; }
.pagehead__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.crumb { font-size: 0.77rem; color: var(--faint); font-weight: 600; }
.crumb a:hover { color: var(--accent); }
.pagehead h1 { font-size: 1.68rem; font-weight: 800; letter-spacing: -0.045em; margin-top: 9px; }
.pagehead p { font-size: 0.91rem; color: var(--muted); margin-top: 8px; }

.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 58px 28px; text-align: center; }
.empty__ic { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.empty__ic svg { width: 26px; height: 26px; }
.empty h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.03em; }
.empty p { font-size: 0.89rem; color: var(--muted); margin-top: 9px; line-height: 1.65; }
.empty .btn { margin-top: 18px; }

/* ================= 푸터 ================= */
.footer { background: var(--dark); color: #8b9aa5; padding: 46px 0 0; }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer__brand .logo { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.footer__brand .logo__mark { background: var(--accent); }
.footer__desc { font-size: 0.85rem; line-height: 1.7; color: #82929e; }
.footer__cs { margin-top: 18px; }
.footer__cs b { display: block; color: #fff; font-size: 1.22rem; font-weight: 800; }
.footer__cs span { display: block; font-size: 0.77rem; margin-top: 5px; color: #74848f; }
.footer__col h4 { color: #fff; font-size: 0.87rem; font-weight: 800; margin-bottom: 13px; }
.footer__col a { display: block; font-size: 0.82rem; padding: 5px 0; color: #8b9aa5; transition: color 0.15s; }
.footer__col a:hover { color: #fff; }
.footer__legal {
  max-width: var(--wrap); margin: 32px auto 0; padding: 20px 28px 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.76rem; color: #67767f; line-height: 1.8;
}
.footer__legal .lg { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.footer__legal .lg a { font-weight: 700; color: #8b9aa5; }
.footer__legal .lg a:hover { color: #fff; }
.footer__legal .lg a.em { color: #fff; }

/* ================= 퀵메뉴 · 토스트 ================= */
.quick { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.quick__btn {
  width: 50px; height: 50px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--ink-2);
  transition: color 0.15s, border-color 0.15s;
}
.quick__btn:hover { color: var(--accent); border-color: var(--accent); }
.quick__btn svg { width: 20px; height: 20px; }
.quick__btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.quick__btn--primary:hover { color: #fff; background: var(--accent-ink); }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(10px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 10px;
  font-size: 0.87rem; font-weight: 700; z-index: 500; box-shadow: var(--shadow-lg);
  opacity: 0; transition: opacity 0.2s, transform 0.2s; pointer-events: none;
  max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= 반응형 ================= */
@media (max-width: 1120px) {
  .talents { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .gnb, .header__side { display: none; }
  .hmenu { display: flex; }
  .header__nav-mobile {
    position: absolute; top: 100%; left: 12px; right: 12px; margin-top: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lg); padding: 10px; display: none; flex-direction: column; gap: 2px;
  }
  .header__nav-mobile.is-open { display: flex; }
  .header__nav-mobile a { padding: 12px 14px; border-radius: 9px; font-size: 0.94rem; font-weight: 700; color: var(--ink-2); }
  .header__nav-mobile a:hover { background: var(--surface-2); }
  .header__nav-mobile .div { height: 1px; background: var(--line-2); margin: 6px 4px; }
  .header__nav-mobile .btn { margin: 4px; }
}
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
  .ims__steps, .steps, .trust { grid-template-columns: 1fr 1fr; }
  .step__arrow { display: none; }
  .pjt { grid-template-columns: 1fr; gap: 12px; }
  .pjt__right { flex-direction: row; align-items: center; gap: 16px; }
}
@media (max-width: 720px) {
  .wrap, .section { padding-left: 18px; padding-right: 18px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .topbar__links a:not(.topbar__tel) { display: none; }
  .talents { grid-template-columns: 1fr; }
  .ims__steps, .steps, .trust { grid-template-columns: 1fr; }
  .section__title { font-size: 1.32rem; }
}
