@charset "utf-8";
/* ============================================================
   wpm.korhomefix.com — 정수기위치이동 / 한백하우징
   모티프 M1 라인드로잉·도면풍 · Hero 아키타입 H4 띠스택 · 서사 프레임 A
   토큰 출처: smdc.haengjipsaveteran.com 에서 타입스케일·여백·그리드·radius 추출
   색상은 레퍼런스 팔레트(#D63384/#1A1A2E)가 금지역이라 허용 색역(틸·시안/와인)으로 치환
   ============================================================ */

/* ── 웹폰트 ─────────────────────────────────────────────────
   Pretendard 는 header.php 에서 동적 서브셋 CSS 를 link 한다
   (unicode-range 92개 분할 + 전 선언 font-display:swap → 2MB 통짜 대신 필요한 조각만 로드).
   IBM Plex Sans KR 은 Google Fonts 의 display=swap 파라미터로 로드한다.
   아래는 폴백 스택이 뜰 때의 렌더 지침. */
@font-face {
  font-family: 'PretendardFallback';
  font-style: normal;
  font-display: swap;
  src: local('Apple SD Gothic Neo'), local('Malgun Gothic'), local('sans-serif');
}

/* ── 토큰 ──────────────────────────────────────────────────── */
:root {
  color-scheme: only light;            /* 삼성 인터넷 강제 다크 반전 차단 */

  /* 팔레트 — 딥틸(h176~188) + 와인 액센트(h344). 금지 조합 0건 검산 완료 */
  --ink:            #0E2A2E;
  --ink-2:          #14201F;
  --teal:           #0F7A73;
  --teal-bright:    #14A99E;
  --wine:           #8E1F3C;

  /* 배경 — 무채색 오프화이트/쿨그레이만 (s <= 0.03) */
  --bg:             #FFFFFF;
  --bg-soft:        #F2F4F4;
  --border:         #DCE2E1;
  --border-strong:  #B9C5C4;

  /* 배경-텍스트 짝을 변수로 고정 — 밝은/어두운 배경 혼용 사고 방지 */
  --text-on-light:  #14201F;
  --text-on-dark:   #FFFFFF;
  --text-sub:       #47575A;
  --text-muted:     #5F6E70;
  --text-on-dark-sub: rgba(255,255,255,.76);

  /* 타입 스케일 (레퍼런스 추출값 기반) */
  --ff-body: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', sans-serif;
  --ff-caps: 'IBM Plex Sans KR', 'Pretendard Variable', sans-serif;
  --fs-display: clamp(2.2rem, 7vw, 6rem);
  --fs-h1:      clamp(2.2rem, 7vw, 6rem);
  --fs-h2:      clamp(1.9rem, 4vw, 3.2rem);
  --fs-h3:      clamp(1.15rem, 2vw, 1.5rem);
  --fs-body:    19px;
  --fs-lede:    clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-small:   15px;
  --fs-stat:    clamp(2.6rem, 6vw, 4.5rem);
  --fs-wordmark: clamp(3rem, 14vw, 11rem);

  /* 레이아웃 — 리터럴 max-width:NNNpx 를 쓰지 않고 변수로만 둔다 */
  --maxw:      1300px;
  --maxw-text: 760px;
  --gutter:    clamp(20px, 4vw, 30px);
  --sec-pad:   clamp(64px, 10vw, 128px);

  /* 간격 토큰 — 모바일은 한 단계 낮춘 값만 사용 */
  --sp-1: 8px;  --sp-2: 12px; --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px;

  --radius:    2px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(14,42,46,.06);
  --shadow-md: 0 10px 30px rgba(14,42,46,.10);
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --dur:       .3s;

  /* 프로세스 타임라인 (변형 금지 구역) */
  --proc-badge: 48px;
  --proc-badge-radius: var(--radius);
  --proc-line: 2px;

  --sticky-h: 64px;
  --cta-line: 18px;
  --card-icon: 64px;
}

/* ── 리셋 / 전역 ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text-on-light);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: -.01em;
}

/* 줄바꿈 — 어절 단위만. break-all / anywhere 절대 사용 금지 */
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button, label, figcaption, dt, dd {
  word-break: keep-all;
  overflow-wrap: break-word;
}

