/* ════════════════════════════════════════════
   CONTACT PAGE — 11-Step Stepper Form
════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.contact-breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--gray2);
}
.breadcrumb li + li::before {
  content: '›';
  margin: 0 8px;
  color: var(--gray2);
  font-size: 14px;
}
.breadcrumb li a {
  color: var(--gray2);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb li a:hover { color: var(--gold); }
.breadcrumb li[aria-current="page"] { color: var(--white); }

/* ── Layout ── */
.contact-section { padding: 56px 0 100px; }
.contact-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

/* ── Aside Panel ── */
.contact-aside { position: sticky; top: calc(var(--nav-height) + 24px); }
.contact-aside-inner { padding: 0; }

.aside-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 300;
  color: var(--white);
  margin: 12px 0 16px;
  line-height: 1.3;
}
.aside-title em {
  font-style: normal;
  color: var(--gold);
}

.aside-body {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── Consult Channel Cards ── */
.consult-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--black3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
a.channel-card:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.35);
}
.channel-kakao {
  border-color: rgba(254,229,0,0.25);
}
.channel-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}
.channel-info {
  flex: 1;
  min-width: 0;
}
.channel-info strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}
.channel-info span {
  font-size: 12px;
  color: var(--gray2);
}
.channel-arrow {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.7;
}

/* ── Assurance List ── */
.assurance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.assurance-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.assurance-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.assurance-list strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2px;
}
.assurance-list strong em {
  font-style: normal;
  color: var(--gold);
}
.assurance-list p {
  font-size: 12px;
  color: var(--gray2);
  line-height: 1.6;
}

/* ── Stepper Progress ── */
.stepper-progress {
  margin-bottom: 40px;
}
.stepper-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.stepper-counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.stepper-category {
  font-size: 11px;
  color: var(--gray2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stepper-bar-bg {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.stepper-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.4s ease;
}
.stepper-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.stepper-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s;
  cursor: default;
}
.stepper-dot.completed {
  background: rgba(201,168,76,0.45);
}
.stepper-dot.active {
  background: var(--gold);
  transform: scale(1.5);
}

/* ── Step Pane ── */
.step-pane {
  display: none;
  animation: stepFadeIn 0.3s ease;
}
.step-pane.active { display: block; }
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}
.step-desc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── Form Fields ── */
.form-field { margin-bottom: 8px; }
.field-label {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 400;
}
.required-mark { color: var(--gold); font-size: 11px; margin-left: 4px; }
.field-hint { font-size: 12px; color: var(--gray2); margin-top: 6px; }
.field-error {
  display: none;
  font-size: 13px;
  color: var(--red);
  margin-top: 8px;
}

/* ── Phone Counter ── */
.input-with-counter { position: relative; }
.input-with-counter input { padding-right: 72px; }
.input-counter {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--gray2);
  pointer-events: none;
  transition: color var(--transition);
}

/* ── Choice Grid ── */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.choice-grid-col { grid-template-columns: 1fr; }

/* SSN: 2 columns */
.ssn-grid {
  grid-template-columns: 1fr 1fr;
  max-width: 360px;
}

.choice-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  background: var(--black3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--gray);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  line-height: 1.4;
}
.choice-btn:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.3);
  color: var(--white);
}
.choice-btn.selected {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--white);
}
.choice-btn.selected .choice-sub { color: var(--gray); }

.choice-btn-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.choice-main { font-size: 15px; font-weight: 400; color: inherit; }
.choice-sub {
  font-size: 12px;
  color: var(--gray2);
  margin-left: auto;
  flex-shrink: 0;
  padding-left: 16px;
}

/* ── Privacy Box ── */
.ssn-group { margin-bottom: 28px; }
.ssn-note  { font-size: 12px; color: var(--gray2); margin-top: 8px; }
.privacy-box {
  background: var(--black3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.privacy-box p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.privacy-box strong { color: var(--white); font-weight: 500; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray);
  user-select: none;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  background: var(--black3);
  flex-shrink: 0;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}
.checkbox-label input:checked + .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-label input:checked + .checkmark::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--black);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ── Navigation Buttons ── */
.stepper-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Success Screen ── */
.contact-success {
  text-align: center;
  padding: 64px 24px;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}
.success-title em {
  font-style: normal;
  color: var(--gold);
}
.success-msg {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
}
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-aside { position: static; }
}

@media (max-width: 700px) {
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .ssn-grid    { max-width: 100%; }
}

@media (max-width: 480px) {
  .choice-grid { grid-template-columns: 1fr; }
  .ssn-grid    { grid-template-columns: 1fr 1fr; }
  .choice-btn-wide { flex-direction: column; align-items: flex-start; }
  .choice-sub  { margin-left: 0; padding-left: 0; }
  .stepper-nav { flex-direction: column; }
  .stepper-nav button { width: 100%; justify-content: center; }
  .stepper-dots { gap: 4px; }
  .stepper-dot  { width: 5px; height: 5px; }
}
