/* [T2137-B] Aviso de cookies. Usa los colores de la página (variables --surface, --ink…) y trae
   valores de respaldo para las páginas que no los definen. Los tres botones son IGUALES a propósito:
   aceptar no puede verse más fácil que rechazar. */
.kc {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  max-width: 680px; margin-inline: auto;
  background: var(--surface, #fff); color: var(--ink, #08131C);
  border: 1px solid var(--rule-2, #C4D1DF); border-radius: 14px;
  box-shadow: 0 2px 4px rgba(8,19,28,.06), 0 30px 70px -28px rgba(8,19,28,.35);
  padding: 18px 20px;
  font-family: var(--font-sans, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  transform: translateY(140%); opacity: 0;
  transition: transform .45s cubic-bezier(.22,.68,.32,1), opacity .45s cubic-bezier(.22,.68,.32,1);
  max-height: calc(100vh - 32px); overflow-y: auto;
}
.kc.on { transform: none; opacity: 1; }
.kc-cab { display: flex; align-items: center; gap: 10px; }
.kc-cab svg { color: var(--brand-text, #0E68B1); flex: none; }
.kc-titulo { margin: 0; font-size: 1.05rem; line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.kc-texto { margin: 8px 0 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-2, #46586A); }
.kc-texto a { color: var(--brand-text, #0E68B1); text-decoration: underline; text-underline-offset: 2px; }
.kc-op { margin-top: 14px; border-top: 1px solid var(--rule, #DDE5ED); }
.kc-fila { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--rule, #DDE5ED); }
.kc-fila strong { font-size: .9375rem; }
.kc-fila p { margin: 4px 0 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2, #46586A); }
.kc-siempre { flex: none; font-size: .8125rem; font-weight: 600; color: var(--ink-2, #46586A); padding-top: 2px; }
.kc-sw { flex: none; appearance: none; -webkit-appearance: none; width: 42px; height: 24px; margin: 0;
  border-radius: 999px; background: var(--rule-2, #C4D1DF); position: relative; cursor: pointer;
  transition: background-color .2s; }
.kc-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.kc-sw:checked { background: var(--brand, #0E68B1); }
.kc-sw:checked::after { transform: translateX(18px); }
.kc-bot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.kc-bot button {
  font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; min-height: 44px;
  padding: 9px 12px; border-radius: 8px;
  border: 1.5px solid var(--brand, #0E68B1); background: transparent; color: var(--brand-text, #0E68B1);
  transition: background-color .2s, color .2s;
}
.kc-bot button:hover { background: var(--brand-soft, rgba(14,104,177,.07)); }
.kc button:focus-visible, .kc-sw:focus-visible, .kc a:focus-visible { outline: 3px solid var(--brand-text, #0E68B1); outline-offset: 2px; }
@media (max-width: 620px) {
  .kc { bottom: 84px; padding: 14px; max-height: calc(100vh - 100px); }
  .kc-bot { gap: 6px; }
  .kc-bot button { padding: 8px 4px; font-size: .875rem; }
}
@media (max-width: 380px) {
  .kc-bot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .kc { transition: none; } }
