/* wizard.css — multi-step camp registration wizard */

/* ───────────────────────── Tokens ───────────────────────── */
:root {
  --primary: #0E0E10;
  --accent: #E8C547;
  --primary-ink: #fff;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --line: #E8E5DD;
  --line-strong: #D6D2C7;
  --ink-1: #14151A;
  --ink-2: #4B4D55;
  --ink-3: #7A7C84;
  --ink-4: #A8A9AE;
  --error: #D7263D;
  --success: #16A34A;
  --warn: #B45309;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --shadow-card: 0 30px 80px -20px rgba(15, 18, 30, .35), 0 8px 28px -10px rgba(15, 18, 30, .25);
  --shadow-soft: 0 1px 0 rgba(15,18,30,.04), 0 6px 20px -10px rgba(15,18,30,.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter Tight', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-sans); color: var(--ink-1); background: #f0eee9; -webkit-font-smoothing: antialiased; }
a { color: var(--ink-1); }

/* ───────────────────────── Wizard root + bg ───────────────────────── */
.wiz {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  font-family: var(--font-sans);
  color: var(--ink-1);
  isolation: isolate;
}
.bg-layer, .bg-overlay {
  position: absolute; inset: 0; z-index: -2;
}
.bg-overlay { z-index: -1; }

/* Background style: pitch (default) */
.bg-pitch .bg-layer {
  background:
    radial-gradient(ellipse 90% 60% at 50% 30%, #1f3a25 0%, #0d1a11 60%, #050a07 100%),
    #050a07;
}
.bg-pitch .bg-layer::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(98deg, transparent 0 80px, rgba(255,255,255,.03) 80px 160px);
  mix-blend-mode: overlay;
}
.bg-pitch .bg-overlay {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232,197,71,.15), transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
}

/* dusk */
.bg-dusk .bg-layer {
  background:
    linear-gradient(180deg, #2a2438 0%, #0f0c1a 70%, #07050d 100%);
}
.bg-dusk .bg-overlay {
  background: radial-gradient(ellipse at 70% 10%, rgba(232,197,71,.18), transparent 50%);
}

/* solid */
.bg-solid .bg-layer { background: #14151A; }
.bg-solid .bg-overlay { background: linear-gradient(180deg, transparent, rgba(0,0,0,.3)); }

/* paper - light bg */
.bg-paper .bg-layer {
  background: #efece5;
}
.bg-paper .bg-layer::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.06) 1px, transparent 0);
  background-size: 18px 18px;
}
.bg-paper .bg-overlay { background: none; }

/* ───────────────────────── Layout ───────────────────────── */
.wiz-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 80px;
}

.card {
  width: 100%;
  max-width: 620px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

/* tiny brand stripe at the top of card */
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 60%, var(--accent) 60%, var(--accent) 100%);
  z-index: 2;
}

.card-after {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  text-align: center;
}
.bg-paper .card-after { color: var(--ink-3); }
.card-after a { color: var(--accent); text-decoration: none; font-weight: 500; }
.bg-paper .card-after a { color: var(--primary); text-decoration: underline; }

/* ───────────────────────── Card head: brand + progress ───────────────────────── */
.card-head {
  padding: 36px 40px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fafaf7);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--primary);
}
.brand-wordmark { flex-direction: column; gap: 2px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 22px;
  line-height: 1;
  color: var(--primary);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.brand-monogram .brand-m {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.brand-monogram .brand-meta { text-align: left; }
.brand-monogram .brand-name { font-size: 18px; }
.brand-crest { color: var(--primary); }
.brand-crest .brand-meta { text-align: left; }

/* Progress (desktop) */
.prog {
  display: flex;
  align-items: center;
  width: 100%;
}
.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}
.prog-bub {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  color: var(--ink-3);
  transition: all .25s ease;
}
.prog-lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  white-space: nowrap;
  text-transform: uppercase;
}
.prog-line {
  flex: 1 1 auto;
  height: 2px;
  background: var(--line-strong);
  margin: 0 6px;
  position: relative;
  top: -10px;
  border-radius: 1px;
  transition: background .3s ease;
}
.prog-line.on { background: var(--primary); }

