/* ==========================================================================
   한결테크 (Hankyeol Tech) — DREXLY 템플릿
   원자료: 템플릿/11 · 00-디자인보드(정본) · 02-페이지시안(면별 정본) · 06-mobile
   성격: Technical Editorial + Specification Table + Dashboard
   ========================================================================== */

:root {
  /* ---- Color (디자인보드 「컬러 시스템」) ---- */
  --primary: #00a651;      /* Primary */
  --deep: #007a3d;         /* Deep Green */
  --deep-press: #00602f;
  --graphite: #1f1f1f;     /* Graphite */
  --gray: #686868;         /* Gray */
  --line: #e6e6e6;         /* Light Gray */
  --white: #ffffff;

  --ink: #1f1f1f;
  --ink2: #4a4a4a;
  --muted: #6b6b6b;      /* AA 4.5:1 — 흰 바탕 대비 5.33 */
  --paper: #ffffff;
  --paper2: #f6f7f6;       /* 인더스트리얼 화이트 */
  --paper3: #eef0ee;
  --line-soft: #f0f1f0;
  --tint: #edf7f1;         /* 시그널 그린 10% */
  --danger: #c0392b;
  --danger-soft: #fdf2f1;

  /* ---- Typography ---- */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  /* 숫자·코드는 IBM Plex Mono, 한글은 Pretendard 로 떨어지게 순서를 잡는다 */
  --mono: "IBM Plex Mono", "Pretendard Variable", Pretendard, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* ---- Spacing (8px system) ---- */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 56px; --s7: 72px; --s8: 96px;

  /* ---- Layout ---- */
  --wrap: 1280px;
  --gutter: 40px;
  --section: 96px;

  /* ---- Radius / Shadow / Border ---- */
  --r1: 4px; --r2: 8px; --r3: 14px;
  --sh1: 0 1px 2px rgba(31, 31, 31, 0.05);
  --sh2: 0 10px 30px rgba(31, 31, 31, 0.10);
  --sh3: 0 -6px 24px rgba(31, 31, 31, 0.10);

  /* ---- Z-index ---- */
  --z-head: 60; --z-scrim: 80; --z-drawer: 90; --z-dialog: 110; --z-toast: 130;

  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.625;              /* 16 / 26 — 디자인보드 Body 1 */
  letter-spacing: -0.01em;
  /* 한국어는 어절 단위로 끊는다 */
  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; }
h1, h2, h3, h4 { margin: 0; line-height: 1.36; letter-spacing: -0.025em; }
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: 2px solid var(--deep);
  outline-offset: 2px;
  border-radius: 2px;
}
/* 프로그램이 옮긴 포커스(단계 전환 등)에는 테두리를 그리지 않는다 */
[tabindex="-1"]:focus { outline: none; }
/* .btn 의 inline-flex 가 UA 의 [hidden] 을 이겨 버튼이 되살아났던 자리 */
[hidden] { display: none !important; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--deep); color: #fff; padding: 12px 20px; font-size: 14px;
}
.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; }

/* 사진 액자 — aspect-ratio 가 먹으려면 반드시 블록이어야 한다 */
.frame { display: block; overflow: hidden; background: var(--paper3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.ico {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;   /* 디자인보드: Line / 2px / Round */
}
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 28px; height: 28px; stroke-width: 1.7; }

/* ------------------------------------------------------- 활자 계층 */
.h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.28; font-weight: 700; letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.34; font-weight: 700; letter-spacing: -0.032em;
  text-wrap: balance;
}
.h3 { font-size: 18px; line-height: 1.556; font-weight: 600; }
.lead { font-size: 17px; line-height: 1.75; color: var(--ink2); }
.body2 { font-size: 14px; line-height: 1.571; }
.cap { font-size: 12px; line-height: 1.5; color: var(--muted); }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }
.num { font-family: var(--mono); font-weight: 600; font-feature-settings: "tnum" 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--deep);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--primary); }

.section { padding-block: var(--section); }
.section-tint { background: var(--paper2); }
.section-dark { background: var(--graphite); color: #fff; }
.section-head { max-width: 760px; margin-bottom: var(--s5); }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--ink2); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.72); }
.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s3); margin-bottom: var(--s5); flex-wrap: wrap;
}
.head-row .section-head { margin-bottom: 0; }

hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* --------------------------------------------------------------- 버튼 */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--bd); border-radius: var(--r1);
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 600; letter-spacing: -0.02em;
  cursor: pointer; text-align: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary { --bg: var(--primary); --fg: #fff; --bd: var(--primary); }
.btn-primary:hover { --bg: var(--deep); --bd: var(--deep); }
.btn-primary:active { --bg: var(--deep-press); --bd: var(--deep-press); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--ink); }
.btn-onDark { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.34); }
.btn-onDark:hover { --bg: rgba(255, 255, 255, 0.1); --bd: rgba(255, 255, 255, 0.6); }
.btn[aria-disabled="true"], .btn:disabled {
  --bg: var(--paper3); --fg: var(--muted); --bd: var(--line);
  cursor: not-allowed; pointer-events: none;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--deep);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.btn-text:hover { border-bottom-color: var(--deep); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 8px; border-radius: 3px;
  background: var(--tint); color: var(--deep);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em;
}
.tag-line { background: transparent; border: 1px solid var(--line); color: var(--gray); }
.tag-dark { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* --------------------------------------------------------------- 헤더 */
.site-header {
  position: sticky; top: 0; z-index: var(--z-head);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: -0.045em; }
.navlinks { display: flex; align-items: center; gap: 30px; margin-left: 12px; }
.navlinks a {
  position: relative; font-size: 15px; font-weight: 500; color: var(--ink2);
  padding: 24px 0; transition: color 0.2s var(--ease);
}
.navlinks a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.navlinks a:hover { color: var(--ink); }
.navlinks a:hover::after { transform: scaleX(1); }
.navlinks a[aria-current="page"] { color: var(--deep); font-weight: 600; }
.navlinks a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; flex: none; }
.nav-tel {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 14px; color: var(--ink2);
}
.nav-tel .ico { color: var(--deep); }
.nav-tel:hover { color: var(--ink); }

.menu-btn {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r1); cursor: pointer;
}

/* 모바일 서랍 */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: var(--z-drawer);
  background: var(--paper); border-left: 1px solid var(--line);
  padding: 20px 20px 32px; transform: translateX(100%);
  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: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r1); cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; font-weight: 600; padding: 15px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer nav a[aria-current="page"] { color: var(--deep); }
