:root {
  color-scheme: light only;
  --navy: #191f28; --ink: #191f28; --body: #333d4b; --sub: #6b7684; --soft: #4e5968;
  --blue: #3182f6; --blue-text: #1b64da; --blue-bg: #e8f3ff; --gold-on-navy: #1b64da; --gold-text: #1b64da; --gold-line: #3182f6; --red: #d22030;
  --bg-alt: #f9fafb; --bg-grey: #f2f4f6; --line: #e5e8eb; --white: #fff; --kakao: #fee500;
  --r: 20px; --r-sm: 14px; --shadow: 0 2px 8px rgba(0, 27, 55, .08); --shadow-lg: 0 16px 40px rgba(0, 27, 55, .12);
  --pad: 20px; --sec: 56px; --head: 57px; --bar: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font: 400 16px/1.7 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.03em; font-weight: 800; }
h1 { font-size: 30px; line-height: 38px; }
h2 { font-size: 26px; line-height: 34px; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--gold-text); letter-spacing: -.01em; margin-bottom: 8px; }
.eyebrow.on-navy { color: var(--gold-on-navy); }
.hint { font-size: 13px; color: var(--sub); line-height: 1.5; }
.hint.on-navy { color: var(--soft); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 22px; border-radius: 14px; background: var(--btn-bg, var(--kakao)); color: var(--btn-fg, #191919); font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,27,55,.16); }
.btn:active { transform: none; }
.btn svg { flex: 0 0 auto; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-ghost { }
.btn-outline { background: #fff; color: var(--blue-text); box-shadow: inset 0 0 0 1px var(--line); }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; height: var(--head); gap: 16px; }
.logo img { height: 32px; width: auto; }
.nav-desk, .hdr-cta { display: none; }
.nav-mob summary { list-style: none; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; cursor: pointer; margin-right: -8px; }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.nav-mob[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mob[open] summary span:nth-child(2) { opacity: 0; }
.nav-mob[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-panel { position: fixed; inset: var(--head) 0 0 0; background: #fff; overflow-y: auto; padding: 8px var(--pad) 120px; border-top: 1px solid var(--line); }
.nav-panel a { display: block; text-decoration: none; }
.nav-panel .nav-top { font-size: 19px; font-weight: 700; color: var(--ink); padding: 16px 0 8px; }
.nav-panel ul ul a { padding: 9px 0; color: var(--body); font-size: 16px; }
.nav-panel > ul > li { border-bottom: 1px solid var(--line); padding-bottom: 10px; }

/* 하단 고정 */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
.sticky-bar .btn { min-height: 48px; font-size: 16px; padding: 0 16px; flex: 1 1 33%; border-radius: 12px; }
.sticky-bar .btn.grow { flex: 2 1 66%; }

/* 히어로 */
.hero { background: var(--bg-grey); color: var(--body); padding: 40px 0 44px; }
.hero h1 { color: var(--ink); }
.hero h1 strong { color: var(--blue); font-weight: 800; }
.hero-grid { display: grid; gap: 30px; }
.hero-sub { margin-top: 12px; font-size: 17px; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips li { font-size: 13px; font-weight: 600; color: var(--body); padding: 5px 11px; border-radius: 999px; background: #fff; }
.hero-cta { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
.hero .hint { margin-top: 10px; }
.report { position: relative; display: block; background: #fff; color: var(--body); border-radius: var(--r); padding: 20px; text-decoration: none; box-shadow: var(--shadow-lg); overflow: hidden; }
.report-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.report-tag { font-weight: 700; color: var(--gold-text); }
.report-top { justify-content: flex-start !important; gap: 8px; }
.report-date { color: var(--sub); font-variant-numeric: tabular-nums; }
.report-car { margin-top: 10px; padding-right: 76px; font-size: 19px; line-height: 1.35; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.report-flow { margin-top: 14px; display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.report-flow div { display: flex; justify-content: space-between; padding: 3px 0; font-size: 15px; }
.report-flow dd { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.report-flow .is-bid dd { color: var(--red); font-weight: 800; }
.report-total { margin-top: 10px; padding-top: 12px; border-top: 2px solid var(--navy); display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); font-weight: 700; }
.report-total strong { font-size: 28px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-weight: 800; }
.report-note { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--sub); }
.report-icon { position: absolute; right: 8px; top: 28px; width: 76px; height: 76px; }

/* 홈 섹션 리듬 */
.home > .block { padding: var(--sec) var(--pad); max-width: 1240px; margin: 0 auto; }
.home > .block.band, .home > .block.band-full { max-width: none; background: var(--bg-alt); }
.band .note, .notice { color: var(--soft); }
.home > .block.band > * { max-width: 1192px; margin-left: auto; margin-right: auto; }
.home .cta-band { margin: 0; border-radius: 0; }
.home .cta-inner { max-width: 1192px; margin: 0 auto; }
.block > h2 { margin-bottom: 20px; }
.home .block > h2 { margin-bottom: 24px; }

/* 페이지 머리 */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 16px 0 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--soft); margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #aab3c0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lead { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--body); }
.page-icon { width: 76px; height: 76px; flex: 0 0 auto; }
.flow { min-width: 0; padding: 8px 0 40px; }
.flow > .block { padding-top: 40px; }
.flow > .block > h2 { font-size: 22px; line-height: 30px; margin-bottom: 14px; }
.flow > .answer { margin-top: 28px; }
.with-aside .side-cta { display: none; }
.byline { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); }

/* 즉답 */
.answer { background: var(--blue-bg); color: var(--ink); border-radius: var(--r-sm); padding: 18px 20px; }
.answer-tag { display: block; font-size: 13px; font-weight: 700; color: var(--gold-on-navy); margin-bottom: 4px; }
.answer p { font-size: 17px; line-height: 1.55; font-weight: 600; letter-spacing: -.02em; }
.answer a { color: var(--gold-on-navy); }

/* 본문 */
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 12px; display: grid; gap: 6px; }
.prose ul li { position: relative; padding-left: 16px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 2px; background: var(--gold-line); }
.prose a, .faq a, .note a, td a { color: var(--blue-text); }
.prose strong { color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
table.table-wide { min-width: 520px; }
th, td { padding: 12px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-alt); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
tbody th { color: var(--ink); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.note { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--sub); }
.notice { margin-top: 28px; padding: 12px 14px; background: var(--bg-alt); border-left: 3px solid var(--gold-line); border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.6; color: var(--body); }
.facts { display: grid; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.facts dt { color: var(--sub); }
.facts dd { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.facts .is-bid dd { color: var(--red); font-weight: 800; }
.facts .is-total dd { font-size: 19px; font-weight: 800; }

/* 단계 */
.steps { counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-content: center; border-radius: 50%; background: var(--blue-bg); color: var(--blue-text); font-size: 14px; font-weight: 800; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--ink); font-size: 17px; letter-spacing: -.02em; line-height: 30px; }
.steps p { font-size: 15px; line-height: 1.6; }

/* 비용 막대 */
.costbar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; gap: 2px; }
.seg-0 { background: var(--blue); } .seg-1 { background: #90c2ff; } .seg-2 { background: #b0b8c1; } .seg-3 { background: #d1d6db; }
.costlist { margin-top: 14px; display: grid; }
.costlist li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.costlist b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }
.costlist .dot { width: 10px; height: 10px; border-radius: 3px; }
.costlist .total { border-bottom: 0; border-top: 2px solid var(--navy); margin-top: -1px; color: var(--ink); font-weight: 700; }
.costlist .total b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }

/* 카드 */
.cards { display: grid; gap: 12px; }
.card { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: start; align-content: start; padding: 18px; background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; height: 100%; }
.card:hover { box-shadow: inset 0 0 0 1px var(--gold-line), var(--shadow); transform: translateY(-2px); }
.card img { width: 64px; height: 64px; grid-row: 1 / span 3; }
.card strong { color: var(--ink); font-size: 18px; line-height: 1.35; letter-spacing: -.03em; font-weight: 800; }
.card p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; }
.card-more { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--gold-text); }
.more { margin-top: 18px; }
.more a { font-weight: 700; color: var(--blue-text); }

/* 사례 카드 */
.case-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.case-rail::-webkit-scrollbar { display: none; }
.case-rail > li { flex: 0 0 280px; scroll-snap-align: start; scroll-margin-left: var(--pad); display: flex; }
.case-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 18px; background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); text-decoration: none; transition: transform .15s ease; }
.case-card:hover { transform: translateY(-2px); }
.case-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--gold-text); }
.case-region { color: var(--sub); font-weight: 500; }
.case-name { margin-top: 8px; font-size: 18px; line-height: 1.35; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.case-sub { margin-top: 2px; font-size: 13px; color: var(--sub); }
.case-rows { margin-top: auto; padding-top: 14px; }
.case-rows div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; border-top: 1px solid #edf0f4; }
.case-rows dd { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.case-rows .is-bid dd { color: var(--red); font-weight: 800; }
.case-rows .is-total dd { font-weight: 800; font-size: 16px; }
.case-video { position: absolute; right: 14px; bottom: -1px; display: none; }

/* 가이드 목록 */
.guide-list { display: grid; border-top: 1px solid var(--line); }
.guide-list a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-list strong { display: block; color: var(--ink); font-size: 17px; line-height: 1.4; letter-spacing: -.02em; }
.guide-list span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--sub); }
.guide-list a:hover strong { color: var(--blue-text); }
.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.area-list a { display: block; text-align: center; padding: 11px 4px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; color: var(--ink); font-size: 15px; }
.area-list a:hover { box-shadow: inset 0 0 0 1px var(--navy); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; color: var(--ink); cursor: pointer; line-height: 1.45; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 9px; height: 9px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq details > div { padding: 0 4px 18px 0; font-size: 15.5px; }

/* 관련 글 */
.related { display: grid; gap: 8px; }
.related a { display: block; padding: 13px 15px; border-radius: var(--r-sm); background: var(--bg-alt); text-decoration: none; }
.related a:hover { background: var(--bg-grey); }
.related strong { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.4; }
.related span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--sub); }

/* 상담 배너 */
.cta-band { margin-top: 44px; background: var(--blue-bg); color: var(--soft); border-radius: var(--r); padding: 28px 22px; }
.cta-inner { display: grid; gap: 14px; }
.cta-inner > img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.cta-copy h2 { color: var(--ink); font-size: 23px; line-height: 31px; }
.cta-copy p { margin-top: 6px; }
.cta-btns { display: grid; gap: 8px; }
.cta-btns .hint { margin-top: 2px; }

/* 영상 */
.video { position: relative; display: block; width: 100%; max-width: 300px; aspect-ratio: 9/16; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--ink); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255,255,255,.94); }
.video-play::after { content: ""; position: absolute; left: 24px; top: 18px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--blue-text); }
.video-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(25,31,40,.88)); color: #fff; font-size: 14.5px; line-height: 1.4; font-weight: 600; text-align: left; }
.video-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 8px; scrollbar-width: none; }
.video-rail::-webkit-scrollbar { display: none; }
.video-rail > li { flex: 0 0 216px; scroll-snap-align: start; scroll-margin-left: var(--pad); }
.video-frame { width: 100%; max-width: 300px; aspect-ratio: 9/16; border: 0; border-radius: var(--r); display: block; }

