/* ============================================================
   정기계약 운송 (월 정산) 문의 폼 — quote-contract.css
   Private 1:1 inquiry form. Reuses design tokens from styles.css.
   ============================================================ */

/* ─── Hero ─── */
.qc-hero {
  background: #F0F7FF;
  padding: 84px 0 56px;
  position: relative;
}
.qc-badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em;
  font-family: 'JetBrains Mono', monospace;
}
.qc-hero-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--ink);
  margin: 18px 0 16px;
  max-width: 16ch;
  text-wrap: balance;
}
.qc-hero-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.72;
  color: var(--ink-soft);
  margin: 0;
  max-width: 60ch;
  font-weight: 500;
  text-wrap: pretty;
}
.qc-hero-sub b { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) {
  .qc-hero { padding: 56px 0 40px; }
}

/* ─── Trust strip ─── */
.qc-trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.qc-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.qc-trust-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 26px 28px;
}
.qc-trust-item + .qc-trust-item { border-left: 1px solid var(--line); }
.qc-trust-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}
.qc-trust-icon svg { width: 23px; height: 23px; }
.qc-trust-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  align-self: center;
  text-wrap: pretty;
}
.qc-trust-text b { color: var(--brand); font-weight: 800; }
@media (max-width: 860px) {
  .qc-trust-grid { grid-template-columns: 1fr; }
  .qc-trust-item + .qc-trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .qc-trust-item { padding: 20px 24px; }
}

/* ─── Form shell ─── */
.qc-form-wrap {
  background: #fff;
  padding: 56px 0 96px;
}
.qc-form {
  max-width: 760px;
  margin: 0 auto;
}
.qc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.qc-card + .qc-card { margin-top: 18px; }

/* connector arrow between form card and navy submit card */
.qc-card-arrow {
  display: flex; align-items: center; justify-content: center;
  margin: 30px 0;
}
.qc-card-arrow svg {
  width: 20px; height: 20px;
  color: #fff;
  padding: 9px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--brand) 55%, transparent);
}

/* 기타 의견 fields merged above the consent block */
.qc-extra {
  padding: 24px 28px 4px;
  display: flex; flex-direction: column;
  gap: 20px;
}
@media (max-width: 720px) {
  .qc-extra { padding: 22px 22px 4px; }
}

