/* 볕들 리모델링: 모든 쪽이 함께 쓰는 스타일 */
:root {
  --ink: #1E1C19;
  --ink-2: #34312C;
  --muted: #5F5A53;
  --bg: #FFFFFF;
  --soft: #F6F4F0;
  --line: #E7E3DC;
  --line-2: #D6D0C6;
  --amber: #C77A2B;        /* 볕: 고른 견본, 소음 작업 */
  --amber-text: #9A5615;   /* 흰 바탕 위 글자용 */
  --amber-soft: #FBF0E2;
  --red: #B23A2C;
  --radius: 14px;
  --wrap: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-color: var(--ink) var(--soft); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { display: flex; flex-direction: column; min-height: 100svh; background: var(--bg); color: var(--ink); font-family: 'SUIT Variable', SUIT, 'Malgun Gothic', sans-serif; font-size: 17px; font-weight: 500; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; caret-color: var(--ink); }
main { flex: 1; }
::selection { background: #EAE4DA; color: var(--ink); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 90px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 40px; }
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 14px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hidden { display: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 10px; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.btn i { font-size: 19px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--line-2); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #EFEAE2; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* 머리글 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; margin-right: auto; font-size: 24px; font-weight: 900; letter-spacing: -0.04em; text-decoration: none; }
.logo small { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--muted); }
.nav { display: flex; gap: 4px; font-size: 16px; font-weight: 600; }
.nav a { padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; }
.tel i { font-size: 18px; }
.top .btn { height: 44px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; }
.m-nav { display: none; }

/* 첫 화면: 큰 거실 사진 */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(560px, calc(100svh - 72px - 64px), 780px); overflow: hidden; background: #D9D4CC; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 21, 17, .74) 0%, rgba(24, 21, 17, .62) 46%, rgba(24, 21, 17, .18) 70%, rgba(24, 21, 17, 0) 84%), linear-gradient(0deg, rgba(24, 21, 17, .5) 0%, rgba(24, 21, 17, 0) 44%); }
.hero-in { position: relative; z-index: 1; width: 100%; padding-block: 64px; color: #fff; }
.hero h1 { max-width: 13em; font-size: 58px; line-height: 1.16; letter-spacing: -0.04em; }
.hero .lead { max-width: 31em; margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.photo-note { position: absolute; right: 16px; bottom: 14px; z-index: 1; padding: 3px 10px; border-radius: 999px; background: rgba(30, 28, 25, .62); font-size: 12px; font-weight: 600; color: #fff; }
.facts-bar { border-bottom: 1px solid var(--line); }
.facts-bar ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-bar li { display: flex; align-items: center; gap: 10px; padding: 20px 0; font-size: 16px; color: var(--muted); }
.facts-bar li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts-bar i { font-size: 22px; color: var(--ink); }
.facts-bar b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }

/* 구역 */
.section { padding-block: 104px; }
.soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section-head h2, .config h2 { font-size: 38px; line-height: 1.25; }
.section-head p, .sec-sub { max-width: 38em; margin-top: 10px; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }

/* 자재 고르기와 견적표 */
.config { padding-block: 96px 104px; }
.config-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.board { display: grid; gap: 28px; margin-top: 36px; }
.mrow { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.mrow-label b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.mrow-label span { font-size: 14px; color: var(--muted); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.chip { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: left; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.chip:hover { border-color: var(--line-2); }
.chip[aria-pressed="true"] { border-color: var(--amber); box-shadow: inset 0 0 0 1.5px var(--amber); }
.chip .sw { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; background: var(--soft) center / cover no-repeat; }
.chip .tag { display: block; padding: 12px 14px 14px; }
.chip .tag b { display: block; font-size: 15px; font-weight: 800; line-height: 1.4; letter-spacing: -0.02em; }
.chip .spec { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.chip .delta { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.chip .flag { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s ease-out, transform .25s cubic-bezier(.2, 1.2, .4, 1); }
.chip .flag::after { content: ""; width: 10px; height: 6px; margin-top: -3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.chip[aria-pressed="true"] .flag { opacity: 1; transform: none; }
.sheet { position: sticky; top: 96px; padding: 26px 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sheet-head h2 { font-size: 21px; }
.sheet-head span { font-size: 14px; color: var(--muted); }
.sheet-sw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.sheet-sw figure { margin: 0; }
.sheet-sw .sw { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; }
.sheet-sw figcaption { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; }
.lines { font-size: 15px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.line dt { font-weight: 700; color: var(--muted); }
.line .v b { font-weight: 700; }
.line .n { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line.base .v { font-size: 13.5px; color: var(--muted); }
.line.sum { border-bottom: 0; }
.line.sum dt, .line.sum .n { color: var(--ink); }
.total { margin-top: 4px; padding-top: 14px; border-top: 2px solid var(--ink); }
.total .k { font-size: 14px; font-weight: 700; }
.total .k span { margin-left: 6px; font-weight: 500; color: var(--muted); }
.total-num { margin-top: 2px; font-size: 34px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.total-num small { margin-left: 4px; font-size: 18px; font-weight: 700; }
.weeks { font-size: 15px; font-weight: 700; }
.weeks span { font-weight: 500; color: var(--muted); }
.sheet .btn { width: 100%; margin-top: 16px; }
.fine { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* 시공 사례 카드 */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border-radius: 16px; text-decoration: none; transition: box-shadow .2s ease-out, transform .2s ease-out; }
.case-link:hover { box-shadow: 0 22px 44px -28px rgba(30, 28, 25, .45); transform: translateY(-2px); }
.case-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.case-body { padding: 20px 22px 22px; }
.case-body h3 { font-size: 20px; line-height: 1.4; }
.case-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.case-facts span + span { color: var(--ink); }
.mats { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.mats li { display: flex; align-items: center; gap: 10px; }
.sw { flex: none; display: inline-block; width: 26px; height: 26px; border-radius: 6px; background: var(--soft) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(30, 28, 25, .08); }

/* 공정표 */
.gantt { overflow-x: auto; padding: 24px 28px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.gantt table { width: 100%; min-width: 620px; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.gantt th, .gantt td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 600; }
.gantt thead th { font-size: 14px; color: var(--muted); }
.gantt thead th:first-child, .gantt tbody th { width: 30%; }
.gantt tbody tr:last-child th, .gantt tbody tr:last-child td { border-bottom: 0; }
.bar { display: block; height: 14px; border-radius: 7px; background: var(--ink-2); }
.bar.noise { background: var(--amber); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 22px; height: 10px; border-radius: 5px; background: var(--ink-2); }
.legend i.noise { background: var(--amber); }

/* 약속: 구분선으로 나눈 글 줄 */
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.promises li { padding: 22px 0 24px; border-top: 1px solid var(--line-2); }
.promises h3 { font-size: 20px; }
.promises p { max-width: 34em; margin-top: 6px; font-size: 16px; color: var(--muted); }

/* 8단계: 한 줄 공정 */
.steps-strip { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.steps-strip::before { content: ""; position: absolute; left: 15px; right: 15px; top: 15px; height: 2px; background: var(--line-2); }
.steps-strip a { position: relative; display: flex; flex-direction: column; gap: 2px; padding-right: 12px; text-decoration: none; }
.steps-strip .no { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 6px var(--bg); }
.steps-strip b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.steps-strip a:hover b { text-decoration: underline; }
.steps-strip span:last-child { font-size: 13.5px; color: var(--muted); }

/* 마무리 권유 */
.close { background: var(--ink); color: #D9D4CC; }
.close-in { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 72px; }
.close h2 { font-size: 34px; line-height: 1.3; color: #fff; }
.close p { margin-top: 8px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; }
.close .btn-ink { background: #fff; color: var(--ink); }
.close .btn-ink:hover { background: #EFEAE2; }
.close .btn-line { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.close .btn-line:hover { background: rgba(255, 255, 255, .1); }
.combo { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.combo .stack { display: flex; }
.combo .stack .sw { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--ink); box-shadow: none; }
.combo .stack .sw + .sw { margin-left: -12px; }
.combo-sum { margin: 0; font-size: 15px; }
.combo-sum b { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }
.combo-sum .wk { white-space: nowrap; }
.combo-sum .wk::before { content: " · "; }
.combo-sum .combo-names { display: block; font-size: 13.5px; color: #B9B2A8; }

/* 하위 쪽 머리 */
.page-head { padding-block: 64px 48px; }
.page-head h1 { font-size: 46px; line-height: 1.2; }
.page-head .lead { max-width: 40em; margin-top: 14px; font-size: 18px; color: var(--muted); }
.page-head .note { margin-top: 10px; }

/* 시공 사례 쪽 */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; }
.filters button { height: 42px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 700; transition: border-color .15s ease-out, background-color .15s ease-out; }
.filters button:hover { border-color: var(--line-2); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .small { margin-left: 8px; }
.case-full { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; padding-block: 40px; border-top: 1px solid var(--line); }
.case-full[hidden] { display: none; }
.case-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 3 / 2; }
.case-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--line); }
.case-photos img:first-child { grid-row: span 2; }
.case-info h2 { font-size: 28px; line-height: 1.3; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin-top: 16px; padding: 16px 18px; background: var(--soft); border-radius: 12px; font-size: 16px; }
.facts dt { font-weight: 700; color: var(--muted); }
.facts dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.case-info h3 { margin-top: 22px; font-size: 16px; }
.legend-list { display: grid; gap: 8px; margin-top: 10px; font-size: 15px; color: var(--muted); }
.legend-list li { display: flex; align-items: center; gap: 10px; }
.legend-list b { color: var(--ink); }
.case-info .btn { margin-top: 22px; }
.cases-note { margin-block: 8px 96px; }
.price-sec { padding-bottom: 80px; }
.price-note { margin-top: 12px; }
.listbox-note { margin-top: 14px; }
.after-gantt { margin-top: 32px; }
.notice-note { margin-top: 8px; }


/* 비용·기간 쪽 */
.price-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.price-table caption { padding: 16px 20px 0; font-size: 14px; color: var(--muted); text-align: left; }
.price-table th, .price-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th { font-size: 14px; color: var(--muted); font-weight: 700; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { font-size: 18px; font-weight: 800; }
.price-table td.num { font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 24px; }
.listbox { padding-top: 18px; border-top: 2px solid var(--ink); }
.listbox h3 { font-size: 19px; }
.listbox ul { display: grid; margin-top: 8px; }
.listbox li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.listbox li i { flex: none; margin-top: 4px; font-size: 18px; color: var(--muted); }
.rules { counter-reset: r; border-top: 2px solid var(--ink); }
.rules li { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: r; }
.rules li::before { content: counter(r); font-size: 22px; font-weight: 900; line-height: 1.3; }
.rules h3 { font-size: 19px; }
.rules p { max-width: 46em; margin-top: 4px; font-size: 16px; color: var(--muted); }

/* 진행 과정 쪽 */
.process { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 96px; }
.rail { position: sticky; top: 96px; display: grid; gap: 2px; }
.rail a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 15px; text-decoration: none; color: var(--muted); }
.rail a:hover { background: var(--soft); color: var(--ink); }
.rail a[aria-current="step"] { background: var(--soft); color: var(--ink); font-weight: 700; }
.rail .no { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); font-size: 12px; font-weight: 800; color: var(--ink); }
.rail a[aria-current="step"] .no { background: var(--ink); color: #fff; }
.step { padding: 40px 0; border-top: 1px solid var(--line); }
.step:first-child { padding-top: 0; border-top: 0; }
.step-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.step-top .no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 17px; font-weight: 800; }
.copy-link { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.copy-link:hover { border-color: var(--line-2); color: var(--ink); }
.step h2 { margin-top: 14px; font-size: 28px; }
.step > p { max-width: 40em; margin-top: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.meta div { padding: 10px 14px; background: var(--soft); border-radius: 10px; }
.meta dt { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.meta dd { font-size: 15px; font-weight: 700; }
.house { display: flex; gap: 10px; max-width: 44em; margin-top: 16px; padding: 14px 16px; background: var(--soft); border-radius: 12px; font-size: 15px; }
.house i { flex: none; margin-top: 3px; font-size: 19px; color: var(--ink); }
.notice { max-width: 520px; margin-top: 18px; padding: 22px 24px; background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; }
.notice h3 { padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 19px; text-align: center; }
.notice table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 15px; }
.notice th, .notice td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.notice th { width: 32%; font-weight: 700; color: var(--muted); }
.notice tr:last-child th, .notice tr:last-child td { border-bottom: 0; }

/* 견적 문의 쪽 */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; padding-bottom: 96px; }
.form { display: grid; gap: 22px; }
.form > h2 { font-size: 23px; }
.picked { padding: 18px 20px; background: var(--soft); border-radius: 14px; }
.picked-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 800; }
.picked-head a { font-size: 14px; font-weight: 700; }
.picked ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 12px; }
.picked li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.picked li .sw { width: 38px; height: 38px; }
.picked li b { display: block; font-size: 14.5px; color: var(--ink); }
.picked .sum { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.picked .empty { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.picked .empty a { font-weight: 700; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.field small { font-weight: 500; color: var(--muted); }
.field .lab { display: block; }
.field.wide { grid-column: 1 / -1; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; padding: 13px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px #EAE4DA; }
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: #6F6A62; }
.err { display: none; font-size: 13.5px; font-weight: 600; color: var(--red); }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.consent { padding: 16px 18px; background: var(--soft); border-radius: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.consent .field { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 4px 10px; align-items: start; margin-top: 10px; font-size: 15px; color: var(--ink); }
.consent .field input { margin-top: 3px; }
.consent .field .err { grid-column: 2; }
.consent input { width: 20px; height: 20px; accent-color: var(--ink); }
.form > .btn { width: 100%; }
.after h2 { font-size: 21px; }
.after ol { margin-top: 14px; }
.after li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.after li:first-child { border-top: 1px solid var(--line); }
.after li b { display: block; font-size: 17px; }
.after .when { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.after li p { font-size: 15px; color: var(--muted); }
.office { margin-top: 24px; padding: 18px 20px; background: var(--soft); border-radius: 14px; }
.office li { display: flex; gap: 10px; padding: 5px 0; font-size: 15.5px; }
.office i { flex: none; margin-top: 4px; font-size: 18px; }

/* 접수 완료, 개인정보처리방침 */
.doc { max-width: 820px; padding-bottom: 104px; }
.doc h2 { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 20px; line-height: 1.4; letter-spacing: -0.02em; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc ul, .doc ol { margin-top: 12px; font-size: 16px; line-height: 1.75; }
.doc ul { padding-left: 20px; list-style: disc; }
.doc ol { padding-left: 22px; list-style: decimal; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.doc th, .doc td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc thead th, .doc tbody th { background: var(--soft); font-weight: 700; }
.doc .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sample-note { display: inline-block; margin-top: 14px; padding: 4px 10px; background: var(--soft); border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* 바닥글과 고정 버튼 */
.foot { background: var(--soft); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.85; color: var(--muted); }
.foot .wrap { padding-block: 44px; }
.foot strong { font-size: 17px; color: var(--ink); }
.foot .sample { margin-top: 10px; }
.dock { display: none; }

@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; }
  .tel span { display: none; }
  .config-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .mrow { grid-template-columns: 1fr; gap: 12px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .steps-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .steps-strip::before { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .top-in { height: 62px; gap: 12px; }
  .nav, .tel, .top .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 700; }
  .menu-btn i { font-size: 18px; }
  .m-nav { display: block; border-top: 1px solid var(--line); background: #fff; }
  .m-nav[hidden] { display: none; }
  .m-nav a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
  .m-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
  [id] { scroll-margin-top: 72px; }

  .hero { min-height: 0; flex-direction: column; align-items: stretch; background: none; }
  .hero-img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .hero::after { display: none; }
  .hero-in { padding-block: 26px 8px; color: var(--ink); }
  .hero h1 { font-size: 31px; }
  .hero .lead { font-size: 16px; color: var(--muted); }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; }
  .hero-cta .btn { padding: 0 10px; font-size: 15px; }
  .btn-white { background: var(--ink); color: #fff; }
  .btn-white:hover { background: var(--ink-2); }
  .hero .btn-ghost { border-color: var(--line-2); color: var(--ink); }
  .photo-note { right: 10px; top: calc(75vw - 26px); bottom: auto; }
  .facts-bar { border-top: 1px solid var(--line); margin-top: 24px; }
  .facts-bar ul { grid-template-columns: 1fr 1fr; }
  .facts-bar li { padding: 14px 0; font-size: 14.5px; }
  .facts-bar li + li { padding-left: 0; border-left: 0; }
  .facts-bar li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .facts-bar li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .section { padding-block: 64px; }
  .config { padding-block: 56px 64px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .section-head h2, .config h2 { font-size: 27px; }
  .config-grid { grid-template-columns: 1fr; gap: 28px; }
  .board { gap: 22px; margin-top: 24px; }
  .chips { display: flex; gap: 10px; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .sheet-sw { gap: 6px; }
  .chip { flex: 0 0 62%; scroll-snap-align: start; }
  .sheet { position: static; padding: 22px 20px 18px; }
  .cases { grid-template-columns: 1fr; gap: 16px; }
  .promises { grid-template-columns: 1fr; }
  .promises li { padding: 18px 0 20px; }
  .steps-strip { grid-template-columns: 1fr; row-gap: 0; }
  .steps-strip::before { display: none; }
  .steps-strip li:not(:last-child) a::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: -2px; width: 2px; background: var(--line-2); }
  .steps-strip a { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 0; padding: 0 0 16px; }
  .steps-strip .no { grid-row: span 2; margin-bottom: 0; }
  .gantt { padding: 16px 14px 12px; }
  .m-hide { display: none; }
  .close-in { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 52px; }
  .close h2 { font-size: 26px; }
  .combo-sum .wk { display: block; }
  .combo-sum .wk::before { content: none; }
  .page-head { padding-block: 36px 28px; }
  .page-head h1 { font-size: 31px; }
  .page-head .lead { font-size: 16px; }
  .case-full { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .case-info h2 { font-size: 23px; }
  .two-col { grid-template-columns: 1fr; row-gap: 32px; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .rail { position: sticky; top: 62px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin-inline: -20px; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .rail a { flex: none; padding: 7px 12px; background: var(--soft); white-space: nowrap; }
  .step { padding: 32px 0; }
  .step:first-child { padding-top: 28px; }
  .step h2 { font-size: 23px; }
  .contact { grid-template-columns: 1fr; gap: 36px; padding-bottom: 64px; }
  .form { padding: 22px 18px; }
  .grid, .picked ul { grid-template-columns: 1fr; }
  .doc { padding-bottom: 72px; }
  .foot .wrap { padding-bottom: 120px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transition: transform .3s cubic-bezier(.3, .7, .2, 1), visibility 0s; }
  .dock.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .3s cubic-bezier(.3, .7, .2, 1), visibility 0s .3s; }
  .dock .sum { flex: 1; min-width: 0; line-height: 1.35; }
  .dock .sum b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
  .dock .sum span { font-size: 13px; color: var(--muted); }
  .dock .btn { height: 50px; padding: 0 18px; }
  .dock > .btn-line { flex: 1; }
  .dock > .btn-line + .btn-ink { flex: 2; }
  .price-sec { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .dock, .dock.is-hidden, .chip .flag, .case-link { transition: none; }
  .case-link:hover { transform: none; }
}
