/* UnyxLab guided service assistant — responsive, reduced-motion aware. */
.unyx-guide-launcher{position:fixed;z-index:90;right:22px;bottom:22px;display:flex;align-items:center;gap:10px;min-height:54px;padding:0 19px;border:1px solid rgba(191,164,255,.52);border-radius:999px;background:linear-gradient(135deg,#a783ff,#7956d9);color:#fff;font-family:inherit;font-weight:700;font-size:14px;line-height:1.2;box-shadow:0 12px 38px rgba(82,48,160,.4);cursor:pointer;transition:transform .22s ease,box-shadow .22s ease}
.unyx-guide-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 44px rgba(82,48,160,.5)}
.unyx-guide-launcher:focus-visible,.unyx-guide button:focus-visible,.unyx-guide input:focus-visible{outline:3px solid #f0c6ff;outline-offset:3px}
.unyx-guide-launch-icon{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.18)}
.unyx-guide{position:fixed;z-index:91;right:22px;bottom:88px;display:flex;flex-direction:column;width:min(408px,calc(100vw - 28px));height:min(690px,calc(100dvh - 125px));min-height:min(420px,calc(100dvh - 125px));overflow:hidden;border:1px solid rgba(192,165,255,.28);border-radius:24px;background:#111018;color:#f7f4ff;box-shadow:0 24px 80px rgba(0,0,0,.58),0 0 50px rgba(118,80,210,.18);font-family:Inter,Manrope,system-ui,sans-serif;opacity:0;transform:translateY(12px) scale(.985);pointer-events:none;transition:opacity .2s ease,transform .24s cubic-bezier(.2,.8,.2,1)}
.unyx-guide.is-open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.unyx-guide[hidden]{display:none}
.unyx-guide-head{display:flex;align-items:center;gap:12px;padding:16px 17px;border-bottom:1px solid rgba(255,255,255,.09);background:linear-gradient(115deg,rgba(124,86,210,.22),rgba(20,18,29,.92))}
.unyx-guide-mark{display:grid;place-items:center;flex:0 0 40px;height:40px;border:1px solid rgba(186,157,255,.44);border-radius:14px;background:rgba(145,109,230,.16);color:#cbb5ff}
.unyx-guide-title{min-width:0;flex:1}.unyx-guide-title strong{display:block;font-size:14px;letter-spacing:.01em}.unyx-guide-title span{display:block;margin-top:4px;color:#aaa4b8;font-size:11px}
.unyx-guide-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:transparent;color:#e8e3f2;font-size:20px;cursor:pointer}
.unyx-guide-log{flex:1;overflow:auto;padding:18px 15px 12px;scroll-behavior:smooth;overscroll-behavior:contain}
.unyx-guide-message{max-width:91%;margin:0 0 12px;padding:12px 14px;border:1px solid rgba(255,255,255,.08);border-radius:5px 16px 16px 16px;background:#1b1924;color:#e9e5f0;font-size:13px;line-height:1.58;overflow-wrap:anywhere}
.unyx-guide-message.is-user{margin-left:auto;border-color:rgba(162,128,240,.22);border-radius:16px 5px 16px 16px;background:linear-gradient(140deg,rgba(112,77,184,.35),rgba(63,45,94,.38));color:#fff}
.unyx-guide-message p{margin:0 0 9px}.unyx-guide-message p:last-child{margin-bottom:0}.unyx-guide-message a{color:#cfb8ff;text-decoration:underline;text-underline-offset:3px}
.unyx-guide-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.unyx-guide-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:8px 11px;border:1px solid rgba(185,157,255,.3);border-radius:999px;background:rgba(124,86,210,.13);color:#e6d9ff!important;text-decoration:none!important;font-size:11px;font-weight:700}
.unyx-guide-suggestions{display:flex;flex-wrap:wrap;gap:7px;padding:0 14px 12px}.unyx-guide-chip{min-height:36px;padding:8px 11px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:#191722;color:#ded8ea;font-family:inherit;font-weight:600;font-size:11px;line-height:1.2;cursor:pointer;transition:background .18s ease,border-color .18s ease}
.unyx-guide-chip:hover{border-color:rgba(190,163,255,.5);background:#242032}
.unyx-guide-feedback{margin:0 14px 12px;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025)}
.unyx-guide-feedback p{margin:0 0 8px;color:#c8c2d2;font-size:11px}.unyx-guide-feedback button{margin-right:6px;padding:7px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:transparent;color:#eee9f5;font-size:11px;cursor:pointer}
.unyx-guide-feedback .unyx-feedback-thanks{margin:0;color:#cab4ff}
.unyx-guide-compose{display:flex;align-items:center;gap:9px;padding:12px 13px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.09);background:#15131c}
.unyx-guide-compose input{min-width:0;flex:1;height:44px;padding:0 13px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:#0e0d13;color:#fff;font-family:inherit;font-size:13px}.unyx-guide-compose input::placeholder{color:#827c8c}
.unyx-guide-send{display:grid;place-items:center;flex:0 0 44px;height:44px;border:0;border-radius:13px;background:#a17cf1;color:#100e16;cursor:pointer}
.unyx-guide-footnote{padding:0 15px 10px;color:#807b89;font-size:10px;line-height:1.4}
.unyx-consent{position:fixed;z-index:95;right:18px;bottom:18px;left:18px;display:flex;align-items:center;justify-content:space-between;gap:22px;max-width:980px;margin:0 auto;padding:16px 18px;border:1px solid rgba(191,164,255,.24);border-radius:18px;background:#17141f;color:#f5f3fa;box-shadow:0 16px 54px rgba(0,0,0,.45);font:13px/1.5 Inter,Manrope,system-ui,sans-serif}.unyx-consent strong{display:block;margin-bottom:3px}.unyx-consent p{margin:0;color:#bbb5c5}.unyx-consent a{color:#d1bcff}.unyx-consent-actions{display:flex;gap:8px;flex:0 0 auto}.unyx-consent button{min-height:40px;padding:0 13px;border:1px solid rgba(255,255,255,.17);border-radius:999px;background:transparent;color:#f5f3fa;font-weight:700;cursor:pointer}.unyx-consent button[data-consent="granted"]{border-color:#ad8df2;background:#ad8df2;color:#17121e}
@media(max-width:540px){.unyx-guide-launcher{right:max(14px,env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px);min-height:50px;padding:0 15px}.unyx-guide{right:10px;bottom:74px;left:10px;width:auto;height:min(72dvh,640px);min-height:min(390px,calc(100dvh - 100px));border-radius:20px}.unyx-guide-head{padding:13px}.unyx-guide-log{padding:14px 12px 10px}.unyx-guide-suggestions{padding-right:11px;padding-left:11px}.unyx-consent{right:10px;bottom:10px;left:10px;align-items:flex-start;flex-direction:column;gap:12px;padding:14px;border-radius:16px}.unyx-consent-actions{width:100%}.unyx-consent-actions button{flex:1}}
@media(prefers-reduced-motion:reduce){.unyx-guide-launcher,.unyx-guide,.unyx-guide-chip{transition:none}.unyx-guide-log{scroll-behavior:auto}}

@media(prefers-reduced-motion:no-preference){a:not([class^="unyx-"]),button:not([class^="unyx-"]){transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease}}

/* v46 mobile-first guide polish: content-sized panel, safe viewport bounds, and readable controls. */
.unyx-guide{height:auto;min-height:0;max-height:min(690px,calc(100dvh - 125px));box-sizing:border-box;}
.unyx-guide *{box-sizing:border-box;}
.unyx-guide-log{flex:0 1 auto;min-height:72px;max-height:min(390px,42dvh);}
.unyx-guide-suggestions{flex:0 0 auto;}
.unyx-guide-chip{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;}
.unyx-guide-caret{display:inline-block;margin-left:2px;color:#d4bfff;font-weight:700;animation:unyx-caret-blink .78s steps(2,start) infinite;}
@keyframes unyx-caret-blink{to{visibility:hidden}}
.unyx-guide.is-typing .unyx-guide-caret{animation-duration:.68s;}
.unyx-guide-compose input:disabled,.unyx-guide-compose button:disabled,.unyx-guide-chip:disabled{opacity:.62;cursor:wait;}
@media(max-width:540px){.unyx-guide{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(72px + env(safe-area-inset-bottom));width:auto;max-width:calc(100vw - 24px);height:auto;min-height:0;max-height:calc(100dvh - 104px - env(safe-area-inset-top));border-radius:20px;}.unyx-guide-log{max-height:min(360px,40dvh);min-height:58px;padding:12px 11px 8px;}.unyx-guide-message{max-width:100%;font-size:13px;padding:10px 12px;}.unyx-guide-suggestions{gap:6px;padding:0 11px 9px;}.unyx-guide-chip{min-height:34px;padding:7px 10px;font-size:11px;}.unyx-guide-footnote{padding:0 12px 8px;font-size:10px;}.unyx-guide-compose{gap:7px;padding:9px 10px calc(9px + env(safe-area-inset-bottom));}.unyx-guide-compose input{height:44px;}.unyx-guide-send{flex-basis:44px;height:44px;}}
@media(prefers-reduced-motion:reduce){.unyx-guide-caret{animation:none;visibility:visible;}}

/* v47: compact specialist CTAs and keep chat conversion path clear across PT/EN pages. */
.nav-cta{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:0;max-width:100%;min-height:42px;flex:0 0 auto;padding:9px 15px!important;line-height:1.2!important;letter-spacing:.045em!important;white-space:nowrap;font-size:clamp(11px,.85vw,13px)!important;}
.nav-cta .dot{flex:0 0 7px;}
.nav-mobile-cta{box-sizing:border-box;display:flex;width:100%;max-width:100%;min-height:48px;align-items:center;justify-content:center;gap:9px;padding:13px 16px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;}
.btn-primary{box-sizing:border-box;width:auto;max-width:100%;min-height:48px;padding:14px 20px;line-height:1.2;white-space:normal;justify-content:center;}
a.btn[href*="#contacto"],a.btn[href*="interesse="]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:auto!important;max-width:calc(100vw - 40px);min-height:44px;padding:11px 17px!important;font-size:clamp(13px,1vw + 10px,15px)!important;line-height:1.25!important;white-space:normal;overflow-wrap:anywhere;}
.unyx-guide-log{max-height:min(500px,54dvh);}
.unyx-guide-links{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px;}
.unyx-guide-link{box-sizing:border-box;max-width:100%;justify-content:center;text-align:center;white-space:normal;line-height:1.25;}
.unyx-guide-link.is-primary{min-height:44px;border-color:rgba(190,163,255,.62);background:linear-gradient(135deg,#a783ff,#7956d9);color:#fff!important;font-size:12px;font-weight:750;}
.unyx-guide-link.is-secondary{justify-self:start;min-height:36px;padding:7px 11px;font-size:11px;}
.unyx-guide-contact-note{margin:0;color:#a9a2b5;font-size:10px;line-height:1.35;text-align:center;}
.unyx-guide-suggestions{display:flex;align-items:center;gap:7px;}
.unyx-guide-more{display:flex;flex-wrap:wrap;gap:7px;flex:0 0 100%;}
.unyx-guide-more[hidden]{display:none;}
.unyx-guide-expand{border:0;background:transparent;color:#cbb5ff;font-family:inherit;font-weight:600;font-size:11px;line-height:1.2;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:8px 3px;min-height:34px;}
@media(max-width:540px){.unyx-guide-log{max-height:min(500px,54dvh);}.unyx-guide-suggestions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:0 11px 9px;}.unyx-guide-chip{min-width:0;width:100%;text-align:center;font-size:10.5px;line-height:1.18;}.unyx-guide-expand{width:100%;}.unyx-guide-more{grid-column:1/-1;flex-basis:auto;display:grid;grid-template-columns:1fr 1fr;}.unyx-guide-more[hidden]{display:none;}.unyx-guide-more .unyx-guide-chip:last-child{grid-column:1/-1;}.unyx-guide-links{gap:6px;}.unyx-guide-contact-note{font-size:9.5px;}.nav-cta{max-width:calc(100vw - 32px);font-size:11px!important}.nav-mobile-cta{width:100%;}.btn-primary{max-width:calc(100vw - 40px);}.footer-cta{box-sizing:border-box;max-width:calc(100vw - 40px);white-space:normal;overflow-wrap:anywhere;}a.btn[href*="#contacto"],a.btn[href*="interesse="]{max-width:calc(100vw - 40px);}}
@media(prefers-reduced-motion:reduce){.unyx-guide-caret{animation:none;visibility:visible;}}


/* v48: resize the guide around the live mobile viewport and keyboard. */
.unyx-guide{max-height:min(690px,calc(var(--unyx-guide-viewport-height,100dvh) - 125px));}
@media(max-width:540px){
  .unyx-guide{max-height:calc(var(--unyx-guide-viewport-height,100dvh) - 104px - env(safe-area-inset-top));}
  .unyx-guide-log{max-height:min(500px,54dvh);}
}
@media(max-width:540px) and (max-height:560px){
  .unyx-guide{bottom:calc(62px + env(safe-area-inset-bottom));max-height:calc(var(--unyx-guide-viewport-height,100dvh) - 74px - env(safe-area-inset-top));}
  .unyx-guide-log{max-height:min(180px,32dvh);}
  .unyx-guide-head{padding:9px 11px;}
  .unyx-guide-footnote{display:none;}
  .unyx-guide-compose{padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom));}
}
.unyx-guide-links[hidden]{display:none!important;}

/* v51 mobile fit: keep the conversation readable while the composer stays reachable. */
@media(max-width:540px){
  .unyx-guide{box-sizing:border-box;min-height:0;height:auto;max-height:calc(var(--unyx-guide-viewport-height,100dvh) - 104px - env(safe-area-inset-top));}
  .unyx-guide-log{box-sizing:border-box;flex:0 1 auto;min-height:64px;max-height:min(48dvh,420px);overscroll-behavior:contain;}
  .unyx-guide-feedback{flex:0 0 auto;}
  .unyx-guide-footnote,.unyx-guide-suggestions,.unyx-guide-compose{flex:0 0 auto;}
  .unyx-guide-compose{padding-bottom:calc(9px + env(safe-area-inset-bottom));}
  .unyx-guide-suggestions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .unyx-guide-chip{min-width:0;overflow-wrap:anywhere;}
}
@media(max-width:540px) and (max-height:560px){
  .unyx-guide{bottom:calc(62px + env(safe-area-inset-bottom));max-height:calc(var(--unyx-guide-viewport-height,100dvh) - 74px - env(safe-area-inset-top));}
  .unyx-guide-log{max-height:min(32dvh,180px);}
  .unyx-guide-head{padding:9px 11px;}
  .unyx-guide-footnote{display:none;}
  .unyx-guide-compose{padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom));}
}
