/* ===========================================================================
   Fluxor Tech — hoja de estilos del sitio
   ===========================================================================

   0. Tipografías autoalojadas (sin Google Fonts).
   1. Base: es exactamente el <style> que traían los HTML originales.
   2. .prose: estilos del contenido enriquecido de los artículos.
   3. Estados :hover / :focus.

   Sobre el punto 3: el diseño original declara los estilos base con el
   atributo `style` de cada elemento y describía el hover con un atributo
   propio `style-hover` que interpretaba el runtime DC. Al pasar a CSS estándar,
   los estilos base se han mantenido inline para conservar el diseño con
   fidelidad exacta; como un atributo `style` tiene más prioridad que cualquier
   regla de una hoja de estilos, estas reglas de hover/focus necesitan
   `!important` para poder aplicarse. Está limitado a este bloque y sólo afecta
   a estados interactivos.
   =========================================================================== */

/* --- 0. Tipografías -------------------------------------------------------- */
/*
   Se sirven desde nuestro propio dominio: la web NO hace ninguna petición a
   fonts.googleapis.com ni a fonts.gstatic.com, así que no se transmite la IP de
   ningún visitante a un tercero.

   Mismas familias, mismos pesos y mismo font-display que antes. Se conservan los
   bloques por `unicode-range` para que el navegador descargue únicamente el
   subconjunto que necesita (latin o latin-ext).

   Ficheros y licencias en public/assets/fonts/:
     Space Grotesk  — SIL Open Font License 1.1 — LICENSE-space-grotesk.txt
     IBM Plex Sans  — SIL Open Font License 1.1 — LICENSE-ibm-plex-sans.txt
     IBM Plex Mono  — SIL Open Font License 1.1 — LICENSE-ibm-plex-mono.txt
*/

