/* ═══════════════════════════════════════════════════════════════
   wizard.css — Baby-Leitfaden Design System: Lavender / Twilight
   Fonts: Noto Serif (headlines) + Manrope (body)
   Icons: Material Symbols Outlined
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design Tokens ── */
:root {
  --primary:           #665a6d;
  --primary-dim:       #d1c1d8;
  --primary-fixed:     #eeddf4;
  --primary-container: #9b8da2;

  --surface:           #fcf9f4;
  --surface-lowest:    #ffffff;
  --surface-low:       #f6f3ee;
  --surface-mid:       #f0ede9;
  --surface-high:      #ebe8e3;
  --surface-highest:   #e5e2dd;
  --surface-dim:       #dcdad5;

  --on-surface:        #1c1c19;
  --on-surface-var:    #4a454b;
  --outline:           #7b757c;
  --outline-var:       #ccc4cb;
  --secondary:         #586062;

  --gradient:          linear-gradient(135deg, #665a6d 0%, #9b8da2 100%);
  --shadow:            0 10px 30px rgba(28, 28, 25, 0.06);
  --shadow-lg:         0 20px 60px rgba(28, 28, 25, 0.08);

  --headline:          'Noto Serif', Georgia, serif;
  --body:              'Manrope', system-ui, -apple-system, sans-serif;

  --radius:            8px;
  --radius-lg:         12px;
  --radius-xl:         20px;
  --radius-full:       9999px;
}

/* ── Base ── */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--surface);
  color: var(--on-surface);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-family: var(--headline); font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }

/* ── Material Symbols ── */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
  user-select: none;
}
.icon-fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ══════════════════════════════════════════════════
   TOP NAV
   ══════════════════════════════════════════════════ */
.app-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(252, 249, 244, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
@media (min-width: 768px) { .app-nav { padding: 16px 40px; } }

.app-logo {
  font-family: var(--headline);
  font-style: italic;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-logo strong { font-style: normal; }
.app-logo-img {
  height: 26px;
  width: auto;
}

.nav-steps {
  display: none;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) { .nav-steps { display: flex; } }

.nav-step-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(28, 28, 25, 0.45);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-step-link.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

/* ══════════════════════════════════════════════════
   LAYOUT: STEP 1 — SPLIT (Editorial + Form)
   ══════════════════════════════════════════════════ */
.wizard-split {
  display: flex;
  min-height: 100vh;
  padding-top: 57px; /* nav height */
}

/* Left editorial column — hidden on mobile */
.wizard-editorial {
  display: none;
  width: 42%;
  background: var(--surface-low);
  padding: 56px 48px 48px;
  position: sticky;
  top: 57px;
  height: calc(100vh - 57px);
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 900px) { .wizard-editorial { display: flex; } }

.editorial-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.editorial-headline {
  font-family: var(--headline);
  font-size: 44px;
  line-height: 1.05;
  color: var(--on-surface);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.editorial-body {
  font-size: 16px;
  color: var(--on-surface-var);
  line-height: 1.7;
  max-width: 320px;
}

/* Editorial photo composition */
.editorial-photos {
  position: relative;
  flex: 1;
  padding-top: 40px;
}
.photo-main {
  width: 220px;
  height: 290px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  background: var(--surface-mid);
}
.photo-overlay {
  position: absolute;
  bottom: 24px;
  right: -8px;
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
  background: var(--surface-mid);
  border: 4px solid var(--surface-low);
}
.photo-main img,
.photo-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right form column */
.wizard-form-col {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .wizard-form-col { padding: 56px 56px 80px; } }

.wizard-form-inner {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════
   LAYOUT: STEPS 2-4 — SINGLE CENTERED
   ══════════════════════════════════════════════════ */
.wizard-single {
  min-height: 100vh;
  padding-top: 57px;
}
.wizard-canvas {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px 100px;
}
@media (min-width: 768px) { .wizard-canvas { padding: 56px 32px 100px; } }

/* ══════════════════════════════════════════════════
   PROGRESS INDICATOR
   ══════════════════════════════════════════════════ */
.wizard-progress { margin-bottom: 48px; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}
.progress-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}
.progress-title {
  font-family: var(--headline);
  font-style: italic;
  font-size: 18px;
  color: var(--on-surface);
}
.progress-step-count {
  font-size: 13px;
  color: var(--on-surface-var);
  font-weight: 500;
}
.progress-bar {
  height: 4px;
  background: var(--surface-highest);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-fill[data-step="1"] { width: 25%; }
.progress-fill[data-step="2"] { width: 50%; }
.progress-fill[data-step="3"] { width: 75%; }
.progress-fill[data-step="4"] { width: 100%; }

/* ══════════════════════════════════════════════════
   STEP HEADLINE
   ══════════════════════════════════════════════════ */
.step-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}
.step-headline {
  font-family: var(--headline);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 16px;
}
@media (min-width: 768px) { .step-headline { font-size: 44px; } }

.step-subtext {
  font-size: 16px;
  color: var(--on-surface-var);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 48px;
}

/* ══════════════════════════════════════════════════
   GHOST BORDER INPUTS (Step 1)
   ══════════════════════════════════════════════════ */
.ghost-field {
  margin-bottom: 36px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(204, 196, 203, 0.35);
  transition: border-color 0.25s;
}
.ghost-field:focus-within {
  border-bottom: 2px solid var(--primary);
}
.ghost-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 8px;
}
.ghost-label .opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--outline-var);
  font-size: 9px;
}
.ghost-input,
.ghost-select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--body);
  font-size: 19px;
  font-weight: 400;
  color: var(--on-surface);
  padding: 4px 0;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}
