/* ==========================================================================
   Urbanitum — estilos principales
   Sin dependencias externas ni fuentes remotas.
   ========================================================================== */

:root {
	--c-ink: #171F29;          /* azul antracita */
	--c-ink-2: #222C38;
	--c-paper: #F7F6F3;        /* blanco cálido */
	--c-paper-2: #EFEDE8;
	--c-gold: #C5A47E;         /* dorado apagado (sobre fondo oscuro) */
	--c-gold-dark: #7F6240;    /* dorado para texto sobre fondo claro (AA) */
	--c-text: #2A323C;
	--c-muted: #5D6570;
	--c-line: #DCD8D0;
	--c-line-dark: rgba(247, 246, 243, .14);

	--f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
	--f-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--container: 1200px;
	--text-width: 720px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(3.5rem, 7vw, 6rem);
	--radius: 2px;
	--ease: cubic-bezier(.2, .6, .2, 1);
}

/* Base -------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	background: var(--c-paper);
	color: var(--c-text);
	font-family: var(--f-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	font-family: var(--f-serif);
	font-weight: 400;
	line-height: 1.18;
	color: var(--c-ink);
	letter-spacing: -.005em;
	margin: 0 0 .6em;
	text-wrap: balance;
}

p { margin: 0 0 1.2em; text-wrap: pretty; }

a {
	color: var(--c-ink);
	text-decoration-color: var(--c-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: .22em;
	transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
a:hover { color: var(--c-gold-dark); }

:focus-visible {
	outline: 2px solid var(--c-gold-dark);
	outline-offset: 3px;
}
.site-header :focus-visible,
.section--dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--c-gold); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 1rem; left: 1rem;
	z-index: 1000;
	width: auto; height: auto;
	clip: auto;
	margin: 0;
	padding: .75rem 1.25rem;
	background: var(--c-paper);
	color: var(--c-ink);
	font-weight: 600;
}

.site-main:focus { outline: none; }

/* Layout ------------------------------------------------------------------ */

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--text { max-width: calc(var(--text-width) + 2 * var(--gutter)); }

.section { padding-block: var(--section); }
.section--alt { background: var(--c-paper-2); }
.section--dark { background: var(--c-ink); color: rgba(247, 246, 243, .8); }
.section--dark .section__title { color: var(--c-paper); }

.section__header { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section__lead { font-size: 1.125rem; color: var(--c-muted); max-width: 38rem; }
.section--dark .section__lead { color: rgba(247, 246, 243, .75); }

.eyebrow {
	font-family: var(--f-sans);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--c-gold-dark);
	margin-bottom: 1.25rem;
	display: flex;
	align-items: center;
	gap: .9rem;
}
.eyebrow::before {
	content: "";
	width: 2rem;
	height: 1px;
	background: currentColor;
	flex: none;
}
.eyebrow--light { color: var(--c-gold); }

.lead { font-size: 1.25rem; line-height: 1.6; color: var(--c-ink); }

/* Botones y enlaces ------------------------------------------------------- */

.button {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	min-height: 3rem;
	padding: .8rem 1.6rem;
	border: 1px solid var(--c-ink);
	border-radius: var(--radius);
	background: var(--c-ink);
	color: var(--c-paper);
	font: 500 .875rem/1.2 var(--f-sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.button:hover { background: var(--c-ink-2); color: var(--c-paper); }
.button__meta { font-size: .75rem; letter-spacing: .04em; opacity: .7; text-transform: none; }

.button--ghost { background: transparent; color: var(--c-ink); }
.button--ghost:hover { background: var(--c-ink); color: var(--c-paper); }

.button--gold { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-ink); }
.button--gold:hover { background: transparent; color: var(--c-gold); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-ink);
}
.link-arrow::after {
	content: "";
	width: 1.5rem;
	height: 1px;
	background: var(--c-gold-dark);
	transition: width .25s var(--ease);
}
.link-arrow:hover::after { width: 2.5rem; }
.link-arrow--back { flex-direction: row-reverse; }

