/* 유니드디자인 — Swiss / International Style. 흑백 + 기준선 레드. 브레이크포인트 480/768/1024/1151만 사용 */
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button, label, figcaption, dt, dd, small, strong {
  word-break: keep-all;
  overflow-wrap: break-word;
}
:root {
  color-scheme: only light;
  --black: #000000;
  --white: #ffffff;
  --accent: #E8002D;
  --surface: #F5F5F5;
  --muted: #595959;
  --muted-on-dark: #b5b5b5;
  --border: #000000;
  --rule: #d4d4d4;
  --text-on-light: #000000;
  --text-on-dark: #ffffff;
  --dp-radius: 0;
  --gutter: 40px;
  --w-wrap: 1200px;
  --w-wide: 1440px;
  --w-narrow: 680px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --proc-badge: 56px; --proc-badge-radius: var(--dp-radius); --proc-line: 2px;
  --sticky-h: 64px;
  --font-body: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-display: "Archivo", "Pretendard Variable", Pretendard, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; background: var(--white); color: var(--text-on-light);
  font-family: var(--font-body); font-size: 19px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 var(--sp-4); }
a { color: inherit; text-decoration: none; }
strong { font-weight: 800; }
:where(a, button, [role="button"], summary, .dp-cta, nav a) {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
  touch-action: manipulation;
}
p a, li a, td a, dd a, small a { display: inline; min-height: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sec--dark :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
.skip-link { position: absolute; left: 0; top: 0; z-index: 200; background: var(--black); color: var(--white); padding: 12px 16px; transform: translateY(-120%); transition: transform .2s linear; }
.skip-link:focus { transform: none; }

/* 제목 */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.2; letter-spacing: 0; margin: 0 0 var(--sp-3); }
main :is(h1, h2) { margin-bottom: clamp(20px, 2.4vw, 32px); }
main :is(h3, h4) { margin-bottom: var(--sp-3); }
main :is(p, ul, ol, table, figure) + :is(h2) { margin-top: var(--sp-8); }
main :is(p, ul, ol, table, figure) + :is(h3, h4) { margin-top: var(--sp-6); }
main h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); text-wrap: balance; }
main h3 { font-size: 1.3rem; }

/* 레이아웃 */
.wrap { max-width: var(--w-wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: var(--w-wide); }
.wrap--narrow { max-width: var(--w-narrow); }
.sec { padding-block: var(--sp-8); position: relative; }
.sec--tight { padding-block: var(--sp-7); }
.sec--dark { background: var(--black); color: var(--text-on-dark); }
.sec--surface { background: var(--surface); }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 var(--sp-4);
  font: 800 14px/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 40px; height: 4px; background: var(--accent); flex: none; transform-origin: left; }
.eyebrow__no { color: var(--accent); }
.sec--dark .eyebrow { color: var(--muted-on-dark); }
.lead { font-size: 1.15em; max-width: 34em; }
.sec--dark .lead, .sec--dark p { color: var(--text-on-dark); }

