/* =====================================================================
   Páginas informativas / legales — "Pa'lais — warm cream + deep indigo"
   Same system as styles.css: cream paper canvas, white cards, a single
   deep-indigo brand voice for headings and links, warm honey/orange
   accents used sparingly. Long-form readable legal typography.
   ===================================================================== */

/* --- Tipografías alojadas localmente (subconjunto latino) — sin peticiones externas --- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/spacegrotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/spacegrotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/spacegrotesk-600.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrainsmono-400.woff2') format('woff2'); }

:root {
	--cream: #fbf9f6;
	--white: #ffffff;
	--indigo: #234386;
	--indigo-2: #1b3468;
	--indigo-3: #2c5099;
	--ink: #1a1c22;
	--ink-soft: #4a505c;
	--ink-faint: #838a97;
	--honey: #ffc400;
	--orange: #ed7328;
	--sage: #a2d3a6;

	--hairline: rgba(35, 67, 134, 0.14);
	--hairline-strong: rgba(35, 67, 134, 0.24);
	--hairline-ink: rgba(26, 28, 34, 0.10);
	--surface-tint: rgba(35, 67, 134, 0.035);
	--surface-tint-2: rgba(35, 67, 134, 0.06);

	--font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--container: 880px;
	--r-card: 8px;
	--r-pill: 9999px;
	--elev-soft: rgba(0, 0, 0, 0.06) 0px 14px 30px 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: 0;
	color: var(--ink);
	background: var(--cream);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Ambient background layers (same markup as the landing) */
.bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(1000px 560px at 50% -12%, rgba(255, 196, 0, 0.05), transparent 62%),
		radial-gradient(800px 520px at 88% 8%, rgba(162, 211, 166, 0.05), transparent 58%),
		var(--cream);
}
.bg__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(35, 67, 134, 0.022) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(35, 67, 134, 0.022) 1px, transparent 1px);
	background-size: 96px 96px;
	-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 82%);
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 82%);
}
.bg__halo {
	position: absolute;
	top: -4%;
	left: 50%;
	width: 680px;
	height: 380px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(255, 196, 0, 0.12), transparent 70%);
	-webkit-mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 78%);
	mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 78%);
	opacity: 0.85;
	filter: blur(6px);
}

/* Top navigation */
.topbar { width: 100%; position: relative; z-index: 3; }
.topbar__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 20px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark__logo { display: block; height: 32px; width: auto; }
.wordmark__text { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--indigo); }
.pill {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--r-pill);
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--indigo);
	color: var(--indigo);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}
.pill:hover { background: var(--indigo); color: var(--white); }

/* Content column */
.page-body {
	flex: 1;
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 56px 32px 96px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--indigo);
	margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 36px; height: 2px; border-radius: 2px; background: var(--honey); }

h1 {
	font-family: var(--font-display);
	font-size: clamp(30px, 5vw, 46px);
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	line-height: 1.05;
	margin: 0 0 18px;
	color: var(--indigo);
}
h2 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	color: var(--indigo);
	letter-spacing: 0.01em;
	line-height: 1.25;
	margin: 64px 0 16px;
	padding-bottom: 14px;
	box-shadow: inset 0 -1px 0 var(--hairline);
}
h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--indigo-2);
	letter-spacing: 0;
	margin: 32px 0 12px;
}
p { margin: 0 0 16px; font-size: 16px; font-weight: 400; color: var(--ink-soft); }
strong { font-weight: 600; color: var(--ink); }
em { color: var(--ink); font-style: italic; }

a {
	color: var(--indigo);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: var(--hairline-strong);
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
a:hover { color: var(--indigo-2); text-decoration-color: var(--indigo); }

.date-label {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--indigo);
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--hairline-strong);
	padding: 7px 18px;
	border-radius: var(--r-pill);
	margin-bottom: 32px;
}

.note-block {
	font-size: 16px;
	font-weight: 400;
	color: var(--ink);
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--hairline-ink), inset 4px 0 0 var(--honey), var(--elev-soft);
	padding: 20px 22px;
	margin: 28px 0 20px;
	border-radius: var(--r-card);
	line-height: 1.65;
}
.note-block strong { color: var(--indigo); }

ul.info-list {
	margin: 0 0 18px;
	padding-left: 22px;
	color: var(--ink-soft);
	font-size: 16px;
	font-weight: 400;
}
ul.info-list li { margin-bottom: 10px; line-height: 1.65; }
ul.info-list li::marker { color: var(--orange); }

.contact-block { margin-bottom: 16px; font-size: 16px; font-weight: 400; color: var(--ink-soft); }
.contact-block strong { display: block; margin-bottom: 4px; color: var(--indigo); }

/* Footer */
.site-footer {
	width: 100%;
	margin-top: auto;
	position: relative;
	z-index: 2;
	background: var(--indigo);
	color: var(--white);
	padding: 44px 32px;
	text-align: center;
}
ul.nav-links {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	padding: 0;
	margin: 0 0 18px;
}
ul.nav-links li a {
	color: rgba(251, 249, 246, 0.82);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.18s ease;
}
ul.nav-links li a:hover { color: var(--honey); }
.site-footer .copyright { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: rgba(251, 249, 246, 0.7); margin: 0; }

@media screen and (max-width: 640px) {
	.topbar__inner { padding: 16px; }
	.page-body { padding: 40px 16px 64px; }
	h2 { margin-top: 48px; }
	.site-footer { padding: 32px 16px; }
}