/* Cabecera ---------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--c-ink);
	color: var(--c-paper);
	border-bottom: 1px solid var(--c-line-dark);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 5rem;
}

.brand {
	display: inline-block;
	color: var(--c-paper);
	text-decoration: none;
	font-family: var(--f-sans);
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: .38em;
	margin-right: -.38em;
	line-height: 1;
	padding-block: .5rem;
}
.brand:hover { color: var(--c-gold); }

.custom-logo-link { display: inline-block; line-height: 0; }
.site-header .custom-logo { max-height: 3rem; width: auto; }
.site-footer .custom-logo { max-height: 3.5rem; width: auto; }

.site-nav__list,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list { display: flex; gap: clamp(1.5rem, 3vw, 2.75rem); }
.site-nav__list a {
	position: relative;
	display: block;
	padding-block: .5rem;
	color: rgba(247, 246, 243, .82);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
}
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--c-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current-page-ancestor > a,
.site-nav__list .current_page_parent > a { color: var(--c-paper); }
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current-page-ancestor > a::after { transform: scaleX(1); }

.nav-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-paper);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 1.5rem;
	height: 1px;
	margin-inline: auto;
	background: currentColor;
	transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.js .nav-toggle { display: block; }
	.js .site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--c-ink);
		border-bottom: 1px solid var(--c-line-dark);
		display: none;
	}
	.js .site-nav.is-open { display: block; }
	.site-header__inner { position: relative; flex-wrap: wrap; }
	.site-header { position: relative; }
	.site-nav__list { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.5rem; }
	.site-nav__list a { padding-block: 1rem; border-top: 1px solid var(--c-line-dark); }
	.site-nav__list a::after { display: none; }
	.site-nav__list .current-menu-item > a { color: var(--c-gold); }
	/* Sin JavaScript el menú se muestra debajo de la marca. */
	html:not(.js) .site-nav { width: 100%; }
}

/* Hero -------------------------------------------------------------------- */

.hero {
	position: relative;
	isolation: isolate;
	background: var(--c-ink);
	color: var(--c-paper);
	overflow: hidden;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 35%;
	filter: grayscale(1) contrast(1.05);
}
/* Superposición antracita: más densa a la izquierda, donde está el texto. */
.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(23, 31, 41, .96) 0%, rgba(23, 31, 41, .88) 38%, rgba(23, 31, 41, .55) 72%, rgba(23, 31, 41, .42) 100%),
		linear-gradient(0deg, rgba(23, 31, 41, .65) 0%, transparent 35%);
}
.hero__inner {
	display: flex;
	align-items: center;
	min-height: min(78vh, 680px);
	padding-block: clamp(4rem, 9vw, 6.5rem);
}
.hero__text { max-width: 44rem; }
.hero__title {
	color: var(--c-paper);
	font-size: clamp(2.5rem, 5.8vw, 4.75rem);
	line-height: 1.05;
	letter-spacing: -.015em;
	margin-bottom: 1.75rem;
}
.hero__lead {
	max-width: 34rem;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	line-height: 1.6;
	color: rgba(247, 246, 243, .82);
	padding-top: 1.75rem;
	border-top: 1px solid rgba(197, 164, 126, .55);
	margin: 0;
}

@media (max-width: 760px) {
	.hero__inner { min-height: 0; padding-block: 4.5rem 4rem; }
	.hero__img { object-position: 60% 30%; }
	.hero__bg::after { background: rgba(23, 31, 41, .84); }
}

/* Anuncios corporativos bajo el hero ------------------------------------- */