/* 버튼: 각진 직사각 + 굵은 화살표 선 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; background: var(--accent); color: var(--white);
  border: 2px solid var(--accent); border-radius: 0; font-weight: 800; font-size: 1rem;
  transition: background-color .2s linear, color .2s linear, border-color .2s linear;
}
.btn::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .2s linear; }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn--white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.link-arrow { font-weight: 800; border-bottom: 3px solid currentColor; padding-block: 4px; min-height: 44px; transition: color .2s linear, border-color .2s linear; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 2px solid var(--black); }
.hdr-in { max-width: var(--w-wide); margin-inline: auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.hdr-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--black); }
.hdr-mark { width: 40px; height: 40px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; }
.hdr-mark__line { stroke: var(--accent); }
.hdr-logo__txt { display: flex; flex-direction: column; gap: 2px; }
.hdr-logo__name { font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; line-height: 1.1; }
.hdr-logo__tagline { font-variant: small-caps; letter-spacing: .1em; font-size: 12px; color: var(--muted); line-height: 1.1; }

/* 히어로 H2: 3장 순환 + 좌측 불투명 블록 */
.hero { position: relative; overflow: hidden; padding-inline: 0; min-height: 80vh; min-height: 80dvh; display: flex; align-items: flex-end; background: var(--black); }
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__media :is(img, video, picture) { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
.hero__slide.is-active img { animation: kenburns 7s linear both; }
.hero__content { position: relative; width: 100%; max-width: var(--w-wrap); margin-inline: auto; padding: 0 var(--gutter) var(--sp-7); }
.hero__card {
  background: var(--black); color: var(--text-on-dark); max-width: 46rem;
  padding: var(--sp-6) var(--sp-6) var(--sp-7); border-top: 6px solid var(--accent);
  animation: cardIn .8s linear both;
}
.hero__card .eyebrow { color: var(--muted-on-dark); }
.hero h1, .hero__title { font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 900; line-height: 1.05; margin-bottom: var(--sp-5); }
.hero--sub h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
.hero--sub .crumb { color: var(--muted-on-dark); margin-bottom: var(--sp-4); }
.hero--sub .crumb a { color: var(--text-on-dark); }
.hero-sub { font-size: 1.1rem; color: var(--text-on-dark); margin-bottom: var(--sp-5); }
.hero .link-arrow { color: var(--text-on-dark); }

.hero__ctl { position: absolute; top: 16px; right: var(--gutter); z-index: 2; min-height: 44px; padding: 0 16px; background: var(--black); color: var(--white); border: 2px solid var(--white); font: 800 .9rem var(--font-body); cursor: pointer; transition: background-color .2s linear; }
.hero__ctl[aria-pressed="true"] { background: var(--accent); }

/* 근거 모자이크 (L7) */
.sec-head { margin-bottom: var(--sp-7); max-width: 46rem; }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: clamp(300px, 34vw, 460px) clamp(240px, 26vw, 340px); gap: 20px; }
.tile { display: flex; flex-direction: column; align-items: stretch; min-width: 0; margin: 0; background: var(--white); }
.tile--a { grid-column: span 7; }
.tile--b { grid-column: span 5; }
.tile--c, .tile--d, .tile--e { grid-column: span 4; }
.tile__media { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--surface); }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.tile__cap { display: block; padding: 12px 0 0; border-top: 4px solid var(--black); margin-top: 12px; font-size: .95rem; line-height: 1.4; }
.tile__cap strong { display: block; font-family: var(--font-display); }
.tile--link { color: var(--black); }
.tile--link .tile__cap { border-top-color: var(--accent); }
.tile--link .tile__cap strong::after { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--accent); margin-left: 10px; vertical-align: middle; transition: width .2s linear; }

/* 문제 진단 (L6) */
.split-sticky { display: grid; grid-template-columns: 4fr 8fr; gap: var(--sp-8); align-items: start; }
.sticky-col { position: sticky; top: 96px; align-self: start; }
.sticky-col h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.panel-art { margin: 0 0 var(--sp-5); border: 2px solid var(--black); aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.panel-art img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.cmp__head, .cmp__row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; padding-block: 20px; border-top: 2px solid var(--black); }
.cmp__head { font: 800 13px/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-block: 12px; border-top: 4px solid var(--black); }
.cmp__row strong { font-size: 1.08rem; }
.cmp__row span:last-child { color: var(--black); font-weight: 600; }
.cmp__row span::before { content: attr(data-label); display: none; font: 800 12px/1 var(--font-display); letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }

/* 5단계 공정 (L8 다크) */
.sec--dark { --border: #4a4a4a; }
.numhead { display: block; margin-bottom: var(--sp-7); }
.scope-split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: center; }
.scope-photo { margin: 0; }
.scope-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scope-photo figcaption { margin-top: 12px; padding-top: 12px; border-top: 4px solid var(--black); font-size: .95rem; color: var(--muted); }
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 20px; }
.scope__cell { display: flex; flex-direction: column; gap: 12px; padding: 20px 0 8px; border-top: 4px solid var(--black); font-weight: 700; }
.scope__cell svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }

