/*
Theme Name: Héctor Angel
Theme URI: https://hectorangel.com
Author: Héctor Angel Hernández
Author URI: https://hectorangel.com
Description: Tema oficial de hectorangel.com — "Avivando el fuego de Dios". Tema clásico de WordPress a medida, construido sobre el Manual de Marca v.2 (2026): oro metálico, amarillo vivo, papel crema y las tipografías Montserrat, Kaushan Script, Cormorant Garamond y Manrope. Ligero, 100% responsive, accesible y sin dependencias de constructores de página.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hectorangel
Tags: blog, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. TOKENS DE MARCA
   ========================================================================== */
:root {
	/* Oro — registro refinado (web / libro / devocional) */
	--c-oro: #B8924A;
	--c-oro-sombra: #7A5C24;
	--c-oro-claro: #D8B978;
	--c-crema: #FAF5EB;
	--c-marfil: #ECE0C4;

	/* Amarillo — registro enérgico (acentos / CTA / shows) */
	--c-amarillo-vivo: #FDC830;
	--c-amarillo-luz: #FFD75A;
	--c-negro: #0B0B0B;

	/* Superficies y texto */
	--bg: var(--c-crema);
	--bg-alt: #FFFFFF;
	--ink: #231c10;
	--ink-soft: #5c5340;
	--line: rgba(35, 28, 16, 0.12);
	--line-strong: rgba(35, 28, 16, 0.22);

	/* Tipografía */
	--font-display: 'Montserrat', Arial, sans-serif;
	--font-accent: 'Kaushan Script', cursive;
	--font-serif: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Ritmo y forma */
	--radius-s: 6px;
	--radius-m: 14px;
	--radius-l: 28px;
	--shadow-soft: 0 12px 32px -16px rgba(35, 28, 16, 0.28);
	--shadow-lift: 0 20px 48px -20px rgba(35, 28, 16, 0.35);
	--container: 1180px;
	--container-narrow: 760px;
	--gap: clamp(1.25rem, 3vw, 2.5rem);

	color-scheme: light;
}