.drawer nav a .ico { color: var(--muted); }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 8px; }
.drawer-foot .btn { justify-content: flex-start; }
.scrim {
  position: fixed; inset: 0; z-index: var(--z-scrim);
  background: rgba(31, 31, 31, 0.44);
  opacity: 0; visibility: hidden; transition: opacity 0.34s var(--ease), visibility 0.34s;
}
.scrim.open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- 홈 히어로 */
.hero {
  position: relative; background: var(--graphite); color: #fff; overflow: hidden;
  min-height: 560px; display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: 62%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--graphite) 0%, rgba(31, 31, 31, 0.88) 26%, rgba(31, 31, 31, 0.1) 78%, rgba(31, 31, 31, 0.3) 100%);
}
.hero > .wrap { position: relative; z-index: 1; padding-block: 88px; }
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: #6ee6a3; }
.hero .eyebrow::before { background: var(--primary); }
.hero h1 { margin: 18px 0 20px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.22; font-weight: 700; letter-spacing: -0.04em; }
.hero p.lead { color: rgba(255, 255, 255, 0.78); max-width: 470px; }
.hero-actions { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.hero-facts {
  display: flex; gap: 0; margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 22px; flex-wrap: wrap;
}
.hero-facts div { padding-right: 34px; margin-right: 34px; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-size: 12px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.02em; }
.hero-facts dd { font-family: var(--mono); font-size: 20px; font-weight: 600; margin-top: 4px; }

/* --------------------------------------------------------------- 서브 히어로 */
.page-hero { border-bottom: 1px solid var(--line); background: var(--paper2); }
.page-hero .wrap { display: grid; grid-template-columns: 1fr 520px; gap: var(--s6); align-items: center; padding-block: 56px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumb a:hover { color: var(--ink); }
.crumb .sep { color: var(--line); }
.crumb [aria-current] { color: var(--ink2); font-weight: 600; }
.page-hero h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.04em; }
.page-hero .lead { margin-top: 16px; max-width: 460px; }
.page-hero .frame { border-radius: var(--r2); aspect-ratio: 520 / 286; border: 1px solid var(--line); }
.page-facts { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.page-facts div { display: flex; flex-direction: column; }
.page-facts dt { font-size: 12px; color: var(--muted); }
.page-facts dd { font-family: var(--mono); font-size: 17px; font-weight: 600; margin-top: 2px; }
.page-facts dd.t { font-family: var(--sans); letter-spacing: -0.02em; }

/* --------------------------------------------------------------- 역량 스트립 */
.cap-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; background: var(--paper); }
.cap-strip > div { padding: 30px 26px; border-right: 1px solid var(--line); }
.cap-strip > div:last-child { border-right: 0; }
.cap-strip-3 { grid-template-columns: repeat(3, 1fr); }
.cap-ico { width: 44px; height: 44px; border-radius: var(--r1); background: var(--tint); color: var(--deep); display: grid; place-items: center; margin-bottom: 18px; }
.cap-strip h3 { font-size: 17px; font-weight: 600; }
.cap-strip .figure { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.cap-strip p { font-size: 13.5px; color: var(--gray); margin-top: 6px; }

/* --------------------------------------------------------------- 제품군 인덱스(홈) */
.split { display: grid; grid-template-columns: 340px 1fr; gap: var(--s7); align-items: start; }
.split-rev { grid-template-columns: 1fr 360px; }
.split-side { position: sticky; top: 104px; }
.split-side p { margin-top: 16px; color: var(--ink2); font-size: 15px; }
.split-side .btn { margin-top: 26px; }

.index-list { border-top: 1px solid var(--ink); }
.index-row {
  display: grid; grid-template-columns: 108px 1fr auto; gap: var(--s3);
  align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
.index-row:hover { background: var(--paper2); }
.index-row .frame { width: 108px; aspect-ratio: 138 / 98; border-radius: var(--r1); }
.index-row h3 { font-size: 17px; font-weight: 600; }
.index-code { font-family: var(--mono); font-size: 12px; color: var(--deep); margin-bottom: 4px; letter-spacing: 0.02em; }
.index-spec { display: flex; gap: 18px; margin-top: 8px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.index-spec b { font-family: var(--mono); font-weight: 600; color: var(--ink2); }
.index-row .ico { color: var(--muted); }
.index-row:hover .ico { color: var(--deep); }

/* --------------------------------------------------------------- 데이터 표 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); }
.dtable { font-size: 14.5px; min-width: 680px; }
.dtable caption { text-align: left; padding: 18px 20px 0; font-size: 13px; color: var(--muted); }
.dtable th, .dtable td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable thead th {
  background: var(--paper2); font-size: 13px; font-weight: 600; color: var(--ink2);
  letter-spacing: 0.01em; white-space: nowrap; border-bottom: 1px solid var(--line);
}
.dtable tbody tr:last-child th, .dtable tbody tr:last-child td { border-bottom: 0; }
.dtable tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; background: var(--paper2); width: 200px; }
.dtable .n { font-family: var(--mono); font-feature-settings: "tnum" 1; white-space: nowrap; }
.dtable .right { text-align: right; }
.dtable tbody tr:hover td { background: #fbfcfb; }

/* --------------------------------------------------------------- 검색·필터 */
.finder { border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); padding: 22px; }
.finder-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.field .req { color: var(--danger); }
.field .hint { font-size: 12px; color: var(--muted); }
.control {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r1);
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.control::placeholder { color: #767676; }   /* AA 4.54:1 */
.control:hover { border-color: #cfd2cf; }
.control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.16); }
.control:disabled { background: var(--paper3); color: var(--muted); cursor: not-allowed; }
textarea.control { min-height: 118px; resize: vertical; line-height: 1.7; }
select.control {
  appearance: none; padding-right: 40px;
  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='%23686868' 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 14px center;
}
.field.invalid .control { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12); }
.err { display: none; align-items: center; gap: 6px; font-size: 12.5px; color: var(--danger); }
.field.invalid .err { display: flex; }

.search-wrap { position: relative; flex: 1 1 320px; }
.search-wrap .control { padding-left: 42px; padding-right: 40px; }
.search-wrap .s-ico { position: absolute; left: 14px; bottom: 13px; color: var(--muted); pointer-events: none; }
.search-clear {
  position: absolute; right: 6px; bottom: 4px; width: 40px; height: 40px;
  display: none; place-items: center; background: none; border: 0; border-radius: 50%;
  color: var(--gray); cursor: pointer;
}
.search-wrap.has-value .search-clear { display: grid; }
.search-clear:hover { background: var(--paper3); color: var(--ink); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink2); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.18s var(--ease);
}
.chip:hover { border-color: var(--gray); color: var(--ink); }
.chip img { width: 28px; height: 20px; border-radius: 2px; object-fit: cover; }
.chip .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.chip[aria-pressed="true"] .n { color: rgba(255, 255, 255, 0.72); }

.result-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 26px 0 12px; flex-wrap: wrap;
}
.result-bar .count { font-size: 14px; color: var(--ink2); }
.result-bar .count b { font-family: var(--mono); color: var(--deep); }
.empty {
  display: none; padding: 56px 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--r2); background: var(--paper2);
}
.empty.show { display: block; }
.empty .ico { color: var(--muted); margin: 0 auto 14px; }
.empty h3 { font-size: 17px; font-weight: 600; }
.empty p { margin: 8px 0 20px; font-size: 14px; color: var(--gray); }

