/* 바로선 노무사무소 — 화이트·오렌지 포인트, 굵은 고딕 (P7 상담 흐름 단계) */
:root {
  --ink: #17181A; --sub: #5F6166; --line: #E4E4E0; --soft: #F6F5F2;
  --orange: #E85A12; --orange-d: #C44708; --orange-soft: #FFF1E8;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.7 var(--sans); word-break: keep-all; overflow-wrap: break-word; letter-spacing: -0.01em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.28; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.h2 { font-size: 34px; font-weight: 800; }
.br-m { display: none; }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 6px; border: 2px solid var(--orange); background: var(--orange); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--soft); border-color: var(--ink); }

/* 헤더 */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 36px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.04em; }
.logo i { width: 14px; height: 22px; background: var(--orange); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--sub); }
.nav a:hover { color: var(--ink); }
.hd__tel { font-weight: 800; font-size: 17px; color: var(--orange); text-decoration: none; font-variant-numeric: tabular-nums; }

/* 히어로 */
.hero { padding-top: 72px; }
.hero__grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: end; padding-bottom: 56px; }
.hero__place { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--orange); }
.hero h1 { font-size: 52px; font-weight: 800; }
.hero h1 span { color: var(--sub); font-weight: 700; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.ready { padding: 28px 28px 24px; background: var(--soft); border-top: 4px solid var(--orange); }
.ready__title { margin: 0 0 12px; font-weight: 800; font-size: 17px; }
.ready ul { margin: 0; padding: 0; list-style: none; }
.ready li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ready li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 12px; border: 2px solid var(--orange); border-radius: 2px; }
.ready__note { margin: 14px 0 0; font-size: 14px; color: var(--sub); }
.hero__img { width: 100%; max-width: 1400px; margin: 0 auto; height: 440px; object-fit: cover; object-position: center 40%; }

/* 공지 */
.notice { display: flex; gap: 20px; align-items: baseline; padding-top: 22px; padding-bottom: 22px; position: relative; }
.notice::after, .visit::before { content: ""; position: absolute; left: 28px; right: 28px; border-top: 1px solid var(--line); }
.notice::after { bottom: 0; }
.visit::before { top: 0; }
.notice b { flex: none; color: var(--orange); font-variant-numeric: tabular-nums; }
.notice p { margin: 0; color: var(--sub); font-size: 15px; }