/* ==========================================================================
   2. RESET Y BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
img { font-style: italic; background: var(--c-marfil); }
a { color: inherit; text-decoration-color: var(--c-oro); text-underline-offset: 3px; }
a:not([class]) { color: var(--c-oro-sombra); }
a:not([class]):hover { color: var(--c-oro); }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.6em;
	color: var(--ink);
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem); }
h4 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 800; }

p { margin: 0 0 1.25em; }
.accent, em.accent, [data-accent] { font-family: var(--font-accent); font-weight: 400; font-style: normal; color: var(--c-oro-sombra); }

.eyebrow {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-oro-sombra);
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: var(--c-oro); display: inline-block; }

/* Foco visible accesible en toda la interfaz */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
	outline: 3px solid var(--c-amarillo-vivo);
	outline-offset: 3px;
	border-radius: var(--radius-s);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 1rem;
	background: var(--c-negro);
	color: #fff;
	padding: 0.75em 1.25em;
	border-radius: var(--radius-s);
	z-index: 1000;
	font-weight: 700;
}
.skip-link:focus {
	left: 1rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--alt { background: var(--bg-alt); }
.section--ink {
	background: var(--c-negro);
	color: #f3ede0;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fbf6ea; }
.section--ink a:not([class]) { color: var(--c-amarillo-luz); }
.section--oro {
	background: linear-gradient(155deg, var(--c-oro-claro), var(--c-oro) 55%, var(--c-oro-sombra));
	color: #2a200c;
}
.section--oro h2, .section--oro h3 { color: #2a200c; }

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.visually-balanced { text-wrap: balance; }

/* ==========================================================================
   4. BOTONES Y COMPONENTES DE ACCIÓN
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	padding: 0.85em 1.6em;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
	text-decoration: none;
	line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
	background: linear-gradient(155deg, var(--c-oro-claro), var(--c-oro) 60%, var(--c-oro-sombra));
	color: #2a200c;
	box-shadow: var(--shadow-soft);
}
.btn-primary:hover { box-shadow: var(--shadow-lift); }
.btn-accent {
	background: var(--c-amarillo-vivo);
	color: var(--c-negro);
}
.btn-accent:hover { background: var(--c-amarillo-luz); }
.btn-ghost {
	background: transparent;
	border-color: currentColor;
	color: var(--c-oro-sombra);
}
.section--ink .btn-ghost, .section--oro .btn-ghost { color: inherit; }
.btn-ghost:hover { background: rgba(184, 146, 74, 0.12); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.85rem; }

/* ==========================================================================
   5. ENCABEZADO / NAVEGACIÓN
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(250, 245, 235, 0.92);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 0.65rem;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: clamp(52px, 7vw, 64px); width: auto; }
.site-logo:hover { opacity: 0.88; }

.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem); }
.primary-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem); }
.primary-nav a {
	font-weight: 800;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	padding: 0.4em 0;
	border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	color: var(--c-oro-sombra);
	border-color: var(--c-oro);
}
.primary-nav .menu-item-seminario > a {
	color: var(--c-oro-sombra);
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-social { display: flex; gap: 0.5rem; }
.header-social a {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	color: var(--ink);
	transition: background 0.2s ease, color 0.2s ease;
}
.header-social a:hover { background: var(--c-oro); color: #fff; border-color: var(--c-oro); }
.header-social svg { width: 16px; height: 16px; }

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	width: 44px; height: 44px;
	border-radius: var(--radius-s);
	align-items: center;
	justify-content: center;
}
.menu-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: background 0.2s ease; }
.menu-toggle .bar::before, .menu-toggle .bar::after {
	content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s ease, top 0.2s ease;
}
.menu-toggle .bar::before { top: -7px; }
.menu-toggle .bar::after { top: 7px; }
.site-header.is-open .menu-toggle .bar { background: transparent; }
.site-header.is-open .menu-toggle .bar::before { top: 0; transform: rotate(45deg); background: var(--ink); }
.site-header.is-open .menu-toggle .bar::after { top: 0; transform: rotate(-45deg); background: var(--ink); }

@media (max-width: 860px) {
	.menu-toggle { display: inline-flex; }
	.primary-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 86vw);
		background: var(--c-negro);
		color: #fff;
		flex-direction: column;
		align-items: flex-start;
		padding: 5.5rem 1.75rem 2rem;
		transform: translateX(100%);
		transition: transform 0.28s ease;
		overflow-y: auto;
	}
	.primary-nav ul { flex-direction: column; align-items: flex-start; gap: 1.1rem; width: 100%; }
	.primary-nav a { color: #f3ede0; font-size: 0.95rem; }
	.site-header.is-open .primary-nav { transform: translateX(0); }
	.header-social { display: none; }
}

/* ==========================================================================
   6. HERO / PORTADA
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--c-negro);
	color: #f3ede0;
	background-image:
		radial-gradient(60% 55% at 85% 15%, rgba(253, 200, 48, 0.16), transparent 60%),
		radial-gradient(70% 60% at 10% 100%, rgba(184, 146, 74, 0.22), transparent 60%);
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding-block: clamp(3.5rem, 8vw, 7rem);
}
.hero h1 { color: #fbf6ea; }
.hero__lede { font-size: 1.15rem; color: #d8cdb4; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.hero__figure {
	position: relative;
	border-radius: var(--radius-l);
	overflow: hidden;
	box-shadow: var(--shadow-lift);
	aspect-ratio: 4 / 5;
	background: var(--c-marfil);
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure--placeholder {
	display: flex; align-items: center; justify-content: center;
	background:
		radial-gradient(60% 50% at 50% 30%, rgba(253, 200, 48, 0.35), transparent 70%),
		linear-gradient(155deg, var(--c-oro-claro), var(--c-oro) 55%, var(--c-oro-sombra));
}
.hero__figure--placeholder img { width: 42%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25)); }
.hero__badge {
	position: absolute;
	left: 1.25rem; bottom: 1.25rem;
	background: rgba(11,11,11,0.72);
	backdrop-filter: blur(6px);
	color: #fff;
	padding: 0.75em 1.1em;
	border-radius: var(--radius-m);
	font-size: 0.85rem;
	display: flex; align-items: center; gap: 0.6em;
}
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__figure { order: -1; max-width: 360px; margin-inline: auto; }
}

/* ==========================================================================
   7. TARJETAS DE ARTÍCULO
   ========================================================================== */
.post-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-alt);
	border-radius: var(--radius-m);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--c-marfil); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card__cat {
	font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--c-oro-sombra);
}
.post-card__title { font-size: 1.2rem; margin: 0; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--c-oro-sombra); }
.post-card__excerpt { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.post-card__meta {
	display: flex; align-items: center; gap: 0.75rem;
	font-size: 0.78rem; color: var(--ink-soft);
	border-top: 1px solid var(--line); padding-top: 0.75rem; margin-top: auto;
}
.post-card--featured { flex-direction: row; }
.post-card--featured .post-card__media { flex: 1 1 45%; aspect-ratio: auto; }
.post-card--featured .post-card__body { flex: 1 1 55%; justify-content: center; }
@media (max-width: 720px) { .post-card--featured { flex-direction: column; } }

/* ==========================================================================
   8. BLOG: LISTADO Y FILTROS
   ========================================================================== */
.blog-head { text-align: center; max-width: 640px; margin-inline: auto; }
.filter-bar {
	display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
	margin-block: 2.25rem;
}
.filter-bar a {
	font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
	padding: 0.55em 1.1em; border-radius: 999px;
	border: 1.5px solid var(--line-strong);
	text-decoration: none; color: var(--ink-soft);
}
.filter-bar a:hover { border-color: var(--c-oro); color: var(--c-oro-sombra); }
.filter-bar a.is-active { background: var(--c-negro); border-color: var(--c-negro); color: #fff; }

.pagination {
	display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap;
}
.pagination a, .pagination span {
	min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--radius-s); border: 1px solid var(--line-strong);
	text-decoration: none; font-weight: 700; font-size: 0.9rem; padding-inline: 0.5em;
}
.pagination .current { background: var(--c-oro); border-color: var(--c-oro); color: #fff; }
.pagination a:hover { border-color: var(--c-oro); color: var(--c-oro-sombra); }

/* ==========================================================================
   9. ARTÍCULO INDIVIDUAL
   ========================================================================== */
.single-head { max-width: var(--container-narrow); margin-inline: auto; text-align: center; }
.single-head .eyebrow { justify-content: center; }
.single-meta {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem;
	color: var(--ink-soft); font-size: 0.9rem; margin-block: 1.25rem;
}
.single-meta span { display: inline-flex; align-items: center; gap: 0.45em; }
.single-figure { max-width: 960px; margin: 2rem auto; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-soft); }

.entry-content {
	max-width: var(--container-narrow);
	margin-inline: auto;
	font-family: var(--font-serif);
	font-size: 1.22rem;
	line-height: 1.75;
	color: var(--ink);
}
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.4em; }
.entry-content p { margin-bottom: 1.3em; }
.entry-content a { color: var(--c-oro-sombra); text-decoration-line: underline; }
.entry-content blockquote {
	font-family: var(--font-serif); font-style: italic; font-size: 1.4rem;
	border-left: 4px solid var(--c-oro); margin: 2rem 0; padding: 0.3em 0 0.3em 1.5rem;
	color: var(--c-oro-sombra);
}
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: var(--radius-m); margin-block: 1.5rem; }
.entry-content hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.entry-content figcaption { font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin-top: 0.5rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 0.95rem; }
.entry-content table th, .entry-content table td { border: 1px solid var(--line); padding: 0.6em 0.8em; }