* { -webkit-tap-highlight-color: transparent; }
:where(a, button, [role="button"], summary) { touch-action: manipulation; }

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--teal); text-decoration: none; }
p { margin: 0 0 var(--sp-3); }

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-3);
  line-height: 1.22;
  letter-spacing: -.03em;
  font-weight: 800;
}
h1 { font-size: var(--fs-h1); font-family: var(--ff-caps); line-height: 1.3; }
h2 { font-size: var(--fs-h2); font-family: var(--ff-caps); }
h3 { font-size: var(--fs-h3); }

ul, ol { margin: 0 0 var(--sp-3); padding-left: 1.1em; }
li { margin-bottom: var(--sp-1); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 의미단위 줄바꿈 — H1 에는 넣지 않는다 */
.br-mobile  { display: inline; }
.br-desktop { display: none; }

/* ── 레이아웃 ──────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text { max-width: var(--maxw-text); }

section { padding-block: var(--sec-pad); }
section.tight { padding-block: calc(var(--sec-pad) * .6); }

.sec-dark { background: var(--ink); color: var(--text-on-dark); }
.sec-dark h2, .sec-dark h3 { color: var(--text-on-dark); }
.sec-dark p, .sec-dark li { color: var(--text-on-dark-sub); }
.sec-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  font-family: var(--ff-caps); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: var(--sp-2);
}
.sec-dark .eyebrow, .cta-band .eyebrow { color: var(--teal-bright); }
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7;
}

.lede { font-size: var(--fs-lede); color: var(--text-sub); max-width: var(--maxw-text); }
.sec-dark .lede { color: var(--text-on-dark-sub); }

/* ── M1 모티프: 라인드로잉·도면풍 ──────────────────────────── */
/* 도면 그리드 — 48px 격자 + 12px 보조선 */
.motif-grid { position: relative; }
.motif-grid::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(to right,  currentColor 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 48px),
    repeating-linear-gradient(to right,  currentColor 0 1px, transparent 1px 12px);
  opacity: .06;
}
.motif-grid > * { position: relative; z-index: 1; }

/* 눈금 — 아래에서 8px 짧은 선 */
.motif-ticks {
  height: 16px; border-bottom: 1px solid var(--border);
  background-image: repeating-linear-gradient(to right, var(--border-strong) 0 1px, transparent 1px 16px);
  background-size: 16px 8px; background-position: bottom left; background-repeat: repeat-x;
}
.sec-dark .motif-ticks { border-bottom-color: rgba(255,255,255,.18); }

/* 라인 드로잉 SVG — currentColor 상속, 진입 시 stroke 를 그려낸다 */
.motif-line { display: block; width: 100%; height: auto; color: var(--teal); }
.card__body .motif-line { width: var(--card-icon); }
.motif-line [data-draw] {
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.js [data-reveal].is-in .motif-line [data-draw] {
  stroke-dasharray: 600; animation: line-draw 1.1s var(--ease) forwards;
}
.motif-corner { position: absolute; width: 16px; height: 16px; color: var(--teal); opacity: .55; }
.motif-corner--tl { top: -1px; left: -1px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; }
.motif-corner--br { bottom: -1px; right: -1px; border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; }

/* ── 사진 컴포넌트 (가로비율 이중 방어) ────────────────────── */
.photo { position: relative; margin: 0; }
.photo img, .card img, .hero img, .ba-item img {
  display: block; width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: center; height: auto;
  background: var(--bg-soft);
}
.photo figcaption {
  margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--text-muted);
}
.sec-dark .photo figcaption { color: var(--text-on-dark-sub); }

.chip {
  position: absolute; top: var(--sp-2); left: var(--sp-2); z-index: 2;
  padding: 6px 12px; border-radius: var(--radius);
  font-family: var(--ff-caps); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  background: var(--ink); color: var(--text-on-dark);
}
.chip--after { background: var(--teal); }

/* Before / After 2열 — 라벨 칩은 검증된 세트에서만 쓴다 */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.ba-item { margin: 0; position: relative; }

