:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface-hover: #222;
  --accent: #f47b20;
  --accent-hover: #e06e10;
  --accent-dim: rgba(244,123,32,0.12);
  --accent-glow: rgba(244,123,32,0.22);
  --text: #f5f5f5;
  --text-secondary: #aaa;
  --text-muted: #666;
  --border: #2a2a2a;
  --radius: 14px;
  --radius-sm: 10px;
  --transition: 0.25s ease;
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}

.app {
  width: 100%;
  max-width: 540px;
  padding: 28px 20px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.header { text-align: center; margin-bottom: 28px; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: 3px; color: var(--accent); }
.logo span { color: var(--text); font-weight: 300; }
.tagline { color: var(--text-secondary); font-size: 13px; margin-top: 5px; letter-spacing: 1px; text-transform: uppercase; }

/* PROGRESS */
.progress { margin-bottom: 36px; }
.progress-track { width: 100%; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.progress-bar { height: 100%; background: var(--accent); border-radius: 2px; transition: width var(--transition); width: 0%; }
.progress-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* STEPS */
main { flex: 1; }
.step { display: none; }
.step.active { display: block; animation: fadeUp 0.3s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.hint { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

/* ICON OPTION BUTTONS */
.options { display: flex; flex-direction: column; gap: 10px; }

.icon-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: left;
  width: 100%;
  color: var(--text);
}

.icon-opt:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.icon-opt.selected-single,
.icon-opt.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.opt-icon { font-size: 22px; flex-shrink: 0; width: 32px; text-align: center; }
.opt-label { font-size: 15px; font-weight: 600; display: block; line-height: 1.2; }
.opt-sub { font-size: 12px; color: var(--text-secondary); display: block; margin-top: 2px; }

/* Two-column grid for wider options like step 1 */
.options.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* FORM FIELDS */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.optional { font-weight: 400; text-transform: none; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.field input::placeholder { color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* NAV */
.nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  position: sticky;
  bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition);
  text-decoration: none;
  padding: 13px 20px;
}

.btn-next {
  flex: 1;
  background: var(--accent);
  color: #fff;
}
.btn-next:hover:not(:disabled) { background: var(--accent-hover); }
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-back {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  padding: 13px 20px;
}
.btn-back:hover { border-color: var(--accent); color: var(--text); }
.btn-hidden { visibility: hidden; pointer-events: none; }

/* SUCCESS SCREEN */
.success-screen { text-align: center; padding: 20px 0 40px; }
.success-icon {
  width: 64px; height: 64px;
  background: var(--green-dim);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--green);
  margin: 0 auto 20px;
}
.success-screen h2 { font-size: 22px; margin-bottom: 12px; }
.success-screen p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

.ref-block {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ref-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-top: 6px;
  letter-spacing: 2px;
}

.cta-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: #fff;
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: opacity var(--transition);
}
.btn-whatsapp:hover { opacity: 0.9; }

.btn-call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border);
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: border-color var(--transition);
}
.btn-call:hover { border-color: var(--accent); }

.cta-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 480px) {
  .app { padding: 20px 14px 32px; }
  .step h2 { font-size: 18px; }
}

.tic-header-logo { width: 56px; height: 56px; display: block; margin: 0 auto 12px; }
