/* =========================================================
   올바른사람 공통 스타일 (Figma 시안 기준, 1440px 뷰 기준 치수)
   ========================================================= */
:root {
  --blue: #1e9bff;          /* 강조 텍스트/버튼 */
  --blue-strong: #0a62ff;   /* 그라데이션 카드 */
  --blue-light: #e6f3ff;
  --navy: #03223d;          /* Problem 섹션 */
  --slate: #24374a;         /* Why 섹션 */
  --slate-2: #1f2c39;
  --ink: #111;
  --text: #333;
  --muted: #777;
  --line: #e5e8ec;
  --footer: #4a4a4a;
  --container: 1448px;     /* 내용 너비 1400px + 좌우 여백 24px */
  --radius: 19.2px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.5; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong { font-weight: 700; }

main { overflow-x: clip; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.c-blue { color: var(--blue); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------- GNB ---------------- */
.gnb { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); transition: background .25s, color .25s, border-color .25s; }
.gnb-inner { position: relative; height: 72px; max-width: 1332px; margin: 0 auto; padding: 0 28.8px; display: flex; align-items: center; justify-content: space-between; }
.gnb-left, .gnb-right { display: flex; align-items: center; gap: 36px; flex: 1; }
.gnb-right { justify-content: flex-end; }
.gnb-link { font-size: 14.4px; font-weight: 700; letter-spacing: -.02em; background: none; border: 0; padding: 9.6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7.2px; }
.gnb-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14.4px; font-size: 28.8px; font-weight: 500; letter-spacing: -.02em; }
.logo-mark { width: 36px; height: 43.2px; }
/* logo.png(og-image.png 의 로고+글자 부분을 잘라낸 것)를 마스크로 써서 헤더 글자색(흰색/검정)을 따라감 */
.gnb-logo-img { height: 43.2px; aspect-ratio: 1067 / 247; background: currentColor; -webkit-mask: url(../img/logo.png) center / contain no-repeat; mask: url(../img/logo.png) center / contain no-repeat; }
.gnb-dropdown { position: relative; }
.gnb-dd-menu { position: absolute; top: 100%; left: -19.2px; min-width: 180px; padding: 9.6px 0; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.gnb-dd-menu a { display: block; padding: 10.8px 21.6px; font-size: 15.6px; font-weight: 500; }
.gnb-dd-menu a:hover, .gnb-dd-menu a.is-active { color: var(--blue); background: #f3f8ff; }
.gnb-dropdown:hover .gnb-dd-menu, .gnb-dropdown.is-open .gnb-dd-menu { opacity: 1; visibility: visible; transform: none; }
.gnb.is-solid { background: rgba(255,255,255,.97); color: var(--ink); border-color: var(--line); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.gnb-burger { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 9.6px; }
.gnb-burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.gnb-mobile { display: none; }

/* ---------------- Hero (공통) ---------------- */
/* 화면이 넓어져도 사진이 위아래로 잘리지 않도록 높이를 가로폭에 비례(시안 1440:716)해서 키움 */
.hero { position: relative; height: max(859px, 49.72vw); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #333 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 28, .55); }
.hero-inner { position: relative; z-index: 1; padding: 0 24px; }
.hero-eyebrow { font-size: 16.8px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16.8px; opacity: .9; }
.hero-title { font-size: 52.8px; line-height: 1.36; font-weight: 700; letter-spacing: -.03em; }
.hero-desc { margin-top: 36px; font-size: 16.8px; line-height: 2.15; opacity: .95; }
.hero .btn-outline { margin-top: 67.2px; }

/* ---------------- Buttons ---------------- */
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-width: 124.8px; height: 54px; padding: 0 26.4px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 4.8px; font-size: 16.8px; color: #fff; transition: .2s; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; height: 54px; padding: 0 33.6px; border: 0; border-radius: 7.2px; background: var(--blue); color: #fff; font-size: 19.2px; font-weight: 700; cursor: pointer; transition: .2s; }
.btn-primary:hover { background: #0b86ec; }

/* ---------------- Section heading helpers ---------------- */
.sec { padding: 144px 0; }
.sec-title { font-size: 48px; line-height: 1.4; font-weight: 700; letter-spacing: -.03em; color: var(--ink); text-align: center; }
.sec-title-white { color: #fff; }
.sec-sub { margin-top: 21.6px; font-size: 19.2px; color: #555; text-align: center; }
.eyebrow-underline { display: table; margin: 0 auto 16.8px; padding-bottom: 2px; border-bottom: 1.5px solid currentColor; font-size: 28.8px; font-weight: 700; color: var(--blue); letter-spacing: -.01em; }
.eyebrow-badge { display: table; margin: 0 auto 36px; padding: 2px 16.8px; background: var(--blue); color: #fff; font-size: 28.8px; font-weight: 700; }
.eyebrow-caps { display: block; text-align: center; font-size: 16.8px; letter-spacing: .12em; color: var(--blue); text-transform: uppercase; margin-bottom: 12px; }
.hl-mark { background: linear-gradient(transparent 55%, rgba(30,155,255,.28) 55%); }

/* ---------------- Process circles (공통 아이콘 원) ---------------- */
.icon-orb { position: relative; width: 228px; height: 228px; margin: 0 auto; }
.icon-orb::before { content: ""; position: absolute; left: -16.8px; top: -19.2px; width: 228px; height: 228px; border-radius: 50%; background: #cfe8ff; }
.icon-orb > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #5bbcff 0%, #1e9bff 55%, #0f8cff 100%); box-shadow: 4px 6px 14px rgba(0, 60, 140, .25); color: #fff; }
.icon-orb svg { width: 76.8px; height: 76.8px; }

/* ---------------- Contact ---------------- */
.sec-contact { position: relative; padding: 174px 0 150px; color: #fff; background: #556 url("../img/contact-bg.jpg") center/cover no-repeat; }
.sec-contact::before { content: ""; position: absolute; inset: 0; background: rgba(40, 46, 56, .55); backdrop-filter: blur(4px); }
.sec-contact .container { position: relative; z-index: 1; }
.sec-contact .eyebrow-underline { font-size: 31.2px; }
.contact-lead { margin-top: 52.8px; text-align: center; font-size: 24px; line-height: 2.25; }
.contact-lead strong { color: var(--blue); font-weight: 700; }
.contact-card { max-width: 984px; margin: 90px auto 0; padding: 60px 67.2px 45.6px; background: rgba(240, 241, 243, .93); border-radius: 21.6px; color: var(--ink); }

.inq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40.8px; }
.inq-field { display: flex; flex-direction: column; margin-bottom: 52.8px; }
.inq-bottom { justify-content: flex-end; }
.inq-full { grid-column: 1 / -1; }
.inq-field > label, .inq-label { font-size: 16.8px; font-weight: 700; margin: 0 0 14.4px 9.6px; }
.inq-label-tight { margin-left: 0 !important; }
.inq-field label span { font-weight: 500; }
.inq-field i { font-style: normal; color: var(--blue); }
.inq-field b { font-weight: 500; }
.inq-field input[type="text"] { width: 100%; min-width: 0; height: 45.6px; padding: 0 14.4px; border: 1px solid #cfd3d8; border-radius: 3.6px; background: #fff; outline: none; transition: border-color .15s; }
.inq-field input[type="text"]:focus { border-color: var(--blue); }
.inq-phone { display: flex; align-items: center; gap: 14.4px; }
.inq-phone input { flex: 1 1 0; width: 0 !important; min-width: 0; }
.inq-phone em { font-style: normal; }
.inq-checks { display: flex; flex-direction: column; gap: 16.8px; }
.inq-check { position: relative; display: inline-flex; align-items: center; gap: 14.4px; font-size: 16.8px; font-weight: 700; cursor: pointer; }
.inq-check input { position: absolute; opacity: 0; }
.inq-check span { width: 27.6px; height: 27.6px; border: 1px solid #cfd3d8; border-radius: 2px; background: #fff; flex: none; }
.inq-check input:checked + span { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='2.5'/%3E%3C/svg%3E") center/19.2px no-repeat; border-color: var(--blue); }
.inq-check input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.inq-policy { height: 93.6px; overflow-y: auto; padding: 21.6px 33.6px; background: #f5f5f5; border: 1px solid #e3e3e3; font-size: 13.2px; line-height: 1.45; color: #333; }
.inq-policy h4 { font-size: 13.2px; margin: 14.4px 0 4.8px; }
.inq-field > label.inq-agree { margin: 19.2px 0 0; font-size: 14.4px; font-weight: 500; gap: 12px; }
.inq-agree span { width: 18px; height: 18px; }
.inq-agree input:checked + span { background-size: 13.2px; }
.inq-submit { text-align: center; margin-top: -12px; }

/* ---------------- Footer ---------------- */
.footer { background: var(--footer); color: #fff; padding: 79.2px 24px 69.6px; text-align: center; }
.footer-sns { display: flex; justify-content: center; align-items: center; gap: 174px; }
.footer-sns a { opacity: 1; transition: opacity .2s; }
.footer-sns a:hover { opacity: .75; }
.footer-copy { margin-top: 67.2px; font-size: 13.2px; line-height: 2.2; }
.footer-info { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4.8px 16.8px; font-size: 12.6px; }

/* ---------------- 카카오톡 상시 문의 버튼 ---------------- */
.kakao-float { position: fixed; right: 28.8px; bottom: 28.8px; z-index: 150; display: inline-flex; align-items: center; gap: 8.4px; height: 52.8px; padding: 0 24px 0 20.4px; border-radius: 26.4px; background: #fee500; color: #191919; font-size: 19.2px; font-weight: 700; letter-spacing: -.02em; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .2s, box-shadow .2s; }
.kakao-float:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.kakao-float:focus-visible { outline: 3px solid #191919; outline-offset: 3px; }
@media (max-width: 760px) { .kakao-float { right: 16px; bottom: 16px; height: 42px; padding: 0 17px 0 15px; font-size: 18px; } }

/* ---------------- Toast ---------------- */
.toast-wrap { position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 9.6px; }
.toast { padding: 16.8px 26.4px; border-radius: 12px; background: #222; color: #fff; font-size: 16.8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: toast-in .3s ease, toast-out .4s ease 4.6s forwards; }
.toast-success { background: #0f7be0; }
.toast-error { background: #d6453d; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; visibility: hidden; } }

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Simple page (칼럼/개인정보/404) ---------------- */
.simple-hero { padding: 192px 24px 72px; background: linear-gradient(180deg, #f5faff, #e6f3ff); text-align: center; }
.simple-body { padding: 84px 0 144px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .sec-title { font-size: 34px; }
  .footer-sns { gap: 80px; }
}
@media (max-width: 760px) {
  .gnb-left, .gnb-right { display: none; }
  .gnb-inner { height: 56px; }
  .gnb-logo { position: static; transform: none; font-size: 24px; }
  .logo-mark { width: 26px; height: 31px; }
  .gnb-logo-img { height: 31px; }
  .gnb-burger { display: flex; }
  .gnb-mobile { display: none; flex-direction: column; background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
  .gnb-mobile a { padding: 15px 24px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 18px; }
  .gnb-mobile .gnb-mobile-cta { color: var(--blue); }
  .gnb.is-menu-open { background: #fff; color: var(--ink); }
  .gnb.is-menu-open .gnb-mobile { display: flex; }

  .hero { height: 560px; }
  .hero-title { font-size: 33.6px; }
  .hero-desc { font-size: 15.6px; line-height: 1.9; }
  .hero .btn-outline { margin-top: 36px; }

  .sec { padding: 80px 0; }
  .sec-title { font-size: 31.2px; }
  .eyebrow-underline, .eyebrow-badge { font-size: 21.6px; }

  .icon-orb, .icon-orb::before { width: 130px; height: 130px; }
  .icon-orb svg { width: 44px; height: 44px; }

  .sec-contact { padding: 90px 0 80px; }
  .contact-lead { font-size: 19.2px; line-height: 2; margin-top: 30px; }
  .contact-card { padding: 32px 20px 28px; margin-top: 44px; }
  .inq-grid { grid-template-columns: minmax(0, 1fr); }
  .inq-field { margin-bottom: 28px; }
  .inq-bottom { justify-content: flex-start; }

  .footer-sns { gap: 48px; }
  .footer-info { flex-direction: column; }
}

/* ---------------- 1.2배 확대 후 태블릿 폭 보정 ---------------- */
@media (min-width: 761px) and (max-width: 1024px) {
  .icon-orb, .icon-orb::before { width: 160px; height: 160px; }
  .icon-orb::before { left: -12px; top: -14px; }
  .icon-orb svg { width: 54px; height: 54px; }
}
