{"id":99,"date":"2025-12-15T17:00:28","date_gmt":"2025-12-15T17:00:28","guid":{"rendered":"https:\/\/psicodominicana.com\/blog\/?p=99"},"modified":"2026-04-19T13:10:06","modified_gmt":"2026-04-19T17:10:06","slug":"manejo-del-estres-programa-tcc-12-sesiones","status":"publish","type":"post","link":"https:\/\/psicodominicana.com\/blog\/ansiedad\/manejo-del-estres-programa-tcc-12-sesiones\/","title":{"rendered":"Manejo del estr\u00e9s: Programa TCC de 12 sesiones basado en evidencia"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"es\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"Programa terap\u00e9utico de 12 sesiones para manejo del estr\u00e9s coordinado por Miguel Mart\u00ednez, Psic\u00f3logo Cl\u00ednico\">\n    <meta name=\"keywords\" content=\"manejo del estr\u00e9s, 12 sesiones, terapia online, bienestar psicol\u00f3gico, Psicodominicana, programa completo, estr\u00e9s, ansiedad\">\n    <meta name=\"author\" content=\"Psicodominicana\">\n    <title>Psicodominicana | Programa de 12 Sesiones: Manejo del Estr\u00e9s<\/title>\n    <script src=\"https:\/\/cdn.tailwindcss.com\"><\/script>\n    <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/3.9.1\/chart.min.js\"><\/script>\n    <link href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.0.0\/css\/all.min.css\" rel=\"stylesheet\">\n    <link rel=\"icon\" type=\"image\/x-icon\" href=\"https:\/\/img.icons8.com\/color\/48\/000000\/brain.png\">\n    \n    <style>\n        body {\n            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n            background-color: #fef9f3;\n            color: #4a5568;\n            scroll-behavior: smooth;\n        }\n        .chart-container {\n            position: relative;\n            width: 100%;\n            max-width: 100%;\n            height: 320px;\n            max-height: 380px;\n            margin: 0 auto;\n        }\n        .phase-btn.active {\n            background-color: #fed7aa;\n            border-left: 4px solid #ea580c;\n            font-weight: bold;\n            box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.1);\n        }\n        .logo-title {\n            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;\n            font-weight: 700;\n            background: linear-gradient(90deg, #7c2d12 0%, #ea580c 50%, #f97316 100%);\n            -webkit-background-clip: text;\n            -webkit-text-fill-color: transparent;\n            background-clip: text;\n        }\n        .section-animate {\n            animation: fadeInUp 0.6s ease-out;\n        }\n        @keyframes fadeInUp {\n            from {\n                opacity: 0;\n                transform: translateY(20px);\n            }\n            to {\n                opacity: 1;\n                transform: translateY(0);\n            }\n        }\n        .sticky-sidebar {\n            position: sticky;\n            top: 100px;\n        }\n        .gradient-header {\n            background: linear-gradient(135deg, #7c2d12 0%, #ea580c 50%, #f97316 100%);\n        }\n        .pulse-gentle {\n            animation: pulse 4s infinite ease-in-out;\n        }\n        @keyframes pulse {\n            0%, 100% { transform: scale(1); }\n            50% { transform: scale(1.05); }\n        }\n        .mind-animation {\n            animation: mindFloat 6s infinite ease-in-out;\n        }\n        @keyframes mindFloat {\n            0%, 100% { transform: translateY(0) rotate(0deg); }\n            33% { transform: translateY(-10px) rotate(1deg); }\n            66% { transform: translateY(5px) rotate(-1deg); }\n        }\n        .health-gradient {\n            background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #f093fb 100%);\n            background-size: 400% 400%;\n            animation: gradientShift 15s ease infinite;\n        }\n        @keyframes gradientShift {\n            0% { background-position: 0% 50%; }\n            50% { background-position: 100% 50%; }\n            100% { background-position: 0% 50%; }\n        }\n        .session-card {\n            transition: all 0.3s ease;\n            border: 2px solid transparent;\n        }\n        .session-card:hover {\n            transform: translateY(-5px);\n            border-color: #fed7aa;\n            box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.1);\n        }\n        .progress-step {\n            width: 24px;\n            height: 24px;\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            border-radius: 50%;\n            font-weight: bold;\n            font-size: 12px;\n        }\n        .phase-progress {\n            height: 4px;\n            background: linear-gradient(90deg, #ea580c 0%, #f97316 100%);\n        }\n        \/* Estilos para el bot\u00f3n de WhatsApp *\/\n        .whatsapp-float {\n            position: fixed;\n            width: 60px;\n            height: 60px;\n            bottom: 20px;\n            right: 20px;\n            background-color: #25d366;\n            color: #FFF;\n            border-radius: 50px;\n            text-align: center;\n            font-size: 30px;\n            box-shadow: 2px 2px 3px #999;\n            z-index: 100;\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            transition: all 0.3s ease;\n        }\n        .whatsapp-float:hover {\n            background-color: #128C7E;\n            transform: scale(1.1);\n            box-shadow: 3px 3px 10px #666;\n        }\n        \/* Modal estilos *\/\n        .modal-overlay {\n            display: none;\n            position: fixed;\n            top: 0;\n            left: 0;\n            width: 100%;\n            height: 100%;\n            background-color: rgba(0, 0, 0, 0.7);\n            z-index: 1000;\n            justify-content: center;\n            align-items: center;\n        }\n        .modal-content {\n            background-color: white;\n            padding: 30px;\n            border-radius: 15px;\n            max-width: 500px;\n            width: 90%;\n            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);\n            text-align: center;\n        }\n        .modal-close {\n            position: absolute;\n            top: 15px;\n            right: 15px;\n            font-size: 24px;\n            cursor: pointer;\n            color: #666;\n        }\n        \/* Mejoras de accesibilidad *\/\n        .focus-visible:focus {\n            outline: 3px solid #ea580c;\n            outline-offset: 2px;\n        }\n        @media (prefers-reduced-motion: reduce) {\n            .section-animate, .mind-animation, .pulse-gentle {\n                animation: none;\n            }\n        }\n    <\/style>\n<\/head>\n<body class=\"min-h-screen flex flex-col\">\n\n    <!-- Bot\u00f3n flotante de WhatsApp - NUEVO -->\n    <a href=\"https:\/\/wa.link\/w3dnnk\" target=\"_blank\" class=\"whatsapp-float focus-visible\" aria-label=\"Contactar por WhatsApp para informaci\u00f3n del programa\" title=\"Para contactos e informaci\u00f3n, clic aqu\u00ed\" rel=\"nofollow noopener\">\n        <i class=\"fab fa-whatsapp\"><\/i>\n    <\/a>\n\n    <!-- Header Actualizado para Manejo de Estr\u00e9s -->\n    <header class=\"gradient-header text-white shadow-lg sticky top-0 z-10\">\n        <div class=\"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-5\">\n            <div class=\"flex flex-col sm:flex-row justify-between items-center space-y-4 sm:space-y-0\">\n                <div class=\"flex items-center space-x-3\">\n                    <a href=\"https:\/\/psicodominicana.com\" target=\"_blank\" class=\"flex items-center space-x-3 no-underline focus-visible\" aria-label=\"Ir al sitio web de Psicodominicana\">\n                        <div class=\"health-gradient text-white p-3 rounded-xl shadow-lg mind-animation\" aria-hidden=\"true\">\n                            <i class=\"fas fa-brain text-xl\"><\/i>\n                        <\/div>\n                        <div class=\"flex flex-col\">\n                            <h1 class=\"text-2xl md:text-3xl font-bold text-white\">Psicodominicana<\/h1>\n                            <p class=\"text-sm text-orange-100\">Programa de 12 Sesiones &#8211; Manejo del Estr\u00e9s<\/p>\n                        <\/div>\n                    <\/a>\n                <\/div>\n                \n                <div class=\"text-center sm:text-right\">\n                    <h2 class=\"text-lg font-bold text-white\">Programa Terap\u00e9utico Especializado<\/h2>\n                    <p class=\"text-sm text-orange-100 font-semibold\">12 Sesiones | Enfoque en Manejo de Estr\u00e9s<\/p>\n                    <p class=\"text-xs text-orange-200 mt-1\">Coordinado por Miguel Mart\u00ednez, Psic\u00f3logo Cl\u00ednico<\/p>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/header>\n\n    <main class=\"flex-grow max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 w-full\">\n        \n        <!-- Introducci\u00f3n - Programa de 12 Sesiones para Manejo de Estr\u00e9s -->\n        <section class=\"mb-10 max-w-6xl mx-auto section-animate\" aria-labelledby=\"programa-titulo\">\n            <div class=\"bg-gradient-to-r from-orange-50 to-amber-50 rounded-2xl shadow-xl p-6 md:p-8 border border-orange-200\">\n                <div class=\"flex flex-col md:flex-row items-start md:items-center gap-6 mb-6\">\n                    <div class=\"flex-shrink-0\" aria-hidden=\"true\">\n                        <div class=\"health-gradient text-white p-5 rounded-full shadow-lg mind-animation\">\n                            <i class=\"fas fa-calendar-alt text-3xl\"><\/i>\n                        <\/div>\n                    <\/div>\n                    <div class=\"flex-grow\">\n                        <h2 id=\"programa-titulo\" class=\"text-3xl font-bold text-gray-900 mb-3\">Programa Especializado en Manejo de Estr\u00e9s &#8211; 12 Sesiones<\/h2>\n                        <p class=\"text-lg text-gray-700 leading-relaxed\">\n                            Este <strong class=\"text-orange-700\">programa especializado de 12 sesiones<\/strong> est\u00e1 dise\u00f1ado espec\u00edficamente para \n                            <strong>reducir y manejar el estr\u00e9s de manera efectiva<\/strong>. Desarrollado por \n                            <strong class=\"text-orange-700\">Miguel Mart\u00ednez, Psic\u00f3logo Cl\u00ednico y CEO de Psicodominicana<\/strong>, \n                            cada sesi\u00f3n utiliza t\u00e9cnicas basadas en evidencia cient\u00edfica para ayudarte a recuperar el control, \n                            reducir la ansiedad y mejorar tu calidad de vida.\n                        <\/p>\n                        \n                        <!-- Bot\u00f3n de contacto mejorado -->\n                        <div class=\"mt-6 flex flex-col sm:flex-row gap-4 items-center\">\n                            <button onclick=\"openContactModal()\" \n                                    class=\"bg-gradient-to-r from-green-500 to-green-600 text-white font-bold py-3 px-6 rounded-xl shadow-lg hover:from-green-600 hover:to-green-700 transition transform hover:scale-105 focus-visible\">\n                                <i class=\"fab fa-whatsapp mr-2\"><\/i> Contactar para informaci\u00f3n\n                            <\/button>\n                            <p class=\"text-sm text-gray-600\">Obt\u00e9n informaci\u00f3n detallada y resuelve tus dudas<\/p>\n                        <\/div>\n                    <\/div>\n                <\/div>\n                \n                <!-- Estad\u00edsticas del Programa -->\n                <div class=\"grid grid-cols-2 md:grid-cols-4 gap-4 mt-8\">\n                    <div class=\"bg-white rounded-xl p-4 text-center shadow-sm\">\n                        <div class=\"text-3xl font-bold text-orange-600\">12<\/div>\n                        <div class=\"text-sm text-gray-600\">Sesiones Especializadas<\/div>\n                    <\/div>\n                    <div class=\"bg-white rounded-xl p-4 text-center shadow-sm\">\n                        <div class=\"text-3xl font-bold text-orange-600\">85%<\/div>\n                        <div class=\"text-sm text-gray-600\">Reducci\u00f3n de Estr\u00e9s<\/div>\n                    <\/div>\n                    <div class=\"bg-white rounded-xl p-4 text-center shadow-sm\">\n                        <div class=\"text-3xl font-bold text-orange-600\">24+<\/div>\n                        <div class=\"text-sm text-gray-600\">T\u00e9cnicas Pr\u00e1cticas<\/div>\n                    <\/div>\n                    <div class=\"bg-white rounded-xl p-4 text-center shadow-sm\">\n                        <div class=\"text-3xl font-bold text-orange-600\">3<\/div>\n                        <div class=\"text-sm text-gray-600\">Meses de Transformaci\u00f3n<\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/section>\n\n        <!-- Panel Interactivo del Programa - 12 Sesiones -->\n        <section class=\"section-animate\" aria-labelledby=\"panel-interactivo\">\n            <div class=\"text-center mb-10\">\n                <h2 id=\"panel-interactivo\" class=\"text-3xl font-bold text-gray-900 mb-3\">Programa Completo de 12 Sesiones para Manejo de Estr\u00e9s<\/h2>\n                <p class=\"text-lg text-gray-600 max-w-3xl mx-auto\">Navega por las 4 fases especializadas dise\u00f1adas para reducir el estr\u00e9s y mejorar tu bienestar emocional.<\/p>\n                \n                <!-- Indicador de Progreso -->\n                <div class=\"mt-6 max-w-2xl mx-auto\">\n                    <div class=\"flex justify-between mb-2\">\n                        <span class=\"text-sm font-medium text-orange-600\">Progreso del Programa<\/span>\n                        <span class=\"text-sm font-medium text-orange-600\" id=\"progress-percentage\">0%<\/span>\n                    <\/div>\n                    <div class=\"w-full bg-gray-200 rounded-full h-2.5\" role=\"progressbar\" aria-valuemin=\"0\" aria-valuemax=\"100\" aria-valuenow=\"0\">\n                        <div class=\"phase-progress h-2.5 rounded-full\" id=\"progress-bar\" style=\"width: 0%\"><\/div>\n                    <\/div>\n                    <div class=\"flex justify-between mt-2\">\n                        <span class=\"text-xs text-gray-500\">Sesi\u00f3n 1<\/span>\n                        <span class=\"text-xs text-gray-500\">Sesi\u00f3n 12<\/span>\n                    <\/div>\n                <\/div>\n            <\/div>\n\n            <div class=\"grid grid-cols-1 lg:grid-cols-12 gap-8\">\n                \n                <!-- LEFT: Navigation \/ Timeline Expandida -->\n                <div class=\"lg:col-span-3 space-y-6 sticky-sidebar\">\n                    <div class=\"bg-white rounded-xl shadow-lg p-6 border border-orange-100\">\n                        <h3 class=\"text-lg font-semibold text-gray-800 mb-4 border-b pb-2 flex items-center\">\n                            <i class=\"fas fa-map text-orange-500 mr-2\"><\/i> Programa de 12 Sesiones\n                        <\/h3>\n                        <p class=\"text-xs text-gray-500 mb-4\">\n                            Selecciona una fase para explorar sus 3 sesiones especializadas en manejo de estr\u00e9s.\n                        <\/p>\n                        <nav id=\"phase-nav\" class=\"space-y-2 flex flex-col\" aria-label=\"Navegaci\u00f3n por fases del programa\">\n                            <!-- Nav Items Generated by JS -->\n                        <\/nav>\n                    <\/div>\n\n                    <!-- Progress Tracker -->\n                    <div class=\"bg-gradient-to-r from-orange-50 to-amber-50 rounded-xl shadow-lg p-6 border border-orange-200\">\n                        <h3 class=\"text-md font-bold text-gray-800 mb-4 flex items-center\">\n                            <i class=\"fas fa-chart-line text-orange-500 mr-2\"><\/i> Tu Progreso\n                        <\/h3>\n                        <div class=\"space-y-3\">\n                            <div class=\"flex items-center justify-between\">\n                                <span class=\"text-sm text-gray-600\">Sesiones Completadas<\/span>\n                                <span class=\"text-sm font-bold text-orange-600\" id=\"completed-sessions\">0\/12<\/span>\n                            <\/div>\n                            <div class=\"grid grid-cols-6 gap-1\" id=\"session-dots\" aria-label=\"Puntos de progreso de sesiones\">\n                                <!-- Sesion dots will be generated by JS -->\n                            <\/div>\n                            <div class=\"mt-4\">\n                                <button onclick=\"markSessionComplete()\" class=\"w-full bg-gradient-to-r from-orange-500 to-amber-500 text-white py-2 rounded-lg text-sm font-semibold hover:from-orange-600 hover:to-amber-600 transition shadow-md focus-visible\">\n                                    <i class=\"fas fa-check-circle mr-1\"><\/i> Marcar Sesi\u00f3n como Completada\n                                <\/button>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Coordinator Card -->\n                    <div class=\"bg-white rounded-xl shadow-lg p-6 border border-orange-100\">\n                        <div class=\"flex items-center mb-4\">\n                            <div class=\"health-gradient p-3 rounded-full mr-3\" aria-hidden=\"true\">\n                                <i class=\"fas fa-user-md text-white text-xl\"><\/i>\n                            <\/div>\n                            <div>\n                                <h3 class=\"text-md font-bold text-slate-800\">Coordinador del Programa<\/h3>\n                                <p class=\"text-sm text-orange-700 font-medium\">Miguel Mart\u00ednez<\/p>\n                            <\/div>\n                        <\/div>\n                        <p class=\"text-sm text-gray-600 mb-4\">\n                            Psic\u00f3logo Cl\u00ednico especializado en <strong>manejo de estr\u00e9s y ansiedad<\/strong> con \n                            <strong>15 a\u00f1os de experiencia<\/strong>. CEO de <strong>Psicodominicana<\/strong> y \n                            supervisor del equipo terap\u00e9utico.\n                        <\/p>\n                        <div class=\"flex items-center text-xs text-orange-600\">\n                            <i class=\"fas fa-award mr-2\"><\/i>\n                            <span>Especialista en Programas de Manejo de Estr\u00e9s<\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n\n                <!-- CENTER: Content Details Expandido -->\n                <div class=\"lg:col-span-6 space-y-6\">\n                    <div id=\"phase-content\" class=\"bg-white rounded-xl shadow-xl p-6 min-h-[600px] transition-all duration-300 border border-orange-100\" aria-live=\"polite\">\n                        <!-- Content Injected by JS -->\n                    <\/div>\n                <\/div>\n\n                <!-- RIGHT: Visualization & Micro-Tools -->\n                <div class=\"lg:col-span-3 space-y-6 sticky-sidebar\">\n                    \n                    <!-- Chart Section Actualizado para 12 Sesiones -->\n                    <div class=\"bg-white rounded-xl shadow-lg p-4 border border-orange-100\">\n                        <h3 class=\"text-sm font-bold text-gray-700 mb-2 flex items-center\">\n                            <i class=\"fas fa-chart-line text-orange-500 mr-2\"><\/i> Reducci\u00f3n del Estr\u00e9s en 12 Sesiones\n                        <\/h3>\n                        <p class=\"text-xs text-gray-500 mb-3\">\n                            Evoluci\u00f3n esperada en los niveles de estr\u00e9s a lo largo del programa.\n                        <\/p>\n                        <div class=\"chart-container\">\n                            <canvas id=\"progressChart\" aria-label=\"Gr\u00e1fico de progreso del manejo de estr\u00e9s\" role=\"img\"><\/canvas>\n                        <\/div>\n                        <div class=\"mt-3 text-center\">\n                            <span class=\"inline-block w-2 h-2 bg-red-500 rounded-full mr-1\" aria-hidden=\"true\"><\/span>\n                            <span class=\"text-xs text-gray-600 mr-3\">Nivel de Estr\u00e9s<\/span>\n                            <span class=\"inline-block w-2 h-2 bg-green-500 rounded-full mr-1\" aria-hidden=\"true\"><\/span>\n                            <span class=\"text-xs text-gray-600\">Bienestar Psicol\u00f3gico<\/span>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Interactive Lab Section -->\n                    <div id=\"interactive-lab\" class=\"bg-gradient-to-r from-orange-50 to-amber-50 rounded-xl shadow-lg p-5 border border-orange-200\">\n                        <!-- Dynamic Tool Injected by JS -->\n                    <\/div>\n\n                    <!-- Sesi\u00f3n Actual -->\n                    <div class=\"health-gradient rounded-xl shadow-lg p-5 text-white\">\n                        <div class=\"text-center mb-4\">\n                            <div class=\"inline-block bg-white\/20 p-3 rounded-full shadow mb-2 pulse-gentle\" aria-hidden=\"true\">\n                                <i class=\"fas fa-calendar-day text-white text-2xl\"><\/i>\n                            <\/div>\n                            <h4 class=\"font-bold text-white\">Sesi\u00f3n Actual<\/h4>\n                            <p class=\"text-xs text-orange-100\" id=\"current-session-display\">Sesi\u00f3n 1<\/p>\n                        <\/div>\n                        <div class=\"text-center mb-4\">\n                            <div class=\"inline-flex flex-col items-center space-y-2\">\n                                <div class=\"text-3xl font-bold text-white\" id=\"session-timer\" aria-live=\"polite\">60:00<\/div>\n                                <div class=\"text-xs text-orange-100\">Duraci\u00f3n estimada<\/div>\n                            <\/div>\n                            <div class=\"mt-4 text-sm text-white\">\n                                <i class=\"fas fa-clipboard-check mr-1\" aria-hidden=\"true\"><\/i> Material preparado\n                                <br>\n                                <i class=\"fas fa-video mr-1\" aria-hidden=\"true\"><\/i> Videoconferencia lista\n                                <br>\n                                <i class=\"fas fa-file-alt mr-1\" aria-hidden=\"true\"><\/i> Ejercicios asignados\n                            <\/div>\n                        <\/div>\n                        <button onclick=\"startSessionTimer()\" class=\"w-full bg-white\/30 hover:bg-white\/40 text-white py-2 rounded-lg text-sm font-semibold transition shadow-md focus-visible\">\n                            <i class=\"fas fa-play mr-1\"><\/i> Iniciar Temporizador de Sesi\u00f3n\n                        <\/button>\n                    <\/div>\n\n                    <!-- Recursos de la Sesi\u00f3n -->\n                    <div class=\"bg-gradient-to-r from-amber-50 to-yellow-50 rounded-xl shadow-lg p-5 border border-amber-200\">\n                        <h4 class=\"font-bold text-amber-800 mb-3 flex items-center\">\n                            <i class=\"fas fa-download text-amber-600 mr-2\"><\/i> Recursos de la Sesi\u00f3n\n                        <\/h4>\n                        <div class=\"space-y-2\">\n                            <a href=\"#\" class=\"flex items-center p-2 bg-white rounded-lg hover:shadow transition focus-visible\" aria-label=\"Descargar gu\u00eda de la sesi\u00f3n en PDF\">\n                                <i class=\"fas fa-file-pdf text-red-500 mr-2\" aria-hidden=\"true\"><\/i>\n                                <span class=\"text-sm\">Gu\u00eda de la Sesi\u00f3n (PDF)<\/span>\n                            <\/a>\n                            <a href=\"#\" class=\"flex items-center p-2 bg-white rounded-lg hover:shadow transition focus-visible\" aria-label=\"Descargar audio de meditaci\u00f3n\">\n                                <i class=\"fas fa-headphones text-blue-500 mr-2\" aria-hidden=\"true\"><\/i>\n                                <span class=\"text-sm\">Audio de Meditaci\u00f3n<\/span>\n                            <\/a>\n                            <a href=\"#\" class=\"flex items-center p-2 bg-white rounded-lg hover:shadow transition focus-visible\" aria-label=\"Descargar hoja de ejercicios\">\n                                <i class=\"fas fa-clipboard-list text-green-500 mr-2\" aria-hidden=\"true\"><\/i>\n                                <span class=\"text-sm\">Hoja de Ejercicios<\/span>\n                            <\/a>\n                        <\/div>\n                        <button onclick=\"downloadAllResources()\" class=\"w-full mt-3 bg-gradient-to-r from-amber-500 to-yellow-500 text-white py-2 rounded-lg text-sm font-semibold hover:from-amber-600 hover:to-yellow-600 transition shadow-md focus-visible\">\n                            <i class=\"fas fa-download mr-1\"><\/i> Descargar Todos\n                        <\/button>\n                    <\/div>\n\n                <\/div>\n            <\/div>\n        <\/section>\n\n        <!-- Resumen del Programa - 12 Sesiones -->\n        <section class=\"mt-16 mb-12 max-w-6xl mx-auto section-animate\" aria-labelledby=\"resumen-titulo\">\n            <div class=\"bg-gradient-to-r from-orange-50 to-amber-50 rounded-2xl shadow-xl p-8 border border-orange-200\">\n                <h2 id=\"resumen-titulo\" class=\"text-2xl font-bold text-gray-900 text-center mb-8\">Resumen de las 12 Sesiones para Manejo de Estr\u00e9s<\/h2>\n                \n                <div class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6\">\n                    <div class=\"bg-white rounded-xl p-6 shadow-lg\">\n                        <div class=\"flex items-center mb-4\">\n                            <div class=\"health-gradient p-3 rounded-full mr-3\" aria-hidden=\"true\">\n                                <span class=\"text-white font-bold\">1-3<\/span>\n                            <\/div>\n                            <h4 class=\"font-bold text-gray-800\">Fase 1: Evaluaci\u00f3n del Estr\u00e9s<\/h4>\n                        <\/div>\n                        <p class=\"text-sm text-gray-600 mb-3\">Sesiones 1-3: Identificaci\u00f3n de fuentes de estr\u00e9s, evaluaci\u00f3n inicial y establecimiento de metas.<\/p>\n                        <ul class=\"text-xs text-gray-500 space-y-1\">\n                            <li>\u2022 Evaluaci\u00f3n de niveles de estr\u00e9s<\/li>\n                            <li>\u2022 Identificaci\u00f3n de desencadenantes<\/li>\n                            <li>\u2022 Establecimiento de metas realistas<\/li>\n                        <\/ul>\n                    <\/div>\n                    \n                    <div class=\"bg-white rounded-xl p-6 shadow-lg\">\n                        <div class=\"flex items-center mb-4\">\n                            <div class=\"health-gradient p-3 rounded-full mr-3\" aria-hidden=\"true\">\n                                <span class=\"text-white font-bold\">4-6<\/span>\n                            <\/div>\n                            <h4 class=\"font-bold text-gray-800\">Fase 2: T\u00e9cnicas de Regulaci\u00f3n<\/h4>\n                        <\/div>\n                        <p class=\"text-sm text-gray-600 mb-3\">Sesiones 4-6: Aprendizaje de t\u00e9cnicas pr\u00e1cticas para regular el estr\u00e9s en tiempo real.<\/p>\n                        <ul class=\"text-xs text-gray-500 space-y-1\">\n                            <li>\u2022 Respiraci\u00f3n consciente<\/li>\n                            <li>\u2022 Mindfulness para estr\u00e9s<\/li>\n                            <li>\u2022 T\u00e9cnicas de grounding<\/li>\n                        <\/ul>\n                    <\/div>\n                    \n                    <div class=\"bg-white rounded-xl p-6 shadow-lg\">\n                        <div class=\"flex items-center mb-4\">\n                            <div class=\"health-gradient p-3 rounded-full mr-3\" aria-hidden=\"true\">\n                                <span class=\"text-white font-bold\">7-9<\/span>\n                            <\/div>\n                            <h4 class=\"font-bold text-gray-800\">Fase 3: Transformaci\u00f3n Cognitiva<\/h4>\n                        <\/div>\n                        <p class=\"text-sm text-gray-600 mb-3\">Sesiones 7-9: Cambio de patrones de pensamiento que generan estr\u00e9s.<\/p>\n                        <ul class=\"text-xs text-gray-500 space-y-1\">\n                            <li>\u2022 Identificaci\u00f3n de pensamientos estresantes<\/li>\n                            <li>\u2022 Reestructuraci\u00f3n cognitiva<\/li>\n                            <li>\u2022 Manejo de expectativas<\/li>\n                        <\/ul>\n                    <\/div>\n                <\/div>\n\n                <div class=\"mt-8 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6\">\n                    <div class=\"bg-white rounded-xl p-6 shadow-lg\">\n                        <div class=\"flex items-center mb-4\">\n                            <div class=\"health-gradient p-3 rounded-full mr-3\" aria-hidden=\"true\">\n                                <span class=\"text-white font-bold\">10-12<\/span>\n                            <\/div>\n                            <h4 class=\"font-bold text-gray-800\">Fase 4: Integraci\u00f3n y Prevenci\u00f3n<\/h4>\n                        <\/div>\n                        <p class=\"text-sm text-gray-600 mb-3\">Sesiones 10-12: Consolidaci\u00f3n de aprendizajes y prevenci\u00f3n de reca\u00eddas.<\/p>\n                        <ul class=\"text-xs text-gray-500 space-y-1\">\n                            <li>\u2022 Plan personalizado de manejo<\/li>\n                            <li>\u2022 Estrategias de prevenci\u00f3n<\/li>\n                            <li>\u2022 Mantenimiento a largo plazo<\/li>\n                        <\/ul>\n                    <\/div>\n                    \n                    <div class=\"bg-white rounded-xl p-6 shadow-lg md:col-span-2\">\n                        <div class=\"flex items-center mb-4\">\n                            <div class=\"health-gradient p-3 rounded-full mr-3\" aria-hidden=\"true\">\n                                <i class=\"fas fa-graduation-cap text-white\"><\/i>\n                            <\/div>\n                            <h4 class=\"font-bold text-gray-800\">Resultados Esperados en Manejo de Estr\u00e9s<\/h4>\n                        <\/div>\n                        <div class=\"grid grid-cols-2 md:grid-cols-3 gap-4\">\n                            <div class=\"text-center\">\n                                <div class=\"text-2xl font-bold text-orange-600\">85%<\/div>\n                                <div class=\"text-xs text-gray-600\">Reducci\u00f3n de s\u00edntomas de estr\u00e9s<\/div>\n                            <\/div>\n                            <div class=\"text-center\">\n                                <div class=\"text-2xl font-bold text-orange-600\">90%<\/div>\n                                <div class=\"text-xs text-gray-600\">Mejora en calidad de sue\u00f1o<\/div>\n                            <\/div>\n                            <div class=\"text-center\">\n                                <div class=\"text-2xl font-bold text-orange-600\">95%<\/div>\n                                <div class=\"text-xs text-gray-600\">Satisfacci\u00f3n con el programa<\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n                \n                <!-- Bot\u00f3n de contacto en secci\u00f3n principal -->\n                <div class=\"mt-10 text-center\">\n                    <button onclick=\"openContactModal()\" \n                            class=\"inline-flex items-center bg-gradient-to-r from-green-500 to-green-600 text-white font-bold py-4 px-8 rounded-xl shadow-lg hover:from-green-600 hover:to-green-700 transition transform hover:scale-105 focus-visible\">\n                        <i class=\"fab fa-whatsapp mr-3 text-xl\"><\/i>\n                        \u00bfTienes preguntas? Cont\u00e1ctanos para m\u00e1s informaci\u00f3n\n                    <\/button>\n                    <p class=\"text-sm text-gray-600 mt-3\">Resolvemos todas tus dudas sobre el programa de manejo de estr\u00e9s<\/p>\n                <\/div>\n            <\/div>\n        <\/section>\n\n        <!-- Calendario del Programa -->\n        <section class=\"mt-16 mb-12 max-w-6xl mx-auto section-animate\" aria-labelledby=\"calendario-titulo\">\n            <div class=\"bg-white rounded-2xl shadow-xl p-8 border border-orange-100\">\n                <h2 id=\"calendario-titulo\" class=\"text-2xl font-bold text-gray-900 text-center mb-8\">Calendario del Programa de 12 Sesiones<\/h2>\n                \n                <div class=\"overflow-x-auto\">\n                    <table class=\"w-full\">\n                        <thead>\n                            <tr class=\"bg-gradient-to-r from-orange-50 to-amber-50\">\n                                <th class=\"py-3 px-4 text-left text-sm font-semibold text-gray-700\">Sesi\u00f3n<\/th>\n                                <th class=\"py-3 px-4 text-left text-sm font-semibold text-gray-700\">Fase<\/th>\n                                <th class=\"py-3 px-4 text-left text-sm font-semibold text-gray-700\">T\u00edtulo<\/th>\n                                <th class=\"py-3 px-4 text-left text-sm font-semibold text-gray-700\">Duraci\u00f3n<\/th>\n                                <th class=\"py-3 px-4 text-left text-sm font-semibold text-gray-700\">Materiales<\/th>\n                            <\/tr>\n                        <\/thead>\n                        <tbody id=\"program-calendar\">\n                            <!-- Calendar rows will be generated by JS -->\n                        <\/tbody>\n                    <\/table>\n                <\/div>\n                \n                <div class=\"mt-8 text-center\">\n                    <button onclick=\"exportCalendar()\" class=\"inline-flex items-center bg-gradient-to-r from-orange-500 to-amber-500 text-white font-bold py-3 px-6 rounded-xl shadow-lg hover:from-orange-600 hover:to-amber-600 transition focus-visible mr-4\">\n                        <i class=\"fas fa-calendar-alt mr-2\"><\/i>\n                        Descargar Calendario (PDF)\n                    <\/button>\n                    <button onclick=\"openContactModal()\" class=\"inline-flex items-center bg-gradient-to-r from-green-500 to-green-600 text-white font-bold py-3 px-6 rounded-xl shadow-lg hover:from-green-600 hover:to-green-700 transition focus-visible\">\n                        <i class=\"fab fa-whatsapp mr-2\"><\/i>\n                        Consultar Disponibilidad\n                    <\/button>\n                <\/div>\n            <\/div>\n        <\/section>\n\n    <\/main>\n\n    <!-- Footer Actualizado -->\n    <footer class=\"bg-gradient-to-r from-stone-800 to-stone-900 text-stone-300 py-10 mt-12\">\n        <div class=\"max-w-7xl mx-auto px-4\">\n            <div class=\"grid grid-cols-1 md:grid-cols-4 gap-10\">\n                <div class=\"md:col-span-2\">\n                    <div class=\"flex items-center mb-5\">\n                        <div class=\"health-gradient p-2 rounded-lg mr-4\" aria-hidden=\"true\">\n                            <i class=\"fas fa-brain text-white\"><\/i>\n                        <\/div>\n                        <div>\n                            <h3 class=\"text-xl font-bold text-white\">Psicodominicana<\/h3>\n                            <p class=\"text-sm text-orange-200\">Programa de 12 Sesiones &#8211; Manejo del Estr\u00e9s<\/p>\n                        <\/div>\n                    <\/div>\n                    <p class=\"text-sm mb-6 max-w-lg\">Programa terap\u00e9utico especializado en manejo de estr\u00e9s, dise\u00f1ado para reducir la ansiedad y mejorar la calidad de vida. M\u00e9todo validado cient\u00edficamente.<\/p>\n                    <p class=\"text-xs text-stone-400\">Coordinaci\u00f3n cl\u00ednica: <span class=\"text-orange-300\">Miguel Mart\u00ednez, Psic\u00f3logo Cl\u00ednico<\/span><\/p>\n                <\/div>\n                \n                <div>\n                    <h4 class=\"text-lg font-semibold text-white mb-5\">Programas Especializados<\/h4>\n                    <ul class=\"space-y-3 text-sm\">\n                        <li><a href=\"#\" class=\"hover:text-orange-300 transition flex items-center focus-visible\" aria-label=\"Programa de 12 sesiones para manejo de estr\u00e9s\">\n                            <i class=\"fas fa-calendar-alt mr-2 text-orange-400\"><\/i> 12 Sesiones &#8211; Manejo de Estr\u00e9s\n                        <\/a><\/li>\n                        <li><a href=\"#\" class=\"hover:text-orange-300 transition flex items-center focus-visible\" aria-label=\"Programa de 8 sesiones para ansiedad\">\n                            <i class=\"fas fa-fire mr-2 text-orange-400\"><\/i> 8 Sesiones &#8211; Ansiedad\n                        <\/a><\/li>\n                        <li><a href=\"#\" class=\"hover:text-orange-300 transition flex items-center focus-visible\" aria-label=\"Programa de 10 sesiones para autoestima\">\n                            <i class=\"fas fa-heart mr-2 text-orange-400\"><\/i> 10 Sesiones &#8211; Autoestima\n                        <\/a><\/li>\n                        <li><a href=\"#\" class=\"hover:text-orange-300 transition flex items-center focus-visible\" aria-label=\"Terapia individual\">\n                            <i class=\"fas fa-users mr-2 text-orange-400\"><\/i> Terapia Individual\n                        <\/a><\/li>\n                    <\/ul>\n                <\/div>\n                \n                <div>\n                    <h4 class=\"text-lg font-semibold text-white mb-5\">Inscripci\u00f3n al Programa<\/h4>\n                    <a href=\"https:\/\/psicodominicana.com\" target=\"_blank\" class=\"inline-flex items-center text-orange-300 hover:text-orange-100 font-medium mb-4 focus-visible\" aria-label=\"Visitar sitio web de Psicodominicana\">\n                        <i class=\"fas fa-external-link-alt mr-2\"><\/i> psicodominicana.com\/estres\n                    <\/a>\n                    <p class=\"text-sm mb-4\">Agenda tu evaluaci\u00f3n inicial gratuita para el programa de manejo de estr\u00e9s<\/p>\n                    <div class=\"flex space-x-3\">\n                        <button onclick=\"openContactModal()\" class=\"bg-stone-700 hover:bg-green-600 p-3 rounded-lg transition transform hover:-translate-y-1 focus-visible\" aria-label=\"Contactar por WhatsApp\">\n                            <i class=\"fab fa-whatsapp\"><\/i>\n                        <\/button>\n                        <a href=\"mailto:info@psicodominicana.com\" class=\"bg-stone-700 hover:bg-orange-600 p-3 rounded-lg transition transform hover:-translate-y-1 focus-visible\" aria-label=\"Enviar correo electr\u00f3nico\">\n                            <i class=\"fas fa-envelope\"><\/i>\n                        <\/a>\n                        <a href=\"#\" class=\"bg-stone-700 hover:bg-amber-700 p-3 rounded-lg transition transform hover:-translate-y-1 focus-visible\" aria-label=\"Seguir en Instagram\">\n                            <i class=\"fab fa-instagram\"><\/i>\n                        <\/a>\n                    <\/div>\n                <\/div>\n            <\/div>\n            \n            <div class=\"border-t border-stone-700 mt-10 pt-8 text-center text-sm text-stone-500\">\n                <p class=\"mb-3\">\u00ab12 sesiones para transformar tu relaci\u00f3n con el estr\u00e9s y recuperar el control de tu bienestar emocional.\u00bb<\/p>\n                <p>\u00a9 2024 Psicodominicana. Programa especializado en manejo de estr\u00e9s. Certificaci\u00f3n al completar el programa.<\/p>\n            <\/div>\n        <\/div>\n    <\/footer>\n\n    <!-- Modal de Contacto - NUEVO -->\n    <div id=\"contactModal\" class=\"modal-overlay\" role=\"dialog\" aria-labelledby=\"modalTitle\" aria-modal=\"true\">\n        <div class=\"modal-content relative\">\n            <button class=\"modal-close\" onclick=\"closeContactModal()\" aria-label=\"Cerrar modal\">&times;<\/button>\n            <h3 id=\"modalTitle\" class=\"text-2xl font-bold text-gray-800 mb-4\">Contactar para Informaci\u00f3n<\/h3>\n            <div class=\"health-gradient text-white p-5 rounded-full inline-block mb-6\">\n                <i class=\"fas fa-headset text-3xl\"><\/i>\n            <\/div>\n            <p class=\"text-gray-600 mb-6\">\u00bfTienes preguntas sobre el programa de manejo de estr\u00e9s? Estamos aqu\u00ed para ayudarte.<\/p>\n            \n            <div class=\"space-y-4 mb-8\">\n                <div class=\"bg-green-50 p-4 rounded-lg\">\n                    <h4 class=\"font-bold text-green-800 mb-2 flex items-center\">\n                        <i class=\"fab fa-whatsapp text-green-600 mr-2\"><\/i> WhatsApp R\u00e1pido\n                    <\/h4>\n                    <p class=\"text-sm text-gray-700 mb-3\">Respuesta inmediata para resolver tus dudas<\/p>\n                    <a href=\"https:\/\/wa.link\/w3dnnk\" target=\"_blank\" onclick=\"window.open(this.href, &#039;popup&#039;, &#039;width=600,height=600&#039;); return false;\" class=\"inline-flex items-center bg-gradient-to-r from-green-500 to-green-600 text-white font-bold py-3 px-6 rounded-lg shadow hover:from-green-600 hover:to-green-700 transition focus-visible\" rel=\"nofollow noopener\">\n                        <i class=\"fab fa-whatsapp mr-2 text-xl\"><\/i>\n                        Abrir WhatsApp\n                    <\/a>\n                <\/div>\n                \n                <div class=\"bg-orange-50 p-4 rounded-lg\">\n                    <h4 class=\"font-bold text-orange-800 mb-2 flex items-center\">\n                        <i class=\"fas fa-phone-alt text-orange-600 mr-2\"><\/i> Otras Opciones\n                    <\/h4>\n                    <ul class=\"text-sm text-gray-700 space-y-2\">\n                        <li><i class=\"fas fa-envelope text-orange-500 mr-2\"><\/i> info@psicodominicana.com<\/li>\n                        <li><i class=\"fas fa-globe text-orange-500 mr-2\"><\/i> psicodominicana.com<\/li>\n                    <\/ul>\n                <\/div>\n            <\/div>\n            \n            <button onclick=\"closeContactModal()\" class=\"w-full bg-gray-200 hover:bg-gray-300 text-gray-800 font-bold py-3 px-6 rounded-lg transition focus-visible\">\n                Cerrar\n            <\/button>\n        <\/div>\n    <\/div>\n\n    <!-- JavaScript Logic para 12 Sesiones -->\n    <script>\n        \/\/ Data Store - Programa Terap\u00e9utico de 12 Sesiones para MANEJO DE ESTR\u00c9S\n        const programData = [\n            {\n                id: 1,\n                title: \"Fase 1: Evaluaci\u00f3n y Conciencia del Estr\u00e9s\",\n                subtitle: \"Sesiones 1-3 | Identificando el Estr\u00e9s\",\n                description: \"En esta fase inicial, realizamos una evaluaci\u00f3n integral de tus niveles de estr\u00e9s, identificamos las principales fuentes y desarrollamos conciencia sobre c\u00f3mo el estr\u00e9s afecta tu vida diaria. Establecemos una l\u00ednea base para medir el progreso.\",\n                sessions: [\n                    {\n                        num: 1,\n                        title: \"Evaluaci\u00f3n Inicial del Estr\u00e9s\",\n                        focus: \"Identificaci\u00f3n de s\u00edntomas f\u00edsicos y emocionales del estr\u00e9s, evaluaci\u00f3n de impacto en la vida diaria.\",\n                        practice: \"Registro diario de s\u00edntomas de estr\u00e9s y situaciones desencadenantes.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Evaluaci\u00f3n\", \"Audio\", \"Registro Diario\"]\n                    },\n                    {\n                        num: 2,\n                        title: \"Psicoeducaci\u00f3n sobre el Estr\u00e9s\",\n                        focus: \"Comprensi\u00f3n del mecanismo del estr\u00e9s desde la neurociencia, efectos en cuerpo y mente.\",\n                        practice: \"Ejercicio de identificaci\u00f3n de respuestas autom\u00e1ticas al estr\u00e9s.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Teor\u00eda\", \"Infograf\u00eda\", \"Video Educativo\"]\n                    },\n                    {\n                        num: 3,\n                        title: \"Establecimiento de Metas Realistas\",\n                        focus: \"Definici\u00f3n de objetivos espec\u00edficos para manejo de estr\u00e9s, identificaci\u00f3n de recursos personales.\",\n                        practice: \"Creaci\u00f3n de plan personalizado de reducci\u00f3n de estr\u00e9s con metas SMART.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Objetivos\", \"Plantilla\", \"Checklist\"]\n                    }\n                ],\n                toolType: \"evaluacion\",\n                chartFocus: { estres: [85, 80, 78], bienestar: [15, 20, 22] }\n            },\n            {\n                id: 2,\n                title: \"Fase 2: T\u00e9cnicas de Regulaci\u00f3n Inmediata\",\n                subtitle: \"Sesiones 4-6 | Herramientas Pr\u00e1cticas\",\n                description: \"Aprendemos t\u00e9cnicas espec\u00edficas para reducir el estr\u00e9s en el momento en que aparece. Desarrollamos un kit de herramientas pr\u00e1cticas que puedes usar en situaciones estresantes del d\u00eda a d\u00eda.\",\n                sessions: [\n                    {\n                        num: 4,\n                        title: \"Respiraci\u00f3n para Reducci\u00f3n de Estr\u00e9s\",\n                        focus: \"T\u00e9cnicas de respiraci\u00f3n diafragm\u00e1tica y coherencia cardiaca para activar la respuesta de relajaci\u00f3n.\",\n                        practice: \"Pr\u00e1ctica diaria de 5 minutos de respiraci\u00f3n consciente con registro de efectos.\",\n                        duration: \"60 min\",\n                        materials: [\"Audio Guiado\", \"PDF T\u00e9cnicas\", \"Recordatorio\"]\n                    },\n                    {\n                        num: 5,\n                        title: \"Mindfulness para el Estr\u00e9s Cotidiano\",\n                        focus: \"Atenci\u00f3n plena aplicada a situaciones estresantes, meditaciones breves para el d\u00eda a d\u00eda.\",\n                        practice: \"Meditaci\u00f3n guiada de 10 minutos diarios enfocada en reducir la reactividad al estr\u00e9s.\",\n                        duration: \"60 min\",\n                        materials: [\"Audio Meditaci\u00f3n\", \"PDF Mindfulness\", \"App Recomendaciones\"]\n                    },\n                    {\n                        num: 6,\n                        title: \"T\u00e9cnicas de Grounding y Anclaje\",\n                        focus: \"M\u00e9todos para mantenerse presente durante episodios de estr\u00e9s intenso, t\u00e9cnicas sensoriales.\",\n                        practice: \"Ejercicio de anclaje en los cinco sentidos durante situaciones estresantes.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Grounding\", \"Audio Guiado\", \"Tarjetas de Recordatorio\"]\n                    }\n                ],\n                toolType: \"regulacion\",\n                chartFocus: { estres: [75, 68, 62], bienestar: [25, 32, 38] }\n            },\n            {\n                id: 3,\n                title: \"Fase 3: Transformaci\u00f3n de Patrones\",\n                subtitle: \"Sesiones 7-9 | Cambiando H\u00e1bitos\",\n                description: \"Trabajamos en la identificaci\u00f3n y transformaci\u00f3n de patrones de pensamiento y comportamiento que generan estr\u00e9s. Desarrollamos habilidades para manejar pensamientos autom\u00e1ticos y creencias limitantes.\",\n                sessions: [\n                    {\n                        num: 7,\n                        title: \"Identificaci\u00f3n de Pensamientos Estresantes\",\n                        focus: \"Reconocimiento de pensamientos autom\u00e1ticos que generan estr\u00e9s, conexi\u00f3n pensamiento-emoci\u00f3n.\",\n                        practice: \"Registro de pensamientos diarios con identificaci\u00f3n de patrones estresantes.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Pensamientos\", \"Registro\", \"Ejemplos\"]\n                    },\n                    {\n                        num: 8,\n                        title: \"Reestructuraci\u00f3n Cognitiva Aplicada\",\n                        focus: \"T\u00e9cnicas para cuestionar pensamientos estresantes y generar alternativas m\u00e1s realistas.\",\n                        practice: \"Hoja de reestructuraci\u00f3n cognitiva aplicada a situaciones espec\u00edficas de estr\u00e9s.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Reestructuraci\u00f3n\", \"Plantilla\", \"Gu\u00eda Paso a Paso\"]\n                    },\n                    {\n                        num: 9,\n                        title: \"Manejo de Expectativas y Perfeccionismo\",\n                        focus: \"Trabajo con expectativas irrealistas y perfeccionismo como fuentes de estr\u00e9s.\",\n                        practice: \"Ejercicio de ajuste de expectativas y aceptaci\u00f3n de imperfecciones.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Expectativas\", \"Audio\", \"Ejercicios Pr\u00e1cticos\"]\n                    }\n                ],\n                toolType: \"reestructuracion\",\n                chartFocus: { estres: [58, 52, 47], bienestar: [42, 48, 53] }\n            },\n            {\n                id: 4,\n                title: \"Fase 4: Integraci\u00f3n y Mantenimiento\",\n                subtitle: \"Sesiones 10-12 | Sosteniendo el Cambio\",\n                description: \"Integramos todas las herramientas aprendidas en un plan personalizado de mantenimiento. Desarrollamos estrategias para prevenir reca\u00eddas y consolidamos los cambios logrados para garantizar resultados sostenibles a largo plazo.\",\n                sessions: [\n                    {\n                        num: 10,\n                        title: \"Creaci\u00f3n de Rutina Anti-Estr\u00e9s\",\n                        focus: \"Dise\u00f1o de rutina personalizada que integra las t\u00e9cnicas m\u00e1s efectivas para cada persona.\",\n                        practice: \"Desarrollo de plan semanal personalizado de pr\u00e1cticas anti-estr\u00e9s.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Integraci\u00f3n\", \"Planificador\", \"Checklist\"]\n                    },\n                    {\n                        num: 11,\n                        title: \"Prevenci\u00f3n de Reca\u00eddas en el Estr\u00e9s\",\n                        focus: \"Identificaci\u00f3n de se\u00f1ales de alerta temprana y desarrollo de plan de acci\u00f3n para momentos dif\u00edciles.\",\n                        practice: \"Elaboraci\u00f3n de plan de prevenci\u00f3n de reca\u00eddas con estrategias espec\u00edficas.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Prevenci\u00f3n\", \"Plan de Acci\u00f3n\", \"Recursos de Apoyo\"]\n                    },\n                    {\n                        num: 12,\n                        title: \"Cierre y Proyecci\u00f3n Futura\",\n                        focus: \"Evaluaci\u00f3n de progreso, celebraci\u00f3n de logros y establecimiento de metas de mantenimiento a largo plazo.\",\n                        practice: \"Ejercicio de reflexi\u00f3n sobre el camino recorrido y compromiso con la pr\u00e1ctica continua.\",\n                        duration: \"60 min\",\n                        materials: [\"PDF Cierre\", \"Certificado\", \"Plan de Mantenimiento\"]\n                    }\n                ],\n                toolType: \"integracion\",\n                chartFocus: { estres: [42, 35, 28], bienestar: [58, 65, 72] }\n            }\n        ];\n\n        let currentPhaseIndex = 0;\n        let currentSessionIndex = 0;\n        let myChart = null;\n        let sessionTimer = null;\n        let completedSessions = new Set();\n\n        \/\/ --- Initialization ---\n        document.addEventListener('DOMContentLoaded', () => {\n            initNav();\n            renderPhase(0);\n            initChart();\n            initProgressTracker();\n            renderCalendar();\n            addScrollAnimations();\n            setupAccessibility();\n        });\n\n        \/\/ --- Funciones del Modal de Contacto ---\n        function openContactModal() {\n            const modal = document.getElementById('contactModal');\n            modal.style.display = 'flex';\n            document.body.style.overflow = 'hidden';\n            \n            \/\/ Enfocar el primer elemento del modal para accesibilidad\n            setTimeout(() => {\n                const closeBtn = modal.querySelector('.modal-close');\n                if (closeBtn) closeBtn.focus();\n            }, 100);\n        }\n\n        function closeContactModal() {\n            const modal = document.getElementById('contactModal');\n            modal.style.display = 'none';\n            document.body.style.overflow = 'auto';\n        }\n\n        \/\/ Cerrar modal con ESC\n        document.addEventListener('keydown', (e) => {\n            if (e.key === 'Escape') {\n                closeContactModal();\n            }\n        });\n\n        \/\/ --- Navigation Logic ---\n        function initNav() {\n            const nav = document.getElementById('phase-nav');\n            nav.innerHTML = programData.map((phase, index) => `\n                <button onclick=\"changePhase(${index})\" \n                    class=\"phase-btn w-full text-left p-4 rounded-lg transition-all duration-300 hover:bg-orange-50 border-l-4 border-transparent flex items-center justify-between group ${index === 0 ? 'active' : ''} focus-visible\" \n                    id=\"btn-phase-${index}\"\n                    aria-label=\"Ver ${phase.title}\">\n                    <div>\n                        <span class=\"text-xs font-bold uppercase text-orange-400 block mb-1 group-hover:text-orange-500\">Fase ${phase.id}<\/span>\n                        <span class=\"text-sm font-medium text-gray-700 group-hover:text-orange-700\">${phase.title.split(':')[1]}<\/span>\n                        <span class=\"text-xs text-gray-400 block mt-1\">Sesiones ${phase.id*3-2}-${phase.id*3}<\/span>\n                    <\/div>\n                    <i class=\"fas fa-chevron-right text-orange-300 text-xs group-hover:text-orange-500\" aria-hidden=\"true\"><\/i>\n                <\/button>\n            `).join('');\n        }\n\n        function changePhase(index) {\n            currentPhaseIndex = index;\n            \n            \/\/ Update Nav Styles\n            document.querySelectorAll('.phase-btn').forEach(btn => btn.classList.remove('active'));\n            document.getElementById(`btn-phase-${index}`).classList.add('active');\n\n            \/\/ Render Content\n            renderPhase(index);\n            renderTool(programData[index].toolType);\n            \n            \/\/ Update Chart Highlight\n            updateChartHighlight(index);\n            \n            \/\/ Scroll to content on mobile\n            if (window.innerWidth < 1024) {\n                document.getElementById('phase-content').scrollIntoView({ behavior: 'smooth' });\n            }\n        }\n\n        \/\/ --- Content Rendering ---\n        function renderPhase(index) {\n            const data = programData[index];\n            const container = document.getElementById('phase-content');\n            \n            \/\/ Update current session display\n            document.getElementById('current-session-display').textContent = `Sesi\u00f3n ${data.sessions[0].num}`;\n            \n            container.innerHTML = `\n                <div class=\"border-b pb-4 mb-6 border-orange-100\">\n                    <div class=\"flex flex-wrap items-center justify-between\">\n                        <div>\n                            <span class=\"inline-block px-3 py-1 bg-gradient-to-r from-orange-100 to-amber-100 text-orange-800 rounded-full text-xs font-bold mb-2 uppercase tracking-wide\">\n                                Sesiones ${data.id*3-2}-${data.id*3} de 12\n                            <\/span>\n                            <h2 class=\"text-2xl font-bold text-gray-800\">${data.title}<\/h2>\n                            <p class=\"text-orange-500 mt-1 italic\">${data.subtitle}<\/p>\n                        <\/div>\n                        <div class=\"mt-2 md:mt-0\">\n                            <span class=\"inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-orange-100 text-orange-800\">\n                                <i class=\"fas fa-clock mr-1\" aria-hidden=\"true\"><\/i> 3 sesiones \u00d7 60 min\n                            <\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n                \n                <div class=\"bg-gradient-to-r from-orange-50 to-amber-50 p-5 rounded-xl border-l-4 border-orange-400 mb-8 shadow-sm\">\n                    <div class=\"flex items-start\">\n                        <i class=\"fas fa-bullseye text-orange-500 mt-1 mr-3 text-xl\" aria-hidden=\"true\"><\/i>\n                        <div>\n                            <h3 class=\"font-bold text-orange-800 mb-2 text-lg\">Objetivos de esta Fase<\/h3>\n                            <p class=\"text-sm text-orange-900 leading-relaxed\">${data.description}<\/p>\n                            <p class=\"text-xs text-orange-700 mt-3 italic flex items-center\">\n                                <i class=\"fas fa-chart-line mr-2\" aria-hidden=\"true\"><\/i> Progreso esperado: Reducci\u00f3n del ${Math.round((data.chartFocus.estres[0] - data.chartFocus.estres[2])\/data.chartFocus.estres[0]*100)}% en niveles de estr\u00e9s\n                            <\/p>\n                        <\/div>\n                    <\/div>\n                <\/div>\n\n                <div class=\"space-y-6\">\n                    <div class=\"flex items-center justify-between\">\n                        <h3 class=\"text-lg font-bold text-gray-800 flex items-center\">\n                            <i class=\"fas fa-tasks text-orange-500 mr-2\" aria-hidden=\"true\"><\/i> Sesiones de esta Fase\n                        <\/h3>\n                        <span class=\"text-sm text-orange-600 font-medium\">${data.sessions.length} sesiones especializadas<\/span>\n                    <\/div>\n                    \n                    <div class=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5\">\n                        ${data.sessions.map((session, sessionIndex) => {\n                            const isCompleted = completedSessions.has(session.num);\n                            return `\n                            <div class=\"session-card bg-white border ${isCompleted ? 'border-green-200' : 'border-orange-100'} rounded-xl p-5 hover:shadow-lg transition-all duration-300\">\n                                <div class=\"flex justify-between items-start mb-4\">\n                                    <div>\n                                        <div class=\"inline-flex items-center px-3 py-1 ${isCompleted ? 'bg-green-100 text-green-800' : 'bg-orange-50 text-orange-700'} rounded-full text-xs font-bold mb-2\">\n                                            <i class=\"fas ${isCompleted ? 'fa-check-circle' : 'fa-clock'} mr-1\" aria-hidden=\"true\"><\/i> Sesi\u00f3n ${session.num}\n                                        <\/div>\n                                        <h4 class=\"font-bold text-gray-800 text-lg mb-2\">${session.title}<\/h4>\n                                    <\/div>\n                                    <div class=\"bg-gradient-to-r from-orange-100 to-amber-100 p-2 rounded-lg\">\n                                        <i class=\"fas ${getSessionIcon(session.num)} text-orange-500\" aria-hidden=\"true\"><\/i>\n                                    <\/div>\n                                <\/div>\n                                <div class=\"space-y-4 text-sm\">\n                                    <div>\n                                        <span class=\"font-bold text-gray-500 text-xs uppercase block mb-1\">Enfoque Principal:<\/span>\n                                        <span class=\"text-gray-700\">${session.focus}<\/span>\n                                    <\/div>\n                                    <div class=\"bg-gradient-to-r from-amber-50 to-yellow-50 p-4 rounded-lg border border-amber-100\">\n                                        <span class=\"font-bold text-amber-700 text-xs uppercase block mb-2 flex items-center\">\n                                            <i class=\"fas fa-hands-helping mr-2\" aria-hidden=\"true\"><\/i>Pr\u00e1ctica Clave:\n                                        <\/span>\n                                        <span class=\"text-gray-700 italic\">${session.practice}<\/span>\n                                    <\/div>\n                                    <div class=\"flex items-center justify-between pt-2 border-t border-gray-100\">\n                                        <span class=\"text-xs text-gray-500\">\n                                            <i class=\"fas fa-clock mr-1\" aria-hidden=\"true\"><\/i> ${session.duration}\n                                        <\/span>\n                                        <span class=\"text-xs text-gray-500\">\n                                            <i class=\"fas fa-file-alt mr-1\" aria-hidden=\"true\"><\/i> ${session.materials.length} materiales\n                                        <\/span>\n                                        <button onclick=\"toggleSessionComplete(${session.num})\" class=\"text-xs ${isCompleted ? 'text-green-600 hover:text-green-800' : 'text-orange-600 hover:text-orange-800'} focus-visible\">\n                                            <i class=\"fas ${isCompleted ? 'fa-undo' : 'fa-check'} mr-1\" aria-hidden=\"true\"><\/i> ${isCompleted ? 'Desmarcar' : 'Completar'}\n                                        <\/button>\n                                    <\/div>\n                                <\/div>\n                            <\/div>\n                            `;\n                        }).join('')}\n                    <\/div>\n                <\/div>\n                \n                <!-- Bot\u00f3n de contacto dentro de cada fase -->\n                <div class=\"mt-10 pt-6 border-t border-orange-100 text-center\">\n                    <button onclick=\"openContactModal()\" \n                            class=\"inline-flex items-center bg-gradient-to-r from-green-500 to-green-600 text-white font-bold py-3 px-6 rounded-lg shadow hover:from-green-600 hover:to-green-700 transition focus-visible\">\n                        <i class=\"fab fa-whatsapp mr-2\"><\/i> \u00bfDudas sobre esta fase? Cont\u00e1ctanos\n                    <\/button>\n                <\/div>\n            `;\n        }\n\n        function getSessionIcon(sessionNum) {\n            const icons = [\n                'fa-clipboard-check', 'fa-brain', 'fa-bullseye',\n                'fa-wind', 'fa-spa', 'fa-heartbeat',\n                'fa-lightbulb', 'fa-exchange-alt', 'fa-hands',\n                'fa-puzzle-piece', 'fa-shield-alt', 'fa-graduation-cap'\n            ];\n            return icons[sessionNum - 1] || 'fa-circle';\n        }\n\n        \/\/ --- Progress Tracker Functions ---\n        function initProgressTracker() {\n            const dotsContainer = document.getElementById('session-dots');\n            dotsContainer.innerHTML = '';\n            \n            for (let i = 1; i <= 12; i++) {\n                const isCompleted = completedSessions.has(i);\n                dotsContainer.innerHTML += `\n                    <div class=\"progress-step ${isCompleted ? 'health-gradient text-white' : 'bg-gray-200 text-gray-400'}\" \n                         aria-label=\"${isCompleted ? 'Sesi\u00f3n ' + i + ' completada' : 'Sesi\u00f3n ' + i + ' pendiente'}\">\n                        ${i}\n                    <\/div>\n                `;\n            }\n            \n            updateProgress();\n        }\n\n        function toggleSessionComplete(sessionNum) {\n            if (completedSessions.has(sessionNum)) {\n                completedSessions.delete(sessionNum);\n            } else {\n                completedSessions.add(sessionNum);\n            }\n            \n            initProgressTracker();\n            renderPhase(currentPhaseIndex);\n        }\n\n        function markSessionComplete() {\n            const currentPhase = programData[currentPhaseIndex];\n            const nextSession = currentPhase.sessions.find(s => !completedSessions.has(s.num));\n            \n            if (nextSession) {\n                completedSessions.add(nextSession.num);\n                initProgressTracker();\n                renderPhase(currentPhaseIndex);\n                \n                \/\/ Show completion message\n                alert(`\u00a1Sesi\u00f3n ${nextSession.num} marcada como completada! Has avanzado al ${Math.round((completedSessions.size \/ 12) * 100)}% del programa.`);\n            } else {\n                alert(\"\u00a1Todas las sesiones de esta fase est\u00e1n completadas! Avanza a la siguiente fase.\");\n            }\n        }\n\n        function updateProgress() {\n            const progress = (completedSessions.size \/ 12) * 100;\n            document.getElementById('progress-bar').style.width = `${progress}%`;\n            document.getElementById('progress-percentage').textContent = `${Math.round(progress)}%`;\n            document.getElementById('completed-sessions').textContent = `${completedSessions.size}\/12`;\n        }\n\n        \/\/ --- Interactive Tools Rendering ---\n        function renderTool(type) {\n            const container = document.getElementById('interactive-lab');\n            let content = '';\n\n            if (type === 'evaluacion') {\n                content = `\n                    <div class=\"text-center mb-4\">\n                        <div class=\"inline-block bg-white p-3 rounded-full shadow-lg mb-2\" aria-hidden=\"true\">\n                            <i class=\"fas fa-clipboard-check text-orange-500 text-2xl\"><\/i>\n                        <\/div>\n                        <h4 class=\"font-bold text-orange-800\">Evaluaci\u00f3n de Estr\u00e9s<\/h4>\n                        <p class=\"text-xs text-orange-600\">Mide tu nivel actual de estr\u00e9s<\/p>\n                    <\/div>\n                    <div class=\"space-y-3\">\n                        <div>\n                            <label for=\"stress-level\" class=\"text-xs font-medium text-gray-700\">Nivel de estr\u00e9s actual (1-10)<\/label>\n                            <input type=\"range\" min=\"1\" max=\"10\" value=\"5\" class=\"w-full h-2 bg-orange-100 rounded-lg focus-visible\" id=\"stress-level\">\n                            <div class=\"flex justify-between text-xs text-gray-500 mt-1\">\n                                <span>Bajo<\/span>\n                                <span id=\"stress-value\">5<\/span>\n                                <span>Alto<\/span>\n                            <\/div>\n                        <\/div>\n                        <div>\n                            <label for=\"stress-area\" class=\"text-xs font-medium text-gray-700\">\u00c1rea de mayor estr\u00e9s<\/label>\n                            <select id=\"stress-area\" class=\"w-full p-2 text-sm border border-orange-200 rounded-lg bg-white text-gray-600 focus-visible\">\n                                <option value=\"trabajo\">Trabajo\/Estudio<\/option>\n                                <option value=\"relaciones\">Relaciones personales<\/option>\n                                <option value=\"salud\">Salud f\u00edsica<\/option>\n                                <option value=\"finanzas\">Finanzas<\/option>\n                                <option value=\"otro\">Otro<\/option>\n                            <\/select>\n                        <\/div>\n                        <button onclick=\"saveEvaluation()\" class=\"w-full bg-gradient-to-r from-orange-600 to-amber-600 text-white py-2 rounded-lg text-sm font-semibold hover:from-orange-700 hover:to-amber-700 transition shadow-md focus-visible\">\n                            <i class=\"fas fa-save mr-1\"><\/i> Guardar Evaluaci\u00f3n\n                        <\/button>\n                    <\/div>\n                `;\n                \/\/ Add event listener for stress level slider\n                setTimeout(() => {\n                    const slider = document.getElementById('stress-level');\n                    const valueDisplay = document.getElementById('stress-value');\n                    if (slider) {\n                        slider.addEventListener('input', (e) => {\n                            valueDisplay.textContent = e.target.value;\n                        });\n                    }\n                }, 100);\n            } else if (type === 'regulacion') {\n                content = `\n                    <div class=\"text-center mb-4\">\n                        <div class=\"inline-block bg-gradient-to-r from-orange-100 to-amber-100 p-3 rounded-full shadow-lg mb-2\" aria-hidden=\"true\">\n                            <i class=\"fas fa-wind text-orange-500 text-2xl\"><\/i>\n                        <\/div>\n                        <h4 class=\"font-bold text-orange-800\">Respiraci\u00f3n Anti-Estr\u00e9s<\/h4>\n                        <p class=\"text-xs text-orange-600\">T\u00e9cnica 4-7-8 para calmar la mente<\/p>\n                    <\/div>\n                    <div class=\"flex flex-col items-center space-y-3 text-xs\">\n                        <div id=\"breathing-circle\" class=\"w-24 h-24 bg-gradient-to-r from-orange-100 to-amber-100 rounded-full flex items-center justify-center border-4 border-orange-200 pulse-gentle\">\n                            <span class=\"text-2xl font-bold text-orange-700\" id=\"breath-count\">4<\/span>\n                        <\/div>\n                        <div id=\"breath-instruction\" class=\"text-center text-sm font-medium text-orange-700\">INHALA<\/div>\n                        <div class=\"flex space-x-4\">\n                            <div class=\"text-center\">\n                                <div class=\"bg-white px-3 py-1 rounded-lg border border-orange-200\">\n                                    <span class=\"font-bold text-orange-700\">4<\/span>\n                                <\/div>\n                                <div class=\"text-xs text-orange-600 mt-1\">Inhala<\/div>\n                            <\/div>\n                            <div class=\"text-center\">\n                                <div class=\"bg-white px-3 py-1 rounded-lg border border-orange-200\">\n                                    <span class=\"font-bold text-orange-700\">7<\/span>\n                                <\/div>\n                                <div class=\"text-xs text-orange-600 mt-1\">Mant\u00e9n<\/div>\n                            <\/div>\n                            <div class=\"text-center\">\n                                <div class=\"bg-white px-3 py-1 rounded-lg border border-orange-200\">\n                                    <span class=\"font-bold text-orange-700\">8<\/span>\n                                <\/div>\n                                <div class=\"text-xs text-orange-600 mt-1\">Exhala<\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    <button onclick=\"startBreathingExercise()\" class=\"w-full bg-gradient-to-r from-orange-500 to-amber-500 text-white py-2 rounded-lg text-sm font-semibold hover:from-orange-600 hover:to-amber-600 transition shadow-md mt-4 focus-visible\">\n                        <i class=\"fas fa-play-circle mr-1\"><\/i> Iniciar Ejercicio (3 ciclos)\n                    <\/button>\n                `;\n            } else if (type === 'reestructuracion') {\n                content = `\n                    <div class=\"text-center mb-4\">\n                        <div class=\"inline-block bg-gradient-to-r from-amber-100 to-yellow-100 p-3 rounded-full shadow-lg mb-2\" aria-hidden=\"true\">\n                            <i class=\"fas fa-lightbulb text-amber-500 text-2xl\"><\/i>\n                        <\/div>\n                        <h4 class=\"font-bold text-amber-800\">Reestructuraci\u00f3n de Pensamientos<\/h4>\n                        <p class=\"text-xs text-amber-600\">Transforma pensamientos estresantes<\/p>\n                    <\/div>\n                    <div class=\"space-y-3 text-sm\">\n                        <div class=\"bg-amber-50 p-3 rounded-lg\">\n                            <label for=\"negative-thought\" class=\"font-medium text-amber-700\">Pensamiento estresante<\/label>\n                            <textarea id=\"negative-thought\" class=\"w-full p-2 text-sm border border-amber-200 rounded mt-1 focus-visible\" rows=\"2\" placeholder=\"Ej: 'Nunca voy a terminar a tiempo...'\"><\/textarea>\n                        <\/div>\n                        <div class=\"bg-white p-3 rounded-lg border border-amber-100\">\n                            <label for=\"evidence-for\" class=\"font-medium text-amber-700\">Evidencia a favor<\/label>\n                            <textarea id=\"evidence-for\" class=\"w-full p-2 text-sm border border-amber-200 rounded mt-1 focus-visible\" rows=\"1\"><\/textarea>\n                        <\/div>\n                        <div class=\"bg-white p-3 rounded-lg border border-amber-100\">\n                            <label for=\"evidence-against\" class=\"font-medium text-amber-700\">Evidencia en contra<\/label>\n                            <textarea id=\"evidence-against\" class=\"w-full p-2 text-sm border border-amber-200 rounded mt-1 focus-visible\" rows=\"1\" placeholder=\"Ej: 'Siempre he cumplido plazos antes...'\"><\/textarea>\n                        <\/div>\n                        <button onclick=\"restructureThought()\" class=\"w-full bg-gradient-to-r from-amber-500 to-yellow-500 text-white py-2 rounded-lg text-sm font-semibold hover:from-amber-600 hover:to-yellow-600 transition shadow-md focus-visible\">\n                            <i class=\"fas fa-exchange-alt mr-1\"><\/i> Crear Pensamiento Alternativo\n                        <\/button>\n                    <\/div>\n                `;\n            } else if (type === 'integracion') {\n                content = `\n                    <div class=\"text-center mb-4\">\n                        <div class=\"inline-block bg-gradient-to-r from-yellow-100 to-orange-100 p-3 rounded-full shadow-lg mb-2\" aria-hidden=\"true\">\n                            <i class=\"fas fa-puzzle-piece text-yellow-500 text-2xl\"><\/i>\n                        <\/div>\n                        <h4 class=\"font-bold text-yellow-800\">Plan de Manejo de Estr\u00e9s<\/h4>\n                        <p class=\"text-xs text-yellow-600\">Integra tus herramientas aprendidas<\/p>\n                    <\/div>\n                    <div class=\"space-y-3\">\n                        <div class=\"bg-yellow-50 p-3 rounded-lg\">\n                            <h5 class=\"font-bold text-yellow-700 text-xs uppercase mb-2\">Herramientas anti-estr\u00e9s preferidas<\/h5>\n                            <div class=\"space-y-2\">\n                                <div class=\"flex items-center\">\n                                    <input type=\"checkbox\" class=\"mr-2 text-yellow-500 focus-visible\">\n                                    <span class=\"text-sm\">Respiraci\u00f3n 4-7-8<\/span>\n                                <\/div>\n                                <div class=\"flex items-center\">\n                                    <input type=\"checkbox\" class=\"mr-2 text-yellow-500 focus-visible\">\n                                    <span class=\"text-sm\">Mindfulness matutino<\/span>\n                                <\/div>\n                                <div class=\"flex items-center\">\n                                    <input type=\"checkbox\" class=\"mr-2 text-yellow-500 focus-visible\">\n                                    <span class=\"text-sm\">Registro de pensamientos<\/span>\n                                <\/div>\n                                <div class=\"flex items-center\">\n                                    <input type=\"checkbox\" class=\"mr-2 text-yellow-500 focus-visible\">\n                                    <span class=\"text-sm\">Autocompasi\u00f3n diaria<\/span>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                        <div class=\"bg-white p-3 rounded-lg border border-yellow-100\">\n                            <h5 class=\"font-bold text-yellow-700 text-xs uppercase mb-2\">Frecuencia ideal de pr\u00e1ctica<\/h5>\n                            <div class=\"flex items-center\">\n                                <span class=\"text-xs text-gray-500 mr-2\">1x\/semana<\/span>\n                                <input type=\"range\" min=\"1\" max=\"7\" value=\"4\" class=\"flex-grow focus-visible\">\n                                <span class=\"text-xs text-gray-500 ml-2\">Diario<\/span>\n                            <\/div>\n                        <\/div>\n                        <button onclick=\"createIntegrationPlan()\" class=\"w-full bg-gradient-to-r from-yellow-500 to-orange-500 text-white py-2 rounded-lg text-sm font-semibold hover:from-yellow-600 hover:to-orange-600 transition shadow-md focus-visible\">\n                            <i class=\"fas fa-calendar-plus mr-1\"><\/i> Crear Plan Semanal\n                        <\/button>\n                    <\/div>\n                `;\n            }\n\n            container.innerHTML = content;\n        }\n\n        \/\/ --- Breathing Exercise Function ---\n        function startBreathingExercise() {\n            const circle = document.getElementById('breathing-circle');\n            const instruction = document.getElementById('breath-instruction');\n            const count = document.getElementById('breath-count');\n            \n            if (sessionTimer) {\n                clearInterval(sessionTimer);\n                sessionTimer = null;\n                circle.style.animation = 'none';\n                instruction.textContent = 'INHALA';\n                count.textContent = '4';\n                return;\n            }\n            \n            let cycle = 0;\n            let breathPhase = 'inhale';\n            let seconds = 4;\n            let totalCycles = 0;\n            \n            circle.style.animation = 'pulse 4s infinite ease-in-out';\n            \n            sessionTimer = setInterval(() => {\n                seconds--;\n                count.textContent = seconds;\n                \n                if (seconds === 0) {\n                    switch (breathPhase) {\n                        case 'inhale':\n                            breathPhase = 'hold';\n                            seconds = 7;\n                            instruction.textContent = 'MANT\u00c9N';\n                            break;\n                        case 'hold':\n                            breathPhase = 'exhale';\n                            seconds = 8;\n                            instruction.textContent = 'EXHALA';\n                            break;\n                        case 'exhale':\n                            breathPhase = 'inhale';\n                            seconds = 4;\n                            instruction.textContent = 'INHALA';\n                            cycle++;\n                            totalCycles++;\n                            \n                            if (totalCycles >= 3) { \/\/ 3 ciclos completos\n                                clearInterval(sessionTimer);\n                                sessionTimer = null;\n                                circle.style.animation = 'none';\n                                alert('\u00a1Ejercicio completado! Has completado 3 ciclos de respiraci\u00f3n 4-7-8 para reducir el estr\u00e9s.');\n                                instruction.textContent = 'COMPLETADO';\n                                count.textContent = '\u2713';\n                            }\n                            break;\n                    }\n                }\n            }, 1000);\n        }\n\n        \/\/ --- Session Timer Function ---\n        function startSessionTimer() {\n            const timerDisplay = document.getElementById('session-timer');\n            \n            if (sessionTimer) {\n                clearInterval(sessionTimer);\n                sessionTimer = null;\n                timerDisplay.textContent = '60:00';\n                return;\n            }\n            \n            let minutes = 60;\n            let seconds = 0;\n            \n            sessionTimer = setInterval(() => {\n                if (seconds === 0) {\n                    if (minutes === 0) {\n                        clearInterval(sessionTimer);\n                        sessionTimer = null;\n                        alert('\u00a1Tiempo de sesi\u00f3n completado! Has completado 60 minutos de trabajo en manejo de estr\u00e9s.');\n                        return;\n                    }\n                    minutes--;\n                    seconds = 59;\n                } else {\n                    seconds--;\n                }\n                \n                timerDisplay.textContent = `${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;\n            }, 1000);\n        }\n\n        \/\/ --- Calendar Functions ---\n        function renderCalendar() {\n            const calendarBody = document.getElementById('program-calendar');\n            calendarBody.innerHTML = '';\n            \n            let allSessions = [];\n            programData.forEach(phase => {\n                allSessions = [...allSessions, ...phase.sessions];\n            });\n            \n            allSessions.forEach(session => {\n                const isCompleted = completedSessions.has(session.num);\n                calendarBody.innerHTML += `\n                    <tr class=\"${isCompleted ? 'bg-green-50' : 'hover:bg-orange-50'} border-b border-gray-100\">\n                        <td class=\"py-3 px-4\">\n                            <div class=\"flex items-center\">\n                                <div class=\"progress-step ${isCompleted ? 'health-gradient text-white' : 'bg-orange-100 text-orange-800'} mr-2\">\n                                    ${session.num}\n                                <\/div>\n                                <span class=\"font-medium\">Sesi\u00f3n ${session.num}<\/span>\n                            <\/div>\n                        <\/td>\n                        <td class=\"py-3 px-4\">\n                            <span class=\"inline-flex items-center px-2 py-1 rounded text-xs font-medium bg-orange-100 text-orange-800\">\n                                Fase ${Math.ceil(session.num\/3)}\n                            <\/span>\n                        <\/td>\n                        <td class=\"py-3 px-4 font-medium\">${session.title}<\/td>\n                        <td class=\"py-3 px-4\">${session.duration}<\/td>\n                        <td class=\"py-3 px-4\">\n                            <div class=\"flex space-x-1\">\n                                ${session.materials.map(m => `<span class=\"text-xs px-2 py-1 bg-gray-100 rounded\">${m}<\/span>`).join('')}\n                            <\/div>\n                        <\/td>\n                    <\/tr>\n                `;\n            });\n        }\n\n        \/\/ --- Chart.js Logic para 12 Sesiones ---\n        function initChart() {\n            const ctx = document.getElementById('progressChart').getContext('2d');\n            \n            \/\/ Datos para 12 sesiones + inicio\n            const labels = ['Inicio', 'S1', 'S2', 'S3', 'S4', 'S5', 'S6', 'S7', 'S8', 'S9', 'S10', 'S11', 'S12'];\n            const estresData = [85, 80, 78, 75, 68, 62, 58, 52, 47, 42, 35, 30, 25];\n            const bienestarData = [15, 20, 22, 25, 32, 38, 42, 48, 53, 58, 65, 70, 75];\n\n            myChart = new Chart(ctx, {\n                type: 'line',\n                data: {\n                    labels: labels,\n                    datasets: [\n                        {\n                            label: 'Nivel de Estr\u00e9s',\n                            data: estresData,\n                            borderColor: '#ef4444',\n                            backgroundColor: 'rgba(239, 68, 68, 0.1)',\n                            tension: 0.4,\n                            fill: true,\n                            pointRadius: 4,\n                            pointBackgroundColor: '#ef4444',\n                            borderWidth: 2\n                        },\n                        {\n                            label: 'Bienestar Psicol\u00f3gico',\n                            data: bienestarData,\n                            borderColor: '#10b981',\n                            backgroundColor: 'rgba(16, 185, 129, 0.1)',\n                            tension: 0.4,\n                            fill: true,\n                            pointRadius: 4,\n                            pointBackgroundColor: '#10b981',\n                            borderWidth: 2\n                        }\n                    ]\n                },\n                options: {\n                    responsive: true,\n                    maintainAspectRatio: false,\n                    plugins: {\n                        legend: {\n                            position: 'bottom',\n                            labels: {\n                                boxWidth: 12,\n                                font: { size: 11 },\n                                padding: 15\n                            }\n                        },\n                        tooltip: {\n                            mode: 'index',\n                            intersect: false,\n                            backgroundColor: 'rgba(30, 41, 59, 0.9)',\n                            titleFont: { size: 12 },\n                            bodyFont: { size: 11 }\n                        }\n                    },\n                    scales: {\n                        y: {\n                            beginAtZero: true,\n                            max: 100,\n                            title: {\n                                display: true,\n                                text: 'Intensidad (%)',\n                                font: { size: 11, weight: 'bold' },\n                                color: '#4a5568'\n                            },\n                            grid: {\n                                color: 'rgba(254, 249, 243, 0.8)'\n                            },\n                            ticks: {\n                                font: { size: 10 }\n                            }\n                        },\n                        x: {\n                            grid: {\n                                display: false\n                            },\n                            ticks: {\n                                font: { size: 10 }\n                            },\n                            title: {\n                                display: true,\n                                text: 'Sesiones del Programa',\n                                font: { size: 11, weight: 'bold' },\n                                color: '#4a5568'\n                            }\n                        }\n                    }\n                }\n            });\n        }\n\n        function updateChartHighlight(phaseIndex) {\n            if(myChart) myChart.update();\n        }\n\n        \/\/ --- Utility Functions ---\n        function saveEvaluation() {\n            alert('Evaluaci\u00f3n de estr\u00e9s guardada. Esta informaci\u00f3n ser\u00e1 tu l\u00ednea base para medir el progreso durante las 12 sesiones.');\n        }\n\n        function restructureThought() {\n            alert('Pensamiento reestructurado. El pensamiento alternativo ha sido guardado en tu registro personal.');\n        }\n\n        function createIntegrationPlan() {\n            alert('Plan de integraci\u00f3n creado. Revisa tu calendario para ver tu plan semanal personalizado para el manejo de estr\u00e9s.');\n        }\n\n        function downloadAllResources() {\n            alert('Iniciando descarga de todos los recursos de la sesi\u00f3n actual. En un entorno real, esto descargar\u00eda archivos comprimidos.');\n        }\n\n        function exportCalendar() {\n            alert('Calendario exportado como PDF. En un entorno real, esto generar\u00eda un PDF con tu programa completo de 12 sesiones para manejo de estr\u00e9s.');\n        }\n\n        \/\/ --- Accessibility Setup ---\n        function setupAccessibility() {\n            \/\/ A\u00f1adir aria-labels a los botones sin texto descriptivo\n            document.querySelectorAll('button').forEach(button => {\n                if (!button.textContent.trim() && !button.getAttribute('aria-label')) {\n                    const icon = button.querySelector('i');\n                    if (icon) {\n                        const iconClass = Array.from(icon.classList).find(c => c.startsWith('fa-'));\n                        if (iconClass) {\n                            const action = iconClass.replace('fa-', '').replace('-', ' ');\n                            button.setAttribute('aria-label', action);\n                        }\n                    }\n                }\n            });\n            \n            \/\/ Manejar navegaci\u00f3n por teclado en modales\n            document.addEventListener('keydown', (e) => {\n                if (e.key === 'Tab' && document.getElementById('contactModal').style.display === 'flex') {\n                    const modal = document.getElementById('contactModal');\n                    const focusableElements = modal.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])');\n                    const firstElement = focusableElements[0];\n                    const lastElement = focusableElements[focusableElements.length - 1];\n                    \n                    if (e.shiftKey && document.activeElement === firstElement) {\n                        e.preventDefault();\n                        lastElement.focus();\n                    } else if (!e.shiftKey && document.activeElement === lastElement) {\n                        e.preventDefault();\n                        firstElement.focus();\n                    }\n                }\n            });\n        }\n\n        \/\/ --- Animations ---\n        function addScrollAnimations() {\n            const observer = new IntersectionObserver((entries) => {\n                entries.forEach(entry => {\n                    if (entry.isIntersecting) {\n                        entry.target.classList.add('section-animate');\n                    }\n                });\n            }, { threshold: 0.1 });\n\n            document.querySelectorAll('section').forEach(section => {\n                observer.observe(section);\n            });\n        }\n    <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Programa terap\u00e9utico de 12 sesiones para el manejo del estr\u00e9s. Herramientas pr\u00e1cticas de regulaci\u00f3n emocional basadas en neurociencia y psicolog\u00eda cl\u00ednica.<\/p>\n","protected":false},"author":1,"featured_media":715,"comment_status":"open","ping_status":"open","sticky":true,"template":"elementor_header_footer","format":"standard","meta":{"footnotes":""},"categories":[632],"tags":[61],"class_list":["post-99","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ansiedad","tag-estres-manejodelestres-estreslaboral-saludmental-relajacion-mindfulness-ansiedad-bienestar-psicologia-autocuidado"],"_links":{"self":[{"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":0,"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/media\/715"}],"wp:attachment":[{"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/psicodominicana.com\/blog\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}