/* ─── Bottom card: deep premium navy ─── */
.qc-card-submit {
  background: linear-gradient(165deg, #102a4d 0%, #0b1f3b 55%, #091a33 100%);
  border-color: #0a1f3c;
  box-shadow: 0 24px 48px -18px rgba(8, 20, 40, 0.45), 0 6px 16px rgba(8, 20, 40, 0.25);
}
.qc-card-submit .qc-label { color: #fff; }
.qc-card-submit .qc-help { color: rgba(226, 232, 240, 0.62); }
.qc-card-submit .qc-input,
.qc-card-submit .qc-select,
.qc-card-submit .qc-textarea {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.qc-card-submit .qc-input::placeholder,
.qc-card-submit .qc-textarea::placeholder { color: rgba(226, 232, 240, 0.45); }
.qc-card-submit .qc-input:focus,
.qc-card-submit .qc-select:focus,
.qc-card-submit .qc-textarea:focus {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: #5b9bff;
  box-shadow: 0 0 0 3px rgba(91, 155, 255, 0.25);
}
.qc-card-submit .qc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a9b6cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.qc-card-submit .qc-select option { color: #0b1f3b; }

/* foot inside navy card */
.qc-card-submit .qc-foot {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.qc-card-submit .qc-consent-text { color: #fff; }
.qc-card-submit .qc-consent-box {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.4);
}
.qc-card-submit .qc-consent-toggle { color: #93c5fd; }
.qc-card-submit .qc-secure { color: rgba(226, 232, 240, 0.6); }
.qc-card-submit .qc-consent-detail {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(226, 232, 240, 0.85);
}
.qc-card-submit .qc-consent-detail dt,
.qc-card-submit .qc-consent-detail .note { color: rgba(226, 232, 240, 0.95); }
.qc-card-submit .qc-consent-detail .note { border-top-color: rgba(255, 255, 255, 0.12); }
.qc-card-submit .qc-submit {
  background: linear-gradient(135deg, #2d7bff 0%, #1d5fe0 100%);
  box-shadow: 0 12px 28px -8px rgba(45, 123, 255, 0.5);
}
.qc-card-submit .qc-submit:hover {
  background: linear-gradient(135deg, #3d87ff 0%, #2768e8 100%);
  box-shadow: 0 16px 34px -8px rgba(45, 123, 255, 0.6);
}

/* ─── Section (vertical accordion) ─── */
.qc-section { border-top: 1px solid var(--line); }
.qc-section:first-child { border-top: 0; }
.qc-section-head {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 13px 28px;
  text-align: left;
  background: transparent;
}
.qc-section-head.is-button { cursor: pointer; }
.qc-section-num {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
}
.qc-section-num svg { width: 15px; height: 15px; }
/* completion status */
.qc-num-full    { background: var(--accent); color: #fff; }
.qc-num-partial { background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent); }
.qc-num-partial svg { width: 15px; height: 15px; }
.qc-num-empty   { background: #EEF1F5; color: #94A3B8; }
.qc-num-q { font-size: 15px; font-weight: 800; line-height: 1; }
.qc-section-titles { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.qc-section-title {
  margin: 0; flex-shrink: 0;
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.qc-section-summary {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 13px; font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: -0.01em;
}
.qc-section.is-open .qc-section-summary { display: none; }
.qc-section-chevron {
  flex-shrink: 0;
  color: var(--ink-mute);
  transition: transform .22s ease;
  display: none;
}
.qc-section.is-collapsible .qc-section-chevron { display: inline-flex; }
.qc-section-chevron svg { width: 20px; height: 20px; }
.qc-section.is-open .qc-section-chevron { transform: rotate(180deg); }
/* divider between header and fields when open */
.qc-section.is-open .qc-section-head { border-bottom: 1px solid var(--line); }
/* header background tinted by completion status (lighter shade of the check color) */
.qc-section.st-empty   .qc-section-head { background: #F6F8FA; }
.qc-section.st-partial .qc-section-head { background: color-mix(in srgb, var(--accent) 7%, #fff); }
.qc-section.st-full    .qc-section-head { background: color-mix(in srgb, var(--accent) 10%, #fff); }

/* Slide collapse — animates open/closed */
.qc-section-collapse {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .34s cubic-bezier(.2, .9, .3, 1);
}
.qc-section.is-collapsible:not(.is-open) .qc-section-collapse {
  grid-template-rows: 0fr;
}
.qc-section-collapse > .qc-section-body { min-height: 0; }
.qc-section.is-collapsible .qc-section-body {
  overflow: hidden;
}
.qc-section.is-collapsible:not(.is-open) .qc-section-head { padding-bottom: 13px; }

.qc-section-inner {
  padding: 18px 28px 26px;
  display: flex; flex-direction: column;
  gap: 20px;
}
.qc-sec-nav {
  display: flex; justify-content: flex-end;
  margin-top: 4px;
}
.qc-next-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.01em;
  transition: background .15s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--brand) 50%, transparent);
}
.qc-next-btn:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--brand) 55%, transparent);
}
.qc-next-btn svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  .qc-section-head { padding: 12px 22px; }
  .qc-section-inner { padding: 16px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .qc-section-collapse { transition: none; }
}

/* ─── Fields ─── */
.qc-field { display: flex; flex-direction: column; gap: 7px; }
.qc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .qc-row { grid-template-columns: 1fr; } }

.qc-label {
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 7px;
}
.qc-req-mark { color: var(--danger); font-weight: 800; }
.qc-opt-tag {
  font-size: 11px; font-weight: 600;
  color: var(--ink-mute);
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  letter-spacing: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.qc-label { flex-wrap: wrap; }
.qc-help {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  font-weight: 500;
}

.qc-input,
.qc-select,
.qc-textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
  letter-spacing: -0.01em;
}
.qc-input::placeholder,
.qc-textarea::placeholder { color: var(--ink-mute); opacity: .85; }
.qc-input:focus,
.qc-select:focus,
.qc-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.qc-textarea { resize: vertical; min-height: 48px; line-height: 1.55; }
.qc-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}
.qc-input.is-error,
.qc-select.is-error,
.qc-textarea.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}
.qc-error-msg {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--danger);
  display: flex; align-items: center; gap: 5px;
}
.qc-error-msg svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ─── Radio group ─── */
.qc-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.qc-radio {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.qc-radio:hover { border-color: var(--brand); color: var(--ink); }
.qc-radio input { position: absolute; opacity: 0; pointer-events: none; }
.qc-radio-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
  transition: all .15s ease;
  position: relative;
}
.qc-radio input:checked ~ .qc-radio-dot {
  border-color: var(--brand);
}
.qc-radio input:checked ~ .qc-radio-dot::after {
  content: "";
  position: absolute; inset: 2px;
  border-radius: 50%;
  background: var(--brand);
}
.qc-radio:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-tint);
  color: var(--brand);
}
.qc-radio input:focus-visible ~ .qc-radio-dot {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

/* ─── Multi-select check chips (중복 선택) ─── */
.qc-check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.qc-check {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.qc-check:hover { border-color: var(--brand); color: var(--ink); }
.qc-check input { position: absolute; opacity: 0; pointer-events: none; }
.qc-check-box {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .15s ease;
}
.qc-check-box svg { width: 11px; height: 11px; opacity: 0; transition: opacity .12s; }
.qc-check input:checked ~ .qc-check-box {
  background: var(--brand);
  border-color: var(--brand);
}
.qc-check input:checked ~ .qc-check-box svg { opacity: 1; }
.qc-check:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-tint);
  color: var(--brand);
}
.qc-check input:focus-visible ~ .qc-check-box {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

/* Inline '기타' free-text field under a radio group */
.qc-other-input { margin-top: 2px; animation: qcOtherIn .2s ease both; }
@keyframes qcOtherIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Multi-row text (add/remove up to N) ─── */
.qc-multi { display: flex; flex-direction: column; gap: 8px; }
.qc-multi-row { display: flex; align-items: center; gap: 8px; }
.qc-multi-row .qc-input { flex: 1; min-width: 0; }
.qc-multi-del {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-mute);
  transition: all .15s ease;
}
.qc-multi-del:hover { border-color: var(--danger); color: var(--danger); background: color-mix(in srgb, var(--danger) 6%, #fff); }
.qc-multi-del svg { width: 16px; height: 16px; }
.qc-multi-add {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px dashed var(--line-strong);
  background: #fff;
  color: var(--brand);
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.01em;
  transition: all .15s ease;
}
.qc-multi-add:hover { border-color: var(--brand); background: var(--brand-tint); }
.qc-multi-add svg { width: 15px; height: 15px; }
.qc-multi-count { color: var(--ink-mute); font-weight: 600; font-feature-settings: 'tnum'; }

/* ─── Destination: 전국 하차 toggle ─── */
.qc-field-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.qc-nation-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 10px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: -0.01em;
  transition: color .15s ease;
  white-space: nowrap;
}
.qc-nation-toggle:hover { color: var(--ink-soft); }
.qc-nation-toggle[aria-pressed="true"] { color: var(--brand); }
.qc-switch {
  position: relative;
  width: 36px; height: 21px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background .2s ease;
  flex-shrink: 0;
}
.qc-switch::after {
  content: "";
  position: absolute; top: 2px; left: 2px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(11, 31, 59, 0.25);
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.2);
}
.qc-nation-toggle[aria-pressed="true"] .qc-switch { background: var(--brand); }
.qc-nation-toggle[aria-pressed="true"] .qc-switch::after { transform: translateX(15px); }

.qc-dest-all {
  display: flex; align-items: center; gap: 11px;
  margin-top: 9px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 10px;
  background: var(--brand-tint);
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  animation: qcOtherIn .2s ease both;
}
.qc-dest-all b { color: var(--brand); font-weight: 800; }
.qc-dest-all-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
}
.qc-dest-all-icon svg { width: 19px; height: 19px; }

/* ─── Multi-select dropdown (accordion) ─── */
.qc-mselect { position: relative; }
.qc-mselect-trigger {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.qc-mselect-trigger:hover { border-color: var(--brand); }
.qc-mselect.is-open .qc-mselect-trigger {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.qc-mselect-summary {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  letter-spacing: -0.01em;
}
.qc-mselect-trigger.is-placeholder .qc-mselect-summary { color: var(--ink-mute); }
.qc-mselect-count {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px; font-weight: 700;
  font-feature-settings: 'tnum';
}
.qc-mselect-caret {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--ink-mute);
  transition: transform .22s ease;
}
.qc-mselect.is-open .qc-mselect-caret { transform: rotate(180deg); }
.qc-mselect-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(.2, .9, .3, 1);
}
.qc-mselect.is-open .qc-mselect-collapse { grid-template-rows: 1fr; }
.qc-mselect-panel { min-height: 0; overflow: hidden; }
.qc-mselect-panel .qc-check-group {
  padding: 12px 2px 4px;
}
@media (prefers-reduced-motion: reduce) {
  .qc-mselect-collapse { transition: none; }
}

/* ─── Optional notice banner ─── */
.qc-banner {
  display: flex; align-items: flex-start; gap: 13px;
  margin: 0 36px 26px;
  padding: 15px 18px;
  background: #F7F8FA;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.qc-banner-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink-mute);
  border: 1px solid var(--line);
}
.qc-banner-icon svg { width: 17px; height: 17px; }
.qc-banner-inline { margin: 0; }
.qc-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 500;
  text-wrap: pretty;
}
.qc-banner p b { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) {
  .qc-banner { margin: 0 22px 24px; }
}

/* ─── Consent + submit ─── */
.qc-foot {
  border-top: 1px solid var(--line);
  padding: 28px 36px 32px;
  background: #fff;
}
@media (max-width: 720px) { .qc-foot { padding: 24px 22px 28px; } }

.qc-consent {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
}
.qc-consent input { position: absolute; opacity: 0; pointer-events: none; }
.qc-consent-box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid var(--line-strong);
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .15s ease;
  margin-top: 1px;
}
.qc-consent-box svg { width: 14px; height: 14px; opacity: 0; transition: opacity .12s; }
.qc-consent input:checked ~ .qc-consent-box {
  background: var(--brand);
  border-color: var(--brand);
}
.qc-consent input:checked ~ .qc-consent-box svg { opacity: 1; }
.qc-consent.is-error .qc-consent-box { border-color: var(--danger); }
.qc-consent input:focus-visible ~ .qc-consent-box {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.qc-consent-text {
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.qc-consent-req { color: var(--danger); font-weight: 800; margin-left: 2px; }

.qc-consent-toggle {
  margin: 10px 0 0 34px;
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer;
  background: transparent;
  padding: 0;
}
.qc-consent-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.qc-consent-toggle.is-open svg { transform: rotate(180deg); }
.qc-consent-detail {
  margin: 12px 0 0 34px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.qc-consent-detail dl { margin: 0; display: grid; gap: 8px; }
.qc-consent-detail .row { display: flex; gap: 10px; }
.qc-consent-detail dt {
  flex-shrink: 0;
  width: 88px;
  font-weight: 700; color: var(--ink);
}
.qc-consent-detail dd { margin: 0; flex: 1; }
.qc-consent-detail .note {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--ink-mute);
  font-size: 12.5px;
}

.qc-secure {
  display: flex; align-items: center; gap: 8px;
  margin: 22px 0 16px;
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}
.qc-secure svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }

.qc-submit {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 24px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 16.5px; font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 50%, transparent);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.qc-submit:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--brand) 56%, transparent);
}
.qc-submit svg { width: 18px; height: 18px; }