/* IBM Plex Mono 400 · latin-ext */
@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono 400 · latin */
@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Mono 500 · latin-ext */
@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono 500 · latin */
@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans 400 · latin-ext */
@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-sans-400-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans 400 · latin */
@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-sans-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans 500 · latin-ext */
@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-sans-500-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans 500 · latin */
@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-sans-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans 600 · latin-ext */
@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-sans-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Sans 600 · latin */
@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/assets/fonts/ibm-plex-sans-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk 400 · latin-ext */
@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/fonts/space-grotesk-400-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Grotesk 400 · latin */
@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/fonts/space-grotesk-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk 500 · latin-ext */
@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/assets/fonts/space-grotesk-500-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Grotesk 500 · latin */
@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/assets/fonts/space-grotesk-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk 600 · latin-ext */
@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/assets/fonts/space-grotesk-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Grotesk 600 · latin */
@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/assets/fonts/space-grotesk-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk 700 · latin-ext */
@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/assets/fonts/space-grotesk-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Grotesk 700 · latin */
@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/assets/fonts/space-grotesk-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 1. Base -------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}
body {
	margin: 0;
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	background: #ffffff;
}
h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: 'Space Grotesk', system-ui, sans-serif;
	text-wrap: balance;
}
p {
	margin: 0;
	text-wrap: pretty;
}
a {
	color: #4a6cff;
	text-decoration: none;
}
a:hover {
	color: #002048;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 128px;
}
::selection {
	background: #2aeaff;
	color: #002048;
}
input,
textarea,
button,
select {
	font: inherit;
}
:focus-visible {
	outline: 2px solid #4a6cff;
	outline-offset: 3px;
	border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* --- 2. Contenido enriquecido de los artículos ---------------------------- */

.prose {
	font-size: 18.5px;
	line-height: 1.72;
	color: #263b54;
}
.prose > * + * {
	margin-top: 26px;
}
.prose h2 {
	font-size: clamp(26px, 2.4vw, 32px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 600;
	color: #002048;
	margin-top: 56px;
}
.prose h3 {
	font-size: 21px;
	line-height: 1.3;
	letter-spacing: -0.014em;
	font-weight: 600;
	color: #002048;
	margin-top: 40px;
}
.prose h2 + *,
.prose h3 + * {
	margin-top: 16px;
}
.prose strong {
	font-weight: 600;
	color: #002048;
}
.prose em {
	font-style: italic;
}
.prose a {
	color: #4a6cff;
	border-bottom: 1px solid rgba(74, 108, 255, 0.32);
}
.prose a:hover {
	color: #002048;
	border-color: #002048;
}
.prose ul,
.prose ol {
	margin-left: 0;
	padding-left: 26px;
	display: grid;
	gap: 12px;
}
.prose li::marker {
	color: #4a6cff;
}
.prose blockquote {
	margin: 40px 0;
	padding: 28px 32px;
	background: #f4f7fa;
	border-radius: 16px;
	font-size: 20px;
	line-height: 1.6;
	color: #002048;
}
.prose blockquote p + p {
	margin-top: 14px;
}
.prose blockquote cite {
	display: block;
	margin-top: 14px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-style: normal;
	color: #5a6b80;
}
.prose figure {
	margin: 44px 0;
}
.prose figcaption {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #5a6b80;
}
.prose img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 14px;
	border: 1px solid #dde5ee;
}
.prose pre {
	margin: 36px 0;
	padding: 24px 26px;
	background: #002048;
	color: #e6eef8;
	border-radius: 14px;
	overflow-x: auto;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 14px;
	line-height: 1.7;
}
.prose :not(pre) > code {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.88em;
	padding: 2px 6px;
	border-radius: 5px;
	background: #f0f4f9;
	border: 1px solid #e3eaf2;
	color: #0a2e5c;
}
.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 40px 0;
	font-size: 15.5px;
}
.prose thead th {
	text-align: left;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #5a6b80;
	font-weight: 500;
	padding: 0 16px 12px;
	border-bottom: 1px solid #dde5ee;
}
.prose tbody td {
	padding: 16px;
	border-bottom: 1px solid #edf2f7;
	vertical-align: top;
	line-height: 1.55;
}
.prose tbody tr:last-child td {
	border-bottom: 0;
}
.prose hr {
	margin: 52px 0;
	border: 0;
	border-top: 1px solid #dde5ee;
}
.prose .embed {
	position: relative;
	padding-top: 56.25%;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #dde5ee;
	background: repeating-linear-gradient(135deg, #eef3f9 0 10px, #f7fafd 10px 20px);
}
.prose .embed span {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8ea2b8;
}

/* --- 3. Estados :hover / :focus ------------------------------------------- */
/* Cada clase reproduce un `style-hover` / `style-focus` del diseño original. */

/* Navegación del cabecero */
.hv-nav:hover {
	background: var(--paper-2, #f4f7fa) !important;
	color: var(--blue, #4a6cff) !important;
}
/* CTA oscuro del cabecero */
.hv-cta:hover {
	background: var(--ink-2, #0a2e5c) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(0, 32, 72, 0.24) !important;
}
/* CTA oscuro grande del hero */
.hv-cta-hero:hover {
	background: var(--ink-2, #0a2e5c) !important;
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(0, 32, 72, 0.24) !important;
}
/* Botón oscuro sin sombra */
.hv-ink2:hover {
	background: var(--ink-2, #0a2e5c) !important;
	color: #fff !important;
}
/* Enlace que pasa a azul */
.hv-blue:hover {
	color: var(--blue, #4a6cff) !important;
}
/* Enlace subrayado que pasa a azul (texto y línea) */
.hv-blue-line:hover {
	color: var(--blue, #4a6cff) !important;
	border-color: var(--blue, #4a6cff) !important;
}
/* Enlaces del pie sobre fondo oscuro */
.hv-cyan:hover {
	color: var(--cyan, #2aeaff) !important;
}
.hv-white:hover {
	color: #fff !important;
}
/* Enlace que pasa a tinta */
.hv-ink:hover {
	color: var(--ink, #002048) !important;
}
/* Botón con borde que se oscurece */
.hv-ink-line:hover {
	border-color: var(--ink, #002048) !important;
	color: var(--ink, #002048) !important;
}
.hv-border-ink:hover {
	border-color: var(--ink, #002048) !important;
}
.hv-outline:hover {
	border-color: var(--ink, #002048) !important;
	background: var(--paper-2, #f4f7fa) !important;
	color: var(--ink, #002048) !important;
}
.hv-outline-soft:hover {
	border-color: var(--ink, #002048) !important;
	background: var(--paper-2, #f4f7fa) !important;
}
.hv-outline-paper:hover {
	border-color: var(--ink, #002048) !important;
	background: var(--paper, #fff) !important;
	color: var(--ink, #002048) !important;
}
/* Pestañas de sección de la ficha de producto */
.hv-tab:hover {
	color: var(--ink, #002048) !important;
	box-shadow: inset 0 -2px 0 var(--blue, #4a6cff) !important;
}
/* CTA cian sobre fondo oscuro */
.hv-cyan-btn:hover {
	background: #7bf2ff !important;
	color: var(--ink, #002048) !important;
}
/* Botón fantasma sobre fondo oscuro */
.hv-ghost-dark:hover {
	background: rgba(255, 255, 255, 0.09) !important;
	border-color: rgba(255, 255, 255, 0.44) !important;
}
/* Bloque enlazado que no debe cambiar de color */
.hv-inherit:hover {
	color: inherit !important;
}
/* Etiquetas de tema del artículo */
.hv-tag:hover {
	background: rgba(74, 108, 255, 0.16) !important;
	color: var(--blue, #4a6cff) !important;
}
/* Fila de acordeón */
.hv-paper2:hover {
	background: var(--paper-2, #f4f7fa) !important;
}

/* Enlace "saltar al contenido": sale del área oculta al recibir el foco */
.fc-skip:focus {
	left: 16px !important;
}
/* Campos de formulario sobre fondo claro */
.fc-field:focus {
	border-color: var(--blue, #4a6cff) !important;
	box-shadow: 0 0 0 3px rgba(74, 108, 255, 0.14) !important;
}
/* Campos de formulario sobre fondo oscuro */
.fc-cyan:focus {
	border-color: var(--cyan, #2aeaff) !important;
}

/* --- 4. Transparencia y cookies -------------------------------------------- */
/*
   Aviso informativo y panel de configuración. Este componente es nuevo, así que
   sus estilos van en clases reales: no depende de estilos inline ni de
   'unsafe-inline'. Usa los mismos tokens de color que el resto del diseño.
*/

.cc-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 300;
	background: var(--paper, #fff);
	border: 1px solid var(--line, #dde5ee);
	border-radius: 16px;
	box-shadow: 0 18px 48px -22px rgba(0, 32, 72, 0.38);
}
.cc-banner-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 18px 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
}
.cc-banner-text {
	flex: 1 1 320px;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--muted, #5a6b80);
}
.cc-banner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.cc-link {
	color: var(--blue, #4a6cff);
	border-bottom: 1px solid rgba(74, 108, 255, 0.35);
	white-space: nowrap;
}
.cc-link:hover {
	color: var(--ink, #002048);
	border-color: var(--ink, #002048);
}
.cc-btn {
	padding: 11px 20px;
	border-radius: 10px;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}
.cc-btn-primary {
	border: 1px solid var(--ink, #002048);
	background: var(--ink, #002048);
	color: #fff;
}
.cc-btn-primary:hover {
	background: var(--ink-2, #0a2e5c);
	border-color: var(--ink-2, #0a2e5c);
}
.cc-btn-ghost {
	border: 1px solid var(--line, #dde5ee);
	background: var(--paper, #fff);
	color: var(--ink, #002048);
}
.cc-btn-ghost:hover {
	border-color: var(--ink, #002048);
	background: var(--paper-2, #f4f7fa);
}

/* Panel modal */
.cc-overlay {
	position: fixed;
	inset: 0;
	z-index: 310;
	background: rgba(0, 32, 72, 0.42);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}
.cc-panel {
	width: 100%;
	max-width: 620px;
	background: var(--paper, #fff);
	border: 1px solid var(--line, #dde5ee);
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 30px 70px -34px rgba(0, 32, 72, 0.5);
}
.cc-panel-title {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.015em;
	margin-bottom: 10px;
}
.cc-panel-lead,
.cc-panel-note {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--muted, #5a6b80);
}
.cc-panel-note {
	margin-top: 20px;
	font-size: 13.5px;
}
.cc-cats {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: grid;
	gap: 1px;
	background: var(--line, #dde5ee);
	border: 1px solid var(--line, #dde5ee);
	border-radius: 12px;
	overflow: hidden;
}
.cc-cat {
	background: var(--paper, #fff);
	padding: 18px 20px;
}
.cc-cat-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}
.cc-cat-name {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ink, #002048);
}
.cc-cat-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted, #5a6b80);
}
.cc-badge {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted, #5a6b80);
	background: var(--paper-2, #f4f7fa);
	border: 1px solid var(--line, #dde5ee);
	border-radius: 6px;
	padding: 4px 9px;
}
.cc-badge-on {
	color: var(--blue, #4a6cff);
	border-color: rgba(74, 108, 255, 0.32);
	background: rgba(74, 108, 255, 0.08);
}
.cc-switch {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--ink, #002048);
}
.cc-switch input {
	width: 17px;
	height: 17px;
	accent-color: #4a6cff;
	cursor: pointer;
}
.cc-switch label {
	cursor: pointer;
}
.cc-panel-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 24px;
}

/* Botón del pie: se ve como los enlaces legales que tiene al lado. */
.cc-footer-btn {
	border: 0;
	background: none;
	padding: 0;
	font-size: 14.5px;
	font-family: inherit;
	color: rgba(255, 255, 255, 0.78);
	cursor: pointer;
	text-align: left;
	transition: color 0.2s ease;
}
.cc-footer-btn:hover {
	color: var(--cyan, #2aeaff);
}

@media (max-width: 560px) {
	.cc-banner {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}
	.cc-banner-inner {
		padding: 16px 18px;
	}
	.cc-banner-actions .cc-btn {
		flex: 1 1 auto;
	}
	.cc-panel {
		padding: 22px 18px;
	}
}

/* --- 5. Páginas legales ---------------------------------------------------- */
/*
   Texto largo de las políticas. Clases propias, sin estilos inline.
*/

.legal {
	font-size: 16.5px;
	line-height: 1.72;
	color: #263b54;
}
.legal > * + * {
	margin-top: 20px;
}
.legal h2 {
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.2;
	letter-spacing: -0.018em;
	font-weight: 600;
	color: var(--ink, #002048);
	margin-top: 48px;
}
.legal h3 {
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--ink, #002048);
	margin-top: 30px;
}
.legal h2 + *,
.legal h3 + * {
	margin-top: 12px;
}
.legal ul {
	margin: 0;
	padding-left: 24px;
	display: grid;
	gap: 10px;
}
.legal li::marker {
	color: var(--blue, #4a6cff);
}
.legal a {
	color: var(--blue, #4a6cff);
	border-bottom: 1px solid rgba(74, 108, 255, 0.32);
}
.legal a:hover {
	color: var(--ink, #002048);
	border-color: var(--ink, #002048);
}
.legal strong {
	font-weight: 600;
	color: var(--ink, #002048);
}
.legal table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 14.5px;
}
.legal-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line, #dde5ee);
	border-radius: 12px;
}
.legal thead th {
	text-align: left;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted, #5a6b80);
	font-weight: 500;
	padding: 14px 16px;
	background: var(--paper-2, #f4f7fa);
	border-bottom: 1px solid var(--line, #dde5ee);
	white-space: nowrap;
}
.legal tbody td {
	padding: 14px 16px;
	border-bottom: 1px solid #edf2f7;
	vertical-align: top;
	line-height: 1.5;
}
.legal tbody tr:last-child td {
	border-bottom: 0;
}

/* Marcador visible de dato legal que falta. NO debe pasar desapercibido. */
.legal-pendiente {
	display: inline-block;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: #8a4b00;
	background: #fff4e0;
	border: 1px dashed #d99a3d;
	border-radius: 6px;
	padding: 1px 7px;
}
.legal-aviso {
	margin: 0;
	padding: 18px 22px;
	background: #fff8ec;
	border: 1px solid #e8c48a;
	border-radius: 12px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #6b4a12;
}
