/* ════════════════════════════════════════════════════════════
   ninecraft — main.css  (Calm Financial Recovery)
   모바일 퍼스트. 토큰은 tokens.css 참조.
   ════════════════════════════════════════════════════════════ */

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--cream-50);
  font-size: var(--fs-body);
  font-feature-settings: "tnum" 1, "case" 1;  /* 숫자 고정폭 정렬 + 대문자 최적 부호 */
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-150%);
  top: 8px; z-index: 100; background: var(--brand-900); color: #fff;
  padding: .6rem 1rem; border-radius: var(--r-pill); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; line-height: 1; white-space: nowrap;
  padding: .85rem 1.4rem; border-radius: var(--r-pill);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: none; }
.btn:active { transform: none; }
.btn-sm  { padding: .55rem 1rem; font-size: var(--fs-sm); }
.btn-lg  { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-accent  { background: var(--warm-500); color: #ffffff; box-shadow: none; }
.btn-accent:hover { background: var(--warm-600); box-shadow: none; }
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-900); }
.btn-ghost   { background: transparent; color: var(--brand-700); box-shadow: inset 0 0 0 1.5px var(--brand-700); }
.btn-ghost:hover { background: var(--brand-100); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }

/* ── Reveal ───────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Section scaffolding ───────────────────────────── */
.section { padding-block: var(--space-section); }
.section--soft  { background: var(--brand-100); }
.section--dark  { background: var(--brand-900); color: #fff; }
.section--brand { background: linear-gradient(160deg, var(--brand-700), var(--brand-900)); color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: .9rem; color: var(--ink-600); font-size: var(--fs-lead); }
.section-head--light p { color: rgba(255,255,255,.78); }
.dot { display: inline-block; width: .24em; height: .24em; margin-left: .1em; border-radius: 50%; background: var(--brand-500); vertical-align: .06em; }
.dot--warm { background: var(--warm-500); }

/* ── Header ───────────────────────────── */
.site-header {
  position: absolute; top: 0; left: 0; width: 100%; z-index: 50;
  background: transparent;
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: none; }
.site-header__inner {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 104px;
  padding-inline: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { display: block; width: auto; height: 82px; object-fit: contain; }

.nav { display: none; gap: 1.6rem; }
.nav a { color: var(--ink-700); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--brand-700); }

.site-header__cta { display: flex; align-items: center; gap: .6rem; }
.phone-link { display: none; font-weight: 700; color: var(--brand-900); }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; }

/* 모바일 메뉴 오버레이 */
.nav.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; inset: 64px 0 auto 0; background: var(--cream-50);
  padding: 1rem var(--gutter) 2rem; box-shadow: var(--shadow-md);
}
.nav.is-open a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }

/* ── Hero ───────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; align-items: center; padding-block: 0; background:
  linear-gradient(130deg, #ffffff 0%, #f8fbff 48%, #eef6ff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background:
  linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.18));
  filter: none; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -22%; width: min(980px, 92vw); aspect-ratio: 1.9 / 1; transform: translateX(-50%); z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, rgba(47,128,237,.14), transparent 68%); }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-video-veil { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(130deg, rgba(255,255,255,.92) 0%, rgba(248,251,255,.86) 48%, rgba(238,246,255,.84) 100%); }
.hero__inner { display: grid; gap: clamp(1.7rem, 3.8vw, 2.6rem); align-items: start; justify-items: center; text-align: center; max-width: none; transform: translateY(-4.5svh); }
.hero__copy { max-width: 1120px; margin-inline: auto; }
.eyebrow { display: block; font-weight: 800; color: var(--brand-700); letter-spacing: 0; margin-bottom: .9rem; font-size: clamp(1rem, 1.7vw, 1.22rem); }
.eyebrow::before { display: none; }
.hero__title { font-size: clamp(3rem, 6.2vw, 5.7rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; text-shadow: 0 1px 10px rgba(251,250,246,.7), 0 1px 2px rgba(251,250,246,.9); }
.hero__rotator { display: inline-block; min-width: 8.2em; max-width: 100%; font-size: 1.45em; text-align: center; transition: opacity .13s var(--ease), transform .13s var(--ease); }
.hero__rotator.is-changing { opacity: 0; transform: scale(.92); }
.hero__title .accent { display: inline-block; margin-top: .12em; color: var(--warm-500); font-size: .78em; white-space: nowrap; }
.hero__lead { margin: 1rem auto 0; font-size: clamp(.92rem, 1.2vw, 1.05rem); font-weight: 800; color: var(--ink-700); max-width: 46ch; line-height: 1.65; text-shadow: 0 1px 6px rgba(251,250,246,.85); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.1rem; }
.hero__actions .btn { min-width: 250px; padding: 1.18rem 2.45rem; }
/* 진단 카드 */
.hero-card-rail { display: none; width: 100vw; margin: 0 0 0 calc(50% - 50vw); overflow: hidden; padding: .35rem 0 1.6rem; transform: translateY(5rem); }
.hero-card-track {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  /* animation: hero-card-slide 26s linear infinite; */
  will-change: transform;
}
.hero-reason {
  flex: 0 0 clamp(180px, 14vw, 250px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(217,243,241,.9);
  border-radius: 50%;
  box-shadow: none;
  color: var(--ink-900);
  font-size: clamp(1rem, 1.15vw, 1.28rem);
  font-weight: 900;
  line-height: 1.15;
}
.hero-reason .reason-card__ico { transform: scale(1.12); }
.hero-reason__icon { width: min(76%, 170px); height: min(76%, 170px); object-fit: contain; margin-bottom: -.18rem; }

/* 간편 문의 띠 (모바일 전용) */
.hero-quickform {
  display: none; width: 100vw; margin-inline: calc(50% - 50vw);
  background: rgba(47, 128, 237, .11); padding: 1.3rem var(--gutter);
}
.hero-quickform__row {
  display: flex; align-items: center; gap: .35rem; max-width: 460px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .35rem .35rem .35rem .95rem; box-shadow: var(--shadow-sm);
}
.hero-quickform__input {
  flex: 1 1 0; min-width: 0; border: 0; background: transparent;
  font-size: .92rem; font-weight: 600; color: var(--ink-900); padding: .6rem .2rem;
}
.hero-quickform__input::placeholder { color: var(--ink-600); font-weight: 500; }
.hero-quickform__input:focus { outline: none; }
.hero-quickform__input + .hero-quickform__input { border-left: 1px solid var(--line); padding-left: .75rem; }
.hero-quickform__submit { flex: 0 0 auto; padding: .7rem 1.05rem; font-size: .9rem; }
.hero-quickform__status { margin: 0; font-size: .8rem; text-align: center; }
.hero-quickform__status:not(:empty) { margin-top: .6rem; }
.hero-quickform__status[data-type="error"] { color: #e5484d; }
.hero-quickform__status[data-type="success"] { color: var(--warm-600); }
@keyframes hero-card-slide {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - clamp(1rem, 1.8vw, 1.5rem) / 2)); }
}
@keyframes feature-wheel-rise {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes feature-wheel-loop {
  0%, 100% { border-radius: 50%; }
  50% { border-radius: 12%; }
}
@keyframes feature-line-y {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes feature-line-x {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes feature-cell-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes feature-card-morph {
  0% { opacity: 0; border-radius: 24px; transform: translateY(18px) scale(.96); }
  58% { opacity: 1; border-radius: 34%; transform: translateY(0) scale(1.015); }
  100% { opacity: 1; border-radius: 50%; transform: none; }
}
.hero__panel { position: relative; min-width: 0; min-height: 430px; display: grid; align-items: center; }
.visual-orbit { position: absolute; inset: -26px -12px auto auto; width: min(520px, 100%); height: 420px; pointer-events: none; }
.visual-orbit::before { content: ""; position: absolute; right: 34px; top: 18px; width: 320px; height: 320px; border-radius: 50%; background: conic-gradient(from 210deg, rgba(47,128,237,.08), rgba(39,151,255,.34), rgba(143,197,255,.24), rgba(47,128,237,.08)); filter: blur(.2px); animation: slow-spin 18s linear infinite; }
.visual-orbit::after { content: ""; position: absolute; right: 92px; top: 76px; width: 205px; height: 205px; border-radius: 50%; background: rgba(255,255,255,.72); border: 1px solid rgba(20,99,95,.16); }
.orbit-card { position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-width: 132px; height: 38px; border-radius: var(--r-pill); background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: var(--shadow-md); color: var(--brand-700); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.orbit-card--one { right: 272px; top: 70px; }
.orbit-card--two { right: 4px; top: 252px; color: var(--ink-900); }
@keyframes slow-spin { to { transform: rotate(360deg); } }
.diag-card { position: relative; z-index: 3; min-width: 0; background: rgba(255,255,255,.82); backdrop-filter: blur(18px); border: 1px solid rgba(219,232,228,.9); border-radius: 36px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 34px 82px rgba(15, 47, 46, 0.16); }
.diag-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.diag-card__title { font-weight: 800; font-size: 1.1rem; }
.badge-soft { background: var(--brand-100); color: var(--brand-700); font-weight: 700; font-size: .8rem; padding: .3rem .7rem; border-radius: var(--r-pill); }
.diag-field { margin-bottom: 1.1rem; }
.diag-field__label { display: block; font-size: var(--fs-sm); color: var(--ink-600); font-weight: 600; margin-bottom: .5rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .5rem .9rem; border-radius: var(--r-pill); background: var(--cream-50); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700); }
.chip--on { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.diag-result { background: linear-gradient(145deg, #eaf4ff, #f6fbff); border: 1px solid rgba(23,105,211,.12); border-radius: 26px; padding: 1.2rem; margin: 1.2rem 0; }
.diag-result__row { display: flex; align-items: baseline; justify-content: space-between; font-weight: 600; color: var(--ink-700); }
.diag-result__row strong { font-size: 1.5rem; color: var(--brand-900); }
.diag-bar { height: 10px; border-radius: var(--r-pill); background: #fff; margin-top: .7rem; overflow: hidden; }
.diag-bar span { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--brand-500), var(--brand-700)); }
.diag-note { font-size: .75rem; color: var(--ink-600); margin-top: .6rem; }
.metric-strip { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .9rem; }
.metric-strip span { padding: .65rem .7rem; border-radius: 16px; background: rgba(255,255,255,.72); color: var(--ink-600); font-size: .78rem; font-weight: 700; }
.metric-strip b { display: block; color: var(--brand-700); font-size: 1rem; }

/* ── Stats ───────────────────────────── */
.stats {
  background: #f7f9fc;
  padding-block: clamp(2.4rem, 6vw, 4.4rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}
.stats-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .8rem;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border-radius: 8px;
  background: #111827;
  color: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, .18);
}
.stats-card__label {
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
}
.stats-card__value {
  color: var(--brand-500);
  font-size: clamp(2.1rem, 8vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.reason-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; text-align: left;
  background: linear-gradient(160deg, #fff, #f8fbff); border: 1px solid var(--line); border-radius: 28px; padding: 1.25rem; font-weight: 800; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.reason-card::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -28px; bottom: -35px; background: rgba(31,157,138,.08); }
.reason-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reason-card__ico { position: relative; width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(145deg, #f4f9ff, #d8ecff); border: 1px solid rgba(23,105,211,.12); box-shadow: inset 0 -10px 20px rgba(23,105,211,.05); }
.reason-card__ico::before, .reason-card__ico::after { content: ""; position: absolute; }
.ico-bill::before { inset: 12px 15px; border-radius: 5px; background: #fff; border: 2px solid var(--brand-700); }
.ico-bill::after { left: 21px; right: 21px; top: 20px; height: 16px; border-top: 3px solid var(--warm-500); border-bottom: 3px solid var(--warm-500); }
.ico-chart::before { left: 13px; right: 13px; bottom: 13px; height: 24px; border-left: 6px solid var(--brand-500); border-bottom: 6px solid var(--brand-700); transform: skew(-12deg); }
.ico-chart::after { right: 12px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--warm-500); }
.ico-shield::before { inset: 10px 14px; clip-path: polygon(50% 0,100% 20%,86% 78%,50% 100%,14% 78%,0 20%); background: var(--brand-700); }
.ico-shield::after { left: 24px; top: 18px; width: 7px; height: 17px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(42deg); }
.ico-cross::before { left: 14px; right: 14px; top: 24px; height: 7px; border-radius: 5px; background: var(--coral-500); }
.ico-cross::after { top: 14px; bottom: 14px; left: 24px; width: 7px; border-radius: 5px; background: var(--coral-500); }
.ico-card::before { inset: 15px 10px; border-radius: 7px; background: var(--brand-700); }
.ico-card::after { left: 15px; right: 15px; top: 23px; height: 4px; background: rgba(255,255,255,.72); }
.ico-candle::before { left: 15px; bottom: 12px; width: 7px; height: 24px; border-radius: 4px; background: var(--brand-500); box-shadow: 12px -9px 0 var(--warm-500), 24px 3px 0 var(--brand-700); }
.ico-candle::after { left: 12px; right: 12px; bottom: 10px; height: 2px; background: rgba(15,47,46,.35); }
.ico-risk::before { inset: 13px; border-radius: 50%; border: 4px solid var(--warm-500); }
.ico-risk::after { left: 25px; top: 17px; width: 4px; height: 20px; border-radius: 4px; background: var(--brand-900); box-shadow: 0 24px 0 var(--brand-900); }
.ico-bag::before { left: 13px; right: 13px; bottom: 12px; height: 24px; border-radius: 6px; background: var(--warm-500); }
.ico-bag::after { left: 21px; top: 12px; width: 12px; height: 10px; border-radius: 10px 10px 0 0; border: 3px solid var(--brand-700); border-bottom: 0; }

/* ── Lawyer ───────────────────────────── */
.lawyer { position: relative; overflow: hidden; background: var(--cream-50); }
.lawyer::before { content: "§"; position: absolute; left: -4vw; top: 50%; transform: translateY(-50%) rotate(-12deg); color: var(--brand-100); font-size: clamp(22rem, 42vw, 46rem); font-weight: 900; line-height: .7; opacity: .54; pointer-events: none; }
.lawyer__container { position: relative; z-index: 1; }
.lawyer__title-break { display: none; }
.lawyer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 42%); gap: clamp(1rem, 4vw, 3rem); align-items: center; min-height: clamp(520px, 58vw, 720px); }
.lawyer__profile { min-width: 0; padding-block: .2rem; word-break: keep-all; }
.lawyer__name { display: inline-flex; align-items: baseline; gap: .18em; font-size: clamp(2.4rem, 5.2vw, 4.8rem); font-weight: 900; color: var(--ink-900); line-height: 1.08; }
.lawyer__name span { font-size: .58em; font-weight: 400; }
.lawyer__message { margin-top: clamp(1.5rem, 3vw, 2.2rem); color: var(--ink-900); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 800; line-height: 1.55; }
.lawyer__photo { align-self: end; width: min(100%, 520px); margin-inline: auto 0; }
.lawyer__photo--mobile { display: none; }
.lawyer__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.5; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 20px 34px rgba(0, 143, 163, 0.12)); }
.cred { display: grid; gap: .35rem; margin-top: clamp(2rem, 4vw, 3.2rem); }
.cred__group { display: grid; gap: .6rem; }
.cred__label { color: var(--ink-900); font-weight: 800; font-size: var(--fs-sm); }
.cred__list { display: flex; flex-direction: column; gap: .18rem; margin: 0; color: var(--ink-700); font-size: clamp(.86rem, 1vw, 1rem); line-height: 1.55; }
.cred__list span { min-width: 0; }

/* ── Features ───────────────────────────── */
.features { background: #fff; }
.features .section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.features .section-head h2 { color: #121417; font-size: clamp(2.15rem, 4.6vw, 4.1rem); line-height: 1.16; letter-spacing: -0.025em; font-weight: 500; }
.features .section-head h2 strong { font-weight: 900; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.4vw, 1.35rem);
  max-width: 560px;
  margin-inline: auto;
}
.feature-card {
  position: relative;
  overflow: visible;
  min-height: 142px;
  background: #fff;
  border: 1px solid rgba(215, 232, 251, .74);
  border-radius: 18px;
  padding: clamp(1.55rem, 3vw, 2.1rem);
  box-shadow: 0 16px 46px rgba(17, 24, 39, .07);
  color: var(--ink-900);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.05rem;
  row-gap: .45rem;
  align-items: start;
  text-align: left;
}
.feature-card[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), box-shadow .2s var(--ease);
}
.feature-card[data-reveal].is-visible { opacity: 1; transform: none; }
.feature-card__icon {
  grid-row: span 2;
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}
.feature-card h3 {
  color: #111827;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.feature-card p {
  max-width: none;
  margin-top: .1rem;
  color: #5f6673;
  font-size: clamp(.92rem, 1.3vw, 1.02rem);
  line-height: 1.6;
  font-weight: 600;
  word-break: keep-all;
}
.feature-wheel-lines { display: none; }

/* ── Reduction preview ───────────────────────────── */
.reduction { background: #050611; color: #fff; }
.reduction-panel {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 2rem) 0;
}
.reduction-panel__copy { text-align: center; word-break: keep-all; }
.reduction-panel__copy h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #fff;
}
.reduction-panel__copy h2 strong { color: var(--brand-500); font-weight: 900; }
.reduction-meter {
  width: min(100%, 680px);
  margin-inline: auto;
}
.reduction-compare { display: grid; gap: 1rem; margin-top: clamp(1.2rem, 3vw, 1.8rem); }
.reduction-line { display: grid; gap: .55rem; }
.reduction-line__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.reduction-line__label span { color: rgba(255,255,255,.68); font-size: .92rem; font-weight: 800; }
.reduction-line__label strong { color: #99a3b3; font-size: clamp(1.4rem, 4vw, 2.2rem); letter-spacing: -.05em; text-decoration: line-through; }
.reduction-line--after .reduction-line__label strong { color: var(--brand-500); text-decoration: none; }
.reduction-line__track { height: 18px; border-radius: 999px; background: rgba(255,255,255,.16); overflow: hidden; }
.reduction-line__bar { display: block; height: 100%; border-radius: inherit; }
.reduction-line__bar--before { width: 100%; background: #aeb8c8; }
.reduction-line__bar--after { width: 10%; min-width: 28px; background: linear-gradient(90deg, var(--brand-500), var(--brand-900)); }
.reduction-note { margin: 1rem auto 0; color: rgba(255,255,255,.55); font-size: .76rem; line-height: 1.5; text-align: center; word-break: keep-all; }

/* ── How ───────────────────────────── */
.step-list { display: grid; grid-template-columns: 1fr; gap: 1.1rem; counter-reset: step; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); }
.step-card__num { display: inline-block; font-size: 1.5rem; font-weight: 900; color: var(--brand-500); margin-bottom: .6rem; }
.step-card h3 { font-size: var(--fs-h3); }
.step-card p { margin-top: .5rem; color: var(--ink-600); }
.how__cta {
  width: 100vw;
  margin: 3rem 0 0 calc(50% - 50vw);
  padding: 1.15rem var(--gutter);
  background: #050611;
  text-align: center;
}
.how__cta .btn {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: clamp(.98rem, 2.8vw, 1.08rem);
  gap: .75rem;
}
.how__cta .btn:hover {
  background: transparent;
}
.how__cta .btn::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 7px;
  background: var(--brand-500);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 0 rgba(47,128,237,.45);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  transform-origin: center;
  animation: cta-check-pulse 1.35s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
@keyframes cta-check-pulse {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 0 rgba(47,128,237,.5); }
  34% { transform: translateY(-2px) scale(1.18) rotate(-4deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 0 0 10px rgba(47,128,237,0); }
  58% { transform: translateY(1px) scale(.96) rotate(2deg); }
}

/* 강점 한 줄 카드 (GSAP 느낌 스프링 등장) */
.benefit-cards { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.benefit-card {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.05rem 1.3rem;
  background: linear-gradient(135deg, #fff, #f4f9ff);
  border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm);
  font-weight: 800; font-size: clamp(1rem, 2.2vw, 1.15rem); letter-spacing: -.02em; color: var(--ink-900);
}
.benefit-card__ico {
  flex: 0 0 auto; display: grid; place-items: center; width: 2rem; height: 2rem;
  border-radius: 50%; background: var(--brand-500); color: var(--brand-900); font-weight: 900; font-size: .95rem;
}
.benefit-card__text { line-height: 1.2; }
.benefit-card:hover { box-shadow: var(--shadow-md); border-color: rgba(47,128,237,.42); background: linear-gradient(135deg, #fff, #eef6ff); }
.benefit-card[data-reveal] {
  opacity: 0; transform: translateY(46px) scale(.9) rotate(-2.5deg);
  transition: opacity .5s var(--ease), transform .7s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.benefit-card[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── FAQ ───────────────────────────── */
.faq-list { display: grid; gap: .8rem; max-width: 760px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-trigger { width: 100%; text-align: left; padding: 1.2rem 1.4rem; font-size: 1.05rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-trigger::after { content: "+"; font-size: 1.5rem; color: var(--brand-500); transition: transform .25s var(--ease); }
.faq-item.is-open .faq-trigger::after { transform: rotate(45deg); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-panel p { padding: 0 1.4rem 1.3rem; color: var(--ink-600); }

/* ── Live status ───────────────────────────── */
.live-status { background: #fff; }
.live-status .section-head { text-align: center; margin-inline: auto; }
.live-status__panel {
  --live-row-height: 76px;
  max-width: 900px;
  height: calc(var(--live-row-height) * 5);
  margin-inline: auto;
  border-top: 4px solid var(--brand-700);
  background: #fff;
  overflow: hidden;
}
.live-status__list { display: grid; }
.live-status__list.is-rolling {
  animation: live-status-roll 12s linear infinite;
}
.live-status__panel:hover .live-status__list.is-rolling {
  animation-play-state: paused;
}
.live-status__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(.8rem, 2.2vw, 2.4rem);
  min-height: var(--live-row-height);
  padding: 0 clamp(.6rem, 2vw, 1.2rem);
  border-bottom: 1px solid rgba(17, 24, 39, .1);
  color: #20242a;
  font-weight: 800;
}
.live-status__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: .62rem 1rem;
  border-radius: 999px;
  background: var(--brand-500);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}
.live-status__message {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-status__name,
.live-status__date {
  white-space: nowrap;
}
.live-status__date { color: rgba(17, 24, 39, .55); }
.live-status__row--skeleton span {
  display: block;
  height: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #eeeeee 0%, #f7f7f7 45%, #eeeeee 90%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.live-status__row--skeleton span:first-child { width: 104px; height: 2.35rem; }
.live-status__row--skeleton span:nth-child(2) { width: min(240px, 100%); }
.live-status__row--skeleton span:nth-child(3) { width: 42px; }
.live-status__row--skeleton span:nth-child(4) { width: 96px; }
.live-status__empty {
  padding: 1.35rem 1rem;
  border-bottom: 1px solid rgba(17, 24, 39, .1);
  color: rgba(17, 24, 39, .55);
  text-align: center;
  font-weight: 800;
}
@keyframes skeleton-shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}
@keyframes live-status-roll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* ── Consult form ───────────────────────────── */
.consult .section-head { text-align: center; margin-inline: auto; }
.form-wrap {
  background: #fff;
  border: 1px solid rgba(15,47,46,.08);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 22px 60px rgba(15,47,46,.16);
}
.consult-form { display: grid; gap: clamp(1.65rem, 4vw, 2.4rem); }
.field { display: grid; gap: .85rem; }
.field label, .field__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: #111827;
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.field label::after, .field__label::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: .35rem;
  border-radius: 50%;
  background: var(--brand-500);
}
.field input[type="text"], .field input[type="tel"] {
  padding: .8rem 0 1rem;
  border: 0;
  border-bottom: 1px solid rgba(17,24,39,.35);
  border-radius: 0;
  background: transparent;
  color: #111827;
}
.field input::placeholder { color: #8a8f98; }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.choice {
  min-height: 48px;
  padding: .75rem .85rem;
  border-radius: 8px;
  background: #f6f7f7;
  color: #3f4650;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.choice[aria-pressed="true"] { background: var(--brand-100); color: var(--brand-900); border-color: var(--brand-500); }
.consent { display: flex; gap: .7rem; align-items: center; font-size: var(--fs-sm); color: #111827; }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--brand-500); }
.consent a { text-decoration: underline; color: #344054; }
.form-status { min-height: 1.2em; font-size: var(--fs-sm); color: #111827; text-align: center; }
.form-status:empty { display: none; }
.form-status[data-type="error"] { color: #b42318; font-weight: 700; }
.form-fineprint { text-align: center; font-size: .75rem; color: #667085; }
.field__hint { margin-top: -.35rem; font-size: .8rem; font-weight: 600; color: #667085; }
.consult-form .btn[type="submit"] {
  justify-self: center;
  width: min(100%, 220px);
  background: var(--brand-500);
  color: #fff;
  border-radius: 8px;
  box-shadow: none;
}

/* 후기 / 결정 사례 롤링 */
/* ── 실제 진행 사례 (결정문) ───────────────── */
.case-feature {
  max-width: 960px; margin: clamp(1.4rem, 3vw, 2.4rem) auto 0;
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card-lg);
  box-shadow: var(--shadow-lg);
}
.case-feature__doc { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--line); }
.case-feature__body { padding: clamp(1.3rem, 3vw, 2rem); display: flex; flex-direction: column; justify-content: center; text-align: center; }

/* 통계: Before → After (심플·통일형) */
.case-ba { position: relative; display: grid; grid-template-columns: 140px 140px; justify-content: center; align-items: stretch; gap: 5rem; margin-top: 1.6rem; }
.case-ba__item {
  display: flex; flex-direction: column; justify-content: center; gap: .4rem; text-align: center;
  padding: 1.7rem .8rem; border-radius: 14px;
  background: #111827; border: 1px solid #111827;
}
.case-ba__label { font-size: .76rem; font-weight: 700; color: rgba(255, 255, 255, .62); }
.case-ba__value { font-size: clamp(1.15rem, 3vw, 1.6rem); font-weight: 900; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
/* 83% 탕감 원형 배지: 두 카드 사이에 겹치게 */
.case-ba__badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); z-index: 3;
  width: 108px; height: 108px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05;
  background: var(--brand-500); color: #fff;
  box-shadow: 0 10px 24px rgba(47, 128, 237, .38);
  font-size: .86rem; font-weight: 900; letter-spacing: -.02em;
}
.case-ba__badge strong { font-size: 1.6rem; font-weight: 900; }
.case-feature__title { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--ink-900); }
.case-feature__desc { margin-top: .55rem; color: var(--ink-700); font-size: clamp(.92rem, 1.4vw, 1.02rem); line-height: 1.6; }

/* 데스크탑: 이미지 좌 / 내용 우 가로 분할 */
@media (min-width: 768px) {
  .case-feature { grid-template-columns: 0.95fr 1.05fr; }
  .case-feature__doc { aspect-ratio: auto; height: 100%; min-height: 340px; border-right: 1px solid var(--line); }
}

/* 리스트: 얇은 가로 행 (이미지 좌 / 텍스트 우) */
.case-list { display: grid; gap: .8rem; max-width: 960px; margin: 1.1rem auto 0; }
.case-card {
  display: grid; grid-template-columns: 116px 1fr; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-card__doc { position: relative; height: 100%; min-height: 92px; overflow: hidden; border-right: 1px solid var(--line); }
.case-card__body { padding: .85rem 1.15rem; display: flex; flex-direction: column; justify-content: center; }
.case-card__title { font-size: 1.05rem; font-weight: 800; color: var(--ink-900); display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.case-card__desc { margin-top: .3rem; font-size: .9rem; color: var(--ink-700); line-height: 1.5; }

/* 이미지(블러 모자이크) + 플레이스홀더 공통 */
.case-feature__doc img, .case-card__doc img,
.case-doc-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-feature__doc img, .case-card__doc img { filter: blur(1.2px); transform: scale(1.03); }
/* 리스트 3장: 같은 결정문을 각자 다르게 확대(다른 부분이 보이게) */
.case-list .case-card:nth-child(1) .case-card__doc img { transform: scale(1.18); transform-origin: 28% 22%; }
.case-list .case-card:nth-child(2) .case-card__doc img { transform: scale(1.35); transform-origin: 72% 50%; }
.case-list .case-card:nth-child(3) .case-card__doc img { transform: scale(1.52); transform-origin: 40% 82%; }
.case-doc-ph {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(180deg, transparent 0 16px, rgba(23,105,211,.06) 16px 17px),
    linear-gradient(180deg, #f3f7f8, #eef3f4);
}
.case-doc-ph span {
  font-size: .8rem; font-weight: 800; color: var(--ink-600);
  padding: .4rem .8rem; border: 1px dashed rgba(23,105,211,.4); border-radius: var(--r-pill);
  background: rgba(255,255,255,.82); text-align: center;
}

/* 결과 도장: 빨간 테두리 (이미지 대부분을 차지하게 크게) */
.case-feature__doc, .case-card__doc { container-type: inline-size; }
.case-stamp {
  position: absolute; top: 50%; left: 50%; z-index: 1;
  transform: translate(-50%, -50%);
  font-weight: 900; color: #e5392f; white-space: nowrap; letter-spacing: -.03em; line-height: 1;
  border: .06em solid #e5392f; border-radius: .16em; padding: .1em .24em;
  font-size: 16cqw;
  background: rgba(255, 255, 255, .42);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6);
}
.case-stamp--lg { font-size: 14cqw; }

.reviews__cta { margin-top: clamp(1.8rem, 3vw, 2.4rem); text-align: center; }
.reviews__cta .btn { min-width: 280px; }
.reviews__disclaimer { max-width: 720px; margin: 1.2rem auto 0; text-align: center; font-size: .76rem; line-height: 1.5; color: var(--ink-600); word-break: keep-all; }

/* 모바일: 변제 전/후 카드가 화면을 넘지 않게 유연폭으로 */
@media (max-width: 767px) {
  .case-ba { grid-template-columns: 1fr 1fr; gap: 2.6rem; }
  .case-ba__item { padding: 1.4rem .55rem; }
  .case-ba__badge { width: 94px; height: 94px; transform: translate(-50%, -58%); }
  .case-ba__badge strong { font-size: 1.42rem; }
  .case-ba__badge { font-size: .8rem; }
}

/* ── Reviews CTA Bar (between consult section and footer) ────────── */
.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(1.8rem, 4vw, 2.6rem) var(--gutter);
  background: #000;
  text-decoration: none;
  color: var(--ink-700);
  transition: background .22s var(--ease);
}
.reviews-cta:hover,
.reviews-cta:focus-visible {
  background: #111;
}
.reviews-cta:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: -3px;
}

/* inner outlined rounded box */
.reviews-cta__box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  background: transparent;
  border: 2px solid var(--brand-700);
  border-radius: 20px;
  padding: 1.4rem 2.4rem;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.reviews-cta:hover .reviews-cta__box,
.reviews-cta:focus-visible .reviews-cta__box {
  border-color: var(--brand-500);
  background: rgba(47, 128, 237, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}
@media (prefers-reduced-motion: reduce) {
  .reviews-cta__box {
    transition: border-color .22s var(--ease), background .22s var(--ease);
  }
  .reviews-cta:hover .reviews-cta__box,
  .reviews-cta:focus-visible .reviews-cta__box {
    transform: none;
    box-shadow: none;
  }
}

.reviews-cta__icon {
  width: clamp(40px, 5vw, 48px);
  height: clamp(40px, 5vw, 48px);
  display: block;
}
.reviews-cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  line-height: 1.35;
}
.reviews-cta__line {
  display: block;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, 0.72);
}
.reviews-cta__line--strong {
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  font-weight: 800;
  color: var(--brand-500);
}

@media (max-width: 767px) {
  .reviews-cta {
    padding: 1.6rem var(--gutter);
  }
  .reviews-cta__box {
    padding: 1.1rem 1.8rem;
    gap: .55rem;
    border-radius: 16px;
  }
  .reviews-cta__line {
    font-size: .96rem;
  }
  .reviews-cta__line--strong {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-cta {
    transition: none;
  }
}

.form-done { text-align: center; padding: 2rem 1rem; }
.form-done__ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--warm-500); color: var(--ink-900); font-size: 1.8rem; font-weight: 900; margin-bottom: 1rem; }
.form-done h3 { font-size: var(--fs-h3); }
.form-done p { margin-top: .6rem; color: rgba(255,255,255,.85); }

/* ── Footer ───────────────────────────── */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding-block: 3rem; font-size: var(--fs-sm); }
.site-footer__inner { display: grid; gap: 1.4rem; }
.site-footer__brand .brand__name { color: #fff; font-size: 1.2rem; }
.site-footer__brand p { margin-top: .3rem; }
.site-footer__brand a { color: #fff; text-decoration: underline; }
.site-footer__notice { padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: rgba(255,255,255,.5); }
.site-footer__copy { color: rgba(255,255,255,.45); }
.site-footer__bottom { display: flex; flex-direction: column; gap: .5rem; }

/* ── Floating CTA (mobile) ───────────────────────────── */
.floating-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: .6rem; padding: .7rem var(--gutter);
  background: rgba(15,47,46,.92); backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.floating-cta.is-visible { transform: translateY(0); }
.floating-cta .btn { flex: 1; min-width: 0; padding-inline: .5rem; font-size: .92rem; }
.floating-kakao {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(5.2rem + env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fee500;
  color: #191919;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.floating-kakao img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.floating-kakao:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .26);
}
.floating-kakao:focus-visible {
  outline: 3px solid rgba(47, 128, 237, .55);
  outline-offset: 4px;
}

/* ════════════════════════════════════════════════════════════
   Responsive — tablet ↑
   ════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .nav { display: flex; }
  .phone-link { display: inline-flex; }
  .nav-toggle { display: none; }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .stats-card__value {
    font-size: clamp(1.55rem, 2.25vw, 2.05rem);
  }
  .live-status .section-head {
    text-align: left;
    margin-inline: 0;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .benefit-cards { grid-template-columns: repeat(3, 1fr); }
  .lawyer__inner { grid-template-columns: minmax(400px, .78fr) minmax(500px, .9fr); align-items: stretch; }
  .lawyer__profile { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(2rem, 4vw, 4rem); }
  .lawyer__photo { align-self: start; width: min(100%, 620px); margin-top: -2.2rem; margin-right: -2rem; }
  .cred { gap: .55rem; margin-top: clamp(2.6rem, 5vw, 4rem); }
  .cred__list { line-height: 1.62; }
  .cred__group { grid-template-columns: 48px minmax(0, 1fr); gap: .8rem; }
  .cred__list--career { display: flex; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__notice, .site-footer__bottom { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }

  .floating-cta { display: none; }
  .floating-kakao {
    right: max(1.5rem, env(safe-area-inset-right));
    bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 767px) {
  .live-status__panel { --live-row-height: 52px; }
  .live-status__row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: .45rem;
    min-height: var(--live-row-height);
    padding: 0 .2rem;
    font-size: .78rem;
  }
  .live-status__badge {
    min-width: 58px;
    padding: .36rem .45rem;
    font-size: .72rem;
  }
  .live-status__message {
    min-width: 0;
    white-space: nowrap;
  }
  .live-status__name { justify-self: end; }
  .live-status__date { justify-self: end; font-size: .74rem; }

  .feature-grid {
    width: 94%;
    margin-inline: auto;
    gap: .95rem;
  }
  .feature-card {
    min-height: 126px;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    grid-template-columns: 2.25rem 1fr;
    text-align: left;
  }
  .feature-card h3 {
    font-size: 1.12rem;
  }
  .feature-card p {
    font-size: .9rem;
  }
  .reduction-panel {
    padding: .5rem 0;
  }
  .reduction-meter {
    width: 100%;
  }
  .reduction-line__label {
    gap: .75rem;
  }
  .reduction-line__track {
    height: 15px;
  }

  .lawyer__title-break { display: none; }
  .lawyer { padding-block: clamp(3.2rem, 12vw, 5rem); }
  .lawyer::before { left: -46vw; top: 53%; font-size: 32rem; opacity: .48; }
  .lawyer__inner { grid-template-columns: 1fr; gap: 1.1rem; min-height: 0; align-items: start; }
  .lawyer__profile { position: relative; z-index: 2; padding-top: .2rem; }
  .lawyer__name { font-size: clamp(2rem, 10vw, 2.8rem); }
  .lawyer__message { margin-top: 1rem; font-size: .96rem; line-height: 1.55; }
  .lawyer__photo--desktop { display: none; }
  .lawyer__photo--mobile { display: block; position: relative; z-index: 1; width: min(72%, 280px); max-width: none; margin: 1rem auto 0; }
  .lawyer__photo img { filter: drop-shadow(0 14px 24px rgba(0, 143, 163, 0.10)); }
  .cred { margin-top: 1.5rem; gap: .45rem; }
  .cred__group { gap: .25rem; }
  .cred__label { font-size: .78rem; }
  .cred__list { gap: .12rem; font-size: .78rem; line-height: 1.45; }
}

@media (max-width: 1023px) {
  .lawyer__title-break { display: none; }
  .lawyer { padding-block: clamp(3.2rem, 12vw, 5rem); }
  .lawyer::before { left: -46vw; top: 53%; font-size: 32rem; opacity: .48; }
  .lawyer__inner { grid-template-columns: 1fr; gap: 1.1rem; min-height: 0; align-items: start; }
  .lawyer__profile { position: relative; z-index: 2; padding-top: .2rem; }
  .lawyer__name { font-size: clamp(2rem, 10vw, 2.8rem); }
  .lawyer__message { margin-top: 1rem; font-size: .96rem; line-height: 1.55; }
  .lawyer__photo--desktop { display: none; }
  .lawyer__photo--mobile { display: block; position: relative; z-index: 1; width: min(72%, 280px); max-width: none; margin: 1rem auto 0; }
  .lawyer__photo img { filter: drop-shadow(0 14px 24px rgba(0, 143, 163, 0.10)); }
  .cred { margin-top: 1.5rem; gap: .45rem; }
  .cred__group { gap: .25rem; }
  .cred__label { font-size: .78rem; }
  .cred__list { gap: .12rem; font-size: .78rem; line-height: 1.45; }
  .site-header__inner { padding-inline: 0; height: 60px; align-items: flex-start; padding-top: 2px; }
  .brand { margin-left: -2px; }
  .brand__logo { height: 50px; }
  .hero__title .accent { font-size: .82em; white-space: nowrap; }
  .hero { min-height: 100svh; padding-top: 4.5rem; }
  .hero__copy { width: 100%; max-width: 100%; }
  .hero__title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 2.85rem);
    text-align: center;
    letter-spacing: -0.035em;
  }
  .hero__rotator {
    min-width: 0;
    max-width: 100%;
    min-height: 1.16em;
    font-size: 1.04em;
    text-align: center;
    white-space: nowrap;
  }
  .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; max-width: 100%; gap: .7rem; }
  .hero__actions .btn { min-width: 0; min-height: 48px; padding: .9rem .7rem; font-size: .84rem; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero-card-rail { width: 100vw; margin-top: 0; padding-bottom: 1.2rem; overflow: hidden; transform: translateY(1.4rem); }
  .hero-card-track {
    gap: .8rem;
    /* animation-duration: 22s; */
  }
  .hero-reason { flex-basis: 136px; min-height: 0; gap: 0; border-radius: 50%; font-size: .9rem; }
  .hero-reason .reason-card__ico { width: 32px; height: 32px; border-radius: 11px; transform: scale(.75); }
  .hero-reason__icon { width: min(74%, 100px); height: min(74%, 100px); margin-bottom: -.12rem; }
  .hero-video-veil { background:
    linear-gradient(130deg, rgba(255,255,255,.94) 0%, rgba(248,251,255,.88) 48%, rgba(238,246,255,.86) 100%); }
  .visual-orbit { right: -86px; transform: scale(.82); transform-origin: top right; }
}

/* ════════════════════════════════════════════════════════════
   Responsive — desktop ↑
   ════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .faq-list { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card-track { animation: none; }
  .benefit-card[data-reveal] { transform: none; transition: opacity .3s var(--ease); }
  .how__cta .btn::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .feature-grid { animation: none; }
}

/* ── Modal Popup ───────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 18, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.2rem;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  position: relative;
  width: min(100%, 540px);
  max-height: 90vh;
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: 0 30px 80px rgba(6, 6, 18, 0.22);
  display: flex;
  flex-direction: column;
  transform: scale(0.93) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-300) transparent;
}
.modal-overlay.is-open .modal-content {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #f4f6f8;
  color: var(--ink-900);
  border: none;
  font-size: 1.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.modal-close:hover {
  background: #e4e7eb;
  transform: rotate(90deg);
}
.modal-header {
  margin-bottom: 1.5rem;
  text-align: center;
  padding-right: 1rem;
  padding-left: 1rem;
}
.modal-header h2 {
  font-size: clamp(1.55rem, 3.2vw, 1.95rem);
  line-height: 1.25;
  color: var(--ink-900);
  letter-spacing: -0.03em;
}
.modal-title-br { display: none; }
.modal-header h2 strong {
  font-weight: 900;
  color: var(--brand-700);
}
.modal-header h2 .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  margin-left: 3px;
}
.modal-subtitle {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.5;
  word-break: keep-all;
  font-weight: 500;
}
.modal-form {
  display: grid;
  gap: 0.8rem;
}
.modal-form .field {
  gap: 0.2rem;
}
.modal-form .field input[type="text"], .modal-form .field input[type="tel"] {
  padding: 0.5rem 0 0.6rem;
}
.modal-form .field label, .modal-form .field__label {
  font-size: 0.95rem;
  font-weight: 800;
}
.modal-form .choice-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.modal-form .choice {
  min-height: 44px;
  padding: 0.5rem;
  font-size: 0.82rem;
  border-radius: 6px;
}
.modal-form .consent {
  margin-top: 0.2rem;
}
.modal-form .btn[type="submit"] {
  width: 100%;
  background: var(--brand-500);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding-block: 0.95rem;
  border-radius: 8px;
  box-shadow: none;
}
.modal-footer {
  margin-top: 0.8rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-600);
}
.modal-hide-today {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
}
.modal-hide-today input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-500);
  cursor: pointer;
}
.modal-footer-close {
  background: none;
  border: none;
  color: var(--ink-600);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.3rem 0.6rem;
  font-size: 1rem;
}
.modal-footer-close:hover {
  color: var(--ink-900);
}

.modal-done {
  text-align: center;
  padding: 2.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.modal-done[hidden] { display: none; }
.modal-done__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 1.6rem;
  font-weight: 900;
}
.modal-done h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-900);
}
.modal-done p {
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .modal-overlay {
    padding: 0.6rem;
  }
  .modal-content {
    border-radius: 20px;
    padding: 1.4rem 1.15rem;
    max-height: 88vh;
  }
  .modal-close {
    top: 0.8rem;
    right: 0.8rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.7rem;
  }
  .modal-header {
    margin-bottom: 0.9rem;
    padding-inline: 0.8rem;
  }
  .modal-header h2 {
    font-size: 1.2rem;
  }
  .modal-title-br { display: inline; }
  .modal-form {
    gap: 0.85rem;
  }
  .modal-form .choice {
    font-size: 0.78rem;
    min-height: 40px;
  }
  .modal-form .consent {
    font-size: 0.76rem;
  }
  .modal-form .consent input {
    width: 20px;
    height: 20px;
  }
}

/* ── 대출금 / 예상탕감 인포그래픽 ───────────────── */
.tangam { text-align: center; }
.tangam .section-head { max-width: 100%; margin-inline: auto; text-align: center; }
.tangam-viz {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 1.8rem;
}
/* tangam-viz__row removed: circles now overlap horizontally */
.tangam-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}
.tangam-circle__label { font-weight: 700; letter-spacing: -0.01em; }
.tangam-circle__value { font-weight: 900; line-height: 1; }
.tangam-circle__unit { font-size: 0.5em; font-weight: 800; margin-left: 2px; }
.tangam-circle--main {
  width: clamp(190px, 44vw, 244px);
  height: clamp(190px, 44vw, 244px);
  border-radius: 50%;
  background: linear-gradient(155deg, #1c2b5e, #0a0d18);
  color: #fff;
  box-shadow: 0 24px 50px rgba(10, 13, 24, 0.35);
  position: relative;
  z-index: 2;
  margin: 0 -28px;
}
.tangam-circle--main .tangam-circle__label { font-size: 1.05rem; opacity: 0.92; }
.tangam-circle--main .tangam-circle__value { font-size: clamp(2.2rem, 6.5vw, 3rem); }
.tangam-circle--sub {
  width: clamp(150px, 40vw, 200px);
  height: clamp(150px, 40vw, 200px);
  border-radius: 50%;
  background: #eef2fb;
  box-shadow: 0 18px 42px rgba(13, 30, 70, 0.16);
  color: var(--ink-900);
}
.tangam-circle--sub .tangam-circle__label { color: var(--ink-700); font-size: 0.95rem; }
.tangam-circle--sub .tangam-circle__value { color: #1d4ed8; font-size: clamp(1.8rem, 5.5vw, 2.4rem); }
.tangam-circle--sub:first-child { margin-right: 0; }
.tangam-circle--sub:last-child { margin-left: 0; }
.tangam-circle__strike {
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 800;
  margin-right: 5px;
  font-size: 0.68em;
}
.tangam-circle__pct { font-size: 0.55em; }
.tangam-circle__arrow { color: #2563eb; margin-left: 2px; }
.tangam-note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--ink-600);
}
@media (max-width: 480px) {
  .tangam-circle--main { width: clamp(140px, 41vw, 180px); height: clamp(140px, 41vw, 180px); margin: 0 -18px; }
  .tangam-circle--sub { width: clamp(118px, 35vw, 150px); height: clamp(118px, 35vw, 150px); }
  .tangam-circle { gap: 0.25rem; }
  .tangam-circle--main .tangam-circle__label { font-size: 0.9rem; }
  .tangam-circle--main .tangam-circle__value { font-size: clamp(1.5rem, 7vw, 2rem); }
  .tangam-circle--sub .tangam-circle__label { font-size: 0.78rem; }
  .tangam-circle--sub .tangam-circle__value { font-size: clamp(1.1rem, 4.8vw, 1.5rem); white-space: nowrap; }
  .tangam-circle__strike { margin-right: 3px; }
}

/* ── 제출 완료 토스트 ───────────────── */
.submit-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  background: #1c2b5e;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(10, 13, 24, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.submit-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.submit-toast__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-accent, #facc15);
  color: #1c2b5e;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .submit-toast {
    top: 16px;
    padding: 12px 18px;
    font-size: 0.88rem;
    max-width: calc(100vw - 32px);
  }
}

/* ── 사례 카드 가상 이름 라벨 ───────────────── */
.case-person {
  display: inline-block;
  margin-left: auto;
  color: var(--ink-700);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

