* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: Arial, Helvetica, sans-serif; color: #fff; background: #ed2b24 url('fondo-claro.jpg') center/cover fixed no-repeat; display: flex; justify-content: center; align-items: center; padding: 24px; position: relative; }
body:before { content: ""; position: fixed; inset: 0; background: rgba(237, 43, 36, .82); z-index: -1; }
.app { width: min(720px, 100%); }
.card { background: rgba(255, 255, 255, .97); color: #222; border-radius: 24px; padding: 34px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.hidden { display: none; }
.logo-circle { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #ff7770, #c90000 70%, #920000); display: flex; align-items: center; justify-content: center; color: white; font-size: 25px; font-weight: 700; box-shadow: inset 0 5px 14px rgba(255, 255, 255, .35); }
h1, h2 { text-align: center; margin: 10px 0 18px; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
.card > p { text-align: center; line-height: 1.6; }
.notice { background: #fff0ef; border-left: 5px solid #ed2b24; padding: 14px; border-radius: 10px; margin: 20px 0; line-height: 1.5; }
.btn { width: 100%; border: 0; border-radius: 12px; background: #ed2b24; color: #fff; padding: 15px 18px; font-size: 17px; font-weight: 700; cursor: pointer; margin-top: 18px; }
.btn:hover { filter: brightness(.93); }
.btn.secondary { background: #333; }
.topbar { display: flex; justify-content: space-between; font-weight: 700; color: #ed2b24; margin-bottom: 24px; }
.step { display: none; }
.step.active { display: block; }
.muted, .small { color: #666; font-size: 14px; }
.preview { display: block; width: 100%; max-height: 280px; object-fit: contain; border-radius: 12px; border: 1px solid #ddd; margin: 10px 0; }
.option { display: block; border: 1px solid #ddd; border-radius: 12px; padding: 15px; margin: 10px 0; cursor: pointer; background: #fafafa; }
.option:has(input:checked) { border-color: #ed2b24; background: #fff0ef; }
.option input { margin-right: 10px; }
.consent { display: block; font-size: 14px; line-height: 1.5; margin: 18px 0; }
.money { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 12px; overflow: hidden; }
.money span { padding: 15px; background: #eee; font-weight: 700; }
.money input { border: 0; outline: 0; width: 100%; padding: 15px; font-size: 17px; }
.company-result { background: #fff0ef; border-radius: 14px; padding: 18px; text-align: center; font-size: 19px; font-weight: 700; }
.actions { display: grid; gap: 8px; margin-top: 10px; }
.small { margin-top: 20px !important; font-size: 12px !important; }

/* Estilos de la sección de documentos y cámara */
.document-section { border: 1px solid #e4e4e4; border-radius: 16px; padding: 18px; margin: 16px 0; background: #fff; }
.document-section h3 { margin: 0 0 6px; color: #222; font-size: 18px; }
.upload-help { margin: 0 0 14px; color: #666; font-size: 13px; line-height: 1.45; }
.photo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 14px; background: #ed2b24; color: #fff; font-weight: 700; cursor: pointer; text-align: center; min-height: 52px; }
.photo-btn.camera-btn { background: #222; }
.photo-btn span { font-size: 20px; }
.photo-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-status { margin-top: 10px; font-size: 13px; color: #666; text-align: center; min-height: 18px; }

@media(max-width:520px) {
  body { padding: 12px; }
  .card { padding: 22px; border-radius: 18px; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .photo-actions { grid-template-columns: 1fr; }
  .photo-btn { min-height: 56px; }
}