.proc-list { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.proc-step { flex: 1 1 0; min-width: 0; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; z-index: 0;
  top: calc(var(--proc-badge) / 2 - var(--proc-line) / 2);
  left: 50%; width: 100%; height: var(--proc-line); background: var(--border);
}
.proc-num {
  position: relative; z-index: 1; width: var(--proc-badge); height: var(--proc-badge);
  margin: 0 auto 12px; border-radius: var(--proc-badge-radius);
  background: var(--accent); color: #fff; font: 900 1.4rem var(--font-display);
  display: flex; align-items: center; justify-content: center;
}
.proc-step h3 { font-size: 1.15rem; }
.proc-step p { font-size: .98rem; line-height: 1.5; }
.proc-step__meta { display: block; margin-top: 10px; padding-top: 8px; border-top: 2px solid var(--accent); font-size: .9rem; line-height: 1.4; color: var(--muted); }
.sec--dark .proc-step__meta { color: var(--muted-on-dark); }

/* 비용 표 (L2) */
.split-cost { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: start; }
.tbl-wrap { overflow-x: auto; border-top: 6px solid var(--black); }
.tbl { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1rem; }
.tbl caption { text-align: left; padding: 14px 0 14px; font: 800 13px/1.2 var(--font-display); letter-spacing: .12em; color: var(--muted); }
.tbl th { background: var(--black); color: var(--white); text-align: left; padding: 14px 16px; font-weight: 800; font-size: .95rem; }
.tbl td { padding: 16px; border-bottom: 2px solid var(--black); vertical-align: top; line-height: 1.5; }
.tbl td:first-child { font-weight: 800; white-space: nowrap; }
.est-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-8); align-items: start; }
.est-col { min-width: 0; }
.est-list { border-top: 6px solid var(--black); }
.est-label { margin: 0 0 12px; padding: 14px 0 2px; text-align: left; font: 800 13px/1.2 var(--font-display); letter-spacing: .12em; color: var(--muted); }
.est-list .checklist { margin-top: 0; }
.tbl-wrap .est-label { margin: 0; }
.est-list .checklist li:first-child { border-top: 0; }
.checklist { display: grid; gap: 0; margin-top: var(--sp-5); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 2px solid var(--black); font-weight: 600; line-height: 1.45; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border: 3px solid var(--black); background: var(--white); }
.checklist li:last-child { border-bottom: 2px solid var(--black); }

/* 위험 해소 Q&A (L5) */
.callout { background: var(--surface); border-left: 8px solid var(--accent); padding: 24px 28px; margin-bottom: var(--sp-7); }
.callout h3 { margin-bottom: var(--sp-3); }
.callout ul { display: grid; gap: 10px; }
.callout li { padding-left: 18px; position: relative; line-height: 1.5; }
.callout li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--accent); }
.qa-list { border-bottom: 2px solid var(--black); }
.qa { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-block: 28px; border-top: 2px solid var(--black); }
.qa__no { font: 900 1.6rem/1.1 var(--font-display); color: var(--accent); }
.qa h3 { font-size: 1.25rem; margin-bottom: var(--sp-3); }
.qa p { margin-bottom: 0; }
details.qa { display: block; padding-block: 0; }
details.qa summary { display: grid; grid-template-columns: 56px 1fr 24px; column-gap: 20px; align-items: start; min-height: 52px; padding: 24px 0; cursor: pointer; list-style: none; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary h3 { margin-bottom: 0; }
details.qa p { padding: 0 44px 28px 76px; }
.qa__tog { width: 12px; height: 12px; margin-top: 8px; border-right: 3px solid var(--black); border-bottom: 3px solid var(--black); transform: rotate(45deg); transition: transform .2s linear, border-color .2s linear; }
details.qa[open] .qa__tog { transform: rotate(-135deg); border-color: var(--accent); }

/* 하단 CTA (L4 색면 + 사진 겹침) */
.cta { background: var(--accent); color: var(--white); padding-block: var(--sp-9); overflow: visible; }
.cta__grid { display: grid; grid-template-columns: repeat(12, 1fr); align-items: stretch; }
.cta__photo { grid-column: 6 / span 7; grid-row: 1; margin: 0; min-height: 22rem; overflow: hidden; position: relative; }
.cta__photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.cta__card { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 1; background: var(--black); color: var(--text-on-dark); padding: var(--sp-7); }
.cta__card h2 { font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.25; }
.cta__card .eyebrow { color: var(--muted-on-dark); }
.cta__card small { display: block; margin-top: var(--sp-5); color: var(--muted-on-dark); font-size: .9rem; line-height: 1.5; }

/* 세부페이지 */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--sp-5); font-size: .9rem; color: var(--muted); }
.crumb a { text-decoration: underline; text-underline-offset: 4px; min-width: 0; padding-inline: 0; }
.dhero__media { margin: 0; max-width: var(--w-wide); margin-inline: auto; }
.dhero__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.dhero__body { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-8); padding-block: var(--sp-8); align-items: start; }
.dhero h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); font-weight: 900; line-height: 1.08; }
.answer { font-size: 1.2rem; font-weight: 600; line-height: 1.6; border-left: 8px solid var(--accent); padding-left: var(--sp-5); }
.spec { display: grid; grid-template-columns: 8rem 1fr; column-gap: 16px; margin: 0; border-top: 6px solid var(--black); }
.spec dt, .spec dd { margin: 0; padding: 14px 0; border-bottom: 2px solid var(--black); line-height: 1.45; }
.spec dt { font-weight: 800; }
.figure-wide { margin: 0 0 var(--sp-6); }
.figure-wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure-wide figcaption { padding-top: 12px; border-top: 4px solid var(--black); margin-top: 12px; font-size: .95rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: start; }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-card { grid-column: span 3; display: flex; flex-direction: row; align-items: stretch; min-width: 0; border-top: 6px solid var(--black); }
.rel-card__media { flex: 0 0 40%; margin: 0; }
.rel-card__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rel-card__body { flex: 1; padding: var(--sp-5); display: flex; flex-direction: column; gap: 12px; }
.rel-card__body h3 { font-size: 1.4rem; }
.rel-card__body .link-arrow { margin-top: auto; align-self: flex-start; }

