{"id":676,"date":"2026-08-24T18:23:39","date_gmt":"2026-08-24T18:23:39","guid":{"rendered":"https:\/\/kim21.com\/?page_id=676"},"modified":"2026-08-24T21:06:13","modified_gmt":"2026-08-24T21:06:13","slug":"formulario-denuncias","status":"publish","type":"page","link":"https:\/\/kim21.com\/index.php\/formulario-denuncias\/","title":{"rendered":"Formulario denuncias"},"content":{"rendered":"    <!-- Agregamos margin-bottom para separar el cuadro blanco del footer -->\n    <div class=\"arco-form-container\" id=\"denuncia-wrapper\" style=\"margin-bottom: 50px !important;\"> \n        <form id=\"kim21-denuncia-form\" enctype=\"multipart\/form-data\">\n            \n            <!-- T\u00edtulo con letra azul -->\n            <p class=\"arco-intro\">\n                <strong style=\"color: #262b58 !important;\">Canal de Integridad KIM21:<\/strong> \n                Espacio seguro para denunciar faltas a la probidad o \u00e9tica empresarial.\n            <\/p>\n\n            <!-- Bloque de Selecci\u00f3n de Identidad -->\n            <div style=\"background: #f4f7f9; padding: 20px; border-radius: 10px; margin-bottom: 30px; border-left: 5px solid #262b58;\">\n                <label style=\"font-weight:700; color: #262b58 !important; margin-bottom: 10px; display: block;\">Tipo de Denuncia:<\/label>\n                <div style=\"display: flex; gap: 20px;\">\n                    <span>\n                        <input type=\"radio\" name=\"anonimato\" value=\"identificada\" checked id=\"radio-id\"> \n                        <label for=\"radio-id\" style=\"display:inline; cursor:pointer; color: #444;\">Identificada<\/label>\n                    <\/span>\n                    <span>\n                        <input type=\"radio\" name=\"anonimato\" value=\"anonima\" id=\"radio-anon\"> \n                        <label for=\"radio-anon\" style=\"display:inline; cursor:pointer; color: #444;\">An\u00f3nima<\/label>\n                    <\/span>\n                <\/div>\n            <\/div>\n\n            <!-- Campos de Identidad con espacios corregidos -->\n            <div id=\"seccion-identidad\" class=\"arco-grid\" style=\"margin-bottom: 25px;\">\n                <label>Nombre Completo \n                    <input type=\"text\" name=\"denunciante-nombre\" placeholder=\"Su nombre completo\" style=\"margin-top: 8px;\">\n                <\/label>\n                <label>Email de Contacto \n                    <input type=\"email\" name=\"denunciante-email\" placeholder=\"Para recibir seguimiento\" style=\"margin-top: 8px;\">\n                <\/label>\n            <\/div>\n\n            <!-- Categor\u00eda -->\n            <div style=\"margin-bottom: 25px;\">\n                <label>Categor\u00eda de la falta detectada (Obligatorio)\n                    <select name=\"categoria-falta\" required style=\"margin-top: 8px;\">\n                        <option value=\"\">--- Seleccione una opci\u00f3n ---<\/option>\n                        <option value=\"Conflicto de Interes\">Conflicto de Inter\u00e9s<\/option>\n                        <option value=\"Falta a la Probidad\">Falta a la Probidad \/ Fraude<\/option>\n                        <option value=\"Acoso o Maltrato\">Acoso o Maltrato Laboral<\/option>\n                        <option value=\"Incumplimiento Politicas\">Incumplimiento de Pol\u00edticas Internas<\/option>\n                        <option value=\"Otro\">Otro<\/option>\n                    <\/select>\n                <\/label>\n            <\/div>\n\n            <!-- Descripci\u00f3n -->\n            <div style=\"margin-bottom: 25px;\">\n                <label>Descripci\u00f3n detallada de los hechos (Obligatorio)\n                    <textarea name=\"denuncia-texto\" required style=\"height:150px; margin-top: 8px;\" placeholder=\"Indique fechas, personas involucradas y lugar de los hechos...\"><\/textarea>\n                <\/label>\n            <\/div>\n\n            <!-- Archivo -->\n            <div style=\"margin-bottom: 25px;\">\n                <label>Adjuntar Evidencia \/ Respaldo (Opcional)\n                    <input type=\"file\" name=\"denuncia-file\" accept=\".pdf,.jpg,.jpeg,.png\" style=\"margin-top: 8px; border: 1px solid #ddd; padding: 10px; background: white;\">\n                <\/label>\n            <\/div>\n\n            <!-- Bloque de Seguridad -->\n            <div style=\"background: #fff8e1; padding: 15px; border-radius: 8px; border: 1px solid #ffe082; margin-bottom: 30px;\">\n                <label style=\"margin-bottom: 0; font-weight: 700; color: #262b58 !important;\">\n                    Seguridad: \u00bfCu\u00e1nto es 3 + 4?\n                    <input type=\"number\" name=\"denuncia-quiz\" required style=\"width: 70px; display: inline-block; margin-left: 10px; padding: 5px;\">\n                <\/label>\n            <\/div>\n\n            <div id=\"denuncia-error\" style=\"color: #7a1a1a; font-weight: bold; margin: 15px 0; display: none; background: #f8d7da; padding: 10px; border-radius: 5px;\"><\/div>\n\n            <button type=\"submit\" id=\"btn-enviar-denuncia\" style=\"background:#7a1a1a !important; width: 100%; padding: 15px; border-radius: 8px; font-weight: 700; font-size: 16px;\">ENVIAR DENUNCIA FORMAL<\/button>\n            \n            <div class=\"arco-mensaje-final\" style=\"margin-top: 30px;\">\n                <p>Al enviar, usted declara que la informaci\u00f3n es ver\u00eddica. Revise nuestra \n                <a href=\"#\" target=\"_blank\" style=\"color: #3262a4; font-weight: 700;\">Pol\u00edtica de Integridad<\/a> y \n                <a href=\"#\" target=\"_blank\" style=\"color: #3262a4; font-weight: 700;\">Pol\u00edtica de Datos<\/a>.<\/p>\n            <\/div>\n        <\/form>\n\n        <div id=\"denuncia-success\" style=\"display:none; text-align:center; padding:40px; margin-bottom: 50px;\">\n            <h2 style=\"color:#7a1a1a;\">\u2714\ufe0f Denuncia Registrada<\/h2>\n            <p>Su reporte ha sido enviado directamente al Comit\u00e9 de \u00c9tica y Probidad bajo la casilla <strong>politicadeintegridad@kim21.com<\/strong>.<\/p>\n            <p>Se mantendr\u00e1 estricta confidencialidad sobre su identidad.<\/p>\n        <\/div>\n    <\/div>\n\n    <script>\n    document.addEventListener('DOMContentLoaded', function() {\n        const radioAnon = document.getElementById('radio-anon');\n        const radioId = document.getElementById('radio-id');\n        const seccionId = document.getElementById('seccion-identidad');\n\n        if(radioAnon && radioId && seccionId) {\n            radioAnon.addEventListener('change', () => { seccionId.style.display = 'none'; });\n            radioId.addEventListener('change', () => { seccionId.style.display = 'grid'; });\n        }\n\n        const form = document.getElementById('kim21-denuncia-form');\n        if(form) {\n            form.onsubmit = function(e) {\n                e.preventDefault();\n                const btn = document.getElementById('btn-enviar-arco'); \/\/ Se usa el ID gen\u00e9rico de estilo\n                if(btn) {\n                    btn.innerText = 'PROCESANDO...';\n                    btn.disabled = true;\n                }\n\n                const formData = new FormData(form);\n                formData.append('action', 'kim21_enviar_denuncia_custom');\n\n                fetch('https:\/\/kim21.com\/wp-admin\/admin-ajax.php', { method: 'POST', body: formData })\n                .then(res => res.json())\n                .then(data => {\n                    if(data.success) {\n                        form.style.display = 'none';\n                        document.getElementById('denuncia-success').style.display = 'block';\n                        window.scrollTo({ top: document.getElementById('denuncia-wrapper').offsetTop - 100, behavior: 'smooth' });\n                    } else {\n                        const errDiv = document.getElementById('denuncia-error');\n                        errDiv.innerText = data.data;\n                        errDiv.style.display = 'block';\n                        if(btn) {\n                            btn.innerText = 'ENVIAR DENUNCIA FORMAL';\n                            btn.disabled = false;\n                        }\n                    }\n                });\n            };\n        }\n    });\n    <\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-676","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kim21.com\/index.php\/wp-json\/wp\/v2\/pages\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kim21.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kim21.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kim21.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kim21.com\/index.php\/wp-json\/wp\/v2\/comments?post=676"}],"version-history":[{"count":2,"href":"https:\/\/kim21.com\/index.php\/wp-json\/wp\/v2\/pages\/676\/revisions"}],"predecessor-version":[{"id":679,"href":"https:\/\/kim21.com\/index.php\/wp-json\/wp\/v2\/pages\/676\/revisions\/679"}],"wp:attachment":[{"href":"https:\/\/kim21.com\/index.php\/wp-json\/wp\/v2\/media?parent=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}