/* --------------------------------------------------------------- 제품 표 */
.prod-table { min-width: 860px; font-size: 14.5px; }
.prod-table th, .prod-table td { padding: 0 16px; text-align: left; }
.prod-table thead th {
  background: var(--paper2); font-size: 13px; font-weight: 600; color: var(--ink2);
  height: 48px; white-space: nowrap; border-bottom: 1px solid var(--line);
}
.prod-table tbody tr.row > td { height: 64px; border-bottom: 1px solid var(--line); }
.prod-table tbody tr.row:hover > td { background: #fbfcfb; }
.prod-table tbody tr.row.selected > td { background: var(--tint); }
.prod-table tbody tr.row.hidden, .prod-table tbody tr.detail.hidden { display: none; }
.p-code { font-family: var(--mono); font-weight: 600; color: var(--deep); white-space: nowrap; }
.p-name { font-weight: 600; }
.p-cat { color: var(--gray); white-space: nowrap; }
.p-n { font-family: var(--mono); white-space: nowrap; }
.p-pick { width: 56px; }
.p-more { width: 56px; text-align: right; }
.pick {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--gray);
}
.pick .box {
  width: 20px; height: 20px; border: 1px solid #8d918d; border-radius: 3px;
  display: grid; place-items: center; color: transparent; background: var(--paper);
  transition: all 0.16s var(--ease);
}
.pick:hover .box { border-color: var(--deep); }
.pick[aria-pressed="true"] .box { background: var(--primary); border-color: var(--primary); color: #fff; }
.pick[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.more-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--gray);
}
.more-btn .ico { transition: transform 0.24s var(--ease); }
.more-btn[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--deep); }
.detail > td { padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--paper2); }
.detail-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.detail.open .detail-panel { grid-template-rows: 1fr; }
.detail-inner { overflow: hidden; }
.detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px 26px; padding: 20px 0 22px;
}
.detail-grid dt { font-size: 12px; color: var(--muted); }
.detail-grid dd { font-size: 14px; margin-top: 3px; }
.detail-grid dd.n { font-family: var(--mono); }

/* 비교 바 */
.cmp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dialog);
  background: var(--graphite); color: #fff; box-shadow: var(--sh3);
  transform: translateY(100%); visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0.3s;
}
.cmp-bar.show { transform: none; visibility: visible; }
.cmp-bar .wrap { display: flex; align-items: center; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.cmp-picked { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; }
.cmp-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 6px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px;
  font-family: var(--mono); font-size: 13px;
}
.cmp-pill button {
  width: 28px; height: 28px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; color: rgba(255, 255, 255, 0.7); cursor: pointer;
}
.cmp-pill button:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.cmp-bar .hint { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* 비교 모달 */
.modal { position: fixed; inset: 0; z-index: var(--z-toast); display: none; }
.modal.open { display: block; }
.modal-scrim { position: absolute; inset: 0; background: rgba(31, 31, 31, 0.5); }
.modal-panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(1040px, calc(100vw - 48px)); max-height: calc(100vh - 64px);
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--r2); box-shadow: var(--sh2); overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.modal-head h2 { font-size: 19px; font-weight: 700; }
.modal-head .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.modal-tools { display: flex; align-items: center; gap: 10px; }
.modal-body { overflow: auto; padding: 0 24px 24px; }
.modal-close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: var(--r1); cursor: pointer; }
.cmp-table { font-size: 14.5px; min-width: 520px; }
.cmp-table th, .cmp-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead th { position: sticky; top: 0; background: var(--paper); z-index: 1; font-size: 13px; }
.cmp-table thead th .p-code { display: block; font-size: 15px; }
.cmp-table thead th .nm { display: block; font-size: 13px; color: var(--gray); font-weight: 500; margin-top: 2px; }
.cmp-table tbody th { width: 180px; font-size: 13px; font-weight: 600; color: var(--ink2); background: var(--paper2); white-space: nowrap; }
.cmp-table tr.diff td { background: var(--tint); }
.cmp-table tr.diff th::after {
  content: "차이"; display: inline-block; margin-left: 8px; padding: 1px 6px;
  border-radius: 3px; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 600;
}
.cmp-table .n { font-family: var(--mono); }
.diff-only .cmp-table tr.same { display: none; }
.switch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13.5px; color: var(--ink2); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  width: 40px; height: 22px; border-radius: 999px; background: #d3d6d3;
  position: relative; transition: background 0.2s var(--ease);
}
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease);
}
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--deep); outline-offset: 2px; }

/* --------------------------------------------------------------- 다운로드 */
.dl-list { display: grid; gap: 10px; }
.dl-item {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: var(--r1); background: var(--paper);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.dl-item:hover { border-color: var(--deep); background: var(--tint); }
.dl-item .ico { color: var(--deep); }
.dl-item b { font-size: 15px; font-weight: 600; }
.dl-item .meta { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 2px; }
.dl-item .go { margin-left: auto; color: var(--gray); }
.note-box {
  margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--primary);
  background: var(--paper2); font-size: 13px; color: var(--ink2);
}