/* ── 헤더 ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding-block: var(--sp-3);
}
.hdr-logo { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.hdr-logo__mark {
  width: 34px; height: 34px; flex: 0 0 auto; color: var(--teal);
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.hdr-logo__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.hdr-logo__name { font-family: var(--ff-caps); font-weight: 700; font-size: 18px; color: var(--ink); }
/* 업체명 바로 아래 스몰캡스 보조 텍스트 — 잘림 금지(폭이 좁으면 숨긴다) */
.hdr-logo__tagline {
  font-family: var(--ff-caps); font-size: 11px; font-weight: 500;
  font-variant: small-caps; letter-spacing: .1em; color: var(--text-muted);
}
.hdr-nav { display: flex; align-items: center; gap: var(--sp-4); }
.hdr-nav a:not(.btn) { font-size: 16px; font-weight: 600; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  min-height: 52px; padding: 0 22px; border: 1px solid transparent;
  border-radius: var(--radius-pill); font-family: var(--ff-caps);
  font-size: 16px; font-weight: 700; cursor: pointer; text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--primary   { background: var(--teal); color: var(--text-on-dark); }
.btn--wine      { background: var(--wine); color: var(--text-on-dark); }
.btn--ghost     { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--on-dark   { background: var(--text-on-dark); color: var(--ink); }
.btn--outline-on-dark { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,.5); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }

.hdr-burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius);
  color: var(--ink); cursor: pointer;
}
.hdr-burger svg {
  width: 20px; height: 14px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round;
}

#mob-nav {
  display: none; border-top: 1px solid var(--border); background: var(--bg);
  padding: var(--sp-3) 0;
}
#mob-nav.is-open { display: block; }
#mob-nav ul { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; gap: var(--sp-1); }
#mob-nav a { display: flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--ink-2); }

/* 터치 타깃 44px — 본문 인라인 링크는 제외 */
.btn, .hdr-cta, nav a, .ft-cluster a, summary, [role="button"], button, .card__cta {
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
}

/* ── Hero (아키타입 H4 띠스택) ─────────────────────────────── */
.hero { padding-block: 0; }
.hero__copy { padding-bottom: var(--sp-6); }

/* 상단 사진띠 — 3장 이상 크로스페이드. 전면 색상 오버레이 없음 */
.hero__band {
  position: relative; width: 100%;
  min-height: 46vh; min-height: 46dvh;
  overflow: hidden; background: var(--bg-soft);
  animation: band-wipe 1s var(--ease) both;
}
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; aspect-ratio: auto;
  object-fit: cover; object-position: center;
  animation: drift 18s ease-in-out infinite alternate;   /* 무한 루프는 이 1개만 */
}
/* 텍스트가 놓이는 자리에만 국소 그라디언트 — 같은 hue 투명도 변화만 사용 */
.hero__band::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to top, rgba(14,42,46,.55), rgba(14,42,46,0));
  pointer-events: none;
}
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: var(--sp-3); z-index: 2;
  color: var(--text-on-dark); font-size: var(--fs-small);
}
.hero__dots { display: flex; gap: 0; margin-left: -10px; }
.hero__dot {
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__dot::before {
  content: ''; width: 28px; height: 3px;
  background: rgba(255,255,255,.45);
  transition: background var(--dur) var(--ease);
}
.hero__dot[aria-current="true"]::before { background: var(--text-on-dark); }

/* 대형 카피 — H1 은 순수 텍스트 노드만, 잘림 유발 속성 금지 */
.hero__copy { padding-top: var(--sp-6); }
.hero__copy h1 {
  margin-bottom: var(--sp-3);
  animation: rise 0.8s var(--ease) both; animation-delay: .12s;
}
.hero__sub {
  font-size: var(--fs-lede); color: var(--text-sub); max-width: var(--maxw-text);
  animation: rise 0.8s var(--ease) both; animation-delay: .22s;
}
.hero__answer {
  margin-top: var(--sp-4); padding: var(--sp-4);
  background: var(--bg-soft); border-left: 3px solid var(--teal);
  font-size: var(--fs-lede); color: var(--text-on-light);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5);
  animation: rise 0.8s var(--ease) both; animation-delay: .32s;
}