.ghost-input::placeholder { color: var(--outline-var); }
.ghost-select { cursor: pointer; }
.ghost-select-wrap {
  display: flex;
  align-items: center;
}
.ghost-select-wrap .ghost-select { flex: 1; }
.ghost-select-wrap .material-symbols-outlined { color: var(--outline); pointer-events: none; }

/* ══════════════════════════════════════════════════
   FILLED INPUTS (Steps 2–4)
   ══════════════════════════════════════════════════ */
.field-group { margin-bottom: 20px; }

.field-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-var);
  margin-bottom: 8px;
  padding-left: 4px;
}
.field-label .opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--outline-var);
  font-size: 9px;
}
.field-hint {
  font-size: 11px;
  color: var(--outline);
  margin-top: 6px;
  padding-left: 4px;
  line-height: 1.5;
  font-style: italic;
}
.field-input,
.field-select {
  width: 100%;
  background: var(--surface-low);
  border: none;
  border-bottom: 1.5px solid var(--outline-var);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--on-surface);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  cursor: text;
}
.field-input:hover,
.field-select:hover {
  background: var(--surface-mid);
  border-bottom-color: var(--primary-container);
}
.field-input:focus,
.field-select:focus {
  border-bottom-color: var(--primary);
  background: var(--surface-lowest);
}
.field-input::placeholder { color: rgba(123, 117, 124, 0.5); }
.field-select { cursor: pointer; }
.field-select-wrap {
  position: relative;
}
.field-select-wrap .field-select { padding-right: 40px; }
.field-select-wrap::after {
  content: 'expand_more';
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--outline);
  pointer-events: none;
  font-size: 20px;
}

/* ══════════════════════════════════════════════════
   RADIO PILLS (Land: DE / AT / CH)
   ══════════════════════════════════════════════════ */
.radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-pill input[type="radio"] { display: none; }
.radio-pill label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(204, 196, 203, 0.35);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-surface);
  background: var(--surface-lowest);
  transition: all 0.2s;
  user-select: none;
}
.radio-pill input[type="radio"]:checked + label {
  background: var(--primary-fixed);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}
.radio-pill label:hover { background: var(--surface-low); }

/* ══════════════════════════════════════════════════
   RADIO CARDS (Familienstand, Erstes Kind)
   ══════════════════════════════════════════════════ */
.radio-cards { display: flex; flex-direction: column; gap: 8px; }

.radio-card input[type="radio"] { display: none; }
.radio-card label {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: var(--surface-lowest);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-surface);
  border: 1px solid transparent;
  transition: all 0.2s;
  user-select: none;
}
.radio-card input[type="radio"]:checked + label {
  background: rgba(209, 193, 216, 0.2);
  border-color: rgba(102, 90, 109, 0.22);
}
.radio-card label:hover { background: var(--surface-high); }

/* ══════════════════════════════════════════════════
   ET / SSW SEGMENT CONTROL
   ══════════════════════════════════════════════════ */