.share-row {
	max-width: var(--container-narrow); margin: 2.5rem auto 0;
	display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
	padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.share-row__label { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.share-row a {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid var(--line-strong); text-decoration: none;
}
.share-row a:hover { background: var(--c-oro); border-color: var(--c-oro); color: #fff; }
.share-row svg { width: 16px; height: 16px; }

.author-box {
	max-width: var(--container-narrow); margin: 3rem auto 0;
	display: flex; gap: 1.25rem; align-items: center;
	background: var(--bg-alt); border-radius: var(--radius-m); padding: 1.5rem; box-shadow: var(--shadow-soft);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box h3 { font-size: 1.05rem; margin-bottom: 0.2em; }
.author-box p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.related-posts { margin-top: clamp(3rem, 6vw, 5rem); }
.related-posts h2 { text-align: center; margin-bottom: 1.75rem; }

/* ==========================================================================
   10. PÁGINAS: SOBRE MÍ, LIBROS, SEMINARIO, CONTACTO
   ========================================================================== */
.about-grid {
	display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.about-grid__figure { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-soft); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.25rem; margin-top: 2rem; }
.pillar { background: var(--bg-alt); border-radius: var(--radius-m); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.pillar .num { font-family: var(--font-serif); font-size: 1.6rem; color: var(--c-oro); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid__figure { max-width: 420px; margin-inline: auto; } }

.book-card {
	display: grid; grid-template-columns: 0.55fr 1fr; gap: 2rem; align-items: center;
	background: var(--bg-alt); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.75rem);
	box-shadow: var(--shadow-soft); margin-bottom: 2rem;
}
.book-card__cover { border-radius: var(--radius-m); box-shadow: var(--shadow-lift); }
@media (max-width: 720px) { .book-card { grid-template-columns: 1fr; text-align: center; } .book-card__cover { max-width: 220px; margin-inline: auto; } }

.libros-page .entry-content { max-width: 860px; }
.entry-content .book-entry {
	display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start; background: var(--bg-alt); border-radius: var(--radius-l);
	padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow-soft); margin-block: 2rem;
}
.book-entry__media img { border-radius: var(--radius-m); box-shadow: var(--shadow-lift); width: 100%; margin: 0; }
.book-entry__body { min-width: 0; }
.book-entry__body h2 { font-size: 1.5rem; }
.book-entry__body h3 { font-size: 1.1rem; }
@media (max-width: 640px) {
	.entry-content .book-entry { grid-template-columns: 1fr; text-align: center; }
	.book-entry__media img { max-width: 220px; margin-inline: auto; }
}

.seminario-hero {
	display: grid; grid-template-columns: 1fr; gap: 1.5rem; text-align: center; max-width: 820px; margin-inline: auto;
}
.program-card {
	background: var(--bg-alt); border-radius: var(--radius-m); padding: 1.75rem;
	box-shadow: var(--shadow-soft); height: 100%;
	border-top: 4px solid var(--c-oro);
}
.program-card h3 { font-size: 1.15rem; }
.cta-banner {
	text-align: center; border-radius: var(--radius-l);
	padding: clamp(2.5rem, 6vw, 4rem); background: linear-gradient(155deg, var(--c-oro-claro), var(--c-oro) 55%, var(--c-oro-sombra));
	color: #2a200c;
}
.cta-banner h2 { color: #2a200c; }
.cta-banner .btn-ghost { border-color: #2a200c; color: #2a200c; }

.btn-dark { background: var(--c-negro); color: #fff; }
.btn-dark:hover { background: #221c10; }

.eyebrow--on-oro { color: #2a200c; }
.eyebrow--on-oro::before { background: #2a200c; }

.program-complete {
	margin-block: 2.25rem; border-radius: var(--radius-l);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: linear-gradient(155deg, var(--c-oro-claro), var(--c-oro) 55%, var(--c-oro-sombra));
	color: #2a200c;
}
.program-complete h3 { color: #2a200c; margin-bottom: 0.25em; }
.program-complete__title { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; margin-bottom: 0.6em; }
.program-complete__price { font-weight: 700; }
.program-complete .checklist { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 0.6rem; }
.program-complete .checklist li {
	position: relative; padding-left: 1.8em; font-family: var(--font-body); font-size: 0.98rem; font-weight: 600;
}
.program-complete .checklist li::before {
	content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: #2a200c;
}
.program-complete a.btn-dark:hover { color: #fff; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--c-oro); margin-top: 0.15em; }

/* ==========================================================================
   11. FORMULARIOS
   ========================================================================== */
.form-field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 800; font-size: 0.85rem; }
.form-field input, .form-field textarea, .form-field select {
	font-family: var(--font-body); font-size: 1rem; padding: 0.85em 1em;
	border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); background: var(--bg-alt); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--c-oro); }
.form-honeypot { position: absolute; left: -9999px; }
.form-notice { padding: 1em 1.25em; border-radius: var(--radius-s); margin-bottom: 1.5rem; font-weight: 700; }
.form-notice--success { background: rgba(184,146,74,0.16); color: var(--c-oro-sombra); }
.form-notice--error { background: rgba(200,60,40,0.12); color: #9a3412; }

.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; max-width: 460px; }
.newsletter-form input[type="email"] { flex: 1; min-width: 200px; }

/* ==========================================================================
   12. PIE DE PÁGINA
   ========================================================================== */
.site-footer { background: var(--c-negro); color: #d8cdb4; }
.footer-top { padding-block: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); }
.footer-brand img { height: 54px; margin-bottom: 1rem; }
.footer-brand p { color: #a79d85; font-size: 0.92rem; max-width: 32ch; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); color: #f3ede0; }
.footer-social a:hover { background: var(--c-amarillo-vivo); color: var(--c-negro); border-color: var(--c-amarillo-vivo); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: #f3ede0; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col, .footer-col * { color: #cfc3a8; }
.footer-col ul { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.footer-col ul ul { margin-top: 0.4rem; padding-left: 1rem; }
.footer-col li { font-size: 0.85rem; line-height: 1.4; }
.footer-col a { color: #cfc3a8; text-decoration: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col a:hover { color: var(--c-amarillo-luz); }
.footer-col select {
	width: 100%; font-size: 0.85rem; padding: 0.5em 0.7em; border-radius: var(--radius-s);
	background: #211c12; color: #cfc3a8; border: 1px solid rgba(255,255,255,0.18);
}
.footer-col select option { color: #231c10; }
/* Si un widget nativo (Categorías/Archivo) trae demasiadas entradas, no deja crecer el pie sin límite */
.footer-col ul:not(:first-child) { max-height: 220px; overflow-y: auto; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding-block: 1.5rem;
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
	font-size: 0.82rem; color: #998f78;
}
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: #998f78; text-decoration: none; }
.footer-legal a:hover { color: var(--c-amarillo-luz); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ==========================================================================
   13. BÚSQUEDA / 404 / COMENTARIOS
   ========================================================================== */
.search-form-hero { max-width: 560px; margin: 2rem auto 0; display: flex; gap: 0.75rem; }
.search-form-hero input[type="search"] { flex: 1; }
.error-404 { text-align: center; max-width: 560px; margin-inline: auto; }
.error-404 .isotype { width: 96px; margin-inline: auto 2rem; opacity: 0.85; }

.comments-area { max-width: var(--container-narrow); margin: 3rem auto 0; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body { background: var(--bg-alt); border-radius: var(--radius-m); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-soft); }
.comment-respond { margin-top: 2rem; }

/* ==========================================================================
   14. UTILIDADES
   ========================================================================== */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.sr-eyebrow-center { justify-content: center; }
.badge-oro {
	display: inline-flex; align-items: center; gap: 0.5em;
	background: rgba(184,146,74,0.14); color: var(--c-oro-sombra);
	font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
	padding: 0.4em 0.9em; border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