/* ── 카드 그리드 (고정 열 수 · auto-fit 금지) ──────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); align-items: stretch; grid-auto-rows: 1fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); align-items: stretch; grid-auto-rows: 1fr; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); align-items: stretch; grid-auto-rows: 1fr; }
.split  { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: start; }

.card {
  display: flex; flex-direction: column; height: 100%; min-width: 0;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; position: relative;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card__media { position: relative; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-4); }
.card__title {
  font-family: var(--ff-caps); font-size: 17px; font-weight: 700; margin: 0 0 var(--sp-1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__desc {
  margin: 0; font-size: var(--fs-small); color: var(--text-sub); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__cta {
  margin-top: auto; padding-top: var(--sp-3);
  font-family: var(--ff-caps); font-size: 14px; font-weight: 700; color: var(--teal);
}
.card__cta::after { content: ''; width: var(--cta-line); height: 1px; background: currentColor; margin-left: 8px; transition: width var(--dur) var(--ease); }
.card--link { text-decoration: none; color: inherit; }
.card--cta  { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.card--cta .card__desc { color: var(--text-on-dark-sub); }
.card--cta .card__cta  { color: var(--teal-bright); }

/* 뱃지는 grid 가 아니라 flex — 폭이 달라 grid 면 빈 칸이 생긴다 */
.card-badges { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-bottom: var(--sp-2); }
.badge {
  padding: 4px 10px; border-radius: var(--radius); border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--text-sub); background: var(--bg-soft);
}