/* --------------------------------------------------------------- KPI 대시보드 */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi {
  border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); padding: 24px;
}
.kpi dt { font-size: 13.5px; color: var(--gray); }
.kpi .v { font-family: var(--mono); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; margin-top: 10px; }
.kpi .v small { font-size: 17px; font-weight: 500; margin-left: 2px; }
.kpi.up .v { color: var(--deep); }
.kpi .delta { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 12.5px; color: var(--gray); }
.kpi .delta .ico { width: 13px; height: 13px; }
.kpi .delta.good { color: var(--deep); }
.kpi-note { display: flex; justify-content: flex-end; font-size: 12.5px; color: var(--muted); margin-top: 14px; font-family: var(--mono); }

.chart-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); overflow: hidden; }
.chart-2 > section { padding: 28px; }
.chart-2 > section + section { border-left: 1px solid var(--line); }
.chart-2 h3 { font-size: 17px; font-weight: 600; margin-bottom: 22px; }
.donut-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.donut { position: relative; width: 190px; height: 190px; flex: none; }
.donut svg { transform: rotate(-90deg); }
.donut .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut .center b { font-family: var(--mono); font-size: 22px; font-weight: 600; }
.donut .center span { display: block; font-size: 12px; color: var(--muted); }
.legend { display: grid; gap: 11px; flex: 1 1 200px; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.legend .sw { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.legend .nm { flex: 1 1 auto; color: var(--ink2); }
.legend .v { font-family: var(--mono); font-size: 13.5px; }
.legend .pc { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 52px; text-align: right; }

.bars { display: grid; gap: 18px; }
.bars li { display: grid; grid-template-columns: 92px 1fr 46px; gap: 14px; align-items: center; font-size: 14px; }
.bars .track { height: 22px; background: var(--paper3); border-radius: 3px; overflow: hidden; }
.bars .fill { height: 100%; background: var(--deep); border-radius: 3px; transform-origin: left; }
.bars li:nth-child(2) .fill { background: var(--primary); }
.bars li:nth-child(3) .fill { background: #58c489; }
.bars li:nth-child(4) .fill { background: #a5ddbe; }
.bars .pc { font-family: var(--mono); font-size: 13.5px; text-align: right; }

/* --------------------------------------------------------------- 설비 갤러리 */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.shots figure { margin: 0; }
.shots .frame { border-radius: var(--r1); aspect-ratio: 140 / 90; }
.shots figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.shots .sub { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 2px; display: block; }

/* --------------------------------------------------------------- 공정 프로세스 */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; background: var(--paper); }
.flow li { position: relative; padding: 26px 20px; border-right: 1px solid var(--line); }
.flow li:last-child { border-right: 0; }
.flow .no { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--primary); }
.flow h3 { font-size: 15.5px; font-weight: 600; margin-top: 10px; }
.flow p { font-size: 13px; color: var(--gray); margin-top: 6px; }
.flow .ico { color: var(--deep); margin-bottom: 14px; }

/* --------------------------------------------------------------- 타임라인 */
.tl { position: relative; padding-left: 30px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl > li { position: relative; padding-bottom: 30px; }
.tl > li:last-child { padding-bottom: 0; }
.tl > li::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--primary);
}
.tl > li.past::before { border-color: #bcbfbc; }
.tl .date { font-family: var(--mono); font-size: 13px; color: var(--deep); font-weight: 600; }
.tl h3 { font-size: 17px; font-weight: 600; margin-top: 5px; }
.tl .meta { display: flex; gap: 8px 20px; margin-top: 8px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.tl .meta span b { font-weight: 600; color: var(--ink2); }
.tl .meta span b.n { font-family: var(--mono); font-weight: 500; }

.cert-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cert-shots figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); padding: 14px; }
.cert-shots .frame { aspect-ratio: 59 / 87; border: 1px solid var(--line-soft); background: #fff; }
.cert-shots .frame img { object-fit: contain; }
.cert-shots figcaption { margin-top: 12px; font-size: 13px; font-weight: 600; text-align: center; }
.cert-shots .sub { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 3px; }

/* --------------------------------------------------------------- 아코디언 */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 68px;
  padding: 16px 4px; background: none; border: 0; cursor: pointer; text-align: left;
}
.acc-trigger .no { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--primary); flex: none; }
.acc-trigger .t { flex: 1 1 auto; font-size: 16.5px; font-weight: 600; }
.acc-trigger .s { font-size: 13px; color: var(--gray); flex: none; }
.acc-trigger .ico { color: var(--gray); flex: none; transition: transform 0.26s var(--ease); }
.acc-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--deep); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-body { padding: 4px 4px 26px; }
.acc-body ul { display: grid; gap: 8px; }
.acc-body li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink2); }
.acc-body li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.acc-body .n { font-family: var(--mono); color: var(--ink); }

