/* ==========================================================================
   바로홈 24 — 보일러·전기·누수 긴급설비 (DREXLY 템플릿)
   색·활자·컴포넌트는 00-디자인보드.png, 면별 조판은 01-home.png / 02-페이지시안.png 를 옮겼다.
   상태는 색만으로 전하지 않는다 — 글자와 아이콘을 반드시 함께 둔다(규격서 §09).
   ========================================================================== */

:root {
  /* 색 — 디자인보드 「Color」 6종 + 파생 */
  --orange: #ff6a00;          /* 디자인보드 Primary Orange — 로고·테두리·선택 표시·아이콘 */
  --orange-press: #e05c00;
  --orange-deep: #bd4700;     /* 밝은 배경 위 글자 (흰 5.17:1) */
  --orange-cta: #c94f00;      /* 흰 글자를 얹는 면 (4.56:1 — WCAG AA) */
  --orange-cta-press: #b04200;
  --orange-tint: #fff4ec;
  --orange-wash: #fffaf5;
  --orange-line: #ffd7ba;

  --slate: #1e233b;
  --slate-2: #2a3153;
  --slate-3: #3c456b;
  --slate-line: rgba(255, 255, 255, 0.14);

  --gray: #f2f4f7;
  --gray-2: #e9ecf1;
  --ink: #111418;
  --ink-2: #454b57;
  --muted: #666d7a;           /* 흰 5.21:1 · 회색면 4.73:1 */
  --line: #e5e7eb;
  --line-soft: #eef0f3;
  --surface: #ffffff;

  --ok: #22c55e;
  --ok-ink: #15803d;
  --ok-tint: #edfaf1;
  --warn-ink: #96580a;
  --warn-tint: #fff7e8;
  --warn-line: #f3dfb8;
  --err-ink: #c0392b;
  --err-tint: #fdf0ee;
  --err-line: #f3cfc9;

  /* 활자 — 디자인보드는 Pretendard 한 가족만 지정한다 */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  /* 조판 */
  --wrap: 1240px;
  --gutter: 40px;
  --section: 110px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-1: 0 1px 2px rgba(17, 20, 24, 0.04), 0 6px 18px rgba(17, 20, 24, 0.05);
  --shadow-2: 0 2px 6px rgba(17, 20, 24, 0.05), 0 18px 44px rgba(17, 20, 24, 0.08);
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);
  --header-h: 84px;
}

/* --------------------------------------------------------------- 기본 */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -0.01em;
  /* 한국어는 어절 단위로 끊는다 — 「2층」·「30분」이 갈라지지 않게 */
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.34; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 300;
  background: var(--slate);
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.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;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-sm { width: 17px; height: 17px; stroke-width: 1.8; }

.num, .fee-table td, .rate-table .num, .calc-lines dd, .calc-total b { font-variant-numeric: tabular-nums; }

/* 아이콘 + 한 문장 —— flex 로 두면 <b>·<a> 가 각자 flex 항목이 되어 문장이 조각난다.
   블록으로 두고 아이콘만 인라인으로 띄운 뒤 내어쓰기로 줄을 맞춘다. */
.flow-note, .map-hint, .out-caution, .rate-foot, .tech-verify, .form-foot,
.tstep-empty, .tstep-done, .netbar-msg, .track-live,
.fee-notes li, .safety-list li, .req-points li {
  display: block;
  text-indent: -26px;
  padding-left: 26px;
}
.flow-note > .ico, .map-hint > .ico, .out-caution > .ico, .rate-foot > .ico,
.tech-verify > .ico, .form-foot > .ico, .tstep-empty > .ico, .tstep-done > .ico,
.netbar-msg > .ico, .fee-notes li > .ico, .safety-list li > .ico, .req-points li > .ico,
.track-live > .live-dot {
  display: inline-block;
  margin-right: 9px;
  vertical-align: -3px;
}
.track-live > .live-dot { vertical-align: 1px; margin-right: 10px; }

/* 살아 있음 표시 — 깜빡이지 않고 은은하게 숨만 쉰다(불안 유발 연출 금지) */
.live-dot {
  width: 9px; height: 9px;
  flex: none;
  display: inline-block;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: breathe 2.8s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* ------------------------------------------------------------- 활자 계층 */
h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.038em;
}
.sec-head h2, .req-copy h2 {
  font-size: clamp(25px, 2.7vw, 36px);
  letter-spacing: -0.035em;
}
h3 { font-size: 19px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--orange-deep);
  margin-bottom: 12px;
}
.lead { color: var(--ink-2); font-size: 17px; line-height: 1.82; }
.sec-lead { color: var(--ink-2); font-size: 16px; margin-top: 14px; max-width: 62ch; }
.sec-lead b { font-weight: 700; color: var(--ink); }