.notices-band {
	--band-accent: #6E5436; /* dorado oscuro con contraste AA sobre el fondo arena */
	background: #ECE5DA;
	border-bottom: 1px solid #DED5C6;
	padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
}
.notices-band .eyebrow { color: var(--band-accent); margin-bottom: 1rem; }
.notices-band .link-arrow { color: var(--c-ink); }
.notices-band .link-arrow::after { background: var(--band-accent); }
.notices-band__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.notices-band__title {
	font-size: clamp(1.9rem, 3.6vw, 2.75rem);
	margin-bottom: 1.5rem;
}
.notices-band__card {
	background: #fff;
	border-top: 3px solid var(--c-gold);
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
	box-shadow: 0 18px 40px -30px rgba(23, 31, 41, .45);
}
.notices-band__card .notice-item__date { color: var(--band-accent); }
.notices-band__notice-title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .75rem; }
.notices-band__text { color: var(--c-muted); margin-bottom: 1.5rem; }

/* Sin anuncios publicados: solo el título y el enlace, en una línea. */
.notices-band--empty .notices-band__grid { grid-template-columns: 1fr; }
.notices-band--empty .notices-band__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem 2rem;
}
.notices-band--empty .notices-band__title { margin: 0; }

@media (max-width: 860px) {
	.notices-band__grid { grid-template-columns: 1fr; }
}

/* Presentación ------------------------------------------------------------ */

.intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: clamp(2rem, 6vw, 6rem);
}
.intro__content { font-size: 1.1875rem; line-height: 1.75; }
.intro__content > p:first-child {
	font-family: var(--f-serif);
	font-size: clamp(1.35rem, 2.2vw, 1.6rem);
	line-height: 1.5;
	color: var(--c-ink);
}
@media (max-width: 800px) { .intro__grid { grid-template-columns: 1fr; } }

/* Áreas ------------------------------------------------------------------- */

.areas__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
.area-card {
	background: var(--c-paper);
	display: flex;
	flex-direction: column;
	border-top: 2px solid var(--c-gold);
}
.area-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.area-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.area-card:hover .area-card__img { transform: scale(1.03); }
.area-card__body { padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; flex: 1; }
.area-card__body > p:not(.area-card__num) { color: var(--c-muted); }
.area-card__body .link-arrow { margin-top: auto; padding-top: 1rem; }
.area-card__num {
	font-family: var(--f-serif);
	font-size: 1rem;
	color: var(--c-gold-dark);
	margin-bottom: 1.5rem;
}
.area-card__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 760px) { .areas__grid { grid-template-columns: 1fr; } }

/* Anuncios ---------------------------------------------------------------- */

.notice-item {
	padding-block: 1.75rem;
	border-top: 1px solid var(--c-line);
}
.notice-item:last-child { border-bottom: 1px solid var(--c-line); }
.notice-item__date {
	font-size: .8125rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--c-gold-dark);
	margin-bottom: .5rem;
}
.notice-item__title { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: .5rem; }
.notice-item__title a { text-decoration: none; }
.notice-item__title a:hover { text-decoration: underline; }
.notice-item__excerpt { color: var(--c-muted); margin-bottom: 1rem; }
.notice-item__more { margin: 0; }

.notices-intro { margin-bottom: 3rem; }
.notices-empty {
	padding: 2rem;
	border: 1px solid var(--c-line);
	color: var(--c-muted);
	text-align: center;
}

.doc-box {
	margin-block: 3rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: #fff;
	border: 1px solid var(--c-line);
	border-left: 3px solid var(--c-gold);
}
.doc-box__title { font-size: 1.35rem; }
.doc-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.back-link { margin-top: 3rem; }

/* Páginas interiores ------------------------------------------------------ */

.page-hero {
	background: var(--c-ink);
	color: var(--c-paper);
	padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem);
	position: relative;
}
.page-hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--c-gold) 0, var(--c-gold) 6rem, transparent 6rem);
}
.page-hero .eyebrow { color: var(--c-gold); }
.page-hero__title {
	color: var(--c-paper);
	font-size: clamp(2.2rem, 5vw, 3.75rem);
	max-width: 52rem;
	margin: 0;
}
.page-hero__meta { margin: 1.5rem 0 0; color: rgba(247, 246, 243, .72); font-size: .9375rem; }