.prog-now .prog-bub {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 12%, transparent);
}
.prog-now .prog-lbl { color: var(--ink-1); font-weight: 600; }
.prog-done .prog-bub {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-ink);
}
.prog-done .prog-lbl { color: var(--ink-2); }

/* Progress (mobile compact) */
.prog-m {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prog-m-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.prog-m-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.prog-m-lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-1);
}
.prog-m-bar {
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.prog-m-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width .35s cubic-bezier(.4,0,.2,1);
}

/* ───────────────────────── Card body ───────────────────────── */
.card-body {
  display: flex;
  flex-direction: column;
  animation: stepIn .35s cubic-bezier(.4,0,.2,1);
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-body {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ───────────────────────── Type ───────────────────────── */
.h1 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0;
}
.lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
.ta-c { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* ───────────────────────── Hero (Step 1) ───────────────────────── */
.hero {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 30% 30%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(135deg, #1a3a23 0%, #0f2316 60%, #0a160e 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px 28px;
}
.hero-stripes {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(96deg, transparent 0 56px, rgba(255,255,255,.04) 56px 112px);
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,.6);
  position: relative;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
  position: relative;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.hero-pitch {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px; height: 220px;
}
.hero-pitch-line {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.3);
}
.hero-pitch-circle {
  position: absolute;
  left: -55px; top: 50%; transform: translateY(-50%);
  width: 110px; height: 110px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
}

/* ───────────────────────── Packages ───────────────────────── */
.pkg-list {
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pkg-head {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr auto;
  padding: 10px 16px;
  background: #f6f4ee;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pkg-head .r { text-align: right; }
.pkg-row {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr auto;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background .15s;
}
.pkg-row:last-child { border-bottom: none; }
.pkg-row:hover { background: #fafaf5; }
.pkg-name {
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pkg-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in oklab, var(--accent) 30%, transparent);
  color: #6b5300;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.pkg-dates {
  font-size: 13.5px;
  color: var(--ink-2);
}
.pkg-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  text-align: right;
}
.pkg-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 2px;
}

/* ───────────────────────── Forms ───────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.fld-full { grid-column: 1 / -1; }
.fld-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.req { color: var(--error); margin-left: 3px; }
.fld-hint {
  font-size: 12px;
  color: var(--ink-3);
}
.fld-error {
  font-size: 12px;
  font-style: italic;
  color: var(--error);
  display: flex;
  align-items: center;
  gap: 4px;
}
.fld-error::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--error);
  border-radius: 50%;
}

.inp {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-1);
  background: #fff;
  border: 1.25px solid var(--line-strong);
  border-radius: var(--radius-xs);
  padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
}
.inp::placeholder { color: var(--ink-4); }
.inp:hover { border-color: var(--ink-4); }
.inp:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 12%, transparent);
}
.fld-err .inp {
  border-color: var(--error);
  background: #fff7f8;
}
.fld-err .inp:focus {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--error) 15%, transparent);
}
.txt {
  resize: vertical;
  font-family: inherit;
}

.sel-wrap {
  position: relative;
}
.sel {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}
.sel-caret {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ink-3);
}

/* Radios */
.radios {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.25px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  flex: 1 1 0;
  min-width: 120px;
  transition: all .15s;
  user-select: none;
}
.radio:hover { border-color: var(--ink-4); }
.radio input { display: none; }
.radio-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  flex: 0 0 auto;
  background: #fff;
}
.radio-dot span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
  transition: transform .18s cubic-bezier(.4,0,.2,1);
}
.radio.on {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary) 4%, white);
}
.radio.on .radio-dot { border-color: var(--primary); }
.radio.on .radio-dot span { transform: scale(1); }
.fld-err .radio { border-color: var(--error); }

/* Consent block */
.consent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfaf6;
}
.consent.fld-err { border-color: var(--error); background: #fff7f8; }
.consent-title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.consent-body {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
  text-wrap: pretty;
}

/* Reveal animation */
.reveal {
  animation: reveal .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(-4px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0); max-height: 600px; }
}