/* 상담 페이지 */
.chan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.chan__card { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--sp-5); min-height: 20rem; padding: var(--sp-6); border-top: 8px solid var(--accent); background: var(--black); color: var(--text-on-dark); transition: background-color .2s linear; }
.chan__label { font: 800 14px/1.2 var(--font-display); letter-spacing: .14em; color: var(--muted-on-dark); }
.chan__num { font: 900 clamp(1.9rem, 4.4vw, 3.2rem)/1.1 var(--font-display); }
.chan__act { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.chan__act::after { content: ""; width: 24px; height: 2px; background: currentColor; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info { padding-top: 16px; border-top: 4px solid var(--black); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 16px; border-top: 4px solid var(--accent); }
.why h3 { font-size: 1.15rem; }
.why p { margin-bottom: 0; }
.nf { padding-block: var(--sp-9); }

/* 푸터 */
.site-footer { background: var(--black); color: var(--text-on-dark); padding-block: var(--sp-8) var(--sp-6); border-top: 6px solid var(--accent); }
.site-footer .ft-inner { max-width: var(--w-wrap); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; text-align: left; }
.ft-cluster__title { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--text-on-dark); }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ft-cluster li { line-height: 1.6; font-size: .95rem; color: #d8d8d8; }
.ft-cluster a { min-height: 32px; min-width: 0; padding-block: 4px; line-height: 1.5; color: var(--text-on-dark); border-bottom: 1px solid transparent; transition: border-color .2s linear; }
.site-footer .ft-bottom { padding-right: 96px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #383838; margin-top: 40px; padding-top: 16px; font-size: .9rem; color: #bdbdbd; }

/* 하단 고정 요소: header 100 > sticky bar 90 > float 80 */
.js .sticky-bar { transform: translateY(100%); visibility: hidden; transition: transform .3s linear, visibility 0s linear .3s; }
.js .sticky-bar.is-on { transform: none; visibility: visible; transition-delay: 0s; }
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--white); border-top: 2px solid var(--black); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); }
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; justify-content: center;
  min-width: 68px; min-height: 68px; background: var(--accent); color: var(--white); font-weight: 900;
  border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black); transition: transform .2s linear, box-shadow .2s linear;
}

/* 리빌: .js 게이트 안에서만 숨긴다 */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s linear, transform .6s linear; transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .eyebrow[data-reveal]::before { transform: scaleX(0); transition: transform .6s linear .2s; }
.js .eyebrow[data-reveal].is-in::before { transform: scaleX(1); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ruleGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .proc-step[data-reveal] { transition: opacity .6s linear, transform .6s linear; }

/* hover는 정밀 포인터에서만 */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--black); border-color: var(--black); color: var(--white); }
  .btn--ghost:hover { background: var(--black); color: var(--white); }
  .btn--white:hover, .btn--outline-white:hover { background: var(--accent); border-color: var(--white); color: var(--white); }
  .btn:hover::after { width: 28px; }
  .link-arrow:hover { color: var(--accent); }
  .hero .link-arrow:hover { color: var(--white); border-color: var(--accent); }
  .tile--link:hover .tile__cap strong::after { width: 30px; }
  .float-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
  .ft-cluster a:hover { border-bottom-color: var(--accent); }
  .chan__card:hover { background: #1c1c1c; }
  .crumb a:hover { color: var(--accent); }
}
.btn:active, .float-cta:active, .chan__card:active { opacity: .85; }