.segment-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.segment-control {
  display: inline-flex;
  background: var(--surface-highest);
  border-radius: var(--radius);
  padding: 4px;
}
.segment-btn {
  padding: 9px 22px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-var);
  cursor: pointer;
  transition: all 0.2s;
}
.segment-btn.active {
  background: var(--surface-lowest);
  color: var(--on-surface);
  box-shadow: 0 1px 4px rgba(28, 28, 25, 0.10);
}
.date-section {
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.date-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 12px;
  text-align: center;
}

/* ══════════════════════════════════════════════════
   STEP 3: TAB NAVIGATION (Mutter / Vater)
   ══════════════════════════════════════════════════ */
.tab-group {
  display: flex;
  gap: 6px;
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 32px;
}
.tab-btn {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--radius);
  border: none;
  background: transparent;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  color: var(--on-surface-var);
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--surface-lowest);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(28, 28, 25, 0.07);
}

/* Tab content panel */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ══════════════════════════════════════════════════
   STEP 3: INCOME STATUS CARDS
   ══════════════════════════════════════════════════ */
.income-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.income-card {
  position: relative;
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(204, 196, 203, 0.2);
  background: var(--surface-lowest);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 12px;
  color: var(--on-surface-var);
  font-weight: 500;
}
.income-card input[type="radio"] { display: none; }
.income-card label { cursor: pointer; display: block; }
.income-card:has(input:checked) {
  background: rgba(209, 193, 216, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}
.income-card .ic-icon { font-size: 20px; display: block; margin-bottom: 6px; }

/* ══════════════════════════════════════════════════
   STEP 3: TAX CLASS BUTTONS
   ══════════════════════════════════════════════════ */
.taxclass-group { display: flex; gap: 6px; }
.taxclass-btn {
  flex: 1;
  padding: 12px 4px;
  border: 1px solid rgba(204, 196, 203, 0.25);
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--on-surface);
  transition: all 0.2s;
}
.taxclass-btn.active {
  background: rgba(209, 193, 216, 0.2);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   STEP 3: JA / NEIN TOGGLE
   ══════════════════════════════════════════════════ */
.yn-toggle {
  display: flex;
  background: var(--surface-low);
  border-radius: var(--radius);
  padding: 4px;
  height: 46px;
}
.yn-btn {
  flex: 1;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(74, 69, 75, 0.5);
  transition: all 0.2s;
}
.yn-btn.active {
  background: var(--surface-lowest);
  color: var(--on-surface);
  box-shadow: 0 1px 4px rgba(28, 28, 25, 0.08);
}

/* ══════════════════════════════════════════════════
   STEP 3: KV CARDS
   ══════════════════════════════════════════════════ */
.kv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kv-card { position: relative; }
.kv-card input[type="radio"] { display: none; }
.kv-card label {
  display: block;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(204, 196, 203, 0.2);
  background: var(--surface-lowest);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.kv-card input[type="radio"]:checked + label {
  border-color: var(--primary);
  background: rgba(209, 193, 216, 0.1);
}
.kv-card-check {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--primary);
  opacity: 0;
  font-size: 18px;
  transition: opacity 0.2s;
}
.kv-card input[type="radio"]:checked + label .kv-card-check { opacity: 1; }
.kv-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: 8px;
}
.kv-card-desc {
  font-size: 12px;
  color: var(--on-surface-var);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════
   STEP 3: INFO EDITORIAL BLOCK
   ══════════════════════════════════════════════════ */
.info-editorial {
  background: var(--surface-low);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.info-editorial h3 {
  font-family: var(--headline);
  font-size: 17px;
  margin-bottom: 10px;
}
.info-editorial p {
  font-size: 14px;
  color: var(--on-surface-var);
  line-height: 1.65;
  max-width: 420px;
}
.info-editorial-deco {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 90px;
  opacity: 0.07;
  color: var(--on-surface);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════
   STEP 3: SECTION SEPARATOR
   ══════════════════════════════════════════════════ */
.section-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 24px;
}
.section-sep-line {
  width: 4px;
  height: 24px;
  background: var(--primary-dim);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.section-sep h3 {
  font-family: var(--headline);
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════
   STEP 3: CONDITIONAL FIELDS
   ══════════════════════════════════════════════════ */
.conditional { display: none; }
.conditional.visible { display: block; }
.info-box {
  background: var(--surface-mid);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   STEP 4: INCLUDED CHAPTERS
   ══════════════════════════════════════════════════ */
.chapter-included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.chapter-fixed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary-dim);
}
.chapter-fixed span { font-size: 14px; font-weight: 500; }
.chapter-fixed .material-symbols-outlined { color: var(--primary); font-size: 18px; }

/* ══════════════════════════════════════════════════
   STEP 4: OPTIONAL CHAPTERS (Bento Grid)
   ══════════════════════════════════════════════════ */
.chapter-optional {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px) { .chapter-optional { grid-template-columns: repeat(4, 1fr); } }

.chapter-opt { position: relative; }
.chapter-opt input[type="checkbox"] { display: none; }
.chapter-opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 22px 12px 18px;
  padding-top: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface-lowest);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 100px;
  user-select: none;
  position: relative;
}
.chapter-opt label::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--outline-var);
  background: white;
  transition: all 0.2s;
  box-sizing: border-box;
}
.chapter-opt input[type="checkbox"]:checked + label {
  background: rgba(209, 193, 216, 0.18);
  border-color: var(--primary-dim);
}
.chapter-opt input[type="checkbox"]:checked + label::before {
  background: var(--primary);
  border-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.chapter-opt label:hover { background: var(--surface-high); }
.chapter-opt-icon {
  font-size: 22px;
  color: var(--primary);
}
.chapter-opt-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════
   STEP 4: EMAIL SECTION
   ══════════════════════════════════════════════════ */
.email-section {
  background: var(--surface-low);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  margin-top: 8px;
}
.email-section h3 {
  font-family: var(--headline);
  font-size: 20px;
  margin-bottom: 10px;
}
.email-section p {
  color: var(--on-surface-var);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.email-input-wrap { position: relative; }
.email-input-wrap .field-input { text-align: center; font-size: 16px; border-radius: var(--radius) var(--radius) 0 0; }

/* ══════════════════════════════════════════════════
   SECTION TITLE WITH RULE
   ══════════════════════════════════════════════════ */
.section-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 44px 0 20px;
}
.section-rule-line {
  width: 32px;
  height: 1px;
  background: var(--primary-dim);
  flex-shrink: 0;
}
.section-rule-title {
  font-family: var(--headline);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
}
.section-rule-sub {
  font-size: 13px;
  color: var(--outline);
  margin-top: 4px;
  padding-left: 48px;
  margin-bottom: 20px;
  font-style: italic;
}

/* ══════════════════════════════════════════════════
   NAVIGATION BUTTONS
   ══════════════════════════════════════════════════ */
.wizard-nav {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 12px;
  padding-top: 32px;
  margin-top: 44px;
  border-top: 1px solid rgba(204, 196, 203, 0.15);
}
@media (min-width: 500px) {
  .wizard-nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline);
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.2s;
  text-align: left;
}
.btn-back:hover { color: var(--primary); }