/* Child block */
.child-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.child-block:last-of-type { border-bottom: none; padding-bottom: 0; }
.child-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.child-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Documents */
.docs-head {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 4px;
}
.docs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.upload {
  position: relative;
}
.upload-btn {
  width: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 12px;
  background: #fbfaf6;
  border: 1.25px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  cursor: pointer;
  transition: all .18s;
  color: var(--ink-2);
  text-align: center;
}
.upload-btn:hover {
  border-color: var(--ink-3);
  background: #f6f4ee;
}
.upload.on .upload-btn {
  border-style: solid;
  border-color: var(--success);
  background: color-mix(in oklab, var(--success) 6%, white);
  color: var(--ink-1);
}
.upload-ic {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  margin: 0 auto 4px;
}
.upload-ic-on {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.upload-lbl {
  font-size: 12.5px;
  font-weight: 600;
  text-wrap: balance;
}
.upload-fname {
  font-size: 12.5px;
  font-weight: 600;
  word-break: break-all;
  color: var(--ink-1);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}
.upload-hint {
  font-size: 10.5px;
  color: var(--ink-3);
  text-wrap: balance;
  line-height: 1.4;
}

/* ───────────────────────── Summary cards ───────────────────────── */
.sum-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: #fff;
}
.sum-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sum-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.link {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-1);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.link:hover { color: var(--primary); }
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
.sum-row:last-child { border-bottom: none; }
.sum-row > span:first-child { color: var(--ink-3); }
.sum-row > span:last-child {
  color: var(--ink-1);
  font-weight: 500;
  text-align: right;
  max-width: 70%;
}
.sum-row-price {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: none;
  font-weight: 600;
}
.sum-row-price > span:last-child {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}
.total-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .7;
}
.total-fine {
  font-size: 12px;
  opacity: .55;
  margin-top: 2px;
}
.total-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ───────────────────────── Payment ───────────────────────── */
.step-pay { gap: 16px; }
.pay-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.paypal-btn {
  width: 100%;
  background: #FFC439;
  border: none;
  border-radius: 999px;
  padding: 16px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: inherit;
  font-weight: 600;
  color: #1a1a1a;
  transition: filter .15s, transform .1s;
  margin-top: 4px;
  height: 56px;
}
.paypal-btn:hover { filter: brightness(.96); }
.paypal-btn:active { transform: translateY(1px); }
.paypal-btn.paying { background: #f5b914; }
.paying-lbl { font-size: 14px; }
.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(0,0,0,.15);
  border-top-color: #1a1a1a;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  justify-content: center;
}
.pay-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.pay-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
  background: #fff;
}