/* 태블릿 및 이하 */
@media (max-width: 1151px) {
  .hero__card { max-width: 40rem; }
  .cta__card { padding: var(--sp-6); }
}
@media (max-width: 1024px) {
  .proc-list { flex-direction: column; gap: 32px; }
  .proc-step { padding: 0 0 0 calc(var(--proc-badge) + 16px); text-align: left; }
  .proc-num { position: absolute; left: 0; top: 0; margin: 0; }
  .proc-step:not(:last-child)::after { top: var(--proc-badge); left: calc(var(--proc-badge) / 2 - var(--proc-line) / 2); width: var(--proc-line); height: calc(100% + 32px); }
  :root { --gutter: 32px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: auto; }
  .tile--a { grid-column: span 2; }
  .tile--b, .tile--c, .tile--d, .tile--e { grid-column: span 1; }
  .tile__media { flex: none; aspect-ratio: 16 / 10; }
  .split-sticky, .split-cost, .two-col, .est-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .scope-split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .scope-photo img { aspect-ratio: 16 / 9; }
  .sticky-col { position: static; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .dhero__body { grid-template-columns: 1fr; gap: var(--sp-6); }
  .cta__photo { grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 10; }
  .cta__card { grid-column: 1 / -1; grid-row: 2; margin-top: -48px; margin-inline: var(--sp-5); }
  .site-footer .ft-inner { grid-template-columns: 1fr 1fr; }
  .ft-biz { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  .float-cta { display: none; }
  .sticky-bar { display: block; }
  .sec { padding-block: var(--sp-7); }
  .sec--tight { padding-block: var(--sp-6); }
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; height: clamp(260px, 56dvh, 520px); }
  .hero__content { padding: 0; }
  .hero__card { max-width: none; padding: var(--sp-5) var(--gutter) var(--sp-6); }
  .mosaic { grid-template-columns: 1fr; }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e { grid-column: span 1; }
  .tbl-wrap { overflow-x: visible; }
  .tbl { min-width: 0; }
  .tbl thead { display: none; }
  .tbl tr { display: block; padding: 12px 0; border-bottom: 2px solid var(--black); }
  .tbl td { display: grid; grid-template-columns: 6.5rem 1fr; column-gap: 12px; padding: 6px 0; border: 0; }
  .tbl td::before { content: attr(data-label); font-weight: 800; color: var(--muted); }
  .tbl td:first-child { white-space: normal; font-size: 1.1rem; }
  .cmp__head { display: none; }
  .cmp__row { grid-template-columns: 1fr; gap: 12px; }
  .cmp__row span::before { display: block; }
  .scope { grid-template-columns: repeat(2, 1fr); }
  .chan, .info-grid { grid-template-columns: 1fr; }
  .rel-card { flex-direction: column; }
  .rel-card__media { flex: none; }
  .qa { grid-template-columns: 1fr; gap: 8px; }
  details.qa summary { grid-template-columns: 40px 1fr 20px; column-gap: 12px; }
  details.qa p { padding: 0 0 24px 52px; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 0; border-bottom: 0; }
  .dhero__media img { aspect-ratio: 16 / 10; }
  .cta__card { margin-inline: 0; margin-top: 0; padding: var(--sp-5) var(--gutter) var(--sp-6); }
  .cta { padding-block: var(--sp-8); }
  .site-footer .ft-inner { grid-template-columns: 1fr; text-align: left; }
  .site-footer .ft-bottom { padding-right: var(--gutter); }
  .ft-cluster a { min-height: 44px; min-width: 44px; align-items: center; display: inline-flex; }
  .site-footer .ft-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .br-desktop { display: none; }
}
@media (max-width: 480px) {
  .hdr-logo__tagline { display: none; }
  .cta__card h2 { font-size: 1.35rem; }
  .why-grid { grid-template-columns: 1fr; }
  .btn { padding: 0 20px; }
  .scope { grid-template-columns: repeat(2, 1fr); }
}
.br-mobile { display: none; }
@media (max-width: 768px) { .br-mobile { display: inline; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .eyebrow[data-reveal]::before { transform: none !important; }
  .hero__slide { opacity: 0; }
  .hero__ctl { display: none; }
  .hero__slide:first-child { opacity: 1; }
}

/* ===== 세부페이지 변형 부품 ===== */
:root { --w-mid: 56rem; }
.answer-p { font-size: 1.15rem; font-weight: 600; line-height: 1.6; border-left: 8px solid var(--accent); padding-left: var(--sp-5); margin-bottom: var(--sp-5); }
.crumb { margin-bottom: var(--sp-4); }

/* 히어로: strip */
.hstrip__media { margin: 0; max-width: var(--w-wide); margin-inline: auto; }
.hstrip__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.hstrip__body { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-8); padding-block: var(--sp-8); align-items: start; }
.hstrip h1, .hsplit h1, .hdark h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); font-weight: 900; line-height: 1.08; }
/* 히어로: split */
.hsplit { padding-block: var(--sp-8); }
.hsplit__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); align-items: center; }
.hsplit__media { grid-column: 2; grid-row: 1; margin: 0; border-bottom: 8px solid var(--black); }
.hsplit__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hsplit__text { grid-column: 1; grid-row: 1; }
/* 히어로: dark */
.hdark { display: grid; grid-template-columns: 7fr 5fr; background: var(--black); color: var(--text-on-dark); min-height: 80vh; min-height: 80dvh; }
.hdark__media { grid-column: 2; grid-row: 1; margin: 0; position: relative; }
.hdark__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.hdark__text { grid-column: 1; grid-row: 1; padding: var(--sp-8) var(--gutter) var(--sp-8) max(var(--gutter), calc((100vw - var(--w-wrap)) / 2 + var(--gutter))); align-self: center; }
.hdark .crumb { color: var(--muted-on-dark); }
.hdark .crumb a { color: var(--text-on-dark); }
.hdark .eyebrow { color: var(--muted-on-dark); }
.hdark .answer-p { color: var(--text-on-dark); }
.hdark :focus-visible { outline-color: var(--white); }