.section { padding-block: calc(var(--section) / 2); }
.sec-head { margin-bottom: 40px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head-on-dark { color: #fff; }
.sec-head-on-dark .eyebrow { color: #ffb271; }
.sec-head-on-dark .sec-lead { color: rgba(255, 255, 255, 0.74); }

.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.crumb a:hover { color: var(--orange-deep); border-bottom-color: var(--orange); }

.tick li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.tick li + li { margin-top: 6px; }
.tick li::before {
  content: "";
  position: absolute;
  left: 4px; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange-line);
}

/* ------------------------------------------------------------- 버튼 */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-align: center;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.14s var(--ease), box-shadow 0.22s var(--ease);
}
.btn span[aria-hidden] { transition: transform 0.24s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.btn-primary { --btn-bg: var(--orange-cta); --btn-fg: #fff; --btn-bd: var(--orange-cta); box-shadow: 0 4px 14px rgba(201, 79, 0, 0.24); }
.btn-primary:hover { --btn-bg: var(--orange-cta-press); --btn-bd: var(--orange-cta-press); }
.btn-secondary { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-secondary:hover { --btn-bd: var(--orange); --btn-fg: var(--orange-deep); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink-2); --btn-bd: var(--line); }
.btn-ghost:hover { --btn-bd: var(--orange-line); --btn-fg: var(--orange-deep); --btn-bg: var(--orange-wash); }
.btn-onslate { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.34); }
.btn-onslate:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-bd: rgba(255, 255, 255, 0.6); }
.btn-onorange { --btn-bg: rgba(255, 255, 255, 0.12); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.4); }
.btn-onorange:hover { --btn-bg: #fff; --btn-fg: var(--orange-deep); --btn-bd: #fff; }

.btn-lg { min-height: 58px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn small { display: block; font-size: 11.5px; font-weight: 600; opacity: 0.8; line-height: 1.3; }
.btn b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.btn span > small + b { margin-top: 1px; }

/* ------------------------------------------------------------- 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 18px rgba(17, 20, 24, 0.06); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand-name { display: block; font-size: 25px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.brand-name b { color: var(--slate); font-weight: 800; }
.brand-name i { color: var(--orange); font-style: normal; margin-left: 3px; }
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-top: 2px;
}
.brand-sm .brand-name { font-size: 22px; }

.navlinks { display: flex; align-items: center; gap: 30px; }
.navlinks a {
  position: relative;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 0;
  transition: color 0.22s var(--ease);
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.navlinks a:hover { color: var(--ink); }
.navlinks a:hover::after { transform: scaleX(1); }
.navlinks a[aria-current="page"] { color: var(--orange-deep); }
.navlinks a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.nav-tel .ico { color: var(--orange); }
.nav-tel small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.nav-tel b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.nav-tel:hover b { color: var(--orange-deep); }

.menu-btn {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

/* ------------------------------------------------------------- 연결 안내 §06 */
.netbar {
  position: sticky;
  top: var(--header-h);
  z-index: 58;
  background: var(--slate);
  color: #fff;
}
.netbar[hidden] { display: none; }
.netbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 12px;
}
.netbar-msg { font-size: 14.5px; color: rgba(255, 255, 255, 0.82); line-height: 1.6; }
.netbar-msg b { color: #fff; font-weight: 700; }
.netbar.is-back { background: var(--ok-ink); }

/* ------------------------------------------------------------- 서랍 */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 88vw);
  z-index: 90;
  background: var(--surface);
  padding: 22px 24px 40px;
  transform: translateX(101%);
  transition: transform 0.34s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-close {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  min-height: 56px;
}
.drawer-nav a[aria-current="page"] { color: var(--orange-deep); }
.drawer-foot { margin-top: 24px; display: grid; gap: 10px; }
.drawer-foot .btn { justify-content: flex-start; }
.drawer-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 20, 24, 0.46);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.34s var(--ease), visibility 0.34s;
}
.scrim.open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------- 히어로 */
.hero { position: relative; overflow: hidden; background: var(--surface); }
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 56px;
  padding-block: 74px 84px;
}
.hero-copy { max-width: 560px; }
.hero-copy .lead { margin-top: 20px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-facts li {
  padding: 18px 14px 18px 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
}
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.hero-facts .ico { color: var(--orange); grid-row: span 2; }
.hero-facts b { font-size: 14px; font-weight: 700; letter-spacing: -0.03em; }
.hero-facts span { font-size: 12px; color: var(--muted); }

.hero-fig { position: relative; margin: 0; }
.hero-fig img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.hero-fig figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(30, 35, 59, 0.86);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 100px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero-fig-sm img { min-height: 300px; max-height: 380px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 15px;
}
.hero-chips .ico { color: var(--orange); }

.hero-sub { background: var(--gray); }
.hero-sub .hero-in { padding-block: 52px 60px; }
.hero-sub .hero-chips li { background: var(--surface); }

.hero-light { background: linear-gradient(170deg, var(--orange-wash) 0%, var(--surface) 62%); }
.hero-light .hero-in { padding-block: 56px 66px; }

.hero-dark { background: var(--slate); color: #fff; }
.hero-dark .hero-in { padding-block: 60px 70px; }
.hero-dark .lead { color: rgba(255, 255, 255, 0.76); }
.hero-dark .crumb { color: rgba(255, 255, 255, 0.55); }
.hero-dark .crumb a { color: rgba(255, 255, 255, 0.82); border-bottom-color: rgba(255, 255, 255, 0.3); }
.hero-dark .crumb a:hover { color: #fff; border-bottom-color: #ffb271; }

.pc-br { display: inline; }

/* ============================================================ 홈 · 번호 레일 */
.rail {
  position: fixed;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  padding-left: 16px;
}
.rail ol { display: grid; gap: 20px; }
.rail a {
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.rail a i { font-style: normal; font-weight: 800; font-size: 12px; letter-spacing: 0.02em; }
.rail a span { font-size: 11.5px; font-weight: 600; opacity: 0; transform: translateX(-4px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.rail a:hover span, .rail a[aria-current="true"] span { opacity: 1; transform: none; }
.rail a[aria-current="true"] { color: var(--orange-deep); }
.rail-track {
  position: absolute;
  left: 4px; top: 4px; bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.rail-fill {
  display: block;
  width: 100%; height: 100%;
  background: var(--orange);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}
@supports (animation-timeline: scroll()) {
  .rail-fill { animation: rail-grow linear both; animation-timeline: scroll(root block); transform: scaleY(0); }
  @keyframes rail-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ============================================================ 홈 · 진행 순서 */
.flow-sec { background: var(--gray); }
.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 16px 18px;
  text-align: center;
}
.flow-step::after {
  content: "";
  position: absolute;
  right: -12px; top: 50%;
  width: 12px; height: 2px;
  background: var(--line);
}
.flow-step:last-child::after { display: none; }
.flow-num { display: block; font-size: 11px; font-weight: 800; color: var(--orange-deep); letter-spacing: 0.06em; }
.flow-ico {
  width: 44px; height: 44px;
  margin: 8px auto 10px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-deep);
}
.flow-step b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.03em; }
.flow-step small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.flow-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--r-sm);
  padding: 14px 18px;
}
.flow-note .ico { color: var(--orange); }

/* ============================================================ 홈 · 서비스 맵 */
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.map-btns { display: grid; gap: 10px; }
.sysbtn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 76px;
  padding: 14px 16px;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.sysbtn:hover { border-color: var(--orange-line); background: var(--orange-wash); }
.sysbtn[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange-tint);
  box-shadow: 0 4px 16px rgba(255, 106, 0, 0.12);
}
.sysbtn-ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.sysbtn[aria-pressed="true"] .sysbtn-ico { color: var(--orange); border-color: var(--orange-line); }
.sysbtn-txt b { display: block; font-size: 16.5px; font-weight: 700; letter-spacing: -0.03em; }
.sysbtn-txt small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.sysbtn-arw { color: var(--line); }
.sysbtn[aria-pressed="true"] .sysbtn-arw { color: var(--orange); }
.map-hint {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.map-hint a { color: var(--orange-deep); font-weight: 700; border-bottom: 1px solid var(--orange-line); }

.map-art {
  background: linear-gradient(180deg, #f7f8fa 0%, var(--gray) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 18px;
}
.house { width: 100%; height: auto; }
.house .h-ground path { stroke: #aeb5c2; stroke-width: 2.4; fill: none; }
.house .h-ground rect { fill: #dfe3ea; }
.house .h-struct path { fill: none; stroke: #a7aebc; stroke-width: 2.8; stroke-linejoin: round; }
.house .h-detail rect, .house .h-detail path { fill: none; stroke: #c6cbd6; stroke-width: 2.2; }
.house .h-sys { opacity: 0.34; transition: opacity 0.3s var(--ease); }
.house .h-sys .h-box { fill: #fff; stroke: #8b94a6; stroke-width: 2.6; }
.house .h-sys .h-line { fill: none; stroke: #aeb5c2; stroke-width: 2; }
.house .h-sys .h-path {
  fill: none;
  stroke: #aeb5c2;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 6 7;
}
.house .h-dot circle:first-child { fill: rgba(255, 106, 0, 0.12); stroke: none; opacity: 0; transition: opacity 0.3s var(--ease); }
.house .h-dot circle:last-child { fill: #aab1c0; stroke: #fff; stroke-width: 2.6; transition: fill 0.3s var(--ease); }
.house .h-sys.is-on { opacity: 1; }
.house .h-sys.is-on .h-box { stroke: var(--orange-deep); }
.house .h-sys.is-on .h-line { stroke: var(--orange); }
.house .h-sys.is-on .h-path {
  stroke: var(--orange);
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw 0.85s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.house .h-dot.is-on circle:first-child { opacity: 1; }
.house .h-dot.is-on circle:last-child { fill: var(--orange); }

.map-panel { position: relative; }
.syspanel {
  display: none;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
}
.syspanel.is-on { display: grid; }
.syspanel-fig { display: block; border-radius: var(--r-sm); overflow: hidden; background: var(--gray); }
.syspanel-fig img { width: 100%; height: 236px; object-fit: cover; object-position: center 62%; }
.syspanel-eyebrow { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--orange-deep); }
.syspanel-body h3 { margin: 8px 0 12px; font-size: 19px; }
.syspanel-rate {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--muted);
}
.syspanel-rate b { color: var(--ink); font-weight: 700; }
.syspanel-act { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.syspanel-act .btn { min-height: 46px; font-size: 14px; padding: 0 16px; }

/* ============================================================ 홈 · 실시간 현황 */
.live-sec { background: var(--slate); color: #fff; padding-block: calc(var(--section) / 2); }
.live-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
  gap: 30px;
  align-items: center;
  background: var(--slate-2);
  border: 1px solid var(--slate-line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
}
.live-tech { display: flex; align-items: center; gap: 15px; }
.live-tech img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; background: var(--slate-3); }
.live-tech b { font-size: 17px; font-weight: 700; }
.live-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); margin-top: 3px; }
.score { display: inline-flex; align-items: center; gap: 4px; color: #ffb271; font-weight: 700; }
.score .ico { width: 14px; height: 14px; }
.live-sub { font-size: 13px; color: rgba(255, 255, 255, 0.66); margin-top: 4px; }

.live-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; position: relative; }
.lt-step { text-align: center; position: relative; }
.lt-step::before {
  content: "";
  position: absolute;
  left: -50%; right: 50%;
  top: 21px;
  height: 2px;
  background: var(--slate-3);
}
.lt-step:first-child::before { display: none; }
.lt-step.is-done::before, .lt-step.is-now::before { background: var(--orange); }
.lt-mark {
  position: relative;
  z-index: 1;
  width: 42px; height: 42px;
  margin: 0 auto 8px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--slate);
  border: 2px solid var(--slate-3);
  color: rgba(255, 255, 255, 0.45);
}
.lt-step.is-done .lt-mark { border-color: var(--orange); color: var(--orange); }
.lt-step.is-now .lt-mark { background: var(--orange-cta); border-color: var(--orange-cta); color: #fff; }
.lt-step b { display: block; font-size: 13.5px; font-weight: 700; }
.lt-step.is-now b { color: #ffb271; }
.lt-step small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); margin-top: 2px; }

.live-eta { text-align: right; border-left: 1px solid var(--slate-line); padding-left: 28px; }
.live-eta-label { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.live-eta-num { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; margin: 2px 0 10px; }
.live-eta-num b { font-size: 42px; font-weight: 800; letter-spacing: -0.05em; color: #ffb271; font-variant-numeric: tabular-nums; }
.live-eta-num span { font-size: 16px; font-weight: 700; }

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 34px;
  align-items: center;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--slate-line);
}
.area-copy h3 { font-size: 24px; letter-spacing: -0.035em; }
.area-copy > p { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.72); }
.area-pick { margin-top: 22px; display: grid; gap: 8px; max-width: 340px; }
.area-pick label { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.8); }
.control-dark {
  background-color: var(--slate-2);
  border-color: var(--slate-3);
  color: #fff;
}
.control-dark option { color: var(--ink); }
.area-out { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.area-eta { font-size: 14.5px; color: rgba(255, 255, 255, 0.82); }
.area-eta b { font-weight: 800; color: #fff; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}
.badge-ok { background: rgba(34, 197, 94, 0.16); color: #6ee7a0; }
.badge-part { background: rgba(255, 106, 0, 0.18); color: #ffb271; }
.badge-soon { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.78); }
.area-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.66); }
.area-legend li { display: flex; align-items: center; gap: 7px; }
.lg { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.lg-ok { background: var(--orange); }
.lg-part { background: #ffb271; }
.lg-soon { background: rgba(255, 255, 255, 0.3); }

.area-fig { margin: 0; position: relative; }
.area-fig img { width: 100%; border-radius: var(--r); background: #fff; }
.area-fig figcaption { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); text-align: right; }

.area-stat {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 10px;
  background: var(--slate-2);
  border: 1px solid var(--slate-line);
  border-radius: var(--r);
  overflow: hidden;
}
.area-stat li { padding: 20px 18px; text-align: center; }
.area-stat li + li { border-left: 1px solid var(--slate-line); }
.area-stat b { display: block; font-size: 27px; font-weight: 800; letter-spacing: -0.045em; color: #ffb271; font-variant-numeric: tabular-nums; }
.area-stat span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); margin-top: 3px; }

/* ============================================================ 홈 · 요금 */
.visitfee {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: center;
  background: var(--orange-tint);
  border: 1.5px solid var(--orange-line);
  border-radius: var(--r-lg);
  padding: 28px 30px;
}
.visitfee-head { grid-column: 1; }
.visitfee-head h3 { font-size: 20px; }
.visitfee .fee-table { grid-column: 1; margin-top: 18px; }
.visitfee-head + .fee-table { margin-top: 0; }
.fee-table { background: var(--surface); border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--orange-line); }
.fee-table th, .fee-table td { padding: 13px 16px; text-align: left; font-size: 14.5px; }
.fee-table thead th { background: var(--orange-wash); font-size: 12.5px; font-weight: 700; color: var(--orange-deep); border-bottom: 1px solid var(--orange-line); }
.fee-table tbody th { font-weight: 700; }
.fee-table tbody th span { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.fee-table tbody tr + tr th, .fee-table tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.fee-table td { text-align: right; }
.fee-table td b { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.fee-table-lg th, .fee-table-lg td { padding: 17px 20px; }
.fee-table-lg td b { font-size: 24px; }

.fee-notes { display: grid; gap: 10px; }
.fee-notes li { font-size: 14.5px; color: var(--ink-2); line-height: 1.68; }
.fee-notes .ico { color: var(--orange-deep); }
.fee-notes b { color: var(--ink); font-weight: 700; }

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.pcard h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.pcard h3 .ico { color: var(--orange); }
.pcard dl { display: grid; gap: 10px; margin-top: 14px; }
.pcard dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.pcard dt { font-size: 14.5px; color: var(--ink-2); }
.pcard dd { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.price-more { margin-top: 26px; text-align: center; }

/* ============================================================ 홈 · 안심·후기 */
.trust-sec { background: var(--gray); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 46px; align-items: start; }
.promise { display: grid; gap: 14px; }
.promise li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 15px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
}
.promise-ico {
  grid-row: span 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-deep);
}
.promise b { font-size: 16px; font-weight: 700; letter-spacing: -0.03em; }
.promise small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.62; margin-top: 3px; }
.trust-fig { margin: 22px 0 0; }
.trust-fig img { width: 100%; border-radius: var(--r); }
.trust-fig figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.review-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.review-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.review-score { display: flex; align-items: center; gap: 7px; }
.review-score .ico { color: var(--orange); }
.review-score b { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.review-score span { font-size: 14px; color: var(--muted); }
.review-count { font-size: 13px; color: var(--muted); }
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  margin-top: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; }
.review-stars { color: var(--orange-deep); font-size: 15px; letter-spacing: 2px; }
.review-text { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.78; }
.review-by { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.review-by b { font-weight: 700; }
.review-by span { color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.dots button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.dots button::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.22s var(--ease), width 0.22s var(--ease);
}
.dots button[aria-current="true"]::before { background: var(--orange); width: 20px; border-radius: 4px; }

/* ============================================================ CTA 띠 */
.cta-band { background: var(--orange-cta); color: #fff; padding-block: 44px; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 34px; align-items: center; }
.cta-copy h2 { font-size: clamp(22px, 2.2vw, 28px); }
.cta-copy p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.cta-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cta-acts .btn { justify-content: flex-start; text-align: left; }

/* ============================================================ 푸터 */
.site-footer { background: var(--slate); color: rgba(255, 255, 255, 0.7); padding-top: 66px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.55fr); gap: 40px; padding-bottom: 50px; }
.footer-brand .brand-name b { color: #fff; }
.footer-claim { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.footer-tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: #fff; }
.footer-tel .ico { color: var(--orange); }
.footer-tel small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.55); line-height: 1.2; }
.footer-tel b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.035em; }
.footer-hours { margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.footer-col h2 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: -0.01em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: #ffb271; }
.footer-biz dl { display: grid; gap: 7px; }
.footer-biz dl div { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 10px; font-size: 13px; }
.footer-biz dt { color: rgba(255, 255, 255, 0.45); }
.footer-biz dd { color: rgba(255, 255, 255, 0.75); }
.footer-biz dd a:hover { color: #ffb271; }
.footer-pay { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }
.footer-bottom {
  border-top: 1px solid var(--slate-line);
  padding: 20px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.44);
}
.footer-demo { max-width: 62ch; }

.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 55;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  box-shadow: var(--shadow-1);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s,
    color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--orange-deep); border-color: var(--orange-line); }

/* ============================================================ 토스트 */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  z-index: 120;
  transform: translate(-50%, 18px);
  min-width: 280px;
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 22px;
  background: var(--slate);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  box-shadow: 0 12px 34px rgba(17, 20, 24, 0.28);
  opacity: 0;
  visibility: hidden;
  /* 알림일 뿐이므로 폭 전체 제출 버튼을 가로막지 않는다 */
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { color: #ffb271; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================ 등장 */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================ 폼 부품 */
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field > label, .field legend { font-size: 13.5px; font-weight: 700; color: var(--ink); padding: 0; }
.label-sub { font-weight: 500; color: var(--muted); font-size: 12px; }
.field .req { color: var(--orange-deep); }
.field-help { font-size: 12.5px; color: var(--muted); }
.control {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.control::placeholder { color: #9aa1ad; }
.control:hover { border-color: #cfd4dd; }
.control:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.16); }
.control:disabled { background: var(--gray); color: var(--muted); cursor: not-allowed; }
textarea.control { min-height: 96px; resize: vertical; line-height: 1.7; }
select.control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23767d8b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
select.control-dark {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.field.invalid .control { border-color: var(--err-ink); box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12); }
.err { display: none; font-size: 12.5px; color: var(--err-ink); font-weight: 600; }
.field.invalid .err { display: block; }
.counter { text-align: right; font-size: 12px; color: var(--muted); }

.agree { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.agree input, .check-field input[type="checkbox"], .demo-in { position: absolute; opacity: 0; width: 0; height: 0; }
.box {
  width: 22px; height: 22px;
  flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.box .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.agree input:checked + label .box,
.check-field input:checked + label .box,
.demo-in:checked + .demo-toggle .box { background: var(--orange); border-color: var(--orange); color: #fff; }
.agree input:focus-visible + label .box,
.check-field input:focus-visible + label .box,
.demo-in:focus-visible + .demo-toggle .box { outline: 3px solid var(--orange); outline-offset: 2px; }
.agree label, .check-field label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
}
.agree-note { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ============================================================ 증상진단 */
.triage-sec { padding-top: 52px; }
.triage-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.tri-progress { display: none; height: 4px; border-radius: 4px; background: var(--gray-2); overflow: hidden; margin-bottom: 8px; }
.tri-progress-fill { display: block; height: 100%; width: 33%; background: var(--orange); border-radius: 4px; transition: width 0.3s var(--ease); }
.tri-count { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }

.tstep { border: 0; padding: 0; margin: 0 0 34px; }
.tstep legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 8px; }
.tstep-n {
  display: inline-flex; align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 100px;
  background: var(--slate);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tstep-q { font-size: clamp(19px, 2vw, 23px); font-weight: 700; letter-spacing: -0.035em; }
.tstep-help { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.tstep-empty, .tstep-done {
  font-size: 14px;
  color: var(--muted);
  background: var(--gray);
  border-radius: var(--r-sm);
  padding: 16px 18px;
}
.tstep-done { color: var(--ok-ink); background: var(--ok-tint); font-weight: 600; }
.tstep-empty[hidden], .tstep-done[hidden] { display: none; }

.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tile-in { position: absolute; opacity: 0; width: 0; height: 0; }
.tile {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 96px;
  padding: 14px 8px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.tile .ico { width: 26px; height: 26px; color: var(--muted); transition: color 0.2s var(--ease); }
.tile span { font-size: 13.5px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; }
.tile:hover { border-color: var(--orange-line); background: var(--orange-wash); }
.tile-in:checked + .tile { border-color: var(--orange); background: var(--orange-tint); box-shadow: 0 4px 14px rgba(255, 106, 0, 0.14); }
.tile-in:checked + .tile .ico { color: var(--orange); }
.tile-in:focus-visible + .tile { outline: 3px solid var(--orange); outline-offset: 2px; }

.branch + .branch { margin-top: 22px; }
.branch[hidden] { display: none; }
.branch-q { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.branch-q b { color: var(--orange-deep); }
.opts { display: grid; gap: 8px; }
.opt-in { position: absolute; opacity: 0; width: 0; height: 0; }
.opt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 60px;
  padding: 13px 18px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.opt:hover { border-color: var(--orange-line); background: var(--orange-wash); }
.opt-mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.opt-txt b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.03em; }
.opt-txt small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.opt-in:checked + .opt { border-color: var(--orange); background: var(--orange-tint); }
.opt-in:checked + .opt .opt-mark { border-color: var(--orange); box-shadow: inset 0 0 0 4px var(--orange); }
.opt-in:checked + .opt .opt-txt b { font-weight: 700; }
.opt-in:focus-visible + .opt { outline: 3px solid var(--orange); outline-offset: 2px; }

.tri-nav { display: none; gap: 10px; margin-bottom: 30px; }
.tri-nav .btn { flex: 1; }

.photo-add {
  background: var(--gray);
  border-radius: var(--r);
  padding: 24px 26px;
}
.photo-add h2 { font-size: 17px; }
.photo-add > p { margin: 8px 0 16px; font-size: 14px; color: var(--ink-2); }
.photo-empty { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.photo-empty[hidden] { display: none; }
.photo-list { display: grid; gap: 8px; margin-top: 14px; }
.photo-list li {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 13.5px;
}
.photo-list img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; }
.photo-list .ico { color: var(--ok-ink); }
.photo-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-list small { color: var(--muted); font-size: 12px; }

.triage-out { position: sticky; top: calc(var(--header-h) + 20px); }
.out-title { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.out-title .ico { color: var(--orange); }
.out-box {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-1);
}
.out-empty { text-align: center; padding: 24px 8px; }
.out-empty[hidden] { display: none; }
.js .out-empty { display: block; }
.js .out-empty[hidden] { display: none; }
.out-empty-ico {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gray);
  color: var(--muted);
}
.out-empty-h { font-size: 16px; font-weight: 700; }
.out-empty p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.out-empty-sub { font-size: 12.5px !important; }

.outcome { display: none; }
.outcome.is-on { display: block; }
.out-path { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; margin-bottom: 14px; }
.out-path span {
  background: var(--gray);
  border-radius: 100px;
  padding: 4px 11px;
  font-weight: 600;
  color: var(--ink-2);
}
.out-path span:last-child { background: var(--orange-tint); color: var(--orange-deep); }
.out-eyebrow { font-size: 12.5px; font-weight: 700; color: var(--orange-deep); }
.out-cause { font-size: 21px; letter-spacing: -0.035em; margin: 6px 0 14px; line-height: 1.4; }
.out-risk {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid;
  margin-bottom: 18px;
}
.out-risk b { font-weight: 700; }
.out-risk span { opacity: 0.75; }
.risk-high { background: var(--err-tint); border-color: var(--err-line); color: var(--err-ink); }
.risk-mid { background: var(--warn-tint); border-color: var(--warn-line); color: var(--warn-ink); }
.risk-low { background: var(--gray); border-color: var(--line); color: var(--ink-2); }

.out-nums { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.out-nums div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; background: var(--surface); padding: 12px 15px; }
.out-nums dt { font-size: 13.5px; color: var(--ink-2); }
.out-nums dd { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.out-nums dd small { font-weight: 600; font-size: 11.5px; color: var(--orange-deep); background: var(--orange-tint); border-radius: 4px; padding: 1px 6px; margin-left: 4px; }
.out-vat { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.out-free { display: flex; align-items: flex-start; gap: 10px; background: var(--ok-tint); border: 1px solid #bfe9cd; border-radius: var(--r-sm); padding: 15px 17px; }
.out-free .ico { color: var(--ok-ink); margin-top: 3px; }
.out-free p { font-size: 14px; color: var(--ok-ink); font-weight: 600; line-height: 1.68; }

.out-first { margin-top: 20px; background: var(--gray); border-radius: var(--r-sm); padding: 18px 20px; }
.out-first h4 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin-bottom: 10px; }
.out-first h4 .ico { color: var(--orange-deep); }
.out-first ol { counter-reset: fs; display: grid; gap: 8px; }
.out-first li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.out-first li::before {
  counter-increment: fs;
  content: counter(fs);
  position: absolute;
  left: 0; top: 2px;
  width: 19px; height: 19px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--slate);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.out-act { display: grid; gap: 8px; margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.out-act .btn-block { grid-column: 1 / -1; }
.out-act .btn-ghost { font-size: 13.5px; padding: 0 12px; }
.tri-reset { margin-top: 12px; }
.tri-reset[hidden] { display: none; }
.out-caution {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}
.out-caution b { color: var(--ink-2); font-weight: 700; }

.safety-sec { background: var(--gray); }
.safety-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 40px; align-items: start; }
.safety-list { display: grid; gap: 11px; }
.safety-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 15px 18px 15px 44px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.68;
}
.safety-list .ico { color: var(--orange-deep); }
.safety-list b { color: var(--ink); font-weight: 700; }
.safety-fig { margin: 0; }
.safety-fig img { width: 100%; border-radius: var(--r); }
.safety-fig figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.call-band { background: var(--slate); color: #fff; padding-block: 34px; }
.call-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.call-fig { margin: 0; }
.call-fig img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--slate-2); }
.call-copy h2 { font-size: 22px; }
.call-copy p { margin-top: 7px; font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.call-btn { flex: none; }

/* ============================================================ 서비스 */
.tabs { display: flex; gap: 8px; border-bottom: 1.5px solid var(--line); margin-bottom: 28px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 50px;
  padding: 0 20px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1.5px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--orange-deep); border-bottom-color: var(--orange); }
.tabpanel[hidden] { display: none; }
.tabpanel + .tabpanel { margin-top: 44px; }
.tabpanel-h { display: flex; align-items: center; gap: 9px; font-size: 20px; }
.tabpanel-h .ico { color: var(--orange); }
.tabpanel-lead { font-size: 14.5px; color: var(--muted); margin: 6px 0 20px; }
.js .tabpanel-h { display: none; }
.js .tabpanel-lead { display: none; }
.js .tabpanel + .tabpanel { margin-top: 0; }

.svc-list { display: grid; gap: 12px; }
.svc-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 20px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.svc-row:hover { border-color: var(--orange-line); box-shadow: var(--shadow-1); }
.svc-fig { display: block; width: 108px; height: 88px; border-radius: var(--r-sm); overflow: hidden; background: var(--gray); }
.svc-fig img { width: 100%; height: 100%; object-fit: cover; }
.svc-body h4 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.03em; }
.svc-body > p { margin-top: 5px; font-size: 14.5px; color: var(--ink-2); }
.svc-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.svc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.svc-meta .ico { color: var(--orange); }
.svc-act { display: flex; flex-direction: column; gap: 7px; flex: none; }

.proc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proc-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--r); padding: 22px 22px 24px; }
.proc-n { font-size: 34px; font-weight: 800; letter-spacing: -0.05em; color: var(--orange-line); line-height: 1; }
.proc-card h3 { font-size: 17px; margin: 8px 0 12px; }
.proc-card ul { display: grid; gap: 8px; }
.proc-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.proc-card .ico { color: var(--orange-deep); margin-top: 3px; }

.cases {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, calc((100% - 48px) / 4));
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.cases::-webkit-scrollbar { display: none; }
.case { scroll-snap-align: start; }
.case-fig { display: block; border-radius: var(--r); overflow: hidden; background: var(--gray); aspect-ratio: 4 / 3; }
.case-fig img { width: 100%; height: 100%; object-fit: cover; }
.case h3 { font-size: 16px; margin-top: 13px; }
.case p { margin-top: 5px; font-size: 13.5px; color: var(--muted); line-height: 1.62; }

.badge-sec { padding-top: 0; }
.badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  background: var(--gray);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 4px;
}
.badges li { background: var(--surface); border-radius: var(--r); padding: 24px 22px; }
.badge-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-deep);
  margin-bottom: 13px;
}
.badges b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.03em; }
.badges small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

.svc-cta { margin-top: 40px; text-align: center; }
.svc-cta p { font-size: 17px; font-weight: 600; color: var(--ink-2); }
.svc-cta-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ============================================================ 요금 */
.visit-sec { padding-bottom: 30px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 34px; align-items: start; }
.visit-notes { display: grid; gap: 12px; }
.visit-notes li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
}
.vn-ico {
  grid-row: span 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-deep);
}
.visit-notes b { font-size: 15px; font-weight: 700; letter-spacing: -0.03em; }
.visit-notes small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.62; margin-top: 3px; }

.calc-sec { background: var(--gray); }
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 26px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.calc-in { display: grid; gap: 20px; align-content: start; }
.calc-in fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 7px; }
.segs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg-in { position: absolute; opacity: 0; width: 0; height: 0; }
.seg {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.seg small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.seg:hover { border-color: var(--orange-line); }
.seg-in:checked + .seg { border-color: var(--orange); background: var(--orange-tint); color: var(--orange-deep); }
.seg-in:checked + .seg small { color: var(--orange-deep); }
.seg-in:focus-visible + .seg { outline: 3px solid var(--orange); outline-offset: 2px; }
.check-field { gap: 4px; }

.calc-out { background: var(--slate); color: #fff; border-radius: var(--r); padding: 24px 26px; }
.calc-title { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }
.calc-lines { display: grid; gap: 10px; }
.calc-lines div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc-lines dt { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.calc-lines dd { font-size: 15px; font-weight: 600; }
.calc-sub { padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--slate-line); }
.calc-sub dt, .calc-sub dd { font-weight: 700; color: #fff; }
.calc-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 16px;
  border-top: 1px solid var(--slate-line);
}
.calc-total span { font-size: 15px; font-weight: 700; }
.calc-total b { font-size: 30px; font-weight: 800; letter-spacing: -0.045em; color: #ffb271; }
.calc.is-calc .calc-lines dd, .calc.is-calc .calc-total b { color: transparent; background: rgba(255, 255, 255, 0.14); border-radius: 4px; }
.calc-notes { display: grid; gap: 6px; margin-top: 16px; }
.calc-notes li { position: relative; padding-left: 12px; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }
.calc-notes li::before { content: "·"; position: absolute; left: 2px; }
.calc-act { display: grid; gap: 8px; margin-top: 18px; }
.calc-act .btn-ghost { --btn-fg: rgba(255, 255, 255, 0.85); --btn-bd: rgba(255, 255, 255, 0.28); }
.calc-act .btn-ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.5); }

.rate-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.chip .ico { color: var(--orange); }
.chip:hover { border-color: var(--orange); color: var(--orange-deep); background: var(--orange-wash); }

.rate-block + .rate-block { margin-top: 34px; }
.rate-h { display: flex; align-items: center; gap: 9px; font-size: 19px; margin-bottom: 12px; }
.rate-h .ico { color: var(--orange); }
.rate-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rate-table th, .rate-table td { padding: 14px 18px; text-align: left; font-size: 14.5px; }
.rate-table thead th { background: var(--gray); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.rate-table thead th:last-child { text-align: right; }
.rate-table tbody th { font-weight: 700; width: 30%; }
.rate-table tbody td { color: var(--ink-2); }
.rate-table tbody tr + tr th, .rate-table tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.rate-table .num { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.rate-foot { margin-top: 20px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.pay-sec { background: var(--gray); }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pay-grid h2 { font-size: 22px; margin-bottom: 18px; }
.pays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pays li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.pays .ico { color: var(--orange); margin-bottom: 10px; }
.pays b { display: block; font-size: 15px; font-weight: 700; }
.pays small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.warranty-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.warranty-cards div { background: var(--surface); border: 1.5px solid var(--orange-line); border-radius: var(--r); padding: 20px; text-align: center; }
.warranty-cards b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.045em; color: var(--orange-deep); }
.warranty-cards span { display: block; font-size: 14px; font-weight: 700; margin-top: 2px; }
.warranty-cards small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.warranty-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.65; }

.faq-wrap { max-width: 860px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 16px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
  color: var(--ink);
}
.acc-trigger .ico { color: var(--muted); transition: transform 0.28s var(--ease), color 0.2s var(--ease); flex: none; }
.acc-trigger:hover { color: var(--orange-deep); }
.acc-trigger[aria-expanded="true"] { color: var(--orange-deep); }
.acc-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--orange); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s var(--ease); }
.acc-panel > p { overflow: hidden; font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-item.open .acc-panel > p { padding-bottom: 20px; }
.faq-more { margin-top: 24px; font-size: 14.5px; color: var(--ink-2); }
.faq-more a { font-weight: 800; color: var(--orange-deep); border-bottom: 2px solid var(--orange-line); }

/* ============================================================ 기사배정 */
.track-sec { padding-bottom: 40px; }
.track-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.demo-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.track-live {
  background: var(--orange-tint);
  border: 1.5px solid var(--orange-line);
  border-radius: var(--r-sm);
  padding: 14px 18px 14px 44px;
  font-size: 15px;
  color: var(--ink-2);
}
.track-live b { color: var(--ink); font-weight: 800; }
.track-live.is-pending { background: var(--gray); border-color: var(--line); color: var(--muted); }
.track-error {
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  margin-top: 10px;
  background: var(--err-tint);
  border: 1.5px solid var(--err-line);
  border-radius: var(--r-sm);
  padding: 13px 18px;
  font-size: 14.5px;
  color: var(--err-ink);
  font-weight: 600;
}
.track-error[hidden] { display: none; }
.track-error span { flex: 1; min-width: 200px; }

.dtrack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 30px 0 34px; }
.dstep { position: relative; text-align: center; padding-top: 6px; }
.dstep::before {
  content: "";
  position: absolute;
  left: -50%; right: 50%;
  top: 30px;
  height: 3px;
  background: var(--line);
}
.dstep:first-child::before { display: none; }
.dstep.is-done::before, .dstep.is-now::before { background: var(--orange); }
.dstep-mark {
  position: relative;
  z-index: 1;
  width: 50px; height: 50px;
  margin: 0 auto 10px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--line);
  color: var(--muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.dstep.is-done .dstep-mark { border-color: var(--ok); color: var(--ok-ink); background: var(--ok-tint); }
.dstep.is-now .dstep-mark { border-color: var(--orange-cta); background: var(--orange-cta); color: #fff; }
.dstep-name { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.03em; }
.dstep.is-now .dstep-name { color: var(--orange-deep); }
.dstep-time { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.dstep-slot { display: block; min-height: 26px; margin-top: 6px; }
.now-pin {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 11px;
  border-radius: 100px;
  background: var(--slate);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.now-pin[hidden] { display: none; }
.now-pin.is-pending { background: var(--muted); }

.track-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.rmap-box, .tech-box, .info-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
}
.rmap-box { grid-row: span 2; }
.rmap-box h3, .tech-box h3, .info-box h3 { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.rmap { width: 100%; height: auto; border-radius: var(--r-sm); overflow: hidden; }
.rm-bg { fill: #f6f7f9; }
.rm-block rect { fill: #eceef2; }
.rm-road path { stroke: #fff; stroke-width: 16; fill: none; }
.rm-route, .rm-route-base {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rm-route-base { stroke: #cfd5df; stroke-dasharray: 2 10; }
.rm-route { stroke: var(--orange); }
.js .rm-route {
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.1s var(--ease);
}
.rm-home-halo { fill: rgba(30, 35, 59, 0.12); }
.rm-home-dot { fill: var(--slate); }
.rm-home-ico { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.rm-van-halo { fill: rgba(255, 106, 0, 0.18); }
.rm-van-dot { fill: var(--orange); }
.rm-van-ico { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
#rm-van { transition: transform 0.9s var(--ease); }
.rmap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.rmap-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-van { background: var(--orange); }
.lg-home { background: var(--slate); }
.rmap-eta { margin-left: auto; font-weight: 700; color: var(--ink-2); }

.tech-card { display: flex; align-items: center; gap: 15px; }
.tech-card img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; background: var(--gray); }
.tech-card b { font-size: 17px; font-weight: 700; }
.tech-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.tech-card .score { color: var(--orange-deep); }
.tech-sub { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.tech-act { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.tech-verify { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.tech-verify .ico { color: var(--ok-ink); }

.kv { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.kv div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; background: var(--surface); padding: 12px 15px; }
.kv dt { font-size: 13.5px; color: var(--muted); }
.kv dd { font-size: 14.5px; font-weight: 600; }
.kv dd a { color: var(--orange-deep); border-bottom: 1px solid var(--orange-line); }
.kv-sub { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.info-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.info-cancel {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px;
  background: var(--gray);
  border-radius: var(--r-sm);
  padding: 12px 15px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.info-cancel[hidden] { display: none; }
.info-cancel span { flex: 1; min-width: 160px; }

.req-sec { background: var(--gray); }
.req-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: start; }
.req-points { display: grid; gap: 9px; margin-top: 4px; }
.req-points li { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.req-points .ico { color: var(--ok-ink); }
.req-points b { font-weight: 700; color: var(--ink); }
.req-tech { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.req-tech-h { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.req-tech ul { display: grid; gap: 12px; }
.req-tech li { display: flex; align-items: center; gap: 12px; }
.req-tech img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--gray); }
.req-tech b { display: block; font-size: 14.5px; font-weight: 700; }
.req-tech small { display: block; font-size: 12.5px; color: var(--muted); }

.req-form {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  box-shadow: var(--shadow-1);
}
.req-form h3 { grid-column: 1 / -1; font-size: 19px; }
.req-form .agree, .req-form .agree-note, .req-form .form-submit, .req-form .form-foot { grid-column: 1 / -1; }
.form-submit { margin-top: 6px; }
.form-foot { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.mstatus { display: none; }

/* ============================================================ 반응형 */
@media (max-width: 1280px) {
  .rail { display: none; }
}

@media (max-width: 1180px) {
  :root { --wrap: 1024px; --section: 96px; --gutter: 32px; }
  .navlinks { gap: 22px; }
  .navlinks a { font-size: 15px; }
  .hero-in { gap: 40px; }
  .map-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .map-art { grid-column: 1 / -1; grid-row: 2; }
  .live-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 24px; }
  .live-eta { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--slate-line); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
  .live-eta-num { margin: 0; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .flow-step:nth-child(3)::after { display: none; }
  .cases { grid-auto-columns: minmax(0, calc((100% - 32px) / 3)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .navlinks, .nav-tel { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 46px 54px; }
  .hero-copy { max-width: 640px; }
  .hero-fig img { min-height: 280px; max-height: 340px; }
  .hero-fig-sm img { min-height: 220px; max-height: 280px; }
  .pc-br { display: none; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .triage-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .triage-out { position: static; }
  .out-box { max-width: 640px; }
  .visitfee { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .visit-grid, .pay-grid, .safety-grid, .req-grid, .trust-grid, .calc, .area-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .track-grid { grid-template-columns: minmax(0, 1fr); }
  .rmap-box { grid-row: auto; }
  .price-cards, .proc, .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .call-grid { grid-template-columns: auto minmax(0, 1fr); }
  .call-btn { grid-column: 1 / -1; justify-content: flex-start; }
  .area-fig { max-width: 480px; }
  .safety-fig { max-width: 320px; }
  .trust-fig { max-width: 460px; }
}

@media (max-width: 900px) {
  /* 서비스 맵·실시간 카드는 두 칸으로는 더 못 버틴다 — 글자가 낱자로 쪼개진다 */
  .map-grid { grid-template-columns: minmax(0, 1fr); }
  .map-art { grid-column: auto; grid-row: auto; }
  .live-card { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .live-tech { flex-wrap: wrap; }
  /* 한 칸으로 내려오면 집 단면이 화면을 다 잡아먹는다 — 폭을 묶는다 */
  .house { max-width: 440px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: 92px minmax(0, 1fr); row-gap: 14px; }
  .svc-fig { width: 92px; height: 76px; }
  .svc-act { grid-column: 1 / -1; flex-direction: row; }
  .svc-act .btn { flex: 1; }
  .dtrack { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
  .dstep-mark { width: 42px; height: 42px; }
  .dstep::before { top: 27px; }
  .dstep-name { font-size: 12.5px; }
  .dstep-time { font-size: 11px; }
  .cases { grid-auto-columns: minmax(0, calc((100% - 16px) / 2)); }
  .req-form { grid-template-columns: minmax(0, 1fr); }
  .segs { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --section: 78px; --gutter: 20px; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts li:nth-child(n + 2) { border-top: 1px solid var(--line-soft); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step::after { display: none; }
  .price-cards, .proc, .badges, .pays, .warranty-cards, .cta-acts, .area-stat, .tech-act, .out-act { grid-template-columns: minmax(0, 1fr); }
  .area-stat li + li { border-left: 0; border-top: 1px solid var(--slate-line); }
  .out-act .btn-ghost { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sec-head-row { flex-direction: column; align-items: stretch; }
  .track-tools { justify-content: space-between; }
  .live-track { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lt-step { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; text-align: left; }
  .lt-step::before { display: none; }
  .lt-mark { margin: 0; }
  .lt-step small { margin-top: 0; }
  .syspanel { grid-template-columns: minmax(0, 1fr); }
  .syspanel-fig img { min-height: 150px; }
  .review-col { padding: 20px; }
  .calc, .req-form, .out-box { padding: 22px; }
  .toast { bottom: 20px; }

  /* 모바일: 한 질문씩 — 정보 우선순위를 다시 짠다(§08) */
  .js .triage-main[data-mstep] .tstep { display: none; }
  .js .triage-main[data-mstep] .photo-add { display: none; }
  .js .triage-main[data-mstep="1"] .tstep[data-n="1"],
  .js .triage-main[data-mstep="2"] .tstep[data-n="2"],
  .js .triage-main[data-mstep="3"] .tstep[data-n="3"] { display: block; }
  .js .triage-main[data-mstep="4"] .photo-add { display: block; }
  .js .triage-main[data-mstep] .tri-progress { display: block; }
  .js .triage-main[data-mstep] .tri-nav { display: flex; }
  .js .triage-main[data-mstep] .tri-count[hidden] { display: block; }

  /* 모바일: 기사 상태 고정 (§08) */
  body.has-mstatus { padding-bottom: 74px; }
  .mstatus {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 20px;
    background: var(--slate);
    color: #fff;
    border-top: 1px solid var(--slate-line);
  }
  .mstatus p { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
  .mstatus b { color: #fff; font-weight: 800; }
  .mstatus .btn { flex: none; min-height: 44px; }
  body.has-mstatus .toast { bottom: 84px; }
  body.has-mstatus .to-top { bottom: 84px; }
}

@media (max-width: 520px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-step { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 4px 14px; text-align: left; padding: 14px 16px; }
  .flow-ico { margin: 0; grid-row: span 2; }
  .flow-num { grid-column: 2; }
  .flow-step b { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .flow-step small { grid-column: 2 / -1; }
  .cases { grid-auto-columns: 84%; }
  .dtrack { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dstep { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; text-align: left; padding-top: 0; }
  .dstep::before { display: none; }
  .dstep-mark { margin: 0; }
  .dstep-time { margin-top: 0; }
  .dstep-slot { min-height: 0; margin: 0; }
  .kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 0 14px; white-space: nowrap; }
  .visitfee, .map-art { padding: 18px; }
  .fee-table-lg th, .fee-table-lg td { padding: 13px 14px; }
  .fee-table-lg td b { font-size: 20px; }
  .rate-table th, .rate-table td { padding: 11px 12px; font-size: 13.5px; }
  .rate-table tbody th { width: auto; }
  .rate-table thead th:nth-child(2), .rate-table tbody td:nth-child(2) { display: none; }
  .live-eta { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 21px; }
  .nav-cta { display: none; }
  .out-cause { font-size: 19px; }
}

/* ============================================================ 모션 최소화 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* 진행 애니메이션을 없애고 최종 상태를 즉시 보여 준다 */
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .rail-fill { transform: scaleY(var(--p, 0)); }
  .house .h-sys.is-on .h-path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .rm-route { transition: none; }
  .live-dot { animation: none; }
  #rm-van { transition: none; }
}

@media print {
  .site-header, .netbar, .drawer, .scrim, .to-top, .toast, .rail, .mstatus, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .hero-dark, .live-sec, .call-band, .calc-out, .site-footer { background: #fff !important; color: #000 !important; }
  .outcome, .branch[hidden], .tabpanel[hidden], .syspanel { display: block !important; }
}