/* 대상별 탭 */
.who { padding: 96px 0 80px; }
.tabs { display: inline-flex; margin: 28px 0 0; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.tab { padding: 14px 28px; border: 0; background: #fff; font: 700 16px/1 var(--sans); color: var(--sub); cursor: pointer; }
.tab.is-on { background: var(--ink); color: #fff; }
.panel { margin-top: 32px; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.topics li { display: grid; gap: 4px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.topics li:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--line); }
.topics li:nth-child(even) { padding-left: 40px; }
.topics b { font-size: 20px; font-weight: 800; }
.topics span { color: var(--sub); }

/* 5단계 */
.flow { padding: 96px 0; background: var(--soft); }
.flow__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.flow__head p { margin: 0; color: var(--sub); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { position: relative; padding: 28px 22px 26px 0; border-top: 3px solid var(--ink); }
.steps li:first-child { border-top-color: var(--orange); }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps__no { display: block; font-size: 44px; font-weight: 800; line-height: 1; color: var(--orange); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.steps li:not(:first-child) .steps__no { color: #C9C9C4; }
.steps h3 { margin-top: 18px; font-size: 20px; font-weight: 800; }
.steps p { margin: 8px 0 18px; font-size: 15px; color: var(--sub); min-height: 4.8em; }
.steps dl { display: flex; gap: 8px; margin: 0; font-size: 14px; }
.steps dt { color: var(--sub); }
.steps dd { margin: 0; font-weight: 700; }
.flow__cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding: 24px 28px; background: #fff; border-left: 4px solid var(--orange); }
.flow__cta p { margin: 0 auto 0 0; font-size: 19px; font-weight: 600; }
.flow__cta b { color: var(--orange); }

/* 현장 사진 */
.field { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding-top: 96px; padding-bottom: 24px; align-items: start; }
.field figure { margin: 0; }
.field img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.field figure:last-child { margin-top: 96px; }
.field img { border-radius: 2px; }
.field figcaption { margin-top: 12px; font-size: 14.5px; color: var(--sub); }

/* FAQ */
.faq { padding: 80px 0 96px; }
.faq__grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 2px solid var(--ink); }
summary { position: relative; list-style: none; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 700; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 34px; }
details p { margin: 0 0 24px; color: var(--sub); max-width: 680px; }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 80px; padding-bottom: 96px; position: relative; }
.addr { margin: 20px 0 6px; font-size: 22px; font-weight: 800; }
.muted { margin: 0 0 24px; color: var(--sub); }
.hours { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.hours th, .hours td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { width: 110px; font-weight: 500; color: var(--sub); }
.hours td { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.hours small { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--orange-soft); color: var(--orange-d); font-size: 12.5px; }
.reach { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.reach li { display: grid; grid-template-columns: 56px 1fr; }
.reach span { color: var(--sub); font-size: 14px; line-height: 1.9; }
.reach a { font-weight: 700; text-decoration: none; }

.ft { padding: 32px 0 40px; background: var(--ink); color: rgba(255,255,255,.65); font-size: 13.5px; }
.ft p { margin: 0 0 4px; }
.nw { white-space: nowrap; }
.ft b { color: #fff; }
.dock { display: none; }

/* 태블릿 */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hd__in { justify-content: space-between; }
  .hero__grid, .flow__head, .faq__grid, .visit { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 42px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { display: grid; grid-template-columns: 72px 1fr; column-gap: 8px; padding: 22px 0; border-left: 0; border-top-width: 1px; border-top-color: var(--line); }
  .steps li:first-child { border-top: 3px solid var(--orange); }
  .steps__no { grid-row: span 3; font-size: 34px; }
  .steps h3 { margin-top: 0; }
  .steps p { min-height: 0; margin-bottom: 10px; }
}

/* 모바일 */
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 62px; }
  .wrap { padding: 0 20px; }
  .h2 { font-size: 26px; }
  .br-m { display: inline; }
  .hd__in { height: 58px; }
  .logo { font-size: 17px; }
  .hd__tel { font-size: 15px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 30px; }
  .hero__btns { margin-top: 26px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__grid { padding-bottom: 36px; gap: 28px; }
  .ready { padding: 22px 20px 18px; }
  .hero__img { height: 240px; }
  .notice { flex-direction: column; gap: 4px; padding-top: 18px; padding-bottom: 18px; }
  .notice::after, .visit::before { left: 20px; right: 20px; }
  .who { padding: 64px 0 56px; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 14px 8px; font-size: 15px; }
  .topics { grid-template-columns: 1fr; }
  .topics li, .topics li:nth-child(odd), .topics li:nth-child(even) { padding: 18px 0; border-right: 0; }
  .topics b { font-size: 18px; }
  .flow { padding: 64px 0; }
  .steps { margin-top: 32px; }
  .steps li, .steps li + li { grid-template-columns: 52px 1fr; }
  .steps__no { font-size: 26px; }
  .steps h3 { font-size: 18px; }
  .flow__cta { padding: 20px; }
  .flow__cta p { flex: 1 1 100%; font-size: 17px; }
  .flow__cta .btn { flex: 1; }
  .field { grid-template-columns: 1fr; padding-top: 56px; gap: 28px; }
  .field figure:last-child { margin-top: 0; }
  .faq { padding: 56px 0 64px; }
  .faq__grid { gap: 20px; }
  summary { font-size: 16.5px; padding: 18px 40px 18px 0; }
  summary::after { top: 25px; }
  details[open] summary::after { top: 29px; }
  .visit { padding-top: 56px; padding-bottom: 64px; gap: 36px; }
  .visit .btn { width: 100%; }
  .addr { font-size: 20px; }
  .hours th { width: 92px; }
  .hours td { font-size: 15.5px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
  .dock a { display: flex; align-items: center; justify-content: center; height: 58px; font-weight: 700; font-size: 15px; text-decoration: none; }
  .dock__main { background: var(--orange); color: #fff; }
}