/* ───────────────────────── Confirmation ───────────────────────── */
.step-conf {
  align-items: center;
  text-align: center;
  padding: 48px 40px;
  gap: 18px;
}
.conf-tick {
  color: var(--success);
  margin-bottom: 4px;
  animation: tickIn .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes tickIn {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.conf-ref {
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  margin-top: 4px;
  width: 100%;
  max-width: 360px;
}
.conf-ref-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.conf-ref-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-1);
}
.conf-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.conf-help {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.conf-help a {
  color: var(--ink-1);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ───────────────────────── Footer / nav buttons ───────────────────────── */
.step-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 40px 32px;
  border-top: 1px solid var(--line);
  background: #fafaf7;
}
.step-foot-single {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.foot-note {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}

.btn {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.25px solid transparent;
  transition: all .15s;
  height: 46px;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
}
.btn-primary:hover:not(:disabled) {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px color-mix(in oklab, var(--primary) 50%, transparent);
}
.btn-secondary {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--line-strong);
}
.btn-secondary:hover:not(:disabled) {
  border-color: var(--ink-1);
  background: #f6f4ee;
}
.btn-block { width: 100%; padding: 14px 22px; height: 52px; font-size: 15px; }

/* ───────────────────────── Mobile variant ───────────────────────── */
.wiz-mobile .wiz-inner { padding: 16px 14px 100px; }
.wiz-mobile .card { max-width: 100%; border-radius: 12px; }
.wiz-mobile .card-head { padding: 22px 20px 18px; }
.wiz-mobile .step-body { padding: 22px 20px; gap: 18px; }
.wiz-mobile .step-foot { padding: 16px 20px 22px; }
.wiz-mobile .step-conf { padding: 36px 20px; }
.wiz-mobile .grid-2 { grid-template-columns: 1fr; gap: 14px; }
.wiz-mobile .docs { grid-template-columns: 1fr; }
.wiz-mobile .h1 { font-size: 24px; }
.wiz-mobile .h2 { font-size: 18px; }
.wiz-mobile .hero { height: 160px; }
.wiz-mobile .hero-headline { font-size: 22px; }
.wiz-mobile .pkg-head { grid-template-columns: 1fr 1fr auto; padding: 8px 12px; font-size: 9.5px; }
.wiz-mobile .pkg-row { grid-template-columns: 1fr 1fr auto; padding: 12px; gap: 8px; }
.wiz-mobile .pkg-name { font-size: 13px; }
.wiz-mobile .pkg-dates { font-size: 11.5px; }
.wiz-mobile .pkg-price { font-size: 18px; }
.wiz-mobile .total-num { font-size: 26px; }
.wiz-mobile .radio { min-width: 80px; padding: 10px 12px; font-size: 13.5px; }
.wiz-mobile .btn { height: 50px; padding: 12px 18px; font-size: 14px; flex: 1 1 0; min-width: 0; }
.wiz-mobile .btn-secondary { flex: 0 1 auto; }
.wiz-mobile .card-after { color: rgba(255,255,255,.7); font-size: 12px; }

/* Sticky mobile nav */
.wiz-mobile.sticky-nav .step-foot {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 20px -10px rgba(0,0,0,.08);
}


/* ── PHP wizard custom overrides ── */
.wiz { min-height: 100vh; }
.errors-summary { background: #fff0f0; border: 1px solid #e0a0a0; border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; color: #c00; font-size: 13px; }
.errors-summary ul { margin: 6px 0 0 16px; padding: 0; }
.field-error { color: #d32f2f; font-size: 12px; margin-top: 4px; }
.upload-note { font-size: 12px; color: #888; margin-top: 4px; }
.conf-ref-num { font-size: 22px; font-weight: 700; font-family: 'JetBrains Mono', monospace; letter-spacing: 2px; color: var(--primary); }

/* Responsive automatico (no class .wiz-mobile richiesta) */
@media (max-width: 768px) {
  .wiz .wiz-inner { padding: 16px 14px 100px; }
  .wiz .card { max-width: 100%; border-radius: 12px; }
  .wiz .card-head { padding: 22px 20px 18px; }
  .wiz .step-body { padding: 22px 20px; gap: 18px; }
  .wiz .step-foot { padding: 16px 20px 22px; }
  .wiz .step-conf { padding: 36px 20px; }
  .wiz .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .wiz .docs { grid-template-columns: 1fr; }
  .wiz .h1 { font-size: 24px; }
  .wiz .h2 { font-size: 18px; }
  .wiz .hero { height: 160px; }
  .wiz .hero-headline { font-size: 22px; }
  .wiz .pkg-head { grid-template-columns: 1fr 1fr auto; padding: 8px 12px; font-size: 9.5px; }
  .wiz .pkg-row { grid-template-columns: 1fr 1fr auto; padding: 12px; gap: 8px; }
  .wiz .pkg-name { font-size: 13px; }
  .wiz .pkg-dates { font-size: 11.5px; }
  .wiz .pkg-price { font-size: 18px; }
  .wiz .total-num { font-size: 26px; }
  .wiz .radio { min-width: 80px; padding: 10px 12px; font-size: 13.5px; }
  .wiz .btn { height: 50px; padding: 12px 18px; font-size: 14px; flex: 1 1 0; min-width: 0; }
  .wiz .btn-secondary { flex: 0 1 auto; }
  .wiz .card-after { color: rgba(255,255,255,.7); font-size: 12px; }
}
