/* ═══ 호암 명도센터 — White Ultraclean 디자인 시스템 ═══
   순백 + Pretendard 초대형 볼드 + 과감한 여백. 블랙 CTA, 블루 포인트 하나. */
:root {
  --bg: #FFFFFF;
  --panel: #F5F5F7;         /* 애플식 라이트 그레이 슬랩 */
  --ink: #111113;
  --text: #2E3034;
  --muted: #55575E;
  --hair: rgba(17, 17, 19, .1);
  --hair-soft: rgba(17, 17, 19, .06);
  --accent: #0B5CD6;        /* 단일 포인트 블루 */
  --accent-soft: rgba(11, 92, 214, .07);
  --black: #0B0B0C;         /* 다크 섹션 */
  --warn: #B3261E;
  --warn-bg: #FBEEEC;
  --r-slab: 24px;
  --r-core: 16px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, "Noto Sans KR", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  background: var(--bg);
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
button, input, select, textarea { font-family: var(--font); font-size: inherit; }
a { color: inherit; text-decoration: none; }
em.hl { font-style: normal; color: var(--accent); }
::selection { background: rgba(11, 92, 214, .14); }

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

/* ── 버튼: 블랙 필 + 오브 ───────────── */
.btn {
  appearance: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  padding: 13px 24px; border-radius: 999px;
  transition: transform .5s var(--ease), background .5s var(--ease),
              color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(17, 17, 19, .5), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-primary:hover { background: #26262B; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-kakao {
  background: #FEE500; color: #191919;
  box-shadow: 0 14px 30px -16px rgba(163, 138, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-kakao:hover { background: #F7DC00; transform: translateY(-1px); }
.orb {
  width: 28px; height: 28px; flex: none;
  margin: -6px -14px -6px 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.btn:hover .orb { transform: translate(3px, -1px) scale(1.06); background: rgba(255, 255, 255, .26); }
.btn-ghost .orb, .btn-white .orb { background: rgba(17, 17, 19, .06); }
.btn-ghost:hover .orb, .btn-white:hover .orb { background: rgba(17, 17, 19, .1); }

/* ── 섹션 골격 ─────────────────────── */
.sec { padding: 140px 24px; }
.sec-tint { background: var(--panel); }
.sec-navy { background: var(--black); position: relative; }
.sec-in { max-width: 1120px; margin: 0 auto; }
.sec-in-narrow { max-width: 800px; }

.eyebrow {
  display: inline-block;
  color: var(--muted); font-size: 14px; font-weight: 700;
  letter-spacing: .12em;
}
.sec-head { text-align: center; margin-bottom: 72px; }
.sec-head h2 {
  text-wrap: balance;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -.028em;
  line-height: 1.22; margin-top: 14px;
}
.sec-head p {
  color: var(--text); margin: 16px auto 0; font-size: 18.5px; text-wrap: pretty;
  max-width: 560px;
}
.sec-navy .eyebrow { color: rgba(255, 255, 255, .8); }

.card { background: #fff; border-radius: var(--r-core); }

/* 커스텀 라인 아이콘 */
.ico {
  width: 28px; height: 28px; flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  color: var(--ink);
}

/* 엘리베이션 — 헤어라인 링 + 확산 섀도 */
.bezel-ring {
  box-shadow:
    0 0 0 1px var(--hair-soft),
    0 30px 70px -30px rgba(17, 17, 19, .18);
}

/* 스크롤 리빌 — .reveal은 JS가 부여 (JS 실패 시에도 콘텐츠 노출) */
.reveal {
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.reveal.on { opacity: 1; transform: none; filter: none; }
.sec-head.reveal h2 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.sec-head.reveal h2 .wi { display: inline-block; transform: translateY(118%); transition: transform .85s var(--ease); }
.sec-head.reveal.on h2 .wi { transform: none; }

/* ── 네비: 미니멀 블러 바 ────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color .5s var(--ease), background .5s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--hair-soft); background: rgba(255, 255, 255, .85); }
.nav-in {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 30px;
  padding: 15px 24px;
}
.logo { font-size: 16.5px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.logo b { color: var(--accent); }
.nav-menu { display: flex; gap: 26px; margin-left: 8px; }
.nav-menu a {
  position: relative; padding-bottom: 3px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .4s var(--ease); white-space: nowrap;
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--ink); border-radius: 999px;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--ease);
}
.nav-menu a:hover::after, .nav-menu a.here::after { transform: scaleX(1); }
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.here { color: var(--ink); font-weight: 700; }
.nav-cta { margin-left: auto; padding: 9px 18px; font-size: 13.5px; }

/* ── 히어로: 타이포 중심 센터 ─────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 208px 24px 140px;
  text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 19, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 19, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 36%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 68% 58% at 50% 36%, #000 25%, transparent 72%);
}
.hero::after {
  content: ''; position: absolute; pointer-events: none;
  width: 760px; height: 460px; left: 50%; top: 120px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(11, 92, 214, .1), transparent 70%);
  animation: glowPulse 5s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .65; transform: translateX(-50%) scale(1); }
  to { opacity: 1; transform: translateX(-50%) scale(1.18); }
}
.hero-in { position: relative; }
.hero-in { max-width: 1120px; margin: 0 auto; display: block; }
/* ── 상단 상담 배너 (평일 09–18시 · 사무실·직통 번호) ── */
.hero-hours {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 16px; margin: 0 auto 30px; padding: 9px 18px;
  width: fit-content; max-width: 100%;
  border: 1px solid var(--hair-soft); border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: 14px; color: var(--muted);
}
.hero-hours .hh-dot {
  width: 7px; height: 7px; border-radius: 999px; background: #1e9e5a;
  box-shadow: 0 0 0 3px rgba(30, 158, 90, .18);
}
.hero-hours .hh-label { font-weight: 600; color: var(--text); }
.hero-hours a { font-weight: 700; color: var(--ink); white-space: nowrap; }
.hero-hours a:hover { color: var(--accent); }
.hero-copy { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-copy > * { animation: heroRise 1s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .55s; }
.hero-copy > *:nth-child(2) { animation-delay: .64s; }
.hero-copy > *:nth-child(3) { animation-delay: .74s; }
.hero-copy > *:nth-child(4) { animation-delay: .84s; }
.hero-copy > *:nth-child(5) { animation-delay: .94s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero h1 {
  text-wrap: balance;
  color: var(--ink);
  font-size: clamp(46px, 6.4vw, 80px); font-weight: 800;
  letter-spacing: -.034em; line-height: 1.12; margin-top: 22px;
}
.hero-sub {
  color: var(--text); font-size: 20px; margin-top: 26px; line-height: 1.7;
  font-weight: 500;
}
.hero-cta { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }

/* ── 스탯 밴드 ─────────────────────── */
.statband { background: var(--black); padding: 58px 24px; }
.statband-in {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat {
  display: flex; flex-direction: column; gap: 6px;
  align-items: center; text-align: center;
  padding: 6px 20px;
}
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat b {
  color: #fff; font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.stat b small { font-size: 22px; font-weight: 700; margin-left: 2px; }
.stat > span { color: rgba(255, 255, 255, .85); font-size: 16.5px; font-weight: 500; }
.marq {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 52px; padding-top: 22px;
}
.marq-track { display: flex; white-space: nowrap; width: max-content; animation: marq 30s linear infinite; }
.marq-track span {
  flex: none;
  color: rgba(255, 255, 255, .85);
  font-size: 20px; font-weight: 700; letter-spacing: .1em;
}
@keyframes marq { to { transform: translateX(-50%); } }

/* 커서 스포트라이트 (JS가 --mx/--my 갱신) */
.spot { position: relative; }
.spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(11, 92, 214, .09), transparent 62%);
  transition: opacity .45s var(--ease);
}
.spot:hover::after { opacity: 1; }

/* ── 이런 상황이신가요 ─────────────── */
.sit-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.sit-card { grid-column: span 2; }
.sit-card:nth-child(4) { grid-column: 2 / 4; }
.sit-card:nth-child(5) { grid-column: 4 / 6; }
.sit-card {
  appearance: none; cursor: pointer; text-align: left;
  background: var(--panel); border: none; border-radius: 20px;
  padding: 28px 26px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease);
}
.sit-card:hover {
  background: #fff;
  box-shadow: 0 0 0 1px var(--hair-soft), 0 26px 60px -28px rgba(17, 17, 19, .22);
  transform: translateY(-4px);
}
.sit-chip {
  align-self: flex-start;
  color: var(--accent);
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
}
.sit-card .ico { margin-bottom: 2px; }
.sit-card:hover .ico { color: var(--accent); }
.sit-card b { color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.sit-card p { color: var(--text); font-size: 16.5px; line-height: 1.68; }
.sit-go {
  margin-top: auto; padding-top: 12px;
  color: var(--ink); font-size: 15px; font-weight: 700;
  opacity: .8; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.sit-card:hover .sit-go { opacity: 1; transform: translateX(4px); }

/* ── 명도소송이란: 넘버 리스트 ───────── */
.steps {
  list-style: none;
  border-top: 1px solid var(--hair);
}
.steps li {
  display: grid; grid-template-columns: 96px 230px 1fr;
  gap: 24px; align-items: baseline;
  padding: 28px 8px;
  border-bottom: 1px solid var(--hair);
  transition: padding-left .5s var(--ease);
}
.steps li:hover { padding-left: 18px; background: #fff; }
.steps li:hover i { color: var(--accent); }
.steps li i {
  font-style: normal; font-weight: 800;
  font-size: 16px; color: var(--muted);
  letter-spacing: .1em;
}
.steps li b {
  color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.02em;
  display: flex; align-items: center; gap: 12px;
}
.steps li b .ico { width: 24px; height: 24px; }
.steps li:hover b .ico { color: var(--accent); }
.steps li p { color: var(--text); font-size: 17px; line-height: 1.75; }

.warn-box {
  margin-top: 44px;
  background: var(--warn-bg);
  border-radius: var(--r-core);
  padding: 24px 28px;
}
.warn-box b { color: var(--warn); font-size: 17px; font-weight: 800; }
.warn-box b::before { content: '⚠ '; }
.warn-box p { color: #6E2620; font-size: 16.5px; margin-top: 6px; }

.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.vs-card { border-radius: var(--r-slab); padding: 34px 34px 30px; }
.vs-card.bad { background: #fff; }
.vs-card.good { background: var(--black); }
.vs-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  border-radius: 999px; padding: 6px 14px;
}
.vs-card.bad .vs-tag { background: var(--panel); color: var(--muted); }
.vs-card.good .vs-tag { background: rgba(255, 255, 255, .16); color: #fff; }
.vs-card ul { list-style: none; margin-top: 20px; }
.vs-card li {
  display: flex; gap: 16px; align-items: baseline;
  font-size: 16.5px; padding: 8px 0;
}
.vs-card li b { flex: none; width: 52px; font-weight: 700; font-size: 14px; }
.vs-card.bad li { color: var(--text); border-bottom: 1px solid var(--hair-soft); }
.vs-card.bad li:last-child { border-bottom: none; }
.vs-card.bad li b { color: var(--muted); }
.vs-card.good li { color: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.vs-card.good li:last-child { border-bottom: none; }
.vs-card.good li b { color: rgba(255, 255, 255, .7); }

/* ── 왜 호암인가: 괘선 그리드 ────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair);
}
.why-card {
  background: transparent; border: none; border-radius: 0;
  padding: 32px 28px 8px 0;
  transition: transform .6s var(--ease);
}
.why-card + .why-card { border-left: 1px solid var(--hair); padding-left: 28px; }
.why-card:hover { transform: translateY(-4px); }
.why-ico { width: 30px; height: 30px; }
.why-card:hover .why-ico { color: var(--accent); }
.why-card b {
  display: block;
  color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-top: 16px;
}
.why-card p { color: var(--text); font-size: 16.5px; line-height: 1.75; margin-top: 10px; }

/* ── B2B: 블랙 섹션 ─────────────────── */
.b2b-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.b2b-copy h2 {
  color: #fff; font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.028em;
  line-height: 1.25; margin-top: 16px;
}
.b2b-copy p { color: rgba(255, 255, 255, .85); font-size: 17.5px; margin-top: 18px; line-height: 1.8; }
.btn-white { background: #fff; color: var(--ink); margin-top: 32px; padding: 15px 28px; }
.btn-white:hover { background: #F0F0F2; transform: translateY(-1px); }
.b2b-feats { list-style: none; }
.b2b-feats li {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 4px;
  transition: padding-left .5s var(--ease);
}
.b2b-feats li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.b2b-feats li:hover { padding-left: 12px; }
.b2b-feats b { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.b2b-feats p { color: rgba(255, 255, 255, .82); font-size: 16px; margin-top: 5px; }

/* ── FAQ ───────────────────────────── */
.faq-list { border-top: 1px solid var(--hair); }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -.015em;
  padding: 24px 4px;
  transition: padding-left .5s var(--ease);
}
.faq-list summary:hover { padding-left: 10px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; color: var(--muted);
  font-size: 22px; font-weight: 300; line-height: 1;
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq-list details p {
  color: var(--text); font-size: 17px; line-height: 1.85;
  padding: 0 4px 26px; max-width: 640px;
}

/* ── 견적 구성기 ───────────────────── */
.q-tabs { display: flex; justify-content: center; margin-bottom: 44px; }
.q-tabs-in {
  position: relative;
  display: inline-flex; gap: 0; background: rgba(17, 17, 19, .05); border-radius: 999px; padding: 4px;
}
.q-tabs-in::before {
  content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: var(--ink); border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(17, 17, 19, .5);
  transition: transform .55s var(--ease);
}
.q-tabs-in[data-tab="custom"]::before { transform: translateX(100%); }
.q-tabs-in button {
  appearance: none; border: none; cursor: pointer;
  background: transparent; color: var(--text);
  font-size: 16px; font-weight: 700; padding: 14px 32px; border-radius: 999px;
  min-width: 168px; position: relative; z-index: 1;
  transition: color .4s var(--ease);
}
.q-tabs-in button:hover { color: var(--ink); }
.q-tabs-in button.on { color: #fff; }

.q-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px; align-items: start;
}
.q-grid.full { grid-template-columns: 1fr; }
.panel[hidden] { display: none; }

.q-step { margin-bottom: 40px; }
.q-step-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.q-step-title { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.q-step-hint { font-size: 14px; color: var(--muted); margin-left: auto; }

.svc-list { display: flex; flex-direction: column; gap: 10px; }
.svc {
  position: relative;
  display: flex; align-items: center; gap: 15px;
  border: 1.5px solid transparent; border-radius: var(--r-core);
  background: #fff; padding: 17px 20px;
  cursor: pointer; user-select: none;
  transition: border-color .4s var(--ease), background .4s var(--ease),
              opacity .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 0 0 1px var(--hair-soft);
}
.svc:hover { transform: translateX(3px); box-shadow: 0 0 0 1px var(--hair), 0 14px 34px -20px rgba(17, 17, 19, .25); }
.svc.on { border-color: var(--ink); box-shadow: none; }
.svc.disabled { opacity: .38; cursor: not-allowed; }
.svc.disabled:hover { transform: none; box-shadow: 0 0 0 1px var(--hair-soft); }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.tick {
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--hair);
  background: #fff;
  position: relative;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.tick::after {
  content: ''; position: absolute; left: 5px; top: 6px;
  width: 10px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0; transition: opacity .3s var(--ease);
}
.svc.on .tick { background: var(--ink); border-color: var(--ink); animation: tickpop .35s var(--ease); }
@keyframes tickpop { 0% { transform: scale(.7); } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
.svc.on .tick::after { opacity: 1; }
.svc-txt { display: flex; flex-direction: column; }
.svc-name { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.svc-sub { font-size: 15px; color: var(--muted); margin-top: 2px; }
.svc-price { margin-left: auto; font-weight: 800; font-size: 20px; color: var(--ink); white-space: nowrap; letter-spacing: -.02em; }
.svc-price small { font-size: 13.5px; font-weight: 500; color: var(--muted); }

.q-sub { overflow: hidden; transition: max-height .6s var(--ease), opacity .6s var(--ease), margin .6s var(--ease); max-height: 120px; opacity: 1; margin-top: 14px; }
.q-sub.hidden { max-height: 0; opacity: 0; margin-top: 0; }
.q-seg-row { display: flex; flex-wrap: wrap; gap: 10px; }
.q-seg { display: inline-flex; gap: 4px; background: rgba(17, 17, 19, .05); border-radius: 999px; padding: 4px; }
.q-seg button {
  appearance: none; border: none; cursor: pointer;
  background: transparent; color: var(--muted);
  font-size: 14.5px; font-weight: 600; padding: 10px 20px; border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease); white-space: nowrap;
}
.q-seg button.on { background: var(--ink); color: #fff; }
.q-note { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* 패키지 */
.pkg-row { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }
.pkg-band {
  background: var(--ink); color: #fff;
  border-radius: var(--r-core) var(--r-core) 0 0;
  text-align: center;
  font-size: 15px; font-weight: 700; letter-spacing: .04em; padding: 14px;
}
.pkg-band.dark { background: #3A3B3F; }
.pkg-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-radius: 0 0 var(--r-core) var(--r-core); background: #fff;
  box-shadow: 0 0 0 1px var(--hair-soft);
}
.pkg { position: relative; padding: 32px 28px 26px; display: flex; flex-direction: column; transition: transform .3s var(--ease); transform-style: preserve-3d; }
.pkg + .pkg { border-left: 1px solid var(--hair-soft); }
.pkg-label { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .14em; }
.pkg-badge {
  position: absolute; top: 22px; right: 22px;
  background: var(--accent); color: #fff;
  font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 5px 13px;
  animation: breathe 2.6s var(--ease) infinite alternate;
}
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.08); } }
.pkg[data-pkg="premium"] { background: linear-gradient(180deg, rgba(11, 92, 214, .045), transparent 42%); }
.pkg h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 8px; letter-spacing: -.02em; }
.pkg-price { margin: 12px 0 18px; }
.pkg-price b { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.pkg-price span { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 3px; }
.pkg-regions { font-size: 14px; color: var(--muted); margin: -14px 0 16px; }
.pkg ul { list-style: none; flex: 1; border-top: 1px solid var(--hair-soft); padding-top: 15px; }
.pkg li {
  font-size: 16.5px; color: var(--text);
  padding: 4px 0 4px 22px; position: relative;
}
.pkg li::before {
  content: ''; position: absolute; left: 2px; top: 12px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.pkg li.inc { color: var(--muted); }
.pkg li b { color: var(--ink); }
.pkg-btn {
  appearance: none; cursor: pointer;
  margin-top: 22px;
  border: 1px solid var(--hair); background: #fff; color: var(--ink);
  font-size: 15px; font-weight: 600; padding: 14px 0; border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.pkg-btn:hover { border-color: var(--ink); }
.pkg.selected .pkg-btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.pkg-etc {
  border-radius: 0 0 var(--r-core) var(--r-core); background: #fff;
  box-shadow: 0 0 0 1px var(--hair-soft);
  padding: 32px 28px 26px;
}
.pkg-etc h3 { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.pkg-etc ul { list-style: none; border-top: 1px solid var(--hair-soft); margin-top: 18px; padding-top: 15px; }
.pkg-etc li {
  font-size: 16.5px; color: var(--text);
  padding: 4px 0 4px 22px; position: relative;
}
.pkg-etc li::before {
  content: ''; position: absolute; left: 2px; top: 12px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.pkg-etc-note { font-size: 14.5px; color: var(--text); margin-top: 16px; }
.pkg-foot { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.pkg-foot::before { content: '* '; }

/* 견적서 aside */
.quote-aside {
  position: sticky; top: 92px; overflow: hidden;
  border-radius: var(--r-slab);
}
.quote-aside[hidden] { display: none; }
.q-band {
  background: var(--ink); color: #fff;
  text-align: center;
  font-size: 15px; font-weight: 700;
  letter-spacing: .3em; text-indent: .3em; padding: 14px;
}
.q-body { padding: 22px 24px 24px; }
.q-items { list-style: none; }
.q-item {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--hair-soft);
  animation: rise .5s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.q-item .nm { font-size: 16px; font-weight: 500; color: var(--text); }
.q-item .dt { font-size: 13px; color: var(--muted); display: block; font-weight: 400; }
.q-item .amt { margin-left: auto; font-weight: 700; font-size: 16.5px; color: var(--ink); white-space: nowrap; }
.q-empty {
  min-height: 100px; display: grid; place-items: center; gap: 6px;
  color: var(--text); font-size: 15.5px; text-align: center; line-height: 1.8;
  padding: 10px 0 6px;
}
.q-quick { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.q-quick button {
  appearance: none; cursor: pointer;
  background: var(--panel); color: var(--ink);
  border: none; border-radius: 999px;
  font-size: 14px; font-weight: 700; padding: 10px 18px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.q-quick button:hover { background: #EAEAEE; transform: translateY(-1px); }
.q-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 18px; margin-top: 4px; }
.q-total .lbl { font-size: 16px; font-weight: 700; color: var(--ink); }
.q-total .sum { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.q-total .sum small { font-size: 14px; font-weight: 700; }
.q-won { text-align: right; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.q-notes { margin-top: 18px; border-top: 1px solid var(--hair-soft); padding-top: 13px; }
.q-notes p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.q-notes p::before { content: '* '; }

.cform-copybox b { color: var(--ink); font-size: 16px; font-weight: 800; }
.cform-copybox textarea {
  width: 100%; margin-top: 12px;
  border: none; border-radius: 12px;
  padding: 13px 15px; font-size: 14.5px; color: var(--text);
  background: var(--panel); resize: vertical;
}
.cform-copybox p { font-size: 13.5px; color: var(--text); margin-top: 8px; }

/* ── 견적서 통합 신청 폼 ─────────────── */
.q-form {
  margin-top: 18px; border-top: 1px solid var(--hair-soft); padding-top: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.q-form-head { font-size: 16.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.q-form input[type="text"], .q-form input[type="tel"] {
  border: 1.5px solid transparent; border-radius: 12px;
  padding: 12px 14px; font-size: 15.5px; color: var(--ink);
  background: var(--panel); outline: none;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.q-form input:focus { border-color: var(--ink); background: #fff; }
.q-agree {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13px; color: var(--text); line-height: 1.6; cursor: pointer;
}
.q-agree input { margin-top: 3px; accent-color: var(--ink); }
.q-submit { width: 100%; margin-top: 2px; }
.q-submit:disabled { opacity: .5; cursor: not-allowed; }
.cform-copybox { margin-top: 20px; padding: 26px 28px; border-radius: var(--r-core); box-shadow: 0 0 0 1px var(--hair-soft); }

/* ── 푸터 ─────────────────────────── */
.footer { border-top: 1px solid var(--hair); padding: 64px 24px 100px; }
.footer-in { max-width: 1120px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding-bottom: 28px; margin-bottom: 24px;
  border-bottom: 1px solid var(--hair-soft);
}
.footer-brand { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.footer-brand b { color: var(--accent); }
.footer-contact { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.footer-contact b { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.footer-contact span { font-size: 14px; color: var(--text); }
.footer p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.footer-disc { margin-top: 12px; }
.footer-copy { margin-top: 12px; font-size: 13px; }

/* ── 모바일 하단 플로팅 바 ───────────── */
.mbar {
  position: fixed; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1.35fr; gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--hair-soft), 0 24px 50px -20px rgba(17, 17, 19, .35);
  transform: translateY(140%);
  transition: transform .7s var(--ease);
}
.mbar.show { transform: none; }
.mbar .btn { padding: 12px 10px; font-size: 14px; }

/* ── 토스트 ───────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 90;
  transform: translate(-50%, 16px);
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; line-height: 1.5;
  padding: 15px 24px; border-radius: 999px;
  box-shadow: 0 20px 50px -16px rgba(17, 17, 19, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  max-width: min(88vw, 480px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* FAQ 열림 애니메이션 (지원 브라우저 한정) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-list details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size .5s var(--ease), content-visibility .5s allow-discrete;
  }
  .faq-list details[open]::details-content { block-size: auto; }
}

/* 커스텀 스크롤바 */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 19, .28);
  border-radius: 999px;
  border: 3px solid #fff;
}
::-webkit-scrollbar-thumb:hover { background: rgba(17, 17, 19, .45); }

/* ── 스크롤 연동 변형 (지원 브라우저 한정) ── */
@supports (animation-timeline: view()) {
  .statband, .sec-navy {
    animation: bandGrow both linear;
    animation-timeline: view();
    animation-range: entry 0% entry 90%;
  }
  @keyframes bandGrow {
    from { transform: scale(.93); border-radius: 36px; }
    to { transform: scale(1); border-radius: 0; }
  }
  .hero-copy {
    animation: heroDrift both linear;
    animation-timeline: scroll(root);
    animation-range: 0 90vh;
  }
  @keyframes heroDrift { to { transform: translateY(-90px) scale(.97); opacity: .25; } }
}

/* ── 로드 커튼 인트로 ── */
.curtain {
  position: fixed; inset: 0; z-index: 100;
  background: var(--black);
  pointer-events: none;
  animation: curtainUp .85s var(--ease) .2s both;
}
@keyframes curtainUp { to { transform: translateY(-101%); } }

/* ── 스크롤 프로그레스 바 (지원 브라우저 한정) ── */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress {
    display: block;
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
    background: var(--accent);
    transform-origin: 0 50%; transform: scaleX(0);
    animation: growX linear both;
    animation-timeline: scroll(root);
  }
  @keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ── 반응형 ───────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 160px 20px 104px; }
  .nav-menu { display: none; }
  .sec { padding: 104px 20px; }
  .sec-head { margin-bottom: 52px; }
  .sit-grid { grid-template-columns: repeat(2, 1fr); }
  .sit-card, .sit-card:nth-child(4), .sit-card:nth-child(5) { grid-column: auto; }
  .steps li { grid-template-columns: 60px 1fr; }
  .steps li p { grid-column: 2; }
  .vs-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card + .why-card { border-left: none; padding-left: 0; }
  .why-card:nth-child(even) { border-left: 1px solid var(--hair); padding-left: 28px; }
  .why-card { border-bottom: 1px solid var(--hair); padding-bottom: 26px; }
  .b2b-in { grid-template-columns: 1fr; gap: 48px; }
  .q-grid { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
  .pkg-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .mbar { display: grid; }
  .statband { padding: 40px 20px; }
  .statband-in { grid-template-columns: 1fr; gap: 26px; }
  .stat + .stat { border-left: none; }
  .stat b { font-size: 38px; }
  .hero { padding: 140px 18px 88px; }
  .hero-sub br { display: none; }
  .nav-cta { display: none; }
  .sec-head br { display: none; }
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg + .pkg { border-left: none; border-top: 1px solid var(--hair-soft); }
  .steps li { grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 2px; }
  .footer { padding-bottom: 124px; }
  .footer-top { flex-direction: column; }
  .footer-contact { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .curtain { display: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero-copy > * { opacity: 1; transform: none; filter: none; }
}

/* ── 캔버스 씬 (장식 전용): 절차 3D 건물 · B2B 파티클 ── */
.bldg-wrap canvas { display: block; }
.navy-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sec-navy .sec-in { position: relative; z-index: 1; }

@media (min-width: 961px) {
  .steps-row { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .steps-row .steps li { grid-template-columns: 64px 200px 1fr; }
  .bldg-wrap { position: sticky; top: 128px; display: flex; justify-content: center; }
}
@media (max-width: 960px) {
  .steps-row { display: flex; flex-direction: column; }
  .bldg-wrap { order: -1; display: flex; justify-content: center; margin-bottom: 12px; }
}

/* ── 별도견적 블록 하이라이트 (상황 카드 → 상담 안내 동선) ── */
.pkg-etc.flash { animation: etcFlash 1.2s ease 2; }
@keyframes etcFlash {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 3px var(--ink, #111113); }
}

/* ── 상담 폼: honeypot·휴대폰 인증 ── */
.q-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
