/* =========================================================
   NTM PRINTSHOP — CONSULTATION FLOW
   Styles khusus halaman /mulai/ dan /en/start/
   ========================================================= */

.consult {
  min-height: 100vh;
  padding: 140px var(--pad-x) 100px;
}
.consult__wrap {
  max-width: 780px;
  margin: 0 auto;
}

.consult__head { margin-bottom: 48px; }
.consult__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-top: 24px;
}
.consult__title em { font-style: italic; font-weight: 300; color: var(--accent); }
.consult__sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 56ch;
}

/* Progress */
.consult__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
}
.consult__progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background 0.4s var(--ease);
}
.consult__progress span.done { background: var(--accent); }

.consult__step-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

/* Steps */
.step { display: none; }
.step.active { display: block; animation: stepIn 0.4s var(--ease); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.step h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step__hint {
  font-size: 15px;
  color: var(--ink-mid);
  margin-bottom: 28px;
  max-width: 56ch;
}

/* Upload */
.upload {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  background: var(--paper);
}
.upload:hover, .upload.dragover {
  border-color: var(--accent);
  background: rgba(255, 90, 31, 0.04);
}
.upload input[type="file"] { display: none; }
.upload__icon { font-size: 28px; margin-bottom: 10px; display: block; }
.upload__text { font-size: 15px; font-weight: 600; }
.upload__hint {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-light);
  margin-top: 8px;
  display: block;
}
.upload__list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.upload__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.upload__list li button {
  color: var(--error);
  font-weight: 700;
  padding: 2px 8px;
}

/* Navigation buttons */
.step__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.step__back {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
  text-transform: uppercase;
  padding: 10px 0;
  transition: color 0.2s var(--ease);
}
.step__back:hover { color: var(--accent); }
.step__back[hidden] { visibility: hidden; }

/* Qualification note */
.consult__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-light);
  font-style: italic;
  margin-top: 16px;
}

/* Privacy consent */
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 24px 0;
}
.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

/* Success state */
.consult__success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.consult__success.show { display: block; animation: stepIn 0.5s var(--ease); }
.consult__success-mark {
  width: 72px; height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}
.consult__success h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.consult__success p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 48ch;
  margin: 0 auto 12px;
}
.consult__inquiry-id {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  margin: 16px 0 28px;
}
.consult__success .btn { margin-top: 8px; }

/* Submit error */
.consult__error {
  display: none;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: var(--error);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.55;
  margin-top: 20px;
}
.consult__error.show { display: block; }
.consult__error a { font-weight: 700; border-bottom: 1px solid currentColor; }


/* Link kembali ke beranda pada success state (menggantikan inline style). */
.consult__back{margin-top:24px;}
.consult__back a{border-bottom:1px solid currentColor;}