/* --------------------------------------------------------------- 숫자 밴드 */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s5); }
.stat-band > div { border-top: 2px solid var(--primary); padding-top: 20px; }
.stat-band .v { font-family: var(--mono); font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -0.04em; }
.stat-band .k { font-size: 14px; color: rgba(255, 255, 255, 0.66); margin-top: 6px; }
.stat-band .s { font-size: 12.5px; color: rgba(255, 255, 255, 0.56); margin-top: 4px; }

/* --------------------------------------------------------------- 인용 */
.quote { display: grid; grid-template-columns: 1fr 300px; gap: var(--s7); align-items: center; }
.quote blockquote { margin: 0; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.6; font-weight: 600; letter-spacing: -0.03em; }
.quote .mark { font-family: var(--mono); font-size: 40px; color: var(--primary); line-height: 1; margin-bottom: 14px; display: block; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 14px; color: var(--gray); }
.quote-facts { border-left: 1px solid var(--line); padding-left: 28px; display: grid; gap: 18px; }
.quote-facts dt { font-size: 12.5px; color: var(--muted); }
.quote-facts dd { font-family: var(--mono); font-size: 19px; font-weight: 600; margin-top: 2px; }

/* --------------------------------------------------------------- CTA */
.cta { background: var(--graphite); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-block: 56px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.035em; }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, 0.68); font-size: 15px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------- 단계 폼 */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: var(--s6); }
.stepper li { position: relative; padding-top: 42px; text-align: center; }
.stepper li::before {
  content: attr(data-no); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--paper3); color: var(--gray);
  display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; z-index: 1;
}
.stepper li::after { content: ""; position: absolute; top: 16px; left: 50%; width: 100%; height: 2px; background: var(--line); }
.stepper li:last-child::after { display: none; }
.stepper li .t { font-size: 13.5px; color: var(--gray); }
.stepper li[data-state="done"]::before { background: var(--tint); color: var(--deep); }
.stepper li[data-state="done"]::after { background: var(--primary); }
.stepper li[aria-current="step"]::before { background: var(--deep); color: #fff; }
.stepper li[aria-current="step"] .t { color: var(--deep); font-weight: 600; }

.form-cols { display: grid; grid-template-columns: 1fr 400px; gap: var(--s5); align-items: start; }
.card { border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); padding: 26px; }
.card + .card { margin-top: 20px; }
.card > h3 { font-size: 17px; font-weight: 600; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-2 .full { grid-column: 1 / -1; }
.step-pane { display: none; }
.step-pane.active { display: block; }
.form-foot { display: flex; align-items: center; gap: 12px; margin-top: var(--s4); flex-wrap: wrap; }
.form-foot .spacer { flex: 1 1 auto; }
.required-note { font-size: 13px; color: var(--muted); }
.required-note .req { color: var(--danger); }

.dropzone {
  display: grid; place-items: center; gap: 10px; padding: 44px 20px; text-align: center;
  border: 2px dashed #cfd4cf; border-radius: var(--r2); background: var(--paper2);
  cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.dropzone:hover, .dropzone.drag { border-color: var(--primary); background: var(--tint); }
.dropzone .ico { color: var(--deep); }
.dropzone b { font-size: 15px; font-weight: 600; }
.dropzone span { font-size: 13px; color: var(--gray); }
.filelist { display: grid; gap: 8px; margin-top: 16px; }
.filelist li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--r1); background: var(--paper);
}
.filelist .ico { color: var(--deep); flex: none; }
.filelist .nm { flex: 1 1 auto; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist .sz { font-family: var(--mono); font-size: 12.5px; color: var(--muted); flex: none; }
.filelist .rm {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: none; border: 0; border-radius: var(--r1); color: var(--gray); cursor: pointer;
}
.filelist .rm:hover { background: var(--danger-soft); color: var(--danger); }
.file-empty { font-size: 13.5px; color: var(--muted); padding: 14px 2px; }

.agree { display: flex; align-items: flex-start; gap: 10px; margin-top: var(--s3); flex-wrap: wrap; }
.agree input { position: absolute; opacity: 0; width: 0; height: 0; }
.agree label { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; color: var(--ink2); }
.agree .box {
  width: 20px; height: 20px; flex: none; display: grid; place-items: center;
  border: 1px solid #8d918d; border-radius: 3px; background: var(--paper); color: transparent;
  transition: all 0.16s var(--ease);
}
.agree input:checked + label .box { background: var(--primary); border-color: var(--primary); color: #fff; }
.agree input:focus-visible + label .box { outline: 2px solid var(--deep); outline-offset: 2px; }
.field.invalid .box { border-color: var(--danger); }

.review-table th { width: 190px; }
.review-table td .edit { float: right; }
.done {
  text-align: center; padding: var(--s7) var(--s3);
  border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper2);
}
.done .badge {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--tint); color: var(--deep); display: grid; place-items: center;
}
.done h2 { font-size: 24px; font-weight: 700; }
.done p { margin-top: 12px; color: var(--ink2); }
.done .receipt {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: var(--r1); background: var(--paper);
  font-family: var(--mono); font-size: 15px; font-weight: 600;
}
.done .actions { display: flex; gap: 10px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* --------------------------------------------------------------- 푸터 */
.site-footer { background: var(--graphite); color: rgba(255, 255, 255, 0.68); font-size: 14px; }
.site-footer .wrap { padding-block: var(--s7) var(--s3); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s5); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; line-height: 1.8; }
.footer-brand .tel { display: block; margin-top: 16px; font-family: var(--mono); color: #fff; }
.footer-col h3 { font-size: 13px; font-weight: 600; color: #fff; letter-spacing: 0.02em; margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px; color: rgba(255, 255, 255, 0.56); flex-wrap: wrap;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* 모바일 하단 고정 액션 — 주요 CTA 유지(기능명세 §5) */
.mobile-bar { display: none; }

/* --------------------------------------------------------------- 부속 */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink2); box-shadow: var(--sh1); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--deep); color: var(--deep); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: var(--z-toast);
  transform: translate(-50%, 14px);
  min-width: 280px; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: var(--r1);
  background: var(--graphite); color: #fff; font-size: 14px;
  box-shadow: var(--sh2);
  opacity: 0; visibility: hidden;
  /* 알림일 뿐이므로 아래의 제출 버튼을 가로막지 않는다 */
  pointer-events: none;
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { color: #6ee6a3; flex: none; }
.toast.warn .ico { color: #ffb4a8; }

.spinner {
  width: 15px; height: 15px; 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); } }

