﻿/* ============================================================
   경매컨설팅 V2 — Full-Cycle Consulting Page
   ============================================================ */

/* ---- 사건 상세 → 상담 인계 ---- */
.consult-case-context[hidden] { display: none; }
.consult-case-context {
  position: relative; z-index: 2;
  color: var(--white); background: #10233c;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.consult-case-context-inner {
  min-height: 86px; display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px;
}
.consult-case-copy { min-width: 0; display: grid; gap: 3px; }
.consult-case-copy > span { color: #8eb9ff; font-size: 11px; font-weight: 900; letter-spacing: .8px; }
.consult-case-copy strong { overflow: hidden; font-size: 18px; letter-spacing: -.4px; text-overflow: ellipsis; white-space: nowrap; }
.consult-case-copy small { overflow: hidden; color: #b6c4d5; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.consult-case-actions { display: flex; align-items: center; gap: 8px; }
.consult-case-actions button, .consult-case-actions a {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px;
  color: var(--white); background: rgba(255,255,255,.08); font: inherit;
  font-size: 12px; font-weight: 850; cursor: pointer;
}
.consult-case-actions a { color: #10233c; background: var(--white); }
.consult-case-actions button:hover { background: rgba(255,255,255,.14); }
.consult-case-actions a:hover { background: #edf4ff; }
.consult-case-actions button:focus-visible, .consult-case-actions a:focus-visible { outline: 3px solid #8eb9ff; outline-offset: 2px; }
.consult-case-notice { grid-column: 1 / -1; margin: 0; color: #91a5bc; font-size: 11px; }

/* ---- HERO ---- */
.consult-hero {
  position: relative; overflow: hidden;
  padding: 88px 0 80px;
  background: linear-gradient(165deg, #f0f5ff 0%, #e8f0ff 35%, #f6f8fb 100%);
}
.consult-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(2px);
}
.hero-orb-a {
  width: 440px; height: 440px; top: -180px; right: 6%;
  background: rgba(23,92,211,.08);
}
.hero-orb-b {
  width: 280px; height: 280px; bottom: -100px; left: -60px;
  background: rgba(52,199,143,.07);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(23,92,211,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to right, transparent 10%, #000 40%, #000 70%, transparent 90%);
}

.consult-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}

.consult-hero-copy h1 {
  margin: 0; font-size: clamp(40px, 4vw, 62px);
  line-height: 1.14; letter-spacing: -3.2px; font-weight: 900;
}
.consult-hero-copy h1 em { color: var(--blue); font-style: normal; }

.consult-hero-desc {
  margin: 22px 0 32px; color: var(--ink-soft);
  font-size: 17px; line-height: 1.75; letter-spacing: -.3px;
  max-width: 520px;
}

/* Stats row */
.consult-hero-stats {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 32px;
}
.stat-item strong {
  display: block; font-size: 22px; letter-spacing: -.6px;
  color: var(--ink); font-weight: 900;
}
.stat-item span {
  display: block; margin-top: 2px; color: var(--ink-muted); font-size: 11px; font-weight: 600;
}
.stat-divider {
  width: 1px; height: 36px; background: var(--line);
}

/* Hero CTAs */
.consult-hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.consult-hero-actions a {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 0 22px;
  border-radius: 16px; font-size: 14px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.consult-hero-actions a:hover { transform: translateY(-2px); }
.hero-cta-primary {
  color: var(--white); background: var(--blue);
  box-shadow: 0 14px 32px rgba(23,92,211,.22);
}
.hero-cta-primary:hover { box-shadow: 0 18px 40px rgba(23,92,211,.3); }
.hero-cta-secondary {
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cta-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; flex: 0 0 38px;
}
.hero-cta-primary .cta-icon { color: var(--blue); background: rgba(255,255,255,.18); }
.hero-cta-secondary .cta-icon { color: var(--blue); background: var(--blue-pale); }
.cta-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.consult-hero-actions small { display: block; color: rgba(255,255,255,.7); font-size: 10px; }
.hero-cta-secondary small { color: var(--ink-muted); }
.consult-hero-actions strong { display: block; font-size: 15px; font-weight: 850; }
.consult-hero-actions i { font-size: 18px; font-style: normal; margin-left: 4px; }

/* ---- PIPELINE CARD ---- */
.consult-hero-visual { display: grid; place-items: center; }
.pipeline-card {
  width: 100%; max-width: 420px; padding: 28px;
  background: rgba(255,255,255,.97); border: 1px solid rgba(20,54,96,.08);
  border-radius: 24px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.pipeline-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.pipeline-label { color: var(--ink-muted); font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
.pipeline-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; color: #13744f; background: var(--mint-pale);
  border-radius: 999px; font-size: 10px; font-weight: 850;
}
.pipeline-badge i { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; }

.pipeline-steps { display: grid; gap: 0; }
.pipeline-step {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 12px;
  align-items: center; padding: 12px 0;
  position: relative;
}
.pipeline-step:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
.step-dot {
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 10px; font-size: 12px; font-weight: 900;
  color: var(--ink-muted); background: var(--line-soft);
  transition: all .3s var(--ease);
}
.pipeline-step.active .step-dot { color: #13744f; background: var(--mint-pale); }
.pipeline-step.current .step-dot {
  color: var(--white); background: var(--blue);
  box-shadow: 0 4px 12px rgba(23,92,211,.25);
  animation: pulse-step 2s ease infinite;
}
@keyframes pulse-step {
  0%, 100% { box-shadow: 0 4px 12px rgba(23,92,211,.25); }
  50% { box-shadow: 0 4px 20px rgba(23,92,211,.4); }
}
.pipeline-step strong { display: block; font-size: 13px; letter-spacing: -.2px; }
.pipeline-step small { display: block; color: var(--ink-muted); font-size: 10px; }
.step-status {
  padding: 3px 8px; border-radius: 7px;
  font-size: 9px; font-style: normal; font-weight: 800;
  color: var(--ink-muted); background: var(--line-soft);
}
.pipeline-step.active .step-status { color: #13744f; background: var(--mint-pale); }
.pipeline-step.current .step-status { color: var(--blue); background: var(--blue-pale); }

/* ---- SCOPE SECTION ---- */
.scope-section { padding: 110px 0 120px; }
.scope-heading { text-align: center; margin-bottom: 56px; }
.scope-heading h2 {
  margin: 0; font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.22; letter-spacing: -2.5px; font-weight: 900;
}
.scope-heading > p:last-child {
  margin: 14px 0 0; color: var(--ink-soft); font-size: 16px;
}

.scope-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.scope-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; min-height: 280px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.scope-card:hover {
  transform: translateY(-6px); border-color: rgba(23,92,211,.15);
  box-shadow: var(--shadow-md);
}
.scope-card--primary {
  color: var(--white); background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 22px 50px rgba(12,27,47,.18);
  overflow: hidden;
}
.scope-card--primary::before {
  content: ""; position: absolute; width: 200px; height: 200px;
  top: -80px; right: -60px; border: 30px solid rgba(255,255,255,.04);
  border-radius: 50%; pointer-events: none;
}

.scope-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: auto;
}
.scope-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  color: var(--blue); background: var(--blue-pale); border-radius: 15px;
}
.scope-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.scope-card--primary .scope-icon { color: var(--white); background: rgba(255,255,255,.1); }
.scope-number { color: var(--ink-muted); font-size: 11px; font-weight: 900; letter-spacing: 1px; }
.scope-card--primary .scope-number { color: rgba(255,255,255,.4); }

.scope-card-body { margin-top: 20px; }
.scope-card-body strong { display: block; font-size: 20px; letter-spacing: -.6px; }
.scope-card-body p {
  margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7;
}
.scope-card--primary .scope-card-body p { color: rgba(255,255,255,.65); }

.scope-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px;
}
.scope-card-tags span {
  padding: 4px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 750;
  color: var(--ink-soft); background: rgba(255,255,255,.6);
  border: 1px solid var(--line-soft);
}
.scope-card--primary .scope-card-tags span {
  color: rgba(255,255,255,.7); background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.1);
}

/* ---- PROCESS SECTION ---- */
.process-section {
  padding: 110px 0; background: var(--paper);
}
.process-layout {
  display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start;
}
.process-heading h2 {
  margin: 0; font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.2; letter-spacing: -2.8px; font-weight: 900;
}
.process-heading > p:not(.section-kicker) {
  max-width: 360px; margin: 20px 0 28px; color: var(--ink-soft);
  font-size: 15px; line-height: 1.8;
}
.process-cta-inline a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-size: 14px; font-weight: 850;
  border-bottom: 2px solid rgba(23,92,211,.3);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease);
}
.process-cta-inline a:hover { border-color: var(--blue); }
.process-cta-inline a span { transition: transform .2s var(--ease); }
.process-cta-inline a:hover span { transform: translateX(4px); }

/* Timeline */
.process-timeline { position: relative; }
.timeline-line {
  position: absolute; left: 23px; top: 24px; bottom: 24px;
  width: 2px; background: linear-gradient(to bottom, var(--blue), var(--line));
  border-radius: 2px;
}

.timeline-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  padding: 20px 0;
  position: relative;
}
.timeline-marker {
  width: 48px; height: 48px; display: grid; place-items: center;
  position: relative; z-index: 2;
}
.timeline-marker span {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--white); background: var(--blue);
  border-radius: 14px; font-size: 18px; font-weight: 900;
  box-shadow: 0 6px 16px rgba(23,92,211,.2);
  transition: transform .2s var(--ease);
}
.timeline-item:hover .timeline-marker span { transform: scale(1.08); }

.timeline-content {
  padding: 20px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.timeline-item:hover .timeline-content {
  border-color: rgba(23,92,211,.15); box-shadow: var(--shadow-md);
}
.timeline-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.timeline-head strong { font-size: 17px; letter-spacing: -.4px; }
.timeline-time {
  padding: 4px 10px; color: var(--blue); background: var(--blue-pale);
  border-radius: 8px; font-size: 10px; font-weight: 800;
}
.timeline-content p {
  margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7;
}
.timeline-detail {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.detail-chip {
  padding: 4px 9px; color: var(--ink-soft); background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 7px;
  font-size: 10px; font-weight: 700;
}

/* ---- COMPARE SECTION ---- */
.compare-section { padding: 110px 0; }
.compare-heading { text-align: center; margin-bottom: 48px; }
.compare-heading h2 {
  margin: 0; font-size: clamp(32px, 3vw, 44px);
  line-height: 1.25; letter-spacing: -2.2px; font-weight: 900;
}

.compare-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
  align-items: stretch; max-width: 900px; margin: 0 auto;
}
.compare-col {
  padding: 32px 28px; border-radius: var(--radius-md);
}
.compare-col--solo {
  background: #fef8f8; border: 1px solid #f0d4d4;
}
.compare-col--consult {
  background: #f0faf5; border: 1px solid #c4e8d5;
}
.compare-col-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.compare-icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px;
}
.compare-col--solo .compare-icon { color: var(--red); background: var(--red-pale); }
.compare-col--consult .compare-icon { color: #13744f; background: var(--mint-pale); }
.compare-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.compare-col-head strong { font-size: 16px; }

.compare-list { display: grid; gap: 12px; }
.compare-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.6; color: var(--ink-soft);
}
.compare-list li span {
  width: 22px; height: 22px; display: grid; place-items: center;
  flex: 0 0 22px; border-radius: 6px;
  font-size: 11px; font-weight: 900;
}
.compare-risk span { color: var(--red); background: var(--red-pale); }
.compare-safe span { color: #13744f; background: var(--mint-pale); }

.compare-divider {
  display: grid; place-items: center; padding: 0 20px;
}
.compare-divider span {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--ink-muted); background: var(--paper);
  border: 1px solid var(--line); border-radius: 50%;
  font-size: 12px; font-weight: 900;
}

/* ---- CTA ---- */
.consult-cta { padding: 100px 0; overflow: hidden; }
.consult-cta-box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 54px;
  padding: 60px 64px; color: var(--white); background: var(--ink);
  border-radius: var(--radius-lg);
}
.cta-pattern { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; border-radius: 50%; }
.cta-orb-a {
  width: 340px; height: 340px; right: -80px; top: -120px;
  background: rgba(47,119,245,.2);
}
.cta-orb-b {
  width: 200px; height: 200px; right: 60px; top: -40px;
  border: 1px solid rgba(255,255,255,.06);
}
.consult-cta-copy, .consult-cta-actions { position: relative; z-index: 1; }
.cta-eyebrow { margin: 0 0 8px; color: #7eafff; font-size: 13px; font-weight: 850; }
.consult-cta-copy h2 {
  margin: 0; font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.2; letter-spacing: -2.4px;
}
.consult-cta-copy > span {
  display: block; margin-top: 16px; color: #9eacbd; font-size: 14px;
}
.consult-cta-actions {
  display: grid; gap: 11px; flex: 0 0 auto; min-width: 300px;
}
.consult-cta-actions a {
  min-height: 72px; display: grid; grid-template-columns: 42px 1fr auto;
  align-items: center; gap: 12px; padding: 0 20px;
  border-radius: 15px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.consult-cta-actions a:hover { transform: translateX(4px); }
.cta-btn-primary { color: var(--ink); background: var(--white); }
.cta-btn-primary:hover { background: #f0f5ff; }
.cta-btn-secondary {
  color: var(--white); background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
}
.cta-btn-secondary:hover { background: rgba(255,255,255,.14); }
.cta-btn-icon {
  width: 39px; height: 39px; display: grid; place-items: center;
  border-radius: 11px;
}
.cta-btn-primary .cta-btn-icon { color: var(--blue); background: var(--blue-pale); }
.cta-btn-secondary .cta-btn-icon { color: var(--white); background: rgba(255,255,255,.12); }
.cta-btn-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.consult-cta-actions small { display: block; font-size: 10px; }
.cta-btn-primary small { color: #78879a; }
.cta-btn-secondary small { color: #9dabbc; }
.consult-cta-actions strong { display: block; font-size: 16px; }
.consult-cta-actions i { font-size: 19px; font-style: normal; }
.external-service-note {
  margin: 2px 4px 0; color: #9eacbd; font-size: 11px; line-height: 1.55;
}
.consult-scope-disclaimer {
  max-width: 920px; margin: 16px auto 0; color: var(--ink-muted);
  font-size: 12px; line-height: 1.65; text-align: center;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1080px) {
  .consult-hero-inner { gap: 40px; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout { gap: 50px; }
}

@media (max-width: 900px) {
  .consult-hero { padding: 64px 0 56px; }
  .consult-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .consult-hero-copy { text-align: center; }
  .consult-hero-desc { margin-left: auto; margin-right: auto; }
  .consult-hero-stats { justify-content: center; }
  .consult-hero-actions { justify-content: center; }
  .consult-hero-visual { max-width: 420px; margin: 0 auto; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-card { min-height: 220px; }
  .process-layout { grid-template-columns: 1fr; gap: 48px; }
  .process-heading { text-align: center; }
  .process-heading > p:not(.section-kicker) { margin-left: auto; margin-right: auto; }
  .compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .compare-divider { padding: 8px 0; }
  .consult-cta-box { flex-direction: column; text-align: center; padding: 44px 28px; }
  .consult-cta-actions { min-width: 0; width: 100%; }
}

@media (max-width: 620px) {
  .consult-case-context-inner { grid-template-columns: 1fr; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .consult-case-copy strong { font-size: 16px; }
  .consult-case-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consult-case-actions button, .consult-case-actions a { padding: 0 10px; }
  .consult-case-notice { font-size: 10px; line-height: 1.45; }
  .consult-hero { padding: 48px 0 40px; }
  .consult-hero-copy h1 { font-size: 34px; letter-spacing: -2px; }
  .consult-hero-desc { font-size: 14px; }
  .consult-hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { min-width: 80px; }
  .consult-hero-actions { flex-direction: column; }
  .consult-hero-actions a { width: 100%; justify-content: center; }
  .scope-section, .process-section, .compare-section { padding: 72px 0; }
  .scope-heading h2 { font-size: 30px; letter-spacing: -1.8px; }
  .scope-card { min-height: 200px; padding: 22px; }
  .scope-card-body strong { font-size: 18px; }
  .process-heading h2 { font-size: 32px; letter-spacing: -2px; }
  .timeline-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .timeline-marker span { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
  .timeline-line { left: 19px; }
  .timeline-content { padding: 16px 18px; }
  .timeline-head strong { font-size: 15px; }
  .compare-col { padding: 24px 20px; }
  .consult-cta { padding: 60px 0; }
  .consult-cta-box { padding: 36px 20px; gap: 32px; }
  .cta-orb-a { right: 0; }
  .consult-cta-copy h2 { font-size: 28px; letter-spacing: -1.5px; }
  .consult-cta-actions a { min-height: 64px; }
}