/* 푸터 */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); color: var(--soft); padding: 44px 0 40px; font-size: 14px; line-height: 1.65; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid { display: grid; gap: 30px; }
.foot-brand img { height: 32px; width: auto; }
.foot-slogan { margin-top: 8px; color: var(--gold-on-navy); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.foot-social { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.foot-nav strong { display: block; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.foot-nav li { padding: 2px 0; }
.foot-biz dl > div { display: flex; gap: 8px; }
.foot-biz dt { flex: 0 0 auto; color: var(--soft); }
.foot-biz dd { color: var(--body); }
.foot-biz p { margin-top: 12px; font-size: 13px; }
.foot-legal strong { color: var(--ink); }

.notfound { padding: 90px var(--pad); min-height: 50vh; }
.notfound h1 { margin-bottom: 8px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 10px; font-size: 14px; z-index: 90; }

@media (min-width: 640px) {
  .hero-cta { grid-template-columns: auto auto; justify-content: start; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { grid-template-columns: 1fr 1fr; }
  .cta-btns .hint { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  :root { --head: 65px; --sec: 88px; --pad: 24px; }
  body { padding-bottom: 0; font-size: 17px; line-height: 1.72; }
  h1 { font-size: 46px; line-height: 58px; }
  h2 { font-size: 40px; line-height: 50px; }
  .eyebrow { font-size: 16px; }
  .sticky-bar, .nav-mob { display: none; }
  .logo img { height: 36px; }
  .nav-desk { display: block; flex: 1; margin-left: 24px; }
  .nav-desk > ul { display: flex; gap: 2px; }
  .nav-desk > ul > li { position: relative; }
  .nav-desk > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: none; }
  .nav-desk > ul > li > a:hover, .nav-desk a.is-active { background: var(--bg-grey); }
  .sub { position: absolute; top: 100%; left: 0; min-width: 190px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .12s ease, transform .12s ease; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 15px; text-decoration: none; color: var(--body); white-space: nowrap; }
  .sub a:hover { background: var(--bg-alt); color: var(--ink); }
  .hdr-cta { display: flex; align-items: center; gap: 14px; }
  .hdr-phone { font-weight: 700; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; font-size: 16px; letter-spacing: -.01em; }
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
  .hero h1 { font-size: 50px; line-height: 64px; }
  .hero-sub { font-size: 20px; margin-top: 16px; }
  .chips { margin-top: 24px; }
  .chips li { font-size: 14px; padding: 6px 13px; }
  .hero-cta { margin-top: 32px; }
  .report { padding: 28px; }
  .report-car { font-size: 23px; padding-right: 110px; }
  .report-flow div { font-size: 16px; padding: 5px 0; }
  .report-total strong { font-size: 34px; }
  .report-icon { width: 112px; height: 112px; right: 16px; top: 28px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { grid-template-columns: 1fr; padding: 26px; }
  .card img { width: 96px; height: 96px; grid-row: auto; margin-bottom: 14px; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .video-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); gap: 24px; overflow: visible; margin: 0; padding: 4px 0 0; }
  .card strong { font-size: 21px; }
  .card p { font-size: 15.5px; margin-top: 6px; }
  .case-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 4px 0 0; }
  .home .steps { grid-template-columns: repeat(7, 1fr); gap: 14px; }
  .home .steps li { padding: 44px 0 0; }
  .home .steps li::after { left: 30px; right: -14px; top: 14px; bottom: auto; width: auto; height: 2px; }
  .home .steps strong { font-size: 16px; line-height: 1.35; }
  .home .steps p { font-size: 14px; margin-top: 4px; }
  .page-head { padding: 20px 0 44px; }
  .page-head h1 { font-size: 40px; line-height: 52px; }
  .lead { font-size: 19px; margin-top: 14px; max-width: 780px; }
  .page-icon { width: 120px; height: 120px; }
  .with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
  .with-aside .flow { max-width: 780px; }
  .with-aside .side-cta { display: block; position: sticky; top: 89px; padding-top: 48px; }
  .side-card { display: grid; gap: 10px; padding: 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
  .side-card strong { color: var(--ink); font-size: 18px; line-height: 1.4; letter-spacing: -.02em; }
  .side-card p { font-size: 14.5px; line-height: 1.5; color: var(--sub); margin-bottom: 4px; }
  .side-card .btn { min-height: 50px; font-size: 16px; }
  .flow > .block { padding-top: 52px; }
  .flow > .block > h2 { font-size: 26px; line-height: 35px; margin-bottom: 16px; }
  .flow-wide .flow { max-width: 1200px; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 40px; }
  .cta-inner { grid-template-columns: 80px 1fr; gap: 16px 22px; align-items: center; }
  .cta-inner > img { width: 80px; height: 80px; }
  .cta-copy h2 { font-size: 26px; line-height: 35px; }
  .cta-btns { grid-column: 1 / -1; }
  .home .cta-inner { grid-template-columns: 112px 1fr 420px; gap: 32px; }
  .home .cta-inner > img { width: 112px; height: 112px; }
  .home .cta-copy h2 { font-size: 36px; line-height: 46px; }
  .home .cta-btns { grid-column: auto; }
  .home .cta-band { padding: 72px 24px; }
  .guide-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .site-footer { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr 2fr 1.4fr; gap: 56px; }
  .foot-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

.figure { margin: 0; padding-top: 40px; }
.figure img { width: 100%; border-radius: var(--r-sm); }
.figure figcaption { margin-top: 8px; font-size: 13px; color: var(--sub); }

.case-card { overflow: hidden; }
.case-photo { position: relative; display: block; margin: -18px -18px 14px; aspect-ratio: 4/3; background: var(--bg-alt); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-photo em { position: absolute; left: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(25,31,40,.78); color: #fff; font-size: 12px; font-style: normal; font-weight: 600; }
.report { padding: 0 !important; }
.report-photo { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.report-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.report-body { padding: 18px 20px 20px; }
.report-car { padding-right: 0 !important; }
.figure a { color: var(--blue-text); }
.flow > .figure:first-child { padding-top: 28px; }
@media (min-width: 1024px) { .report-body { padding: 22px 28px 26px; } .figure { padding-top: 52px; } .flow > .figure:first-child { padding-top: 40px; } }

/* 정렬 보정: 칩과 버튼의 양끝을 같은 선에 맞춘다 */
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chips li { padding: 7px 2px; text-align: center; white-space: nowrap; font-size: clamp(11px, 3.35vw, 13px); letter-spacing: -.03em; }
.video { aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; text-align: left; }
.video img { height: auto; aspect-ratio: 9/16; border-radius: var(--r); background: var(--ink); }
.video-play { top: calc(50% - 22px); }
.video-title { position: static; display: block; padding: 10px 2px 0; background: none; color: var(--ink); font-size: 14.5px; line-height: 1.45; }
@media (min-width: 640px) {
  .hero-copy .chips, .hero-copy .hero-cta { max-width: 480px; }
  .hero-cta { grid-template-columns: 1fr 1fr; justify-content: stretch; }
}
@media (min-width: 1024px) {
  .chips li { font-size: 14px; padding: 7px 4px; }
  .card { display: flex; flex-direction: column; }
  .card-more { margin-top: auto; padding-top: 12px; }
  .related:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}

/* 입체감: 그림자 단계와 배경 층 */
:root {
  --e1: 0 1px 2px rgba(0, 27, 55, .05), 0 2px 8px rgba(0, 27, 55, .06);
  --e2: 0 1px 3px rgba(0, 27, 55, .05), 0 8px 24px rgba(0, 27, 55, .09);
  --e3: 0 2px 6px rgba(0, 27, 55, .06), 0 20px 48px rgba(0, 27, 55, .16);
  --e4: 0 4px 10px rgba(0, 27, 55, .08), 0 28px 60px rgba(0, 27, 55, .18);
  --ring: 0 0 0 1px rgba(0, 27, 55, .04);
}
/* 헤더와 하단 바가 콘텐츠 위에 떠 있게 */
.site-header { border-bottom: 0; box-shadow: 0 1px 0 rgba(0,27,55,.05), 0 6px 18px rgba(0,27,55,.06); }
.sticky-bar { border-top: 0; box-shadow: 0 -1px 0 rgba(0,27,55,.05), 0 -8px 24px rgba(0,27,55,.10); }
/* 버튼: 색이 묻어나는 그림자, 위쪽 빛, 눌림 */
.btn { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 4px rgba(0,27,55,.10), 0 8px 18px rgba(0,27,55,.10); transition: transform .14s ease, box-shadow .14s ease; }
.btn-kakao { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 4px rgba(160,130,0,.22), 0 10px 22px rgba(190,160,0,.30); }
.btn-tel { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 4px rgba(27,100,218,.24), 0 10px 22px rgba(27,100,218,.30); }
.btn-outline { box-shadow: var(--ring), var(--e1); }
.btn:hover { transform: translateY(-2px); }
.btn-kakao:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 4px 6px rgba(160,130,0,.24), 0 16px 30px rgba(190,160,0,.36); }
.btn-tel:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 6px rgba(27,100,218,.26), 0 16px 30px rgba(27,100,218,.36); }
.btn:active { transform: translateY(1px) scale(.99); box-shadow: inset 0 2px 4px rgba(0,27,55,.14), 0 1px 2px rgba(0,27,55,.10); }
/* 히어로 */
.hero { position: relative; overflow: hidden; background: radial-gradient(70% 80% at 82% 38%, rgba(49,130,246,.20) 0%, rgba(49,130,246,0) 70%), linear-gradient(180deg, #f2f4f6 0%, #e9eef6 100%); }
.chips li { box-shadow: var(--ring), var(--e1); }
.report { box-shadow: var(--ring), var(--e4); transition: transform .18s ease, box-shadow .18s ease; }
.report:hover { transform: translateY(-4px); }
.report-photo { position: relative; }
.report-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36%; background: linear-gradient(transparent, rgba(0,20,45,.20)); pointer-events: none; }
/* 3D 아이콘 바닥 그림자 */
.card img, .page-icon { filter: drop-shadow(0 10px 10px rgba(0,27,55,.20)); }
/* 카드 */
.card, .case-card, .side-card { background: #fff; box-shadow: var(--ring), var(--e2); }
.card, .case-card { transition: transform .18s ease, box-shadow .18s ease; }
.card:hover, .case-card:hover { transform: translateY(-4px); box-shadow: var(--ring), var(--e3); }
.case-photo { overflow: hidden; }
.case-photo img { transition: transform .3s ease; }
.case-card:hover .case-photo img { transform: scale(1.03); }
.case-rail { padding-top: 8px; padding-bottom: 28px; }
.side-card { box-shadow: var(--ring), var(--e3); }
/* 답변, 표, 값, 질문을 흰 판으로 */
.answer { background: linear-gradient(135deg, #eef6ff 0%, #e3f0ff 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(27,100,218,.08), 0 8px 20px rgba(27,100,218,.10); }
.table-wrap { border: 0; background: #fff; box-shadow: var(--ring), var(--e2); }
.facts { border-top: 0; padding: 4px 16px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--ring), var(--e2); }
.facts > div:last-child { border-bottom: 0; }
.faq { border-top: 0; padding: 0 16px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--ring), var(--e2); }
.faq details:last-child { border-bottom: 0; }
.related a { background: #fff; box-shadow: var(--ring), var(--e1); transition: transform .14s ease, box-shadow .14s ease; }
.related a:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--ring), var(--e2); }
.guide-list { border-top: 0; gap: 10px; }
.guide-list a { padding: 15px 16px; border-bottom: 0; border-radius: var(--r-sm); background: #fff; box-shadow: var(--ring), var(--e1); transition: transform .14s ease, box-shadow .14s ease; height: 100%; }
.guide-list a:hover { transform: translateY(-2px); box-shadow: var(--ring), var(--e2); }
.area-list a { background: #fff; box-shadow: var(--ring), var(--e1); }
.area-list a:hover { box-shadow: var(--ring), var(--e2); }
.notice { border-radius: 0 10px 10px 0; box-shadow: var(--e1); background: #fff; }
.figure img, .video img, .video-frame { box-shadow: var(--ring), var(--e2); }
.video { transition: transform .18s ease; }
.video:hover { transform: translateY(-3px); }
.video-play { box-shadow: 0 6px 18px rgba(0,27,55,.28); }
/* 단계와 비용 */
.steps { padding: 20px 18px; background: #fff; border-radius: var(--r); box-shadow: var(--ring), var(--e2); }
.steps li::before { background: linear-gradient(180deg, #2272eb 0%, #1957c2 100%); color: #fff; box-shadow: 0 2px 4px rgba(27,100,218,.24), 0 6px 12px rgba(27,100,218,.24); }
.cost-panel { padding: 20px 18px 8px; background: #fff; border-radius: var(--r); box-shadow: var(--ring), var(--e2); }
.costbar { height: 26px; padding: 3px; background: var(--bg-grey); border-radius: 10px; box-shadow: inset 0 1px 3px rgba(0,27,55,.14); }
.costbar .seg { border-radius: 7px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,27,55,.16); }
/* 상담 배너 */
.cta-band { background: linear-gradient(135deg, #eaf4ff 0%, #d5e7ff 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), var(--e2); }
.home .cta-band { box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.cta-inner > img { box-shadow: var(--e3); }
/* 면 층: 흰 카드가 뜨도록 회색 면을 깐다 */
.home > .block.band { background: var(--bg-grey); }
.home > .block:has(.case-rail), .home > .block:has(.guide-list), .home > .block:has(.faq) { max-width: none; background: var(--bg-grey); }
.flow > .related, .flow > .block { position: relative; }
.page-head { border-bottom: 0; background: linear-gradient(180deg, #f2f4f6 0%, #f7f9fb 100%); box-shadow: inset 0 -1px 0 rgba(0,27,55,.04); }
.site-footer { box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
@media (min-width: 1024px) {
  .home > .block:has(.case-rail) > *, .home > .block:has(.guide-list) > *, .home > .block:has(.faq) > * { max-width: 1192px; margin-left: auto; margin-right: auto; }
  .home .steps { padding: 28px 24px; }
  .home .steps li::after { left: 34px; right: -14px; }
  .case-rail { padding-bottom: 8px; }
  .cost-panel { padding: 28px 28px 12px; }
  .guide-list { column-gap: 10px; }
}

.report-photo { aspect-ratio: 16/10; }

/* 차급 라인업 */
.lineup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lineup-card { display: flex; flex-direction: column; height: 100%; padding-bottom: 14px; overflow: hidden; background: #fff; border-radius: var(--r); box-shadow: var(--ring), var(--e2); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.lineup-card:hover { transform: translateY(-4px); box-shadow: var(--ring), var(--e3); }
.lineup-photo { position: relative; display: block; aspect-ratio: 16/10; margin-bottom: 10px; overflow: hidden; }
.lineup-photo img { width: 100%; height: 100%; object-fit: cover; }
.lineup-photo em { position: absolute; left: 8px; bottom: 8px; padding: 1px 7px; border-radius: 6px; background: rgba(25,31,40,.72); color: #fff; font-size: 11px; font-style: normal; font-weight: 600; }
.lineup-card strong { padding: 0 14px; color: var(--ink); font-size: 16.5px; line-height: 1.35; font-weight: 800; letter-spacing: -.03em; }
.lineup-text { margin-top: 3px; padding: 0 14px; color: var(--soft); font-size: 13.5px; line-height: 1.45; }
.block .lineup + .note { margin-top: 14px; }
.flow .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) {
  .lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .flow .lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .lineup-card strong { font-size: 19px; }
  .lineup-text { font-size: 14.5px; }
  .flow .lineup-card strong { font-size: 16px; }
  .flow .lineup-text { font-size: 13px; }
}

/* 빛 효과: 글자 안에서만 밝은 빛이 지나간다. 글자 밖으로 번지는 그림자는 쓰지 않는다 */
@keyframes sweep-text { 0% { background-position: 120% 50%; } 55%, 100% { background-position: -20% 50%; } }
@keyframes sweep-btn { 0%, 72% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(340%) skewX(-18deg); } }
.case-rail > li:nth-child(2n) dd, .case-rail > li:nth-child(2n) .is-bid dd { animation-delay: .9s; }
.case-rail > li:nth-child(3n) dd { animation-delay: 1.8s; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 strong {
    color: transparent;
    background: linear-gradient(100deg, #3182f6 0%, #3182f6 38%, #1957c2 50%, #3182f6 62%, #3182f6 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    animation: sweep-text 5.5s ease-in-out infinite;
  }
}
.hero-cta .btn { position: relative; overflow: hidden; isolation: isolate; }
.hero-cta .btn::after { content: ""; position: absolute; inset: -20% auto -20% 0; z-index: -1; width: 34%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0)); transform: translateX(-140%) skewX(-18deg); animation: sweep-btn 6.5s ease-in-out infinite; pointer-events: none; }
.hero-cta .btn-tel::after { animation-delay: .5s; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.28), rgba(255,255,255,0)); }
@media (prefers-reduced-motion: reduce) {
  .hero h1 strong, .hero-cta .btn::after { animation: none !important; }
  .hero h1 strong { color: var(--blue); background: none; }
}

/* 낙찰가와 총비용은 빨간색, 빛은 글자 안에서만 */
.price-shine, .report-total strong, .case-rows .is-total dd, .facts .is-total dd, .costlist .total b, .report-flow .is-bid dd, .case-rows .is-bid dd, .facts .is-bid dd { color: var(--red); text-shadow: none; }
.facts .is-bid dd, .facts .is-total dd { justify-self: start; }
@keyframes shine-price { 0%, 30% { background-position: 130% 50%; } 80%, 100% { background-position: -30% 50%; } }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .price-shine, .report-total strong, .case-rows .is-total dd, .facts .is-total dd, .costlist .total b, .report-flow .is-bid dd, .case-rows .is-bid dd, .facts .is-bid dd {
    color: transparent;
    background: linear-gradient(100deg, var(--red) 0%, var(--red) 40%, #ff7a84 50%, var(--red) 60%, var(--red) 100%);
    background-size: 260% 100%;
    background-position: 130% 50%;
    -webkit-background-clip: text; background-clip: text;
    animation: shine-price 4.2s ease-in-out infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .price-shine, .report-total strong, .case-rows .is-total dd, .facts .is-total dd, .costlist .total b, .report-flow .is-bid dd, .case-rows .is-bid dd, .facts .is-bid dd { animation: none !important; color: var(--red); background: none; }
}
.price-shine { display: inline-block; font-weight: 800; }
@media (min-width: 1024px) {
  .cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .cards-5 .card { padding: 20px; }
  .cards-5 .card strong { font-size: 18px; }
  .cards-5 .card p { font-size: 14.5px; }
  .cards-5 .card img { width: 80px; height: 80px; }
}
/* 서비스 5칸: 태블릿은 3+2로 빈칸 없이 채움 */
@media (min-width: 640px) and (max-width: 1023px) {
  .cards-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards-5 > li { grid-column: span 2; }
  .cards-5 > li:nth-child(n+4) { grid-column: span 3; }
}
/* 작은 데스크톱: 메뉴 7개가 한 줄에 들어가게 */
.nav-desk > ul > li > a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1119px) {
  .nav-desk { margin-left: 12px; }
  .nav-desk > ul { gap: 0; }
  .nav-desk > ul > li > a { padding: 8px 7px; font-size: 15px; }
}