/* 목록 변형 */
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) 20px; }
.fact { padding-top: 16px; border-top: 4px solid var(--black); }
.fact h3 { font-size: 1.15rem; }
.fact p { margin-bottom: 0; }
.erows { border-bottom: 2px solid var(--black); }
.erow { display: grid; grid-template-columns: 5.5rem 1fr; gap: 20px; padding-block: 24px; border-top: 2px solid var(--black); }
.erow__no { font: 900 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--black); }
.erow h3 { font-size: 1.2rem; }
.erow p { margin-bottom: 0; }
.split-sticky--rows, .split-sticky--faq { grid-template-columns: 4fr 8fr; }
.split-sticky--faq .qa-list { border-top: 0; }

/* 사진 변형 */
.pfig { margin: 0; }
.pfig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pfig figcaption { margin-top: 12px; padding-top: 12px; border-top: 4px solid var(--black); font-size: .95rem; color: var(--muted); }
.pbox { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); align-items: center; }
.pbox .pfig img { aspect-ratio: 4 / 3; }
.pbox--left .pfig { grid-column: 1; grid-row: 1; }
.pbox--left > div { grid-column: 2; grid-row: 1; }
.pbox--right .pfig { grid-column: 2; grid-row: 1; }
.pbox--right > div { grid-column: 1; grid-row: 1; }
.poff { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.poff .pfig { grid-column: 1 / span 8; grid-row: 1; }
.poff__card { grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 1; background: var(--white); border-top: 8px solid var(--accent); padding: var(--sp-6); margin-bottom: var(--sp-6); }

/* 대조 카드, 성명문 */
.pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) 20px; }
.pair { padding-top: 16px; border-top: 4px solid var(--black); display: flex; flex-direction: column; gap: 12px; }
.pair p { margin: 0; }
.pair span { display: block; margin-bottom: 4px; font: 800 12px/1.2 var(--font-display); letter-spacing: .12em; color: var(--accent); }
.pair__b { font-weight: 700; }
.callout--band { margin-bottom: 0; }
.stmt { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.15; max-width: 18em; }
.stmt__body { display: grid; grid-template-columns: 6fr 6fr; gap: var(--sp-8); align-items: start; }
.spec--row { margin: 0; }