.qc-form-error {
  margin: 0 0 16px;
  padding: 13px 16px;
  background: color-mix(in srgb, var(--danger) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
  border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  color: var(--danger);
  display: flex; align-items: center; gap: 8px;
}
.qc-form-error svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ─── Success screen ─── */
.qc-done-wrap {
  background: #fff;
  padding: 96px 0 120px;
  min-height: 60vh;
  display: flex; align-items: center;
}
.qc-done {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 56px 48px;
  text-align: center;
}
.qc-done-check {
  width: 72px; height: 72px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  animation: qcDonePop .5s cubic-bezier(.2, .9, .3, 1.3) both;
}
.qc-done-check svg { width: 38px; height: 38px; }
@keyframes qcDonePop {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.qc-done-title {
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}
.qc-done-sub {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 12px;
  font-weight: 500;
  text-wrap: pretty;
}
.qc-done-phone {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 4px 0 32px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 14.5px; font-weight: 700;
  font-feature-settings: 'tnum';
}
.qc-done-phone svg { width: 16px; height: 16px; }
.qc-done-phone .hours { color: var(--ink-mute); font-weight: 500; font-size: 13px; }
.qc-done-home {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-size: 15px; font-weight: 700;
  transition: background .2s ease, transform .15s ease;
}
.qc-done-home:hover { background: var(--brand-strong); transform: translateY(-1px); }
.qc-done-home svg { width: 17px; height: 17px; }
@media (max-width: 720px) {
  .qc-done { padding: 44px 26px; }
  .qc-done-title { font-size: 22px; }
}

/* 주소·장소 검색 결과 드롭다운 (상/하차지) */
.qc-addr { position: relative; }
.qc-addr-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40;
  background: #fff; border: 1px solid #d8dee9; border-radius: 10px;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.22); padding: 6px;
  max-height: 320px; overflow-y: auto;
}
.qc-addr-group + .qc-addr-group { margin-top: 4px; border-top: 1px solid #eef1f6; padding-top: 4px; }
.qc-addr-group-title { font-size: 11px; font-weight: 700; color: #8a94a6; padding: 6px 8px 4px; letter-spacing: 0.02em; }
.qc-addr-item { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 8px 10px; border-radius: 7px; }
.qc-addr-item:hover { background: #f1f5fb; }
.qc-addr-name { font-size: 13.5px; font-weight: 600; color: #1f2937; }
.qc-addr-road { font-size: 11.5px; color: #8a94a6; }
.qc-addr-empty { font-size: 12px; color: #aab2c0; padding: 6px 10px; }
.qc-addr-item.is-active { background: #e8f0fe; }
.qc-addr-item.is-active .qc-addr-name { color: #1f57d6; }