.btn-back-ghost {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(102, 90, 109, 0.22);
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  cursor: pointer;
  padding: 13px 24px;
  transition: all 0.2s;
}
.btn-back-ghost:hover { background: var(--surface-low); }

.btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
  padding: 16px 36px;
  box-shadow: 0 12px 32px rgba(102, 90, 109, 0.28);
  transition: opacity 0.2s, transform 0.15s;
  width: 100%;
}
@media (min-width: 500px) { .btn-next { width: auto; } }
.btn-next:hover { opacity: 0.9; }
.btn-next:active { transform: scale(0.98); }

.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  padding: 18px 48px;
  box-shadow: 0 16px 40px rgba(102, 90, 109, 0.30);
  transition: opacity 0.2s, transform 0.15s;
  width: 100%;
}
@media (min-width: 500px) { .btn-checkout { width: auto; } }
.btn-checkout:hover { opacity: 0.9; }
.btn-checkout:active { transform: scale(0.98); }

/* ══════════════════════════════════════════════════
   DECORATIVE BLOBS (background)
   ══════════════════════════════════════════════════ */
.decor-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}
.decor-blob-a {
  top: 200px; left: -100px;
  width: 350px; height: 350px;
  background: rgba(209, 193, 216, 0.12);
}
.decor-blob-b {
  bottom: 200px; right: -100px;
  width: 350px; height: 350px;
  background: rgba(155, 141, 162, 0.1);
}

/* ══════════════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════════════ */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden { display: none !important; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
