/* >>> studio-css-subset (generado por local/tools/studio-css-subset.py; no editar a mano) */
/* Origen: plugins/studio-admin/assets/front/studio.css */
:root {
	--sa-font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--sa-ease: cubic-bezier(.19, 1, .22, 1);
	--sa-ease-io: cubic-bezier(.65, 0, .35, 1);
	--sa-gutter: clamp(16px, 4vw, 72px);
	--sa-max: 1680px;
	--sa-radius: clamp(10px, 1vw, 18px);
	--sa-gap: clamp(12px, 1.6vw, 28px);
	--sa-section: clamp(64px, 11vw, 200px);
	--sa-logo: currentColor;
}
@media (min-width: 2200px) {
:root { --sa-max: 2160px; }
}
@media (min-width: 3200px) {
:root { --sa-max: 2600px; }
}
body.sa-site { transition: background-color .9s var(--sa-ease-io), color .9s var(--sa-ease-io); }
.sa-chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 9990; font-family: var(--sa-font); }
.sa-chat__launcher { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #0a0a0a; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .5); transition: transform .5s var(--sa-ease); -webkit-tap-highlight-color: transparent; }
.sa-chat__launcher:hover { transform: scale(1.06); }
.sa-chat__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: sa-spin 18s linear infinite; font-size: 10.5px; letter-spacing: 0; text-transform: uppercase; fill: currentColor; font-weight: 500; }
.sa-chat__icon { width: 24px; height: 24px; }
.sa-chat__presence { position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: #2bd576; box-shadow: 0 0 0 3px #0a0a0a; }
.sa-chat__badge { position: absolute; top: 0; right: 0; min-width: 22px; height: 22px; border-radius: 11px; background: #f4f4f2; color: #0a0a0a; box-shadow: 0 0 0 2px #0a0a0a; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.sa-chat[data-state="open"] .sa-chat__launcher { transform: scale(.001); pointer-events: none; }
.sa-chat[data-state="open"] { pointer-events: none; }
@media (max-width: 767px) {
.sa-chat__launcher { width: 68px; height: 68px; }
.sa-chat__ring { font-size: 11px; }
.sa-chat__presence { top: 10px; right: 10px; }
}
.sa-chat__panel { z-index: 9991; pointer-events: auto; --kb: 0px; --c-ink: #0a0a0a; --c-soft: #f2f2f0; --c-line: rgba(10, 10, 10, .08); --c-mute: #7a7a76; position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: min(392px, calc(100vw - 32px)); height: min(620px, calc(100svh - 32px)); display: flex; flex-direction: column; background: #fff; color: var(--c-ink); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 0 rgba(10, 10, 10, .04), 0 30px 80px -24px rgba(10, 10, 10, .35), 0 0 0 1px var(--c-line); transform-origin: bottom right; animation: sa-chat-in .55s var(--sa-ease); font-family: var(--sa-font); }
.sa-chat__panel[hidden], .sa-chat__badge[hidden] { display: none; }
:is(.sa-pd, .sa-buy, .sa-cv, .sa-chat, .sa-chat__panel, .sa-news, .sa-soon) [hidden] { display: none !important; }
.sa-chat__panel button, .sa-chat__panel input, .sa-chat__panel textarea { font-family: inherit; }
.sa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sa-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--c-line); }
.sa-chat__face { position: relative; flex: none; }
.sa-chat__avatar { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--c-soft); filter: grayscale(1); }
.sa-chat__dot { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #c9c9c5; box-shadow: 0 0 0 2px #fff; }
.sa-chat__panel.is-online .sa-chat__dot { background: #1f9d55; }
.sa-chat__who { flex: 1; min-width: 0; line-height: 1.25; }
.sa-chat__who strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.sa-chat__who small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--c-mute); }
.sa-chat__close { appearance: none; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-mute); cursor: pointer; display: grid; place-items: center; transition: background-color .25s, color .25s; }
.sa-chat__close svg { width: 18px; height: 18px; }
.sa-chat__close:hover { background: var(--c-soft); color: var(--c-ink); }
.sa-chat__log { flex: 1; overflow-y: auto; padding: 18px 14px 10px; display: flex; flex-direction: column; gap: 4px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.sa-msg { position: relative; max-width: 80%; padding: 9px 13px 7px; border-radius: 18px; font-size: 15px; line-height: 1.42; word-wrap: break-word; animation: sa-msg-in .35s var(--sa-ease); }
.sa-msg p { margin: 0; white-space: pre-wrap; }
.sa-msg + .sa-msg { margin-top: 2px; }
.sa-msg--admin + .sa-msg--visitor, .sa-msg--visitor + .sa-msg--admin { margin-top: 10px; }
.sa-msg--admin { align-self: flex-start; background: var(--c-soft); border-bottom-left-radius: 6px; }
.sa-msg--system { align-self: center; max-width: 90%; background: transparent; color: var(--c-mute); font-size: 12.5px; text-align: center; padding: 6px 10px; }
.sa-msg--visitor { align-self: flex-end; background: var(--c-ink); color: #fff; border-bottom-right-radius: 6px; }
.sa-msg.is-pending { opacity: .55; }
.sa-msg.is-failed { background: #fff; color: var(--c-ink); box-shadow: inset 0 0 0 1px #d6402f; cursor: pointer; }
.sa-msg time { display: block; margin-top: 3px; font-size: 10.5px; opacity: .5; font-variant-numeric: tabular-nums; }
.sa-msg--visitor time { text-align: right; }
.sa-msg__state { display: block; margin-top: 1px; text-align: right; font-size: 10.5px; opacity: .55; }
.sa-msg__state.is-error { opacity: 1; color: #d6402f; font-weight: 500; }
.sa-msg a { color: inherit; text-underline-offset: .15em; }
.sa-msg__img { display: block; margin: -3px -7px 6px; }
.sa-msg__img img { display: block; max-width: 100%; border-radius: 13px; }
.sa-msg__file { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }
.sa-msg__file svg { width: 16px; height: 16px; }
.sa-msg--card { display: flex; flex-direction: column; gap: 2px; min-width: 230px; background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); border-radius: 18px !important; padding: 14px 16px 10px; }
.sa-msg--card small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute); }
.sa-msg--card strong { font-size: 16px; font-weight: 600; }
.sa-msg--card span { font-size: 14px; color: var(--c-mute); }
.sa-msg--card a { margin-top: 10px; align-self: flex-start; background: var(--c-ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 13.5px; padding: 9px 15px; border-radius: 999px; }
.sa-typing { align-self: flex-start; display: inline-flex; gap: 4px; margin-top: 4px; padding: 12px 14px; background: var(--c-soft); border-radius: 18px 18px 18px 6px; }
.sa-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a96; animation: sa-dots 1.2s infinite ease-in-out; }
.sa-typing i:nth-child(2) { animation-delay: .15s; }
.sa-typing i:nth-child(3) { animation-delay: .3s; }
.sa-chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.sa-chat__chips button { appearance: none; margin: 0; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); font-size: 13.5px; line-height: 1.2; cursor: pointer; transition: border-color .25s, background-color .25s; }
.sa-chat__chips button:hover { border-color: rgba(10, 10, 10, .3); background: var(--c-soft); }
.sa-chat__form { padding: 10px 12px calc(12px + env(safe-area-inset-bottom) * .25); border-top: 1px solid var(--c-line); background: #fff; }
.sa-chat__field { display: flex; align-items: flex-end; gap: 2px; padding: 4px; border-radius: 24px; background: var(--c-soft); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s, background-color .25s; }
.sa-chat__field:focus-within { background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .25); }
.sa-chat__field textarea { flex: 1; min-width: 0; resize: none; min-height: 40px; max-height: 128px; margin: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1.35; padding: 10px 6px; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none; }
.sa-chat__field textarea:focus, .sa-chat__field textarea:focus-visible { outline: none; box-shadow: none; border: 0; background: transparent; }
.sa-chat__field textarea::placeholder { color: var(--c-mute); }
.sa-chat__btn { appearance: none; flex: none; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: transparent; color: var(--c-mute); transition: background-color .25s, color .25s, transform .25s var(--sa-ease), opacity .25s; -webkit-tap-highlight-color: transparent; }
.sa-chat__btn svg { width: 20px; height: 20px; }
.sa-chat__attach:hover { color: var(--c-ink); background: rgba(10, 10, 10, .06); }
.sa-chat__send { background: var(--c-ink); color: #fff; }
.sa-chat__send:hover { background: #2b2b2b; }
.sa-chat__send:active { transform: scale(.92); }
.sa-chat__send[disabled] { background: #d9d9d5; color: #fff; cursor: default; }
.sa-chat__btn:focus-visible, .sa-chat__close:focus-visible, .sa-chat__chips button:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.sa-chat__email { align-self: stretch; margin: 10px 0 4px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); font-size: 14px; }
.sa-chat__email p { margin: 0 0 10px; color: var(--c-mute); line-height: 1.45; }
.sa-chat__email p.is-done { margin: 0; color: var(--c-ink); }
.sa-chat__email div { display: flex; gap: 6px; }
.sa-chat__email input { flex: 1; min-width: 0; margin: 0; border: 0; background: var(--c-soft); color: inherit; font-size: 16px; padding: 10px 12px; border-radius: 12px; outline: none; box-shadow: inset 0 0 0 1px transparent; -webkit-appearance: none; appearance: none; }
.sa-chat__email input:focus { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .3); background: #fff; }
.sa-chat__email.is-error input { box-shadow: inset 0 0 0 1px #d6402f; }
.sa-chat__email button { appearance: none; flex: none; margin: 0; border: 0; border-radius: 12px; padding: 0 14px; font-size: 14px; font-weight: 600; background: var(--c-ink); color: #fff; cursor: pointer; }
.sa-chat__intro { display: flex; flex-direction: column; gap: 8px; }
.sa-chat__intro p { margin-bottom: 4px; }
.sa-chat__intro input { flex: none; width: 100%; }
.sa-chat__intro button { min-height: 44px; margin-top: 2px; }
.sa-chat__intro button[disabled] { opacity: .6; cursor: default; }
.sa-chat__err { display: block; margin-top: 6px; color: #d6402f; font-size: 12.5px; }
.sa-chat__err[hidden] { display: none; }
.sa-chat__code { margin-top: 4px; }
.sa-chat__panel.is-locked .sa-chat__form, .sa-chat__panel.is-locked .sa-chat__chips { display: none; }
.sa-chat__history { align-self: center; appearance: none; margin: 2px 0 10px; padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; color: var(--c-ink); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .25s, background-color .25s; }
.sa-chat__history:hover { border-color: rgba(10, 10, 10, .3); background: var(--c-soft); }
.sa-chat__history[disabled] { opacity: .6; cursor: default; }
.sa-msg.is-history { opacity: .6; }
@media (max-width: 520px) {
.sa-chat__panel { right: 10px; left: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: auto; height: min(72svh, 600px); border-radius: 20px; }
.sa-chat__panel.has-kb { bottom: calc(var(--kb) + 8px); height: min(calc(var(--vvh, 100svh) - 16px), 600px); }
}
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media print {
.sa-chat { display: none !important; }
}
.sa-consent { position: fixed; z-index: 9500; left: var(--sa-gutter); bottom: calc(20px + env(safe-area-inset-bottom)); width: min(460px, calc(100vw - 2 * var(--sa-gutter))); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--sa-ease), transform .6s var(--sa-ease); }
.sa-consent.is-in { opacity: 1; transform: none; }
.sa-consent__box { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px 18px; border-radius: 18px; background: #f4f4f2; color: #0a0a0a; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); }
.sa-consent__title { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sa-consent__text p { margin: 0; font-size: 14px; line-height: 1.55; opacity: .75; }
.sa-consent__text a { color: inherit; text-underline-offset: 3px; }
.sa-consent__actions { display: flex; gap: 8px; }
.sa-consent__btn { flex: 1; appearance: none; border: 1px solid rgba(10, 10, 10, .22); background: transparent; color: inherit; font: 500 14px/1 var(--sa-font); padding: 13px 16px; border-radius: 999px; cursor: pointer; transition: background .3s var(--sa-ease), color .3s, border-color .3s, transform .3s var(--sa-ease); }
.sa-consent__btn:hover { border-color: #0a0a0a; }
.sa-consent__btn:active { transform: scale(.98); }
.sa-consent__btn--solid { background: #0a0a0a; border-color: #0a0a0a; color: #f4f4f2; }
.sa-consent__btn--solid:hover { background: #2b2b2b; border-color: #2b2b2b; }
@media (max-width: 720px) {
.sa-consent { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
.sa-consent__box { padding: 18px 18px 16px; }
}
body.sa-site { --t-fg: #0a0a0a; --t-bg: #f4f4f2; }
html.tk-lock .sa-chat { display: none; }
.sa-chat__consent { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; font-size: 12px; line-height: 1.4; opacity: .8; cursor: pointer; }
.sa-chat__consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: currentColor; }
.sa-chat__consent a { color: inherit; text-decoration: underline; }
@keyframes sa-spin { to { transform: rotate(360deg); } }
@keyframes sa-chat-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes sa-msg-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes sa-dots { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
/* <<< studio-css-subset */

/*
 * XKLA — componentes de Studio con el sistema «escala» (tokens de assets/sitio/css/sistema.css).
 *
 * Studio pone fuera del tema el aviso de cookies (.sa-consent) y el chat (.sa-chat). Su hoja base se
 * sigue cargando (estructura y comportamiento); aquí solo se cambia la piel para que no parezcan de
 * otra web: grafito, hueso, radio de 2 px, sentence case y sin animaciones decorativas.
 * Se carga después del CSS del sistema y del de la página.
 */

/* Aviso de cookies -------------------------------------------------------- */
/* A la derecha, sobre el lanzador del chat: el titular de la portada queda a la vista. */
.sa-consent { left: auto; right: var(--m); bottom: calc(var(--m) * .75 + 56px + env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 2 * var(--m))); font-family: inherit; }
body:has(.sa-chat--ring) .sa-consent { bottom: calc(var(--m) * .75 + 96px + env(safe-area-inset-bottom)); }
@media (max-width: 767px) { body:has(.sa-chat--ring) .sa-consent { bottom: calc(var(--m) * .75 + 80px + env(safe-area-inset-bottom)); } }
.sa-consent__box { gap: 18px; padding: 20px 22px; border-radius: 2px; background: var(--grafito-2); color: var(--hueso); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
.sa-consent__title { margin: 0 0 6px; font-size: var(--t15); font-weight: 600; letter-spacing: normal; text-transform: none; }
.sa-consent__text p { font-size: var(--t15); line-height: 1.5; opacity: 1; color: var(--hueso-2); }
.sa-consent__text .sa-consent__title { color: var(--hueso); }
.sa-consent__text a { color: var(--hueso); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sa-consent__actions { gap: 8px; }
.sa-consent__btn { min-height: 44px; padding: 0 16px; border-radius: 2px; border: 1px solid rgba(236, 234, 228, .3); font-family: inherit; font-size: var(--t15); font-weight: 600; line-height: 1; color: var(--hueso); }
.sa-consent__btn:hover { border-color: var(--hueso); }
.sa-consent__btn--solid { background: var(--hueso); border-color: var(--hueso); color: var(--grafito); }
.sa-consent__btn--solid:hover { background: #fff; border-color: #fff; }
@media (max-width: 899px) {
	.sa-consent { left: var(--m); right: var(--m); width: auto; }
}

/* Chat: el lanzador y el panel de luiskoepke.com (capa Clásica de Studio) con la paleta grafito ---------- */
/* Studio › Sitio › «Lanzador del chat»: «Círculo» (.sa-chat--ring) imprime el círculo con el texto girando; la
   estructura, los tamaños (84 px; 68 px en móvil) y las animaciones son las de la hoja Clásica (arriba). Aquí solo
   la posición en la retícula y el color. Todo el movimiento es transform u opacity (giro, hover, encogerse al abrir,
   entrada del panel) y chat.js no se pide hasta el primer clic. */
.sa-chat { right: max(var(--m), env(safe-area-inset-right)); bottom: max(calc(var(--m) * .75), env(safe-area-inset-bottom)); font-family: inherit; }
.sa-chat--ring .sa-chat__launcher { background: var(--hueso); color: var(--grafito); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); font-family: inherit; }
.sa-chat--ring .sa-chat__launcher:focus-visible { outline: 2px solid var(--hueso); outline-offset: 4px; }
.sa-chat--ring .sa-chat__ring { font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: normal; will-change: transform; }
/* El punto de «en línea» va en la esquina del icono, dentro del anillo: no pisa el texto */
.sa-chat--ring .sa-chat__presence { top: 27px; right: 27px; width: 9px; height: 9px; background: var(--senal); box-shadow: 0 0 0 2px var(--hueso); }
@media (max-width: 767px) { .sa-chat--ring .sa-chat__presence { top: 19px; right: 19px; } }
.sa-chat--ring .sa-chat__badge { background: var(--senal); color: var(--grafito); box-shadow: 0 0 0 2px var(--grafito); }
/* El giro se detiene cuando no se ve (panel abierto, lanzador oculto en la primera pantalla) y con movimiento reducido */
.sa-chat[data-state="open"] .sa-chat__ring, html.chat-oculto .sa-chat__ring { animation-play-state: paused; }
.reducido .sa-chat__ring { animation: none; }
@media (prefers-reduced-motion: reduce) { .sa-chat__ring { animation: none; } }

/* Píldora (si en Studio se elige «Píldora»): la versión anterior, en grafito. */
.sa-chat--pill .sa-chat__launcher {
	position: relative; display: inline-flex; align-items: center; gap: 10px; width: auto; height: 44px; padding: 0 16px;
	border-radius: 2px; border: 1px solid rgba(236, 234, 228, .3); background: var(--grafito-2); color: var(--hueso);
	font-family: inherit; font-size: var(--t15); font-weight: 600; line-height: 1; box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .8); cursor: pointer; transition: border-color .3s linear, opacity .3s linear;
}
.sa-chat--pill .sa-chat__launcher:hover { border-color: var(--hueso); transform: none; }
.sa-chat--pill .sa-chat__mark { display: none; }
.sa-chat--pill .sa-chat__label { max-width: none; white-space: nowrap; }
.sa-chat--pill .sa-chat__presence { position: static; width: 8px; height: 8px; border-radius: 50%; background: var(--senal); box-shadow: none; }
.sa-chat--pill .sa-chat__badge { top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 2px; background: var(--senal); color: var(--grafito); box-shadow: none; padding: 0 5px; }
.sa-chat--pill[data-state="open"] .sa-chat__launcher { transform: none; opacity: 0; }

/* Panel: la forma de la Clásica (22 px, campos redondeados, enviar circular) en grafito y hueso */
.sa-chat__panel {
	--c-ink: var(--hueso); --c-soft: #262624; --c-line: rgba(236, 234, 228, .12); --c-mute: var(--hueso-2);
	background: var(--grafito-2); color: var(--hueso); font-family: inherit;
	box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .85), 0 0 0 1px var(--c-line);
}
.sa-chat__panel .sa-chat__dot { box-shadow: 0 0 0 2px var(--grafito-2); }
.sa-chat__panel.is-online .sa-chat__dot { background: var(--senal); }
.sa-chat__panel .sa-chat__form, .sa-chat__panel .sa-chat__email, .sa-chat__panel .sa-chat__chips button,
.sa-chat__panel .sa-chat__history, .sa-chat__panel .sa-msg--card, .sa-chat__panel .sa-msg.is-failed { background: var(--grafito-2); }
.sa-chat__panel .sa-chat__chips button:hover, .sa-chat__panel .sa-chat__history:hover { border-color: rgba(236, 234, 228, .4); background: var(--c-soft); }
.sa-chat__panel .sa-chat__field:focus-within, .sa-chat__panel .sa-chat__email input:focus { background: #2c2c2a; box-shadow: inset 0 0 0 1px rgba(236, 234, 228, .35); }
.sa-chat__panel .sa-chat__field textarea, .sa-chat__panel .sa-chat__email input { color: var(--hueso); }
.sa-chat__panel .sa-chat__attach:hover { background: rgba(236, 234, 228, .08); }
.sa-chat__panel .sa-chat__send, .sa-chat__panel .sa-chat__email button, .sa-chat__panel .sa-msg--card a { background: var(--hueso); color: var(--grafito); }
.sa-chat__panel .sa-chat__send:hover { background: #fff; }
.sa-chat__panel .sa-chat__send[disabled] { background: #3a3a37; color: var(--hueso-2); }
.sa-chat__panel .sa-msg--visitor { background: var(--hueso); color: var(--grafito); }
.sa-chat__panel .sa-typing i { background: var(--hueso-2); }
.sa-chat__panel .sa-chat__btn:focus-visible, .sa-chat__panel .sa-chat__close:focus-visible, .sa-chat__panel .sa-chat__chips button:focus-visible { outline-color: var(--hueso); }

/* Botón «Preferencias de cookies» del pie: un enlace más de la línea legal. */
.pie__legales button.enlace { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
/* Mismo alto táctil que los enlaces de la barra en el teléfono (sistema.css §pie). */
@media (max-width: 899px) { .pie__legales button.enlace { display: inline-flex; min-height: 44px; align-items: center; } }

/* Sin animaciones decorativas en los componentes (lista negra: puntos que parpadean). */
.sa-chat__mark i, .sa-chat__presence { animation: none !important; }

/* En la portada, el lanzador del chat aparece después de la primera pantalla (no tapa el titular). */
.sa-chat { transition: opacity .3s linear, visibility 0s; }
html.chat-oculto .sa-chat { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s linear, visibility 0s .3s; }

/* Rendimiento ------------------------------------------------------------- */
/* Hero de la portada: el primer plano llega marcado como activo en el HTML y ocupa toda la pantalla
   hasta que home.js coloca la caja del logo (DOMContentLoaded): ese salto contaba como CLS (0,07 a
   1440, 0,11 a 2560). Con JS se mantiene oculto hasta que home.js lo coloca y lo muestra (estilo en
   línea, que gana a esta regla). Sin JS no cambia nada. */
.js .hero__plano.is-activo { visibility: hidden; }

/* Pie y chat: el lanzador fijo (abajo a la derecha, a .75·--m del borde y 44 px de alto) no tapa
   «Volver arriba» de la barra inferior del pie a ningún ancho (a 2560 se solapaban 27 px). */
body:has(.sa-chat--pill) .pie { padding-bottom: calc(var(--m) * .75 + 44px + 20px + env(safe-area-inset-bottom, 0px)); }
/* Con el círculo (84 px; 68 px por debajo de 768) la barra del pie deja libre su alto y 20 px más. */
body:has(.sa-chat--ring) .pie { padding-bottom: calc(var(--m) * .75 + 84px + 20px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 767px) { body:has(.sa-chat--ring) .pie { padding-bottom: calc(var(--m) * .75 + 68px + 20px + env(safe-area-inset-bottom, 0px)); } }