.page-body { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-body__media { margin: 0 auto clamp(3rem, 6vw, 4.5rem); }
.page-body__media img { width: 100%; }

/* Contenido editorial ----------------------------------------------------- */

.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2 {
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	margin-top: 2.2em;
	padding-top: 1.1em;
	border-top: 1px solid var(--c-line);
}
.entry-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--c-gold-dark); }
.entry-content blockquote {
	margin-inline: 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--c-gold);
	font-family: var(--f-serif);
	font-size: 1.25rem;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.entry-content th, .entry-content td { padding: .75rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content .wp-block-table table { min-width: 34rem; }
.entry-content td:first-child { white-space: nowrap; }
@media (max-width: 480px) { .entry-content th, .entry-content td { padding: .6rem .4rem; font-size: .875rem; } }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: .875rem; color: var(--c-muted); }
.entry-content hr { border: 0; border-top: 1px solid var(--c-line); margin-block: 2.5rem; }

/* Bloque «Archivo» de WordPress (PDF en el contenido). */
.entry-content .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	background: #fff;
	border: 1px solid var(--c-line);
}
.entry-content .wp-block-file .wp-block-file__button {
	background: var(--c-ink);
	color: var(--c-paper);
	border-radius: var(--radius);
	padding: .6rem 1.2rem;
	font-size: .8125rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
}

/* Campos pendientes en los textos legales: <mark> del editor. */
.entry-content mark {
	background: #FBF0D9;
	color: #6B4A12;
	padding: .05em .3em;
	border-bottom: 1px dashed #B07A1E;
}

.has-antracita-color { color: var(--c-ink); }
.has-blanco-color { color: var(--c-paper); }
.has-dorado-color { color: var(--c-gold); }
.has-dorado-oscuro-color { color: var(--c-gold-dark); }
.has-antracita-background-color { background-color: var(--c-ink); }
.has-blanco-background-color { background-color: var(--c-paper); }
.has-dorado-background-color { background-color: var(--c-gold); }
.has-dorado-oscuro-background-color { background-color: var(--c-gold-dark); }

.alignwide { max-width: min(100vw - 2 * var(--gutter), 1040px); margin-inline: auto; }

/* Contacto ---------------------------------------------------------------- */

.contact-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: start;
}
@media (max-width: 860px) { .contact-block { grid-template-columns: 1fr; } }

.contact-section__intro { max-width: var(--text-width); margin-bottom: 2.5rem; }
.contact-block .section__lead { margin-bottom: 2rem; }

.contact-details__address {
	font-style: normal;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--c-ink);
	padding-left: 1.25rem;
	border-left: 2px solid var(--c-gold);
}
.contact-details__address strong { font-weight: 600; letter-spacing: .02em; }

.contact-list { margin: 2rem 0 0; border-top: 1px solid var(--c-line); }
.contact-list__item {
	display: grid;
	grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr);
	gap: 1rem;
	padding-block: 1rem;
	border-bottom: 1px solid var(--c-line);
}
.contact-list dt {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--c-gold-dark);
	padding-top: .3rem;
}
.contact-list dd { margin: 0; color: var(--c-ink); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 480px) { .contact-list__item { grid-template-columns: 1fr; gap: .25rem; } }