/* ── 체크리스트 / 비교표 / 콜아웃 / 스펙 ───────────────────── */
[data-comp="checklist"] { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
[data-comp="checklist"] > li {
  position: relative; padding: var(--sp-3) var(--sp-3) var(--sp-3) 44px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg);
  font-size: 17px;
}
[data-comp="checklist"] > li::before {
  content: ''; position: absolute; left: 16px; top: 50%; width: 12px; height: 7px;
  margin-top: -6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.sec-dark [data-comp="checklist"] > li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
[data-comp="costtable"], [data-comp="compare"] {
  width: 100%; border-collapse: collapse; font-size: 16px; background: var(--bg);
}
[data-comp="costtable"] caption, [data-comp="compare"] caption {
  text-align: left; font-family: var(--ff-caps); font-size: 14px; font-weight: 700;
  color: var(--text-muted); padding-bottom: var(--sp-2);
}
[data-comp="costtable"] th, [data-comp="compare"] th,
[data-comp="costtable"] td, [data-comp="compare"] td {
  border: 1px solid var(--border); padding: var(--sp-2) var(--sp-3); text-align: left; vertical-align: top;
}
[data-comp="costtable"] thead th, [data-comp="compare"] thead th {
  background: var(--ink); color: var(--text-on-dark); font-family: var(--ff-caps);
  font-size: 14px; letter-spacing: .02em; border-color: var(--ink);
}
[data-comp="costtable"] tbody tr:nth-child(even),
[data-comp="compare"]   tbody tr:nth-child(even) { background: var(--bg-soft); }

[data-comp="callout"] {
  position: relative; padding: var(--sp-4); background: var(--bg-soft);
  border: 1px solid var(--border); border-left: 3px solid var(--wine); border-radius: var(--radius);
}
[data-comp="callout"] strong { color: var(--wine); }

[data-comp="spec"] { margin: 0; display: grid; grid-template-columns: 180px 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
[data-comp="spec"] dt, [data-comp="spec"] dd { margin: 0; padding: var(--sp-3); background: var(--bg); }
[data-comp="spec"] dt { font-family: var(--ff-caps); font-weight: 700; font-size: 15px; background: var(--bg-soft); }

/* 초대형 스탯 — 실데이터만 */
[data-comp="trustband"] { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.stat { display: flex; flex-direction: column; }
.stat__num {
  display: block; font-family: var(--ff-caps); font-size: var(--fs-stat);
  font-weight: 800; line-height: 1.05; letter-spacing: -.04em;
}
.stat__label {
  display: block; font-size: var(--fs-small); color: var(--text-on-dark-sub);
  margin-top: var(--sp-2); padding-top: var(--sp-2);
  border-top: 1px solid rgba(255,255,255,.22);
}

/* ── 프로세스 타임라인 (변형 금지 구역) ────────────────────── */
.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-strong);
}
.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(--teal); color: var(--text-on-dark);
  font-family: var(--ff-caps); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.proc-step h3 { font-size: 17px; margin-bottom: 6px; }
.proc-step p { font-size: var(--fs-small); color: var(--text-sub); margin-bottom: var(--sp-1); }
.proc-step__meta {
  display: inline-block; font-family: var(--ff-caps); font-size: 13px; font-weight: 600;
  color: var(--teal); border-top: 1px solid var(--border); padding-top: 6px;
}
.sec-dark .proc-step p { color: var(--text-on-dark-sub); }
.sec-dark .proc-step:not(:last-child)::after { background: rgba(255,255,255,.22); }
.sec-dark .proc-step__meta { color: var(--teal-bright); border-top-color: rgba(255,255,255,.22); }

/* ── FAQ 아코디언 ──────────────────────────────────────────── */
ul[data-comp="faq"] { display: grid; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.faq-item { margin: 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.faq-item summary {
  min-height: 52px; padding: var(--sp-3); cursor: pointer; list-style: none;
  font-family: var(--ff-caps); font-size: 17px; font-weight: 700; color: var(--ink);
  justify-content: space-between; gap: var(--sp-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: 0 0 auto; width: 10px; height: 10px; margin-left: auto;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq-item details[open] summary::after { transform: rotate(-135deg); }
.faq-item__a { padding: 0 var(--sp-3) var(--sp-3); font-size: 17px; color: var(--text-sub); }

/* ── 하단 CTA 배너 (5레이어) ───────────────────────────────── */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-dark); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; opacity: .38; }
.cta-band__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(14,42,46,.92) 0%, rgba(14,42,46,.52) 68%, rgba(14,42,46,.18) 100%);
}
.cta-band__inner { position: relative; z-index: 1; padding-block: var(--sec-pad); }
.cta-band h2 { max-width: var(--maxw-text); }
.cta-band__sub { font-size: var(--fs-lede); color: var(--text-on-dark-sub); max-width: var(--maxw-text); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
.cta-band small { display: block; margin-top: var(--sp-3); font-size: 14px; color: var(--text-on-dark-sub); }

/* ── 푸터 (왼쪽 기준 클러스터 · 가운데 정렬 금지) ──────────── */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-block: var(--sp-7) var(--sp-5); }
.site-footer .ft-inner {
  max-width: var(--maxw); 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-family: var(--ff-caps); font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.ft-cluster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-cluster a { font-size: var(--fs-small); color: var(--text-sub); }
.ft-biz { font-size: 14px; color: var(--text-sub); line-height: 1.9; margin: 0; }
.ft-biz dt { display: inline; font-weight: 600; color: var(--ink-2); }
.ft-biz dd { display: inline; margin: 0; }
.ft-biz dd::after { content: ''; display: block; }
.ft-bottom {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 16px;
  font-size: 13px; color: var(--text-muted);
}
/* 하단 초대형 워드마크 — 장식이므로 aria-hidden */
.ft-wordmark {
  font-family: var(--ff-caps); font-size: var(--fs-wordmark); font-weight: 800;
  line-height: .82; letter-spacing: -.055em; color: var(--border);
  margin: var(--sp-6) 0 0; padding-inline: var(--gutter);
  max-width: var(--maxw); margin-inline: auto; user-select: none;
}

/* ── 모바일 고정 요소 (z-index 고정: 헤더100 > 스티키90 > 플로팅80) ── */
#mob-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.14);
  padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom));
}
#mob-bar .btn { width: 100%; }
#float-cta {
  position: fixed; right: var(--sp-3); z-index: 80;
  bottom: calc(var(--sticky-h) + 16px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-md);
}

/* ── 스크롤 트리거 (.js 게이트 필수 — JS 실패 시 백지 방지) ── */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-reveal="fade"] { transform: none; }
.js [data-reveal][data-reveal="scale"] { transform: scale(.965); }
.js [data-reveal][data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease); }
.js [data-reveal][data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0); }
.js [data-stagger] > * { opacity: 0; transform: translateY(20px); transition: .55s var(--ease); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > *:nth-child(1) { transition-delay: 0ms; }
.js [data-stagger].is-in > *:nth-child(2) { transition-delay: 70ms; }
.js [data-stagger].is-in > *:nth-child(3) { transition-delay: 140ms; }
.js [data-stagger].is-in > *:nth-child(4) { transition-delay: 210ms; }
.js [data-stagger].is-in > *:nth-child(5) { transition-delay: 280ms; }
.js [data-stagger].is-in > *:nth-child(6) { transition-delay: 350ms; }
.js [data-stagger].is-in > *:nth-child(7) { transition-delay: 420ms; }
.js [data-stagger].is-in > *:nth-child(8) { transition-delay: 490ms; }

/* ── 키프레임 ──────────────────────────────────────────────── */
@keyframes rise      { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes band-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes line-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes drift     { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.2%, -1.6%, 0); } }
@keyframes underline-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }


/* ── 유틸리티 (인라인 style 대체) ──────────────────────────── */
.card__desc--full { -webkit-line-clamp: unset; overflow: visible; }
.card__body .btn { margin-top: auto; }
.phone-big {
  font-family: var(--ff-caps); font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 var(--sp-2);
}
.breadcrumb { padding-top: var(--sp-5); }
.breadcrumb p { margin: 0; font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-sub); }
.note-line { display: block; margin-top: var(--sp-3); font-size: 14px; color: var(--text-muted); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.marquee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.answer-box {
  padding: var(--sp-4); background: var(--bg-soft);
  border-left: 3px solid var(--teal); font-size: var(--fs-lede);
}
.sec-dark .answer-box { background: rgba(255,255,255,.05); border-left-color: var(--teal-bright); color: var(--text-on-dark); }

/* ── 모바일 호버 가드 — :hover 는 여기 안에서만 정의한다 ───── */
@media (hover: hover) and (pointer: fine) {
  .hdr-nav a:hover { color: var(--teal); }
  .btn--primary:hover { background: var(--ink); }
  .btn--wine:hover { background: var(--ink); }
  .btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
  .btn--on-dark:hover { background: var(--teal-bright); color: var(--ink); }
  .btn--outline-on-dark:hover { background: rgba(255,255,255,.12); }
  .card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
  .card:hover .card__cta::after { --cta-line: 34px; }
  .ft-cluster a:hover { color: var(--teal); }
  .faq-item summary:hover { color: var(--teal); }
  .hero__dot:hover::before { background: var(--text-on-dark); }
}
/* 탭 즉시 피드백은 :active 로 가드 밖에서 */
.btn:active { transform: translateY(1px); }
.card--link:active { border-color: var(--teal); }

/* ── LG/XL 1025px 이상: 기본값 유지 ────────────────────────── */

/* ── MD 태블릿 769~1024px — 카드 열 수 데스크톱 -1, 타임라인 세로 ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split  { gap: var(--sp-5); }
  .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);
  }
}

/* ── SM 모바일 ≤768px ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --sec-pad: clamp(48px, 9vw, 72px); }
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  .br-mobile  { display: none; }
  .br-desktop { display: inline; }

  .hdr-nav { display: none; }
  .hdr-burger { display: inline-flex; }

  .grid-2, .grid-3, .grid-4, .split, .ba { grid-template-columns: 1fr; }
  [data-comp="trustband"] { grid-template-columns: 1fr; gap: var(--sp-4); }
  [data-comp="spec"] { grid-template-columns: 1fr; }
  [data-comp="spec"] dt { background: var(--bg-soft); }

  .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; }
  .marquee-grid { grid-template-columns: repeat(2, 1fr); }

  .site-footer .ft-inner { grid-template-columns: 1fr; text-align: left; gap: var(--sp-5); }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  #mob-bar { display: block; }
  #float-cta { display: none; }

  .hero__band { min-height: 38vh; min-height: 38dvh; }
  .hero__copy { padding-top: var(--sp-5); }
}

/* ── XS 소형 모바일 ≤480px ────────────────────────────────── */
@media (max-width: 480px) {
  .hdr-logo__tagline { display: none; }
  .hdr-logo__name { font-size: 16px; }
  [data-comp="checklist"] > li { font-size: 16px; padding-left: 40px; }
  .hero__actions .btn { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .ft-wordmark { letter-spacing: -.04em; }
}

/* ── 모션 민감 사용자: 전부 정지 + 리빌 요소는 최종 상태로 ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal], .js [data-stagger] > * {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
}

/* ── 인쇄 ─────────────────────────────────────────────────── */
@media print {
  .site-header, #mob-bar, #float-cta, .cta-band { display: none; }
}