/* 연관 서비스 3x2 */
.rel6 { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.rcard { display: flex; flex-direction: column; align-items: stretch; min-width: 0; background: var(--white); border-top: 6px solid var(--black); transition: border-color .2s linear; }
.rcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.rcard__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.rcard__body { flex: 1; padding: var(--sp-4) var(--sp-4) var(--sp-5); }
.rcard__body h3 { font-size: 1.1rem; margin-bottom: 12px; }
.rcard__body p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.rcard--cta { background: var(--black); color: var(--text-on-dark); border-top-color: var(--accent); }
.rcard--cta .rcard__body p { color: var(--muted-on-dark); }

/* CTA 변형 */
.cta h2 { font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.25; }
.cta small { display: block; margin-top: var(--sp-5); font-size: .9rem; line-height: 1.5; }
.cta--field .cta__card { max-width: var(--w-mid); }
.cta--black { background: var(--black); color: var(--text-on-dark); border-top: 8px solid var(--accent); padding-block: var(--sp-9); }
.cta--black h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.cta--black small { color: var(--muted-on-dark); }
.cta--black .eyebrow { color: var(--muted-on-dark); }
.cta__row { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-8); align-items: center; }
.cta--outline { background: var(--white); color: var(--black); padding-block: var(--sp-8); }
.cta--outline .cta__box { border: 6px solid var(--black); padding: var(--sp-7); }
.cta--outline .eyebrow, .cta--outline small { color: var(--muted); }
.cta--outline .btn--outline-white { color: var(--black); border-color: var(--black); }
.cta--outline :focus-visible { outline-color: var(--accent); }
.cta--split { display: grid; grid-template-columns: repeat(2, 1fr); padding: 0; }
.cta__half { padding: var(--sp-9) var(--gutter); }
.cta__half--red { background: var(--accent); color: var(--white); }
.cta__half--black { background: var(--black); color: var(--text-on-dark); }
.cta__half--red .cta__in { max-width: 30rem; margin-left: auto; }
.cta__half--black .cta__in { max-width: 30rem; }
.cta__half small { color: rgba(255, 255, 255, .8); }

@media (hover: hover) and (pointer: fine) {
  .rcard:hover { border-top-color: var(--accent); }
  .cta--outline .btn--outline-white:hover { background: var(--black); color: var(--white); }
}
@media (max-width: 1024px) {
  .hstrip__body, .hsplit__grid, .pbox, .stmt__body, .cta__row { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hsplit__media, .hsplit__text, .pbox--left .pfig, .pbox--left > div, .pbox--right .pfig, .pbox--right > div { grid-column: 1; grid-row: auto; }
  .hdark { grid-template-columns: 1fr; min-height: 0; }
  .hdark__media { grid-column: 1; grid-row: 1; height: clamp(260px, 50dvh, 520px); }
  .hdark__text { grid-column: 1; grid-row: 2; padding: var(--sp-7) var(--gutter); }
  .poff { display: block; }
  .poff__card { margin: var(--sp-5) 0 0; }
  .split-sticky--rows, .split-sticky--faq { grid-template-columns: 1fr; }
  .rel6 { grid-template-columns: repeat(2, 1fr); }
  .cta--split { grid-template-columns: 1fr; }
  .cta__half { padding-block: var(--sp-8); }
  .cta__half--red .cta__in { margin-left: 0; }
}
@media (max-width: 768px) {
  .hsplit { padding-block: 0; }
  .hsplit__grid.wrap { padding-inline: 0; gap: 0; }
  .hsplit__media img { height: clamp(220px, 42dvh, 420px); aspect-ratio: auto; }
  .hsplit__text { padding: var(--sp-6) var(--gutter); }
  .facts-grid, .pairs, .rel6 { grid-template-columns: 1fr; }
  .erow { grid-template-columns: 4rem 1fr; gap: 12px; }
  .cta--black { padding-block: var(--sp-8); }
  .cta--outline .cta__box { padding: var(--sp-5); }
  .cta__half { padding-block: var(--sp-7); }
}
.rel6--rows { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
.rel6--rows .rcard { flex-direction: row; }
.rel6--rows .rcard__media { flex: 0 0 38%; aspect-ratio: auto; }
.rel6--rows .rcard__media img { aspect-ratio: 4 / 3; }
@media (max-width: 1024px) { .rel6--rows { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .rel6--rows .rcard { flex-direction: column; } .rel6--rows .rcard__media { flex: none; } }