/* Formulario */
.contact-form {
	background: #fff;
	border: 1px solid var(--c-line);
	border-top: 3px solid var(--c-gold);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-form__fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.contact-form__fields[disabled] { opacity: .55; }
.contact-form__required { font-size: .8125rem; color: var(--c-muted); margin-bottom: 1.25rem; }

.form-field { margin-bottom: 1.25rem; }
.form-field label {
	display: block;
	margin-bottom: .4rem;
	font-size: .875rem;
	font-weight: 600;
	color: var(--c-ink);
}
.form-field input,
.form-field textarea {
	display: block;
	width: 100%;
	padding: .75rem .9rem;
	border: 1px solid #A9A397;
	border-radius: var(--radius);
	background: var(--c-paper);
	color: var(--c-ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 8.5rem; }
.form-field input:focus,
.form-field textarea:focus { background: #fff; border-color: var(--c-ink); }
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-check input:focus-visible { outline: 2px solid var(--c-gold-dark); outline-offset: 2px; }
.form-field [aria-invalid="true"],
.form-check [aria-invalid="true"] { border-color: #9B2C2C; }

.form-field__error {
	margin: .4rem 0 0;
	font-size: .875rem;
	color: #9B2C2C;
}
.form-field__error::before { content: "! "; font-weight: 700; }

.form-privacy {
	margin: 1.5rem 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--c-line);
}
.form-privacy__info { font-size: .8125rem; line-height: 1.6; color: var(--c-muted); margin-bottom: 1rem; }
.form-check { display: flex; align-items: flex-start; gap: .7rem; }
.form-check input {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	margin: .2rem 0 0;
	accent-color: var(--c-ink);
}
.form-check label { font-size: .9375rem; color: var(--c-ink); }
.form-privacy__link { margin: .75rem 0 0; font-size: .875rem; padding-left: 1.85rem; }

.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form__submit { width: 100%; justify-content: center; }
.contact-form__submit[aria-disabled="true"] { opacity: .7; cursor: progress; }

.form-notice {
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	font-size: .9375rem;
	border-left: 3px solid;
}
.form-notice:focus { outline: 2px solid var(--c-gold-dark); outline-offset: 2px; }
.form-notice p { margin: 0; }
.form-notice ul { margin: .6rem 0 0; padding-left: 1.1rem; }
.form-notice a { color: inherit; }
.form-notice--ok { background: #EDF3EE; border-color: #2F5D3A; color: #24472C; }
.form-notice--error { background: #F8ECEA; border-color: #9B2C2C; color: #7A2222; }
.form-notice--info { background: var(--c-paper-2); border-color: var(--c-gold); color: var(--c-ink); }

/* Pie --------------------------------------------------------------------- */

.site-footer {
	background: var(--c-ink);
	color: rgba(247, 246, 243, .68);
	padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
	font-size: .9375rem;
	border-top: 1px solid var(--c-line-dark);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--c-line-dark);
}
.site-footer__grid--4 { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
.site-footer__brand { margin-bottom: 1.25rem; }
.site-footer__legalname { color: var(--c-paper); font-weight: 500; margin-bottom: .5rem; }
.site-footer__text { max-width: 26rem; }
.site-footer__heading {
	font-family: var(--f-sans);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--c-gold);
	margin-bottom: 1.25rem;
}
.footer-menu li { margin-bottom: .6rem; }
.footer-menu a { color: rgba(247, 246, 243, .78); text-decoration: none; }
.footer-menu a:hover { color: var(--c-paper); text-decoration: underline; text-decoration-color: var(--c-gold); }
.site-footer__copy { margin: 2rem 0 0; font-size: .8125rem; color: rgba(247, 246, 243, .62); }
@media (max-width: 960px) { .site-footer__grid--4 { grid-template-columns: 1fr 1fr; } .site-footer__grid--4 .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Paginación -------------------------------------------------------------- */

.nav-links { display: flex; gap: .5rem; margin-top: 2rem; }
.page-numbers { padding: .4rem .8rem; border: 1px solid var(--c-line); text-decoration: none; }
.page-numbers.current { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }

/* Impresión --------------------------------------------------------------- */

@media print {
	.site-header, .site-footer, .nav-toggle, .skip-link, .doc-actions .button--ghost, .back-link { display: none !important; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.page-hero { background: none; color: #000; padding: 0 0 1rem; }
	.page-hero__title, .page-hero__meta { color: #000; }
	.page-hero::after { display: none; }
	.doc-box { border: 1px solid #999; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
	.button { background: none; color: #000; border: 0; padding: 0; }
}