/* 등장 효과 — 페이지당 시그니처 모션 1 */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.66s var(--ease), transform 0.66s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =============================================================== 반응형 */
@media (max-width: 1180px) {
  :root { --wrap: 1024px; --gutter: 32px; --section: 80px; }
  .page-hero .wrap { grid-template-columns: 1fr 400px; gap: var(--s5); }
  .split { grid-template-columns: 280px 1fr; gap: var(--s5); }
  .form-cols { grid-template-columns: 1fr 340px; }
  .navlinks { gap: 22px; }
  .nav-tel { display: none; }
}

/* 태블릿 — 2열 + 서랍 (기능명세 §6) */
@media (max-width: 1024px) {
  .navlinks { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-tel { display: inline-flex; }
  .prod-table thead th { top: 0; }

  .hero { min-height: 0; display: block; }
  .hero-media { position: relative; width: 100%; height: 300px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(31, 31, 31, 0.25) 0%, rgba(31, 31, 31, 0.55) 70%, var(--graphite) 100%); }
  .hero > .wrap { padding-block: 40px 60px; }
  .hero-copy { max-width: none; }

  .page-hero .wrap { grid-template-columns: 1fr; gap: var(--s4); padding-block: 40px 44px; }
  .page-hero .frame { max-width: 560px; }

  .cap-strip, .cap-strip-3 { grid-template-columns: 1fr 1fr; }
  .cap-strip > div:nth-child(2n), .cap-strip > div:last-child { border-right: 0; }
  .cap-strip > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .split { grid-template-columns: 1fr; }
  .split-side { position: static; }

  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .chart-2 { grid-template-columns: 1fr; }
  .chart-2 > section + section { border-left: 0; border-top: 1px solid var(--line); }

  .shots { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow li:nth-child(3n) { border-right: 0; }
  .flow li:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }

  .stat-band { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .quote { grid-template-columns: 1fr; gap: var(--s4); }
  .quote-facts { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; grid-template-columns: 1fr 1fr; display: grid; }
  .form-cols { grid-template-columns: 1fr; }
  .cert-shots { max-width: 560px; }
}

/* 모바일 — 핵심 사양 우선 · 상세 아코디언 (프롬프트 06절) */
@media (max-width: 768px) {
  :root { --gutter: 20px; --section: 60px; }
  body { font-size: 15.5px; padding-bottom: 68px; }

  button, .btn, .chip { min-height: 44px; }
  .btn-sm { min-height: 44px; }

  .nav { height: 60px; }
  .brand-name { font-size: 18px; }
  .nav-tel span { display: none; }
  .nav-tel { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: var(--r1); }
  .nav-actions .btn { display: none; }

  .hero-media { height: 230px; }
  .hero-facts { gap: 14px 0; }
  .hero-facts div { width: 50%; padding-right: 0; margin-right: 0; border-right: 0; }
  .hero-actions .btn { flex: 1 1 auto; }

  .cap-strip, .cap-strip-3 { grid-template-columns: 1fr; }
  .cap-strip > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 20px; }
  .cap-strip > div:last-child { border-bottom: 0; }
  .cap-ico { width: 38px; height: 38px; margin-bottom: 12px; }

  .index-row { grid-template-columns: 76px 1fr auto; gap: 14px; }
  .index-row .frame { width: 76px; }
  .index-spec { gap: 4px 14px; font-size: 12.5px; }

  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 16px; }
  .kpi .v { font-size: 26px; }
  .shots { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li { padding: 18px 16px; }
  .flow li:nth-child(3n) { border-right: 1px solid var(--line); }
  .flow li:nth-child(2n) { border-right: 0; }
  .flow li:nth-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .flow .ico { margin-bottom: 10px; }

  .stat-band { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .quote-facts { grid-template-columns: 1fr 1fr; }
  .cert-shots { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cert-shots figure:last-child { grid-column: span 2; }
  .cert-shots figure:last-child .frame { max-width: 160px; margin: 0 auto; }

  .grid-2 { grid-template-columns: 1fr; }
  .stepper li .t { font-size: 11.5px; letter-spacing: -0.04em; }
  .card { padding: 20px 16px; }
  .modal-panel { width: calc(100vw - 24px); max-height: calc(100vh - 32px); }
  .modal-body { padding: 0 16px 16px; }
  .modal-head { padding: 16px; }
  .cta .wrap { padding-block: 40px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .footer-brand { grid-column: 1 / -1; }

  /* 표 → 카드: 핵심 사양만 남기고 상세는 아코디언에 둔다 */
  .table-scroll { border: 0; border-radius: 0; overflow: visible; }
  .dtable { min-width: 0; }
  .dtable thead { display: none; }
  .dtable, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; }
  .dtable tbody tr { border: 1px solid var(--line); border-radius: var(--r2); margin-bottom: 10px; overflow: hidden; }
  .dtable tbody th { width: auto; font-size: 13px; padding: 10px 14px; }
  .dtable tbody td { border-bottom: 0; padding: 12px 14px; }
  .dtable td[data-label]::before {
    content: attr(data-label); display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 3px;
  }

  .prod-table { min-width: 0; display: block; }
  .prod-table thead { display: none; }
  .prod-table tbody, .prod-table tr, .prod-table td { display: block; }
  .prod-table tbody tr.row { border: 1px solid var(--line); border-radius: var(--r2); margin-top: 10px; padding: 6px 12px 10px; position: relative; }
  .prod-table tbody tr.row.selected { border-color: var(--primary); }
  .prod-table tbody tr.row > td { height: auto; border-bottom: 0; padding: 3px 0; }
  .prod-table tbody tr.row > td.p-pick { position: absolute; right: 46px; top: 6px; width: auto; padding: 0; }
  .prod-table tbody tr.row > td.p-more { position: absolute; right: 4px; top: 6px; width: auto; padding: 0; }
  .prod-table td[data-label] { display: flex; gap: 8px; align-items: baseline; }
  .prod-table td[data-label]::before { content: attr(data-label) " "; font-size: 12px; color: var(--muted); min-width: 74px; }
  .prod-table td.p-name { font-size: 16px; padding-right: 92px; }
  .prod-table td.p-cat { display: none; }
  .prod-table tbody tr.detail { display: block; }
  .prod-table tbody tr.detail > td { padding: 0; background: transparent; border: 0; }
  .prod-table .detail-inner { padding: 0 12px; }
  .prod-table .detail-grid { grid-template-columns: 1fr 1fr; padding: 4px 0 16px; }
  .detail.open + .row, .row + .detail.open { margin-top: 0; }
  .prod-table tbody tr.detail.open > td { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r2) var(--r2); margin-top: -11px; background: var(--paper2); }

  .cmp-table { min-width: 0; }
  .cmp-table th, .cmp-table td { padding: 10px 8px; font-size: 13px; }
  .cmp-table tbody th { width: 92px; font-size: 12px; }

  /* 하단 고정 액션 바 */
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .mobile-bar .btn { flex: 1 1 0; min-height: 48px; }
  .to-top { bottom: 80px; }
  .toast { bottom: 84px; }
  .cmp-bar { bottom: 68px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .stepper li .t { font-size: 10.5px; }
  .index-row { grid-template-columns: 64px 1fr auto; }
  .index-row .frame { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .drawer, .scrim, .to-top, .toast, .mobile-bar, .cmp-bar, .cta { display: none !important; }
  body { padding-bottom: 0; }
}
