/* ─────────────────────────────────────────────────────────────
   WAIC — 밝은 국내 기업 홈페이지
   Pretendard 한 종 · 흰 바탕 + 네이비 밴드 · 큼직한 모션
   ───────────────────────────────────────────────────────────── */

:root {
  --w:      #FFFFFF;
  --alt:    #F7F5F2;
  --navy:   #23262B;
  --navy-2: #17191D;
  --mint:   #DE5A29;
  --mint-2: #B8431A;
  --ink:    #1C1A18;
  --dim:    #6B6560;
  --dim-2:  #A39C95;
  --line:   #E8E4DF;
  --line-2: #D6D0C9;

  --f: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --e: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f);
  background: var(--w);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.018em;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { display: block; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.skip {
  position: fixed; top: 12px; left: 50%; z-index: 400;
  transform: translate(-50%, -200%);
  background: var(--navy); color: #fff;
  padding: 11px 22px; border-radius: 6px; font-size: 14px; font-weight: 600;
  transition: transform 0.24s var(--e);
}
.skip:focus-visible { transform: translate(-50%, 0); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ── 타입 ───────────────────────────────────────────────── */
.tit {
  font-size: clamp(25px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.04em;
}
.tit__x {
  display: inline-block; margin-left: 16px;
  font-size: 15px; font-weight: 500; color: var(--dim-2); letter-spacing: -0.02em;
  vertical-align: middle;
}
.txt { margin-top: 16px; font-size: 16px; color: var(--dim); max-width: 46em; }
.note { margin-top: 18px; font-size: 13.5px; color: var(--dim-2); }

/* ── 버튼 ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 15px 30px; border-radius: 8px;
  transition: background-color 0.3s var(--e), color 0.3s var(--e), transform 0.3s var(--e);
}
.btn:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #FBEFE9; color: var(--navy); }
.btn--line-w { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.btn--line-w:hover { background: rgba(255, 255, 255, 0.1); }
.btn--block { width: 100%; }

/* ── 헤더 ───────────────────────────────────────────────── */
.gnb {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--e);
}
.gnb.is-on { border-bottom-color: var(--line); }
.gnb__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.logo { display: inline-flex; align-items: baseline; gap: 10px; }
.logo__w { font-size: 21px; font-weight: 800; letter-spacing: -0.035em; color: var(--navy); }
.logo__w em { font-style: normal; color: var(--mint); }
.logo__b { font-size: 12.5px; font-weight: 600; color: var(--dim); border-left: 1px solid var(--line-2); padding-left: 10px; }

.gnb__nav { display: flex; align-items: center; gap: 34px; }
.gnb__nav a {
  position: relative; font-size: 15px; font-weight: 600; color: var(--dim);
  padding: 4px 0; transition: color 0.25s var(--e);
}
.gnb__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--mint); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--e);
}
.gnb__nav a:hover { color: var(--ink); }
.gnb__nav a:hover::after, .gnb__nav a.is-here::after { transform: scaleX(1); }
.gnb__nav a.is-here { color: var(--ink); }

.ham { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.ham span { display: block; width: 21px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--e); }
.ham.is-on span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.ham.is-on span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

/* ══ 메인 밴드 ══════════════════════════════════════════ */
.kv {
  position: relative;
  overflow: hidden;
  background: linear-gradient(112deg, var(--navy) 0%, #2E2A26 56%, #40302A 100%);
  color: #fff;
  padding: 110px 0 104px;
  clip-path: inset(0 0 100% 0);
}
body.go .kv { animation: bandIn 1.1s var(--e) 0.05s forwards; }
@keyframes bandIn { to { clip-path: inset(0 0 0 0); } }

.kv__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(112deg, rgba(35,38,43,0.92) 0%, rgba(46,42,38,0.88) 56%, rgba(64,48,42,0.82) 100%), url("img/hero.jpg");
  background-size: cover, cover;
  background-position: center, center;
  transform: scale(1.06);
  opacity: 0;
}
body.go .kv__bg { animation: bgIn 1.6s var(--e) 0.15s forwards; }
@keyframes bgIn { to { opacity: 1; transform: scale(1); } }
.kv__in { position: relative; z-index: 1; }

