/* Autoría y desarrollo de aportes originales: Diego Fernando Zapata | https://diegozapatadz.com | WhatsApp https://wa.me/573163711641 (+57 316 371 1641). 2026. Todos los derechos reservados sobre dichos aportes, sujetos a los acuerdos escritos aplicables. Componentes de terceros conservan sus licencias. */
/* Diego Fernando Zapata | diegozapatadz.com | WhatsApp +57 316 371 1641. Derechos reservados, 2026. */
.sdgj-header-switch-tabs[hidden]{display:none!important}
.flami-launcher{position:fixed;right:24px;bottom:92px;z-index:99990;border:0;border-radius:30px;background:#087c50;color:white;padding:15px 23px;font:700 16px/1.4 system-ui,sans-serif;box-shadow:0 8px 28px #102d2330;cursor:pointer}
.flami-floating{position:fixed;right:24px;bottom:156px;width:min(400px,calc(100vw - 32px));height:min(570px,calc(100dvh - 180px));z-index:99991;background:#fff;border:1px solid #c8ded3;border-radius:20px;box-shadow:0 18px 65px #102d2338;overflow:hidden;display:flex;flex-direction:column;color:#142238;font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif}
.flami-floating[hidden]{display:none!important}
.flami-floating{--sdgj-chatbot-color:#0f7a4f;box-sizing:border-box}.flami-floating *{box-sizing:border-box}
.flami-floating>header{display:flex;align-items:center;justify-content:space-between;background:#087c50;color:#fff;padding:14px 18px}
.flami-floating>header button{border:0;background:transparent;color:white;font-size:22px;cursor:pointer;padding:4px 8px}
.flami-floating [data-pane="view-chat"]{display:flex!important;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.flami-floating [data-sdgj-embed-messages]{flex:1;min-height:0;overflow:auto}
.flami-floating .sdgj-chatbot-starter-chips{max-height:145px;overflow:auto}
.flami-floating [data-sdgj-embed-form]{flex-shrink:0}
.flami-launcher:focus-visible,.flami-floating button:focus-visible{outline:3px solid #ffad55;outline-offset:3px}
.flami-launcher{bottom:20px;font-size:16px;padding:12px 20px}
.flami-launcher{display:flex!important;align-items:center;gap:8px;min-width:158px;min-height:52px;padding:8px 11px;border:1px solid #ffffff60!important;border-radius:15px!important;background:linear-gradient(115deg,#083b70,#075796,#087c78,#083b70)!important;background-size:240% 240%!important;color:#fff!important;box-shadow:0 8px 22px #083b7038,inset 0 1px 0 #ffffff24!important;text-align:left;transition:background-position .45s ease,transform .25s ease,box-shadow .25s ease;isolation:isolate;overflow:visible}
.flami-launcher[hidden]{display:none!important}
.flami-launcher,.flami-floating{opacity:1;visibility:visible;transform:translateY(0) scale(1);transition:opacity .24s ease,transform .24s ease,visibility 0s linear 0s}
.flami-launcher.flami-scroll-hidden,.flami-floating.flami-scroll-hidden{opacity:0;visibility:hidden;transform:translateY(12px) scale(.97);pointer-events:none;transition:opacity .24s ease,transform .24s ease,visibility 0s linear .24s}
.flami-floating.flami-dialog-closed{opacity:0;visibility:hidden;transform:translateY(12px) scale(.97);pointer-events:none;transition:opacity .24s ease,transform .24s ease,visibility 0s linear .24s!important}
.flami-launcher:hover,.flami-launcher:focus-visible{background-position:100% 50%!important;animation:flami-gradient-flow 2s ease infinite;transform:translateY(-2px);box-shadow:0 12px 30px #087c7850,inset 0 1px 0 #ffffff35!important}
@keyframes flami-gradient-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.flami-launcher-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,#ffb648,#f97416);font-size:17px;box-shadow:0 3px 9px #041b3428;transition:transform .25s ease}
.flami-launcher:hover .flami-launcher-icon{transform:rotate(-7deg) scale(1.05)}
.flami-launcher-copy{display:flex;flex-direction:column;gap:2px}
.flami-launcher-label{font-size:13.5px!important;font-weight:800;line-height:1.2;color:#fff!important}
.flami-launcher-subtitle{font-size:14px!important;font-weight:400;line-height:1.3;color:#e5f2ff!important}
.flami-floating{bottom:100px!important}
@media(max-width:760px){.flami-floating{bottom:96px!important}}
@media(prefers-reduced-motion:reduce){.flami-launcher,.flami-floating,.flami-launcher-icon{transition:none!important;animation:none!important}.flami-launcher:hover,.flami-launcher:focus-visible,.flami-launcher.flami-scroll-hidden,.flami-floating.flami-scroll-hidden{transform:none}}
.sdgj-chatbot-embed{grid-template-columns:minmax(0,1.05fr) minmax(0,1.25fr)!important;width:min(88%,1080px)!important;gap:16px!important}
.sdgj-chatbot-embed__panel{min-width:0;overflow:hidden;border-radius:18px!important;box-shadow:0 8px 28px #1422380d}
.sdgj-chatbot-embed__header{padding:12px 16px!important}
.sdgj-view-form{padding:16px 18px 18px!important}
.sdgj-service-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.sdgj-service-card-radio{min-width:0;padding:10px 11px!important;min-height:62px;border-radius:11px!important;align-items:flex-start!important;gap:9px!important;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.sdgj-service-card-radio:hover{border-color:#087c50!important;box-shadow:0 3px 12px #087c5018}
.sdgj-svc-info{min-width:0}
.sdgj-svc-info strong{display:block;line-height:1.3;margin-bottom:3px}
.sdgj-svc-info>span{display:block;line-height:1.4;overflow-wrap:anywhere}
.sdgj-chatbot-embed .sdgj-wizard-stepper{margin-bottom:10px}
.sdgj-chatbot-embed [data-goto-step],.sdgj-chatbot-embed [data-btn-wizard-submit]{min-height:42px;border-radius:10px!important}
.sdgj-chatbot-embed [data-pane="view-form"]{font-size:16px!important}
.sdgj-chatbot-embed .sdgj-wizard-step-item,.sdgj-chatbot-embed .sdgj-wizard-step-item span,.sdgj-chatbot-embed .sdgj-wizard-step-item strong{font-size:16px!important;line-height:1.4!important}
.sdgj-chatbot-embed .sdgj-step-badge{font-size:16px!important;line-height:1.35!important}
.sdgj-chatbot-embed .sdgj-step-title{font-size:22px!important}
.sdgj-chatbot-embed .sdgj-step-subtitle{font-size:18px!important;line-height:1.5!important}
.sdgj-chatbot-embed .sdgj-service-card-radio,.sdgj-chatbot-embed .sdgj-svc-info strong{font-size:16px!important;line-height:1.45!important}
.sdgj-chatbot-embed .sdgj-svc-info>span{font-size:16px!important;line-height:1.45!important}
.sdgj-chatbot-embed .sdgj-view-form button{font-size:16px!important;line-height:1.4!important}
.sdgj-chatbot-embed .sdgj-view-form input,.sdgj-chatbot-embed .sdgj-view-form textarea,.sdgj-chatbot-embed .sdgj-view-form select{font-size:16px!important;line-height:1.45!important}
.sdgj-chatbot-embed .sdgj-step-num{font-size:16px!important}
.sdgj-chatbot-embed{align-items:start!important}
.sdgj-chatbot-embed__intro{height:auto!important;justify-content:flex-start!important;gap:12px!important;padding:14px 16px!important}
.sdgj-chatbot-embed__brand{margin:0!important}
.sdgj-chatbot-embed__intro>p{margin:0!important;line-height:1.5!important}
.sdgj-chatbot-embed__panel{align-self:start}
.sdgj-chatbot-embed .sdgj-service-cards-grid{gap:7px!important}
.sdgj-chatbot-embed .sdgj-service-card-radio{min-height:0!important;padding:8px 9px!important;gap:7px!important}
.sdgj-chatbot-embed .sdgj-svc-info>span{line-height:1.3!important}
.sdgj-chatbot-embed .sdgj-service-card-radio{min-height:44px!important;align-items:center!important}
.sdgj-chatbot-embed .sdgj-service-card-radio .sdgj-svc-info>span{display:none}
.sdgj-chatbot-embed .sdgj-service-card-radio:has(input:checked) .sdgj-svc-info>span{display:block;margin-top:4px}
.sdgj-chatbot-embed .sdgj-svc-info strong{margin-bottom:0;line-height:1.3!important}
.sdgj-chatbot-embed .sdgj-view-form{padding:12px 16px!important}
.sdgj-chat-ticket-cta{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:11px 16px;border:0;border-radius:10px;background:linear-gradient(120deg,#087c50,#075796);color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:1.3;cursor:pointer;box-shadow:0 5px 14px #087c5030;transition:transform .18s ease,box-shadow .18s ease}
.sdgj-chat-ticket-cta:hover{transform:translateY(-1px);box-shadow:0 8px 20px #087c5040}
.sdgj-chat-ticket-cta:focus-visible{outline:3px solid #ffad55;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.sdgj-chat-ticket-cta{transition:none}.sdgj-chat-ticket-cta:hover{transform:none}}
@media(max-width:860px){.sdgj-chatbot-embed__intro{height:auto!important}.sdgj-chatbot-embed__panel{align-self:stretch}}
@media(max-width:1000px){.sdgj-chatbot-embed{width:94%!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:12px!important}}
@media(max-width:860px){.sdgj-chatbot-embed{width:95%!important;grid-template-columns:1fr!important;gap:14px!important}.sdgj-chatbot-embed__intro{display:flex!important}.sdgj-chatbot-embed__panel{min-height:0!important}}
@media(max-width:640px){.sdgj-chatbot-embed{width:calc(100% - 20px)!important;gap:0!important}.sdgj-chatbot-embed__intro{display:none!important}.sdgj-chatbot-embed__panel{width:100%;border-radius:14px!important}.sdgj-service-cards-grid{grid-template-columns:1fr!important}.sdgj-view-form{padding:14px!important}}
.flami-launcher-character{position:absolute;width:96px;height:96px;object-fit:contain;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);filter:drop-shadow(0 5px 9px #102d2328);pointer-events:none}
.flami-launcher-character img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-width:none}
.flami-character-body{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 77%,23% 77%,31% 70%,29% 62%,22% 55%,19% 40%,0 40%)}
.flami-character-hand{clip-path:polygon(0 40%,19% 40%,22% 55%,29% 62%,31% 70%,23% 77%,0 77%);transform-origin:28% 69%}
.flami-greeting .flami-character-hand{animation:flami-hand-greeting 1.8s ease-in-out 1}
@keyframes flami-hand-greeting{0%,100%{transform:rotate(0)}18%{transform:rotate(14deg)}36%{transform:rotate(-9deg)}54%{transform:rotate(14deg)}72%{transform:rotate(-7deg)}88%{transform:rotate(5deg)}}
.flami-scroll-hidden .flami-launcher-character,.flami-chat-open .flami-launcher-character{animation:none!important}
.flami-scroll-hidden .flami-character-hand,.flami-chat-open .flami-character-hand{animation:none!important}
@keyframes flami-hand-greeting-soft{0%,100%{transform:rotate(0)}30%{transform:rotate(8deg)}65%{transform:rotate(-5deg)}}
@media(prefers-reduced-motion:reduce){.flami-greeting .flami-character-hand{animation:flami-hand-greeting-soft 1.8s ease-in-out 1!important}.flami-scroll-hidden .flami-character-hand,.flami-chat-open .flami-character-hand{animation:none!important}}
.flami-launcher.flami-chat-open .flami-launcher-character{display:none}
.flami-header-character{width:48px;height:48px;object-fit:contain;flex-shrink:0}
.flami-floating>header{gap:10px}
.flami-floating>header strong{flex:1}
.flami-floating{bottom:82px;width:min(430px,calc(100vw - 32px));height:min(480px,calc(100dvh - 104px));font-size:16px}
.flami-floating>header{padding:12px 16px;min-height:54px}
.flami-floating>header strong{font-size:16px}
.flami-floating [data-sdgj-embed-messages]{padding:14px;gap:10px}
.flami-floating [data-sdgj-embed-messages]>:first-child{margin-top:0!important}
.flami-floating .sdgj-chatbot-embed__message{font-size:16px!important;line-height:1.5;padding:11px 13px;max-width:94%}
.flami-floating .sdgj-starter-title,.flami-floating .sdgj-prompt-chip{font-size:16px!important;line-height:1.4}
.flami-floating .sdgj-chatbot-starter-chips{max-height:none;overflow:visible;gap:8px}
.flami-floating .sdgj-starter-grid{gap:8px}
.flami-floating .sdgj-prompt-chip{padding:9px 10px;min-height:44px}
.flami-floating [data-sdgj-embed-form]{padding:12px;gap:8px}
.flami-floating [data-sdgj-embed-form] textarea{font-size:16px!important;line-height:1.4;height:68px!important;min-height:68px!important;padding:10px!important}
.flami-floating [data-sdgj-embed-form] button{font-size:16px!important;height:46px;padding:0 14px}
.flami-floating{border:1px solid #d4e5df;border-radius:22px;box-shadow:0 20px 60px #123b3026,0 3px 12px #123b3010;background:#f5f9f8}
.flami-floating>header{background:linear-gradient(115deg,#075d43,#087c59);padding:12px 16px;box-shadow:0 1px 0 #ffffff20 inset}
.flami-floating>header strong{letter-spacing:.01em;font-weight:800}
.flami-floating>header button{display:grid;place-items:center;width:36px;height:36px;padding:0;border-radius:50%;background:#ffffff14;transition:background .18s ease}
.flami-floating>header button:hover{background:#ffffff2b}
.flami-floating [data-sdgj-embed-messages]{background:linear-gradient(180deg,#edf6f2,#f8fafb);padding:16px;scrollbar-width:thin;scrollbar-color:#b3cec3 transparent;overscroll-behavior:contain}
.flami-floating .sdgj-chatbot-embed__message{border-radius:16px;padding:12px 14px;box-shadow:0 2px 7px #143b3010;overflow-wrap:anywhere}
.flami-floating .sdgj-chatbot-embed__message--bot{align-self:flex-start;margin-right:auto;border:1px solid #dfebe5;border-bottom-left-radius:5px;background:#fff;color:#1e293b;box-shadow:0 2px 8px rgba(16,45,35,.06)}
.flami-floating .sdgj-chatbot-embed__message--user{align-self:flex-end;margin-left:auto;border:1px solid #06623f;border-bottom-right-radius:4px;background:linear-gradient(135deg,#087c50 0%,#065e3d 100%);color:#fff!important;box-shadow:0 4px 14px rgba(8,124,80,.26);font-weight:600;letter-spacing:.01em}
.flami-floating .sdgj-chatbot-embed__message--user,.flami-floating .sdgj-chatbot-embed__message--user *,.flami-floating .sdgj-chatbot-embed__message--user .sdgj-chat-p{color:#ffffff!important}
.flami-floating .sdgj-chatbot-starter-chips{padding:12px 14px;background:#f8fafb;border-top:1px solid #e3ece7;flex-shrink:0;max-height:42%;overflow:auto}
.flami-floating .sdgj-starter-title{color:#526a65;font-weight:600;text-transform:none;letter-spacing:0;margin-bottom:8px}
.flami-floating .sdgj-prompt-chip{border:1px solid #d5e4dd;border-radius:11px;background:#fff;color:#245446;text-align:left;padding:10px 11px;box-shadow:0 2px 3px #143b3005;transition:background .18s ease,border-color .18s ease}
.flami-floating .sdgj-prompt-chip:hover,.flami-floating .sdgj-prompt-chip:focus-visible{background:#eaf6ef;color:#075d43;border-color:#278864}
.flami-floating [data-sdgj-embed-form]{align-items:center;background:#fff;border-top:1px solid #dfe9e3;padding:12px;gap:9px}
.flami-floating [data-sdgj-embed-form] textarea{min-width:0;border:1px solid #cdded5!important;border-radius:12px!important;background:#f7faf8;resize:none;box-shadow:none;outline:none}
.flami-floating [data-sdgj-embed-form] textarea:focus{border-color:#087c59!important;box-shadow:0 0 0 3px #087c5914}
.flami-floating [data-sdgj-embed-form] button{flex-shrink:0;border:0;border-radius:11px;background:#087451;color:#fff;box-shadow:0 3px 8px #08745120;font-weight:700}
.flami-floating [data-sdgj-embed-form] button:hover{background:#065b40}
@media(prefers-reduced-motion:reduce){.flami-floating .sdgj-prompt-chip,.flami-floating>header button{transition:none}}
/* Mantener visibles todos los servicios del selector en el primer paso. */
.sdgj-chatbot-embed .sdgj-service-card-radio{min-height:54px!important;padding:7px 9px!important;gap:7px!important}
.sdgj-chatbot-embed .sdgj-svc-info strong{font-size:15px!important;line-height:1.25!important}
.sdgj-chatbot-embed .sdgj-chatbot-embed__header{padding:9px 14px!important}
.sdgj-chatbot-embed .sdgj-view-form{padding:12px 16px 14px!important}
.sdgj-chatbot-embed .sdgj-wizard-stepper{margin-bottom:7px!important}
.sdgj-chatbot-embed .sdgj-step-subtitle{font-size:16px!important;line-height:1.35!important;margin:2px 0 6px!important}
.sdgj-chatbot-embed .sdgj-step-title{font-size:20px!important;line-height:1.25!important;margin:3px 0!important}
.sdgj-chatbot-embed [data-goto-step],.sdgj-chatbot-embed [data-btn-wizard-submit]{min-height:38px!important;padding:7px 11px!important}
@media(max-width:640px){.sdgj-chatbot-embed .sdgj-service-card-radio{min-height:48px!important}.sdgj-chatbot-embed .sdgj-svc-info strong{font-size:15px!important}.sdgj-chatbot-embed .sdgj-view-form{padding:11px!important}}
@media(max-width:760px){.flami-launcher{right:16px;bottom:16px}.flami-floating{right:16px;bottom:78px;height:min(480px,calc(100dvh - 98px))}.flami-floating p,.flami-floating .sdgj-chatbot-embed__message,.flami-floating .sdgj-starter-title,.flami-floating .sdgj-prompt-chip,.flami-floating [data-sdgj-embed-form] textarea{font-size:16px!important;line-height:1.6}.flami-floating .sdgj-starter-grid{grid-template-columns:1fr}}
.flami-launcher,.flami-floating{transition:opacity .24s ease,transform .24s ease,visibility 0s linear 0s!important}
.flami-launcher.flami-scroll-hidden,.flami-floating.flami-scroll-hidden{transition:opacity .24s ease,transform .24s ease,visibility 0s linear .24s!important}
@media(prefers-reduced-motion:reduce){.flami-launcher,.flami-floating{transition:none!important}}
/* Mostrar todas las preguntas sugeridas sin una segunda barra de desplazamiento. */
.flami-floating .sdgj-chatbot-starter-chips{max-height:none!important;overflow:visible!important;flex:0 0 auto;padding:7px 11px!important;gap:5px!important}
.flami-floating .sdgj-starter-title{margin:0!important;font-size:14px!important;line-height:1.3!important}
.flami-floating .sdgj-starter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
.flami-floating .sdgj-prompt-chip{min-height:36px;padding:6px 8px!important;border-radius:9px!important;font-size:14px!important;line-height:1.3!important}
.flami-floating [data-sdgj-embed-messages]{min-height:76px;padding:10px 11px!important}
@media(max-width:760px){.flami-floating .sdgj-starter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.flami-floating .sdgj-prompt-chip{font-size:14px!important;line-height:1.3!important}}
.flami-floating .sdgj-chatbot-embed__message .sdgj-chatbot-heading{display:block;margin:3px 0 7px;color:#075d43;font-size:1.04em}
.flami-floating .sdgj-chatbot-embed__message code{padding:2px 5px;border-radius:5px;background:#eef3f0;color:#214538;font-size:.92em}
.flami-floating .sdgj-chatbot-embed__message a{color:#075d83;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.flami-floating .sdgj-chatbot-embed__message .sdgj-chatbot-link{display:inline-flex;align-items:center;gap:5px;margin:2px 0;padding:4px 10px;border:1px solid #cfe6d9;border-radius:999px;background:#eff8f2;color:#086b4b;font-weight:650;text-decoration:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.flami-floating .sdgj-chatbot-embed__message .sdgj-chatbot-link:hover{background:#dff2e6;border-color:#8dc7a5;transform:translateY(-1px)}
.flami-floating .sdgj-chatbot-embed__message .sdgj-chatbot-link:focus-visible{outline:2px solid #087451;outline-offset:2px}
.sdgj-chat-ticket-cta-wrap{margin:10px 0 4px}
.sdgj-chat-ticket-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border:0;border-radius:12px;background:linear-gradient(120deg,#087c50,#065a3b);color:#fff;font-family:inherit;font-size:15px;font-weight:700;line-height:1.3;cursor:pointer;box-shadow:0 4px 14px rgba(8,124,80,.28);transition:transform .18s ease,box-shadow .18s ease}
.sdgj-chat-ticket-cta:hover{transform:translateY(-1px);background:linear-gradient(120deg,#0a9360,#076c47);box-shadow:0 6px 20px rgba(8,124,80,.4)}
.sdgj-chat-ticket-cta:focus-visible{outline:3px solid #ffad55;outline-offset:2px}
.sdgj-chat-whatsapp-cta-wrap{margin:6px 0 4px}
.sdgj-chat-whatsapp-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1.5px solid #25D366;border-radius:12px;background:#f0fdf4;color:#0b6848!important;font-family:inherit;font-size:14px;font-weight:700;line-height:1.3;text-decoration:none!important;box-shadow:0 2px 10px rgba(37,211,102,.2);transition:all .18s ease}
.sdgj-chat-whatsapp-cta:hover{transform:translateY(-1px);background:#25D366;color:#fff!important;box-shadow:0 4px 16px rgba(37,211,102,.35)}
.sdgj-chat-whatsapp-cta:focus-visible{outline:3px solid #ffad55;outline-offset:2px}
.sdgj-chatbot-embed.sdgj-form-attention{animation:sdgj-form-pulse 1.6s ease-in-out 2;border-radius:20px}
.sdgj-chatbot-embed.sdgj-form-attention .sdgj-wizard-stepper{animation:sdgj-stepper-pulse 1.6s ease-in-out 2}
@keyframes sdgj-stepper-pulse{
    0%,100%{transform:scale(1)}
    50%{transform:scale(1.02)}
}
@keyframes sdgj-form-pulse{
    0%{box-shadow:0 0 0 0 rgba(8,124,80,.7);outline:3px solid #087c50;outline-offset:4px}
    50%{box-shadow:0 0 0 16px rgba(8,124,80,.15);outline:3px solid #087c50;outline-offset:4px}
    100%{box-shadow:0 0 0 0 rgba(8,124,80,0);outline:3px solid transparent;outline-offset:0}
}
@media(prefers-reduced-motion:reduce){.sdgj-chatbot-embed.sdgj-form-attention{animation:none}}
/* Decoraciones visuales de alta gama para respuestas estructuradas de Flami (Tips y Asesorías) */
.flami-floating .sdgj-chat-heading{margin:9px 0 6px;display:flex;align-items:center}
.flami-floating .sdgj-chat-heading__badge{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:8px;background:#e8f5e9;border:1px solid #c8e6c9;color:#1b5e20;font-size:13.5px;font-weight:800;letter-spacing:-0.01em;box-shadow:0 1px 4px rgba(27,94,32,.08)}
.flami-floating .sdgj-chat-step{display:flex;align-items:flex-start;gap:10px;margin:6px 0;padding:8px 11px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;transition:all .18s ease}
.flami-floating .sdgj-chat-step:hover{background:#ffffff;border-color:#cbd5e1;box-shadow:0 2px 8px rgba(15,23,42,.05)}
.flami-floating .sdgj-chat-step-num{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 4px;border-radius:11px;background:#087c50;color:#ffffff;font-size:12px;font-weight:800;flex-shrink:0;margin-top:1px;white-space:nowrap}
.flami-floating .sdgj-chat-step-body{flex:1;font-size:14.5px;line-height:1.45;color:#334155}
.flami-floating .sdgj-chat-step-body strong{color:#0f172a;font-weight:700}
.flami-floating .sdgj-chat-bullet{display:flex;align-items:flex-start;gap:8px;margin:4px 0;padding:3px 4px;font-size:14.5px;line-height:1.45;color:#334155}
.flami-floating .sdgj-chat-bullet-icon{color:#087c50;font-size:11px;margin-top:3px;flex-shrink:0}
.flami-floating .sdgj-chat-bullet-text{flex:1}
.flami-floating .sdgj-chat-bullet-text strong{color:#0f172a;font-weight:700}
.flami-floating .sdgj-chat-callout{display:flex;align-items:flex-start;gap:9px;margin:10px 0 6px;padding:10px 12px;border-radius:11px;font-size:14px;line-height:1.45}
.flami-floating .sdgj-chat-callout--tip{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
.flami-floating .sdgj-chat-callout--tip .sdgj-chat-callout-icon{font-size:17px;flex-shrink:0}
.flami-floating .sdgj-chat-callout--alert{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.flami-floating .sdgj-chat-callout--alert .sdgj-chat-callout-icon{font-size:17px;flex-shrink:0}
.flami-floating .sdgj-chat-callout-content{flex:1}
.flami-floating .sdgj-chat-callout-content strong{font-weight:700}
.flami-floating .sdgj-chat-p{margin:4px 0 6px;font-size:15px;line-height:1.5;color:#1e293b}
.flami-floating .sdgj-chatbot-embed__message--user .sdgj-chat-p{color:#ffffff!important}




.flami-floating .sdgj-chat-p{font-size:16.5px!important}

/* Botón flotante de Flami: tarjeta con icono, estado «en línea» y anillo de atención */
.flami-launcher{gap:8px!important;min-width:0!important;min-height:44px!important;padding:6px 12px 6px 6px!important;border-radius:14px!important;border:1px solid #ffffff47!important;background:linear-gradient(135deg,#0c4a6e 0%,#0369a1 58%,#0e7490 100%)!important;box-shadow:0 16px 34px -12px #0369a1b3,0 4px 10px #0c4a6e40,inset 0 1px 0 #ffffff38!important}
.flami-launcher:hover,.flami-launcher:focus-visible{transform:translateY(-3px) scale(1.02);box-shadow:0 20px 40px -12px #0369a1cc,0 6px 14px #0c4a6e50,inset 0 1px 0 #ffffff4d!important}
.flami-launcher-badge{display:grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border-radius:10px;background:linear-gradient(145deg,#fdba74,#ea580c);font-size:15px;line-height:1;box-shadow:0 6px 14px #7c2d1255,inset 0 1px 0 #ffffff66}
.flami-launcher-text{display:flex;flex-direction:column;gap:1px;text-align:left}
.flami-launcher-label{font-size:15px!important;letter-spacing:-.01em}
.flami-launcher-copy{display:flex!important;flex-direction:row!important;align-items:center;gap:5px;font-size:10.5px!important;font-weight:600;line-height:1.3;color:#d7efff!important}
.flami-launcher-copy::before{content:"";width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 0 #4ade80b3;animation:flami-online 2s ease-out infinite}
.flami-launcher::after{content:"";position:absolute;inset:-1px;border-radius:inherit;border:2px solid #38bdf8;opacity:0;pointer-events:none;animation:flami-ring 3.2s ease-out 2s infinite}
@keyframes flami-online{0%{box-shadow:0 0 0 0 #4ade80b3}70%,100%{box-shadow:0 0 0 7px #4ade8000}}
@keyframes flami-ring{0%{opacity:.7;transform:scale(1)}70%,100%{opacity:0;transform:scale(1.14,1.35)}}
@media(prefers-reduced-motion:reduce){.flami-launcher::after,.flami-launcher-copy::before{animation:none}}
@media(max-width:480px){.flami-launcher{padding:5px 10px 5px 5px!important;min-height:40px!important}.flami-launcher-badge{width:28px;height:28px;font-size:14px}.flami-launcher-label{font-size:13px!important}.flami-launcher-character{width:104px;height:104px}}

.flami-launcher-character{width:122px;height:122px;bottom:calc(100% + 4px);filter:drop-shadow(0 12px 12px #0c4a6e66) drop-shadow(0 3px 4px #0c4a6e40)}
@media(max-width:480px){.flami-launcher-character{width:104px;height:104px}}

/* Móvil: el chat es una sección fija de la página que ocupa todo el ancho de la pantalla */
@media(max-width:760px){
[data-sdgj-chatbot-embed].sdgj-chatbot-hero-wrap{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
[data-sdgj-chatbot-embed] .sdgj-chatbot-embed{width:100%!important;max-width:100%!important;margin:0!important;scroll-margin-top:84px}
[data-sdgj-chatbot-embed] .sdgj-chatbot-embed__panel{border-radius:0!important;box-shadow:none!important}
}

/* Móvil: barra fija inferior a todo el ancho con acceso permanente al chat */
.flami-mobile-bar{display:none}
@media(max-width:760px){
.flami-mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:99990;display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border:0;border-top:1px solid #ffffff3d;border-radius:0;background:linear-gradient(135deg,#0c4a6e 0%,#0369a1 60%,#0e7490 100%);color:#fff;font-family:"Plus Jakarta Sans",system-ui,sans-serif;text-align:left;cursor:pointer;box-shadow:0 -8px 24px #0c4a6e40;transition:transform .25s ease,opacity .25s ease}
.flami-mobile-bar img{flex:0 0 auto;width:36px;height:36px;border-radius:50%;object-fit:cover;background:#fff7ed;box-shadow:0 0 0 2px #fdba74}
.flami-mobile-bar span:not(.flami-mobile-bar-arrow){display:flex;flex-direction:column;flex:1;min-width:0}
.flami-mobile-bar strong{font-size:15px;font-weight:800;line-height:1.2;color:#fff}
.flami-mobile-bar small{font-size:12px;font-weight:600;line-height:1.3;color:#d7efff}
.flami-mobile-bar-arrow{flex:0 0 auto;font-size:26px;line-height:1;color:#fdba74}
.flami-mobile-bar:focus-visible{outline:3px solid #fdba74;outline-offset:-3px}
.flami-mobile-bar.flami-mobile-bar-hidden{transform:translateY(110%);opacity:0;pointer-events:none}
}
@media(prefers-reduced-motion:reduce){.flami-mobile-bar{transition:none}}

/* La solicitud comparte el ancho útil de la portada, sin márgenes anidados. */
#asistente-ia .sdgj-intro-feature-item,#asistente-ia .sdgj-intro-feature-item span,
#asistente-ia .sdgj-trust-item,#asistente-ia .sdgj-trust-item span{font-size:14px!important;line-height:1.5!important}
@media(min-width:761px){
    #asistente-ia.sdgj-chatbot-hero-wrap{width:92vw!important;max-width:92vw!important;margin:24px 0 32px calc(50% - 46vw)!important;padding:0!important}
    #asistente-ia .sdgj-chatbot-embed{width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important;gap:32px!important;align-items:stretch!important}
    #asistente-ia .sdgj-chatbot-embed__intro,#asistente-ia .sdgj-chatbot-embed__panel{align-self:stretch!important;height:auto!important}
    #asistente-ia .sdgj-chatbot-embed__intro{padding:28px!important;gap:20px!important;min-width:0}
    #asistente-ia .sdgj-hero-trust-row{margin-top:auto!important}
    #asistente-ia .sdgj-chatbot-embed__intro>p{font-size:18px!important;line-height:1.65!important}
    #asistente-ia .sdgj-chatbot-embed__header{padding:18px 24px!important}
    #asistente-ia .sdgj-view-form{padding:24px!important}
    #asistente-ia .sdgj-service-cards-grid{gap:12px!important}
    #asistente-ia .sdgj-service-card-radio{min-height:64px!important;padding:14px!important}
    #asistente-ia .sdgj-wizard-stepper{margin-bottom:20px}
}
@media(min-width:761px) and (max-width:960px){
    #asistente-ia .sdgj-chatbot-embed{grid-template-columns:1fr!important;gap:20px!important}
    #asistente-ia .sdgj-chatbot-embed__intro{padding:24px!important}
}