.kv__eyebrow { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.66); margin-bottom: 22px; }
.kv__h {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 800; line-height: 1.3; letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.ln b { display: block; font-weight: inherit; transform: translateY(105%); }
body.go .ln b { animation: up 1.15s var(--e) both; }
body.go .ln:nth-child(1) b { animation-delay: 0.42s; }
body.go .ln:nth-child(2) b { animation-delay: 0.54s; }
@keyframes up { to { transform: translateY(0); } }

.kv__in { max-width: 1160px; }
.kv__p { max-width: 44em; font-size: 16.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.72); margin-bottom: 34px; }
.kv__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 지표 ───────────────────────────────────────────────── */
.figs { border-bottom: 1px solid var(--line); }
.figs__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fig { padding: 40px 0 38px; border-left: 1px solid var(--line); padding-left: 36px; }
.fig:first-child { border-left: none; padding-left: 0; }
.fig__v {
  font-size: clamp(32px, 3.6vw, 46px); font-weight: 800;
  letter-spacing: -0.05em; line-height: 1.1; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.fig__v i { font-style: normal; font-size: 0.42em; font-weight: 600; color: var(--mint); margin-left: 4px; }
.fig__k { margin-top: 6px; font-size: 14.5px; color: var(--dim); }

/* ── 섹션 ───────────────────────────────────────────────── */
.sec { padding: 132px 0 84px; }
.sec--alt { background: var(--alt); }

/* ══ 서비스 목록 ═══════════════════════════════════════ */
.svc { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc li {
  background: var(--w); padding: 26px 26px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 0 -1px -1px 0;
  transition: background-color 0.35s var(--e), opacity 0.95s var(--e), transform 0.95s var(--e);
}
.sec--alt .svc li { background: var(--alt); }
.svc li:hover { background: #FAFBFC; }
.svc h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 7px; }
.svc p { font-size: 14px; color: var(--dim); line-height: 1.7; }

/* ══ 수수료율 표 ════════════════════════════════════════ */
.tablewrap { margin-top: 44px; overflow-x: auto; }
.tbl { min-width: 620px; background: var(--w); }
.tbl th, .tbl td { padding: 17px 20px; text-align: left; font-size: 15px; }
.tbl thead th {
  background: var(--navy); color: #fff;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em;
}
.tbl thead th:first-child { border-radius: 8px 0 0 0; }
.tbl thead th:last-child { border-radius: 0 8px 0 0; }
.tbl tbody tr { border-bottom: 1px solid var(--line); }
.tbl tbody tr:hover { background: #FAFBFB; }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl tbody td { color: var(--dim); font-variant-numeric: tabular-nums; }
.tbl tbody td:last-child { color: var(--mint-2); font-weight: 600; }

/* 계산기 */
.calcbox {
  margin-top: 52px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: var(--w); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.calcbox__l { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.calcbox__l h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 10px; }
.calcbox__l p { font-size: 14.5px; color: var(--dim); }
.calcbox__r { padding: 36px 38px 34px; background: var(--navy); color: #fff; }

.calc__v { display: flex; align-items: baseline; gap: 6px; }
.calc__v span {
  font-size: clamp(32px, 3.8vw, 44px); font-weight: 800;
  letter-spacing: -0.05em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1;
}
.calc__v i { font-style: normal; font-size: 15px; color: rgba(255, 255, 255, 0.6); }
.calc__k { margin-top: 7px; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

.fld { display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.fld > label, .fld__t label { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.fld__t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fld__t output { font-size: 17px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; cursor: pointer; }

.sel { position: relative; }
.sel::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 6px; height: 6px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-74%) rotate(45deg); pointer-events: none; opacity: 0.55;
}
.terms { display: grid; gap: 0; }
.terms li { padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.terms li:first-child { border-top: none; padding-top: 0; }
.terms strong { display: block; font-size: 15.5px; font-weight: 600; color: #fff; }
.terms span { display: block; margin-top: 3px; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

/* ══ FAQ ════════════════════════════════════════════════ */
.faq { margin-top: 40px; border-top: 1px solid var(--line-2); }
.faq > li { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left;
  font-size: 17.5px; font-weight: 600; letter-spacing: -0.03em;
  transition: color 0.25s var(--e);
}
.faq__q:hover { color: var(--mint-2); }
.faq__q i {
  position: relative; flex: none; width: 15px; height: 15px;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--dim);
  transform: translate(-50%, -50%);
}
.faq__q i::before { width: 15px; height: 1.6px; }
.faq__q i::after { width: 1.6px; height: 15px; }
.faq__q[aria-expanded="true"] i { transform: rotate(45deg); }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.faq__a > p {
  overflow: hidden;
  font-size: 15.5px; line-height: 1.85; color: var(--dim);
  max-width: 62em;
}
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__q[aria-expanded="true"] + .faq__a > p { padding-bottom: 26px; }

/* ══ 상담 밴드 ══════════════════════════════════════════ */
.cta { background: var(--navy); color: #fff; padding: 100px 0 92px; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cta__h { font-size: clamp(25px, 2.9vw, 38px); font-weight: 800; line-height: 1.34; letter-spacing: -0.04em; }
.cta__p { margin-top: 16px; font-size: 16px; line-height: 1.85; color: rgba(255, 255, 255, 0.72); max-width: 32em; }
.cta__tel { margin-top: 30px; }
.cta__tel a { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.cta__tel a:hover { color: #FFB894; }
.cta__t { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }

.form { display: grid; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 15.5px; color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px; padding: 16px 18px;
}
.form textarea { resize: vertical; min-height: 74px; line-height: 1.7; }
.form select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.form select option { color: var(--ink); }
.form .sel::after { right: 18px; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, 0.13); }
.form input[aria-invalid="true"] { border-color: #FF9C86; }
.form .btn { margin-top: 4px; }
.form__msg { font-size: 14px; text-align: center; font-weight: 600; }
.form__msg--ok { color: #FFC3A3; }
.form__msg--bad { color: #FFB3A2; }


/* == 오도미터 ============================================ */
.odo { display: inline-flex; align-items: baseline; }
.odo__col { display: inline-block; height: 1.12em; overflow: hidden; line-height: 1.12; }
.odo__reel {
  display: block;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 26ms);
}
.odo__reel b { display: block; height: 1.12em; line-height: 1.12; font-weight: inherit; }
.odo__sep { display: inline-block; }
.calc__v { transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: left bottom; }
.calc__v.is-punch { transform: scale(1.035); }

/* == 슬라이더 촉각 ======================================= */
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 99px;
  background: linear-gradient(to right, #fff 0 calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.2) calc(var(--p, 0) * 1%) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; margin-top: -7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s var(--e);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.25); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.16), 0 2px 8px rgba(0, 0, 0, 0.3); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 99px; background: #fff; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: none; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }

/* == 표: 스와이프 힌트 + 집중 조명 ======================= */
.tablewrap { position: relative; }
.tablewrap.can-scroll {
  -webkit-mask-image: linear-gradient(to right, #000 0 84%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0 84%, transparent 100%);
}
.tablewrap.can-scroll.at-end {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%);
  mask-image: linear-gradient(to right, transparent 0, #000 12%);
}
.swipe { display: none; margin-top: 10px; font-size: 12px; color: var(--dim-2); }
.tablewrap.can-scroll + .swipe { display: block; }

.tbl tbody tr { transition: background-color 0.28s var(--e), opacity 0.28s var(--e); }
.tbl tbody:hover tr { opacity: 0.55; }
.tbl tbody:hover tr:hover { opacity: 1; background: var(--w); }
.tbl tbody tr th, .tbl tbody tr td { transition: color 0.28s var(--e); }
.tbl tbody tr:hover th { color: var(--navy); }
.tbl tbody tr:hover td:last-child { color: var(--mint-2); font-weight: 700; }

/* == 오프라인 거점 배지 ================================== */
.spot {
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 10px;
  margin-top: 24px; padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.78);
}
.spot b { color: #fff; font-weight: 700; }
.spot__pin {
  width: 8px; height: 8px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); margin-top: 7px;
  background: var(--mint); flex: none;
}
.spot a {
  width: 100%; margin-top: 2px;
  font-size: 12.5px; font-weight: 700; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 2px;
  align-self: flex-start;
}
.spot a:hover { border-bottom-color: #fff; }


/* == 포트폴리오 ========================================== */
.works { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work a, .work__in { display: grid; gap: 0; }
.work__shot {
  position: relative; display: block;
  aspect-ratio: 16 / 10; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--alt);
  overflow: hidden;
  transition: transform 0.45s var(--e), box-shadow 0.45s var(--e), border-color 0.45s var(--e);
}
.work__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 1; }
.work__shot em {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-style: normal; font-size: 12.5px; color: var(--dim-2);
  background: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(0, 0, 0, 0.03) 9px 18px), var(--alt);
}
.work a:hover .work__shot, .work__in:hover .work__shot { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10); }
.work__t { font-size: 17px; font-weight: 700; letter-spacing: -0.035em; }
.work__d { margin-top: 5px; font-size: 14px; color: var(--dim); line-height: 1.6; }
.work__go {
  margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--mint-2);
  transition: opacity 0.3s var(--e);
}
.work a:hover .work__go { opacity: 0.7; }

@media (max-width: 960px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .works { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ══ 푸터 ═══════════════════════════════════════════════ */
.ft { padding: 44px 0 52px; border-top: 1px solid var(--line); background: var(--alt); }
.ft__top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.ft__brand { display: inline-flex; align-items: baseline; gap: 9px; }
.logo__w--ft { font-size: 20px; }
.ft__branch { font-size: 12.5px; font-weight: 600; color: var(--dim); }
.ft__nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13.5px; color: var(--dim); }
.ft__nav a:hover { color: var(--ink); }
.ft__nav strong { font-weight: 700; color: var(--ink); }

.biz {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 36px;
  padding: 26px 0 22px;
  font-size: 13px; color: var(--dim);
}
.biz > div { display: flex; gap: 10px; }
.biz--wide { grid-column: span 2; }
.biz dt { flex: none; color: var(--dim-2); }
.biz dt::after { content: ""; }
.biz dd { color: var(--ink); }
.biz a { border-bottom: 1px solid var(--line-2); }
.biz a:hover { color: var(--mint-2); border-bottom-color: var(--mint-2); }

.ft__copy { padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim-2); }

/* ── 플로팅 상담 ────────────────────────────────────────── */
.float {
  position: fixed; right: 26px; bottom: 26px; z-index: 180;
  display: inline-flex; align-items: center;
  background: var(--mint); color: #2A1207;
  padding: 15px 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(222, 90, 41, 0.3);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--e), transform 0.5s var(--e), background-color 0.25s var(--e);
}
.float.on { opacity: 1; transform: none; }
.float:hover { background: #F06B36; }

/* ── 큼직한 스크롤 리빌 ─────────────────────────────────── */
.r { opacity: 0; transform: translateY(34px); transition: opacity 0.95s var(--e), transform 0.95s var(--e); transition-delay: calc(var(--i, 0) * 110ms); }
.r.on { opacity: 1; transform: none; }


/* ══ 명품 마감 ═══════════════════════════════════════════ */

/* 약어: 대문자가 뭉치지 않도록 */
abbr.acr {
  font-size: 0.92em;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  border: none;
}

/* 선 대신 표면의 단차 */
.svc {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: none; border: none;
}
.svc li {
  margin: 0; border: none; border-radius: 13px;
  background: var(--w);
  padding: 26px 26px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(20, 20, 20, 0.035), 0 8px 18px rgba(20, 20, 20, 0.03);
  transition: transform 0.4s var(--e), box-shadow 0.4s var(--e);
}
.svc li:hover {
  background: var(--w);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 4px rgba(20, 20, 20, 0.04), 0 16px 34px rgba(20, 20, 20, 0.07);
}

.figs { border-bottom: none; }
.fig { border-left: none; padding-left: 0; padding-right: 28px; }

.tbl tbody tr { border-bottom: none; }
.tbl tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--alt) 62%, var(--w)); }
.sec--alt .tbl tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--alt) 40%, var(--w)); }

.faq { border-top: none; }
.faq > li { border-bottom: 1px solid color-mix(in srgb, var(--line) 62%, transparent); }
.faq > li:first-child { border-top: 1px solid color-mix(in srgb, var(--line) 62%, transparent); }

.spot { border: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }

/* 계약 조건 */
.termsbox {
  margin-top: 52px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--w); border: none; border-radius: 16px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 3px rgba(20, 20, 20, 0.05), 0 18px 44px rgba(20, 20, 20, 0.07);
}
.termsbox__l { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.termsbox__l h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 10px; }
.termsbox__l p { font-size: 14.5px; color: var(--dim); }
.termsbox__r { padding: 34px 38px; background: var(--navy); color: #fff; }

/* 포트폴리오 썸네일 */
.work__shot {
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(20, 20, 20, 0.04), 0 10px 24px rgba(20, 20, 20, 0.05);
}
.work a:hover .work__shot, .work__in:hover .work__shot { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 5px rgba(20, 20, 20, 0.05), 0 18px 38px rgba(20, 20, 20, 0.09); }

@media (max-width: 960px) { .termsbox { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .termsbox__l, .termsbox__r { padding: 28px 22px; } }


/* 상담 섹션 정렬 */
.cta__in { align-items: start; }
.cta__l { padding-top: 4px; }

/* FAQ 질문은 한 덩어리 */
.faq__qt { flex: 1 1 auto; min-width: 0; }

/* 거점 배지 */
.spot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 0 12px;
  margin-top: 28px; padding: 16px 20px;
}
.spot__pin { align-self: start; margin-top: 9px; }
.spot__t { min-width: 0; }
.spot__t em {
  display: block; margin-top: 3px;
  font-style: normal; font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.spot a {
  width: auto; margin-top: 0; justify-self: end;
  border-bottom: none; padding-bottom: 0;
  white-space: nowrap;
  transition: opacity 0.25s var(--e);
}
.spot a span { border-bottom: 1px solid rgba(255, 255, 255, 0.38); padding-bottom: 2px; }
.spot a:hover { opacity: 0.75; }
.spot a:hover span { border-bottom-color: #fff; }

@media (max-width: 760px) {
  .spot { grid-template-columns: auto minmax(0, 1fr); gap: 10px 10px; }
  .spot a { grid-column: 2; justify-self: start; }
}


/* 플로팅 버튼: 숨었을 때 아래 요소를 막지 않도록 */
.float { visibility: hidden; pointer-events: none; }
.float.on { visibility: visible; pointer-events: auto; }

/* 상담 섹션: 좌우가 같은 문법을 쓰도록 */
.cta__in {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px; align-items: start;
}
.cta__l { padding-top: 2px; }
.cta__tel { margin-top: 34px; }

.panel {
  padding: 28px 30px 30px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}
.panel__h {
  margin-bottom: 18px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 14px; font-weight: 700; letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.82);
}
.panel .form__msg { margin-top: 2px; }

/* 거점 배지도 패널과 같은 표면으로 */
.spot {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

@media (max-width: 960px) {
  .cta__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 620px) {
  .panel { padding: 22px 20px 24px; }
}


/* 좌우 기둥의 아래끝을 맞춘다 */
.cta__in { align-items: stretch; }
.cta__l { display: flex; flex-direction: column; }
.cta__l .spot { margin-top: auto; }

@media (max-width: 960px) {
  .cta__l .spot { margin-top: 28px; }
}


/* ══ 하위 문서 페이지 ═══════════════════════════════════ */
.doc { padding: 96px 0 104px; }
.doc__h { font-size: clamp(27px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.3; }
.doc__meta { margin-top: 12px; font-size: 13.5px; color: var(--dim-2); font-variant-numeric: tabular-nums; }
.doc__lead {
  margin-top: 24px; padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px; line-height: 1.85; color: var(--dim); max-width: 46em;
}
.doc__s { margin-top: 40px; max-width: 46em; }
.doc__s h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.doc__s p { margin-top: 10px; font-size: 15px; line-height: 1.9; color: var(--dim); }
.doc__note {
  margin-top: 56px; padding: 18px 22px;
  border-radius: 10px; background: var(--alt);
  font-size: 13.5px; line-height: 1.75; color: var(--dim);
}

.doc__dl { margin-top: 18px; display: grid; gap: 10px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc__dl--wide { margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
.doc__dl > div { display: flex; gap: 14px; font-size: 15px; }
.doc__dl dt { flex: none; min-width: 92px; color: var(--dim-2); font-weight: 500; }
.doc__dl dd { color: var(--ink); }
.doc__dl a { border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.doc__dl a:hover { border-bottom-color: var(--ink); }

.place {
  margin-top: 36px; padding: 32px 34px;
  border-radius: 14px; background: var(--alt);
}
.place__addr { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.5; }
.place__sub { margin-top: 6px; font-size: 14px; color: var(--dim); }
.place .btn { margin-top: 22px; }

/* 하위 페이지의 헤더는 항상 선이 보이도록 */
.doc ~ * .gnb, .gnb.is-on { border-bottom-color: var(--line); }

/* 한 칸짜리 폼 줄 */
.form__row--1 { grid-template-columns: minmax(0, 1fr); }

/* 전화 대신 이메일을 대표 연락처로 쓰는 경우 */
.cta__tel--mail a { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.035em; word-break: break-all; }

@media (max-width: 720px) {
  .doc { padding: 64px 0 72px; }
  .doc__dl { grid-template-columns: minmax(0, 1fr); }
  .doc__dl > div { flex-direction: column; gap: 3px; }
  .doc__dl dt { min-width: 0; font-size: 13px; }
  .place { padding: 24px 22px; }
}


/* 구축 사례 이미지 (Unsplash CDN) */
.works__note { margin-top: 26px; }


/* 하위 페이지 머리말: 스크립트 없이도 메뉴가 보이게 한 줄로 흘린다 */
.gnb--doc .gnb__in { height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; row-gap: 10px; }
@media (max-width: 860px) {
  .gnb--doc .gnb__nav {
    position: static; transform: none; visibility: visible;
    display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;
    gap: 4px 14px; padding: 0; background: none;
    border-top: none; box-shadow: none;
    order: 3; width: 100%;
  }
  .gnb--doc .gnb__nav a { padding: 0; font-size: 13px; border-bottom: none; }
  .gnb--doc .gnb__nav a::after { display: block; }
}


/* ══ 줄바꿈 ═════════════════════════════════════════════
   어절 단위(keep-all)는 전역에서 잡고, 여기서는 줄의 모양을 고른다. */
.kv__h, .tit, .cta__h, .doc__h, .place__addr,
.fig__k, .work__t, .faq__qt, .news__t, .svc li strong {
  text-wrap: balance;
}
.kv__p, .txt, .note, .cta__p, .doc__lead, .doc__s p, .doc__note,
.work__d, .faq__a p, .news__a p, .calcbox__head p, .place__sub, .spot__t {
  text-wrap: pretty;
}

/* 갈라지면 안 되는 묶음 */
.nb { white-space: nowrap; }
.ln b { text-wrap: balance; }

/* 표 안에서는 숫자와 단위가 갈라지지 않게 */
.tbl td, .tbl th { word-break: keep-all; }
.tbl td { white-space: nowrap; }
.tbl th[scope="row"] { white-space: normal; }

/* 지표·금액은 한 덩어리로 */
.fig__v, .calc__v, .odo, .cta__tel { white-space: nowrap; }
.cta__tel--mail a { white-space: normal; }

@media (max-width: 620px) {
  /* 좁은 화면에서는 균형보다 읽히는 쪽을 택한다 */
  .kv__h, .cta__h, .doc__h { text-wrap: pretty; }
}


/* 폼 대신 연락처를 보여줄 때 */
.ways { display: grid; gap: 22px; margin-bottom: 26px; }
.ways li { display: grid; gap: 4px; }
.ways__k {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.5);
}
.ways__v {
  font-size: clamp(19px, 2.3vw, 25px); font-weight: 800;
  letter-spacing: -0.04em; color: #fff;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
  transition: opacity 0.25s var(--e);
}
.ways__v:hover { opacity: 0.72; }
.ways__x { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

@media (max-width: 620px) {
  .ways { gap: 18px; margin-bottom: 22px; }
}

/* ══ 반응형 ═════════════════════════════════════════════ */
@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .kv { padding: 84px 0 78px; }
  .sec { padding: 96px 0 64px; }
  .figs__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fig { padding-left: 20px; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz--wide { grid-column: span 2; }
  .calcbox, .cta__in, .ft__in { grid-template-columns: minmax(0, 1fr); }
  .cta__in { gap: 36px; }
  .ft__legal { justify-self: start; text-align: left; }

  .gnb__nav {
    position: fixed; inset: 76px 0 auto;
    display: grid; gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    transform: translateY(-104%); visibility: hidden;
    transition: transform 0.45s var(--e), visibility 0.45s;
  }
  .gnb__nav.is-open { transform: translateY(0); visibility: visible; }
  .gnb__nav a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .gnb__nav a::after { display: none; }
  .ham { display: flex; }
  .gnb__cta { display: none; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .figs__in { grid-template-columns: minmax(0, 1fr); }
  .fig { padding: 24px 0; border-left: none; padding-left: 0; border-top: 1px solid var(--line); }
  .fig:first-child { border-top: none; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .biz { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .biz--wide { grid-column: auto; }
  .ft__top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .calcbox__l, .calcbox__r { padding: 28px 22px; }
  .form__row { grid-template-columns: 1fr; }
  .float { right: 16px; bottom: 16px; padding: 13px 20px; font-size: 13.5px; }
  .ft { padding-bottom: 56px; }
  .faq__q { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-delay: 0ms !important;
    transition-duration: 0.001ms !important; transition-delay: 0ms !important;
  }
  .r, .float { opacity: 1 !important; transform: none !important; }
  .ln b { transform: none !important; }
  .kv { clip-path: none; }
  .kv__bg { opacity: 1; transform: none; }
}
