/* ============================================================
   ConSumo Criterio — sistema visual contemporani
   Blanc dominant, contenidors suaus, acent coral, molt aire.
   ============================================================ */

/* ——— Fuentes ——— */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter-latin-400.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;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/inter-latin-500.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;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter-latin-600.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;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/source-serif-4-400.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;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/source-serif-4-500.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;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/source-serif-4-600.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;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/source-serif-4-700.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;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/source-serif-4-400-italic.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;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/source-serif-4-700-italic.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;
}

/* ——— Tokens ——— */
:root {
	--bg: #ffffff;
	--bg-soft: #f5f6f3;
	--surface: #ffffff;
	--ink: #121613;
	--muted: #5c655f;
	--line: #e7e9e3;

	--brand: #133830;
	--brand-deep: #0c2620;
	--brand-ink: #e6efe9;
	--accent: #e4572e;
	--accent-strong: #c74320;
	--accent-soft: #fdeee8;

	--arraigo: #3f7152;
	--respeto: #b85b6b;
	--apego: #d89b2b;
	--apego-ink: #8f6510;
	--arraigo-soft: color-mix(in srgb, var(--arraigo) 10%, #fff);
	--respeto-soft: color-mix(in srgb, var(--respeto) 10%, #fff);
	--apego-soft: color-mix(in srgb, var(--apego) 10%, #fff);

	--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--font-sans: Inter, system-ui, -apple-system, sans-serif;

	--container: min(100% - 48px, 1200px);
	--article: min(100% - 32px, 720px);
	--space-section: clamp(72px, 9vw, 128px);

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--r-xl: 32px;

	--shadow-sm: 0 1px 2px rgba(18, 22, 19, 0.05);
	--shadow-md: 0 8px 30px -12px rgba(18, 22, 19, 0.16);
	--shadow-lg: 0 24px 60px -24px rgba(18, 22, 19, 0.22);

	--ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
	--dur: 160ms;

	--focus: 2px solid var(--accent);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--dur) ease;
}

a:hover {
	color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
	outline: var(--focus);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	color: var(--ink);
}

.container {
	width: var(--container);
	margin-inline: auto;
}

.article-container {
	width: var(--article);
	margin-inline: auto;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 10000;
	padding: 12px 18px;
	background: var(--ink);
	color: #fff;
	font-weight: 500;
	border-radius: var(--r-sm);
}

.skip-link:focus {
	top: 16px;
}

.section {
	padding-block: var(--space-section);
}

.section--tight {
	padding-block: clamp(48px, 6vw, 80px);
}

.section__eyebrow {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 14px;
}

/* ——— Etiquetas ——— */
.cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--brand);
}

.cat-pill::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

a.cat-pill:hover {
	color: var(--accent);
}

.cat-pill--arraigo { color: var(--arraigo); }
.cat-pill--respeto { color: var(--respeto); }
.cat-pill--apego { color: var(--apego-ink); }
.cat-pill--apego::before { background: var(--apego); }

.meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	font-size: 0.8rem;
	color: var(--muted);
}

.meta-row time {
	font-variant-numeric: tabular-nums;
}

.byline {
	font-weight: 500;
	color: var(--ink);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-sans);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--brand);
}

.text-link svg {
	width: 16px;
	height: 16px;
	transition: transform var(--dur) var(--ease-out);
}

.text-link:hover {
	color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
	.text-link:hover svg {
		transform: translateX(3px);
	}
}

/* ——— Botones ——— */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	font-family: var(--font-sans);
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1;
	color: var(--ink);
	cursor: pointer;
	transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease, transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.btn:active {
	transform: scale(0.97);
}

.btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
	background: var(--accent-strong);
	color: #fff;
}

.btn--ghost {
	border-color: var(--line);
	background: var(--surface);
}

.btn--ghost:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.btn--section {
	border-color: color-mix(in srgb, var(--pilar-color, var(--brand)) 32%, var(--line));
	background: color-mix(in srgb, var(--pilar-color, var(--brand)) 10%, #fff);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

.btn--section:hover {
	background: var(--pilar-color, var(--brand));
	border-color: var(--pilar-color, var(--brand));
	color: var(--pilar-on, #fff);
}

.btn--section svg {
	transition: transform var(--dur) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.btn--section:hover svg {
		transform: translateX(3px);
	}
}

.btn--light {
	background: #fff;
	color: var(--brand-deep);
}

.btn--light:hover {
	background: var(--brand-ink);
	color: var(--brand-deep);
}

.btn--on-dark {
	border-color: color-mix(in srgb, #fff 55%, transparent);
	background: color-mix(in srgb, #fff 10%, transparent);
	color: #fff;
	backdrop-filter: blur(8px);
}

.btn--on-dark:hover {
	border-color: #fff;
	background: #fff;
	color: var(--brand-deep);
}

.btn svg {
	width: 16px;
	height: 16px;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 0.84rem;
	font-weight: 500;
	transition: background-color var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease;
}

.chip.is-active,
.chip[aria-current] {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

@media (hover: hover) and (pointer: fine) {
	.chip:hover {
		border-color: var(--ink);
	}
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	min-width: 44px;
	justify-content: center;
	padding: 0 10px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	cursor: pointer;
	border-radius: var(--r-sm);
}

.icon-btn svg {
	width: 20px;
	height: 20px;
}

/* ============================================================
   HEADER — una fila, sticky, net
   ============================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: color-mix(in srgb, #fff 88%, transparent);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 6px 24px -20px rgba(18, 22, 19, 0.3);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
}

.site-brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-logo {
	display: block;
	width: auto;
	height: 50px;
}

@media (min-width: 600px) {
	.site-logo {
		height: 58px;
	}
}

.site-claim {
	display: none;
}

.site-nav {
	display: none;
}

@media (min-width: 992px) {
	.site-nav {
		display: block;
	}
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 500;
	white-space: nowrap;
	color: var(--muted);
	transition: color var(--dur) ease, background-color var(--dur) ease;
}

@media (min-width: 1200px) {
	.primary-menu a {
		padding: 0 14px;
		font-size: 0.9rem;
	}
}

.primary-menu a:hover {
	color: var(--ink);
	background: var(--bg-soft);
}

.primary-menu .current-menu-item a,
.primary-menu [aria-current] {
	color: var(--ink);
	background: var(--bg-soft);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.header-search {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	justify-content: center;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--muted);
	background: var(--surface);
	cursor: pointer;
	transition: border-color var(--dur) ease, color var(--dur) ease;
}

.header-search[aria-expanded="true"] {
	border-color: var(--ink);
	color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
	.header-search:hover {
		border-color: var(--ink);
		color: var(--ink);
	}
}

.header-search svg {
	width: 16px;
	height: 16px;
}

.header-search__label {
	display: none;
}

@media (min-width: 600px) {
	.header-search__label {
		display: inline;
	}
}

.header-search-panel {
	padding: 0 0 16px;
}

.site-header.is-search-open {
	border-bottom-color: var(--line);
	background: #fff;
	box-shadow: 0 6px 24px -20px rgba(18, 22, 19, 0.3);
}

.header-search-panel[hidden] {
	display: none;
}

.header-search__form {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px;
	width: min(100%, 640px);
	margin-left: auto;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.header-search__form:focus-within {
	border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.header-search__input {
	min-width: 0;
	width: 100%;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
}

.header-search__input:focus {
	outline: none;
}

.header-search__form .btn {
	border-radius: 999px;
	min-height: 44px;
}

@media (prefers-reduced-motion: no-preference) {
	.site-header.is-search-open .header-search-panel {
		animation: cc-search-in 180ms var(--ease-out);
	}
}

@keyframes cc-search-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.menu-toggle {
	border: 1px solid var(--line);
	border-radius: 999px;
}

@media (min-width: 992px) {
	.menu-toggle {
		display: none;
	}
}

/* ——— Navegación móvil ——— */
.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: var(--bg);
	padding: 20px 24px 40px;
	overflow-y: auto;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 240ms var(--ease-out), visibility 240ms;
}

.mobile-nav.is-open {
	transform: translateX(0);
	visibility: visible;
}

.mobile-nav__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.mobile-nav__search {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 6px 6px 6px 16px;
	margin-bottom: 24px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--bg-soft);
	color: var(--ink);
	font-weight: 500;
}

.mobile-nav__search:focus-within {
	border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
	background: var(--surface);
}

.mobile-nav__search svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--muted);
}

.mobile-nav__search input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	color: var(--ink);
}

.mobile-nav__search input:focus {
	outline: none;
}

.mobile-nav__search .btn {
	flex-shrink: 0;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
}

.mobile-nav__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav__menu a {
	display: flex;
	align-items: center;
	min-height: 54px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 1.4rem;
}

.mobile-nav__footer {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.mobile-nav__footer a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--muted);
	font-size: 0.9rem;
}

body.nav-open {
	overflow: hidden;
}

/* ============================================================
   PORTADA
   ============================================================ */

/* ——— Hero full-bleed ——— */
.portada-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: end;
	min-height: clamp(520px, 78vh, 760px);
	overflow: hidden;
	color: #fff;
}

.portada-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.portada-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 42% center;
	transform: scale(1.02);
	filter: brightness(1.16) contrast(0.95) saturate(1.04);
}

.portada-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(100deg, rgba(18, 22, 19, 0.5) 0%, rgba(18, 22, 19, 0.22) 34%, rgba(18, 22, 19, 0.04) 56%, transparent 72%),
		linear-gradient(180deg, transparent 48%, rgba(18, 22, 19, 0.2) 100%);
	pointer-events: none;
}

.portada-hero__content {
	position: relative;
	z-index: 2;
	padding-block: clamp(72px, 10vw, 120px) clamp(48px, 7vw, 80px);
}

.portada-hero__title {
	color: #fff;
	font-size: clamp(2.35rem, 5.4vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin: 0 0 18px;
	max-width: 15ch;
	text-wrap: balance;
	text-shadow: 0 2px 28px rgba(18, 22, 19, 0.42);
}

.portada-hero__text {
	margin: 0 0 28px;
	max-width: 40ch;
	font-size: clamp(1.02rem, 1.7vw, 1.18rem);
	line-height: 1.55;
	color: #fff;
	text-shadow: 0 1px 16px rgba(18, 22, 19, 0.45);
}

.portada-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (prefers-reduced-motion: no-preference) {
	.portada-hero__media img {
		animation: cc-hero-ken 18s var(--ease-out) both;
	}

	.portada-hero__title,
	.portada-hero__text,
	.portada-hero__actions {
		animation: cc-rise 560ms var(--ease-out) both;
	}

	.portada-hero__text { animation-delay: 70ms; }
	.portada-hero__actions { animation-delay: 120ms; }
}

@keyframes cc-hero-ken {
	from { transform: scale(1.06); }
	to { transform: scale(1.02); }
}

/* ——— En portada: banner horizontal + franja lo último ——— */
.portada-lead {
	padding-block: var(--space-section);
}

.portada-lead__intro {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.portada-lead__heading {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	letter-spacing: -0.02em;
	margin: 0;
}

/* Destacada — foto a todo el ancho, texto a la izquierda */
.lead-story--banner {
	position: relative;
	isolation: isolate;
	border-radius: calc(var(--r-xl) + 4px);
	overflow: hidden;
	background: var(--brand-deep);
	box-shadow: var(--shadow-lg);
	min-height: clamp(360px, 52vw, 520px);
}

.lead-story__link {
	display: block;
	position: relative;
	z-index: 2;
	height: 100%;
	min-height: inherit;
	color: #fff;
}

.lead-story__link:hover {
	color: #fff;
}

.lead-story__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
}

.lead-story__media img,
.lead-story__media .placeholder-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: 68% center;
	aspect-ratio: auto;
	filter: brightness(1.1) contrast(0.97) saturate(1.03);
	transition: transform 700ms var(--ease-out);
}

.lead-story__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(105deg, rgba(18, 22, 19, 0.68) 0%, rgba(18, 22, 19, 0.36) 32%, rgba(18, 22, 19, 0.08) 58%, transparent 78%),
		linear-gradient(180deg, transparent 48%, rgba(18, 22, 19, 0.28) 100%);
}

.lead-story__panel {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 14px;
	min-height: inherit;
	padding: clamp(28px, 4.5vw, 52px);
	max-width: min(100%, 34rem);
}

.cat-pill--on-dark {
	color: #fff;
}

.cat-pill--on-dark.cat-pill--arraigo { color: #b7d4c2; }
.cat-pill--on-dark.cat-pill--respeto { color: #e8b8c0; }
.cat-pill--on-dark.cat-pill--apego { color: #f0d48a; }
.cat-pill--on-dark.cat-pill--apego::before { background: currentColor; }

.lead-story--banner .lead-story__title {
	font-size: clamp(1.7rem, 3.4vw, 2.75rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 0;
	max-width: 18ch;
	color: #fff;
	text-wrap: balance;
	text-shadow: 0 2px 22px rgba(18, 22, 19, 0.4);
}

.lead-story--banner .lead-story__dek {
	margin: 0;
	max-width: 40ch;
	font-size: clamp(0.98rem, 1.5vw, 1.12rem);
	line-height: 1.55;
	color: #fff;
	text-shadow: 0 1px 14px rgba(18, 22, 19, 0.4);
}

.lead-story--banner .lead-story__meta {
	margin: 2px 0 0;
}

.lead-story__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	width: fit-content;
	font-family: var(--font-sans);
	font-size: 0.92rem;
	font-weight: 600;
	color: #fff;
}

.lead-story__cta svg {
	width: 16px;
	height: 16px;
	transition: transform var(--dur) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.lead-story--banner:hover {
		box-shadow: 0 28px 70px -28px rgba(18, 22, 19, 0.35);
	}

	.lead-story--banner:hover .lead-story__media img,
	.lead-story--banner:hover .lead-story__media .placeholder-img {
		transform: scale(1.04);
	}

	.lead-story--banner:hover .lead-story__cta svg {
		transform: translateX(4px);
	}
}

/* Lo último — franja horizontal bajo la destacada */
.latest--strip {
	margin-top: clamp(36px, 5vw, 56px);
}

.latest__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 18px;
}

.latest__title {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.latest__title::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}

.latest__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

@media (min-width: 640px) {
	.latest__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
}

@media (min-width: 1100px) {
	.latest__grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 14px;
	}
}

.latest__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	padding: 0 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	color: var(--ink);
	position: relative;
	overflow: hidden;
	transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.latest__card:hover {
	color: var(--ink);
	border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.latest__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bg-soft);
}

.latest__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(1.08) contrast(0.97) saturate(1.02);
	transition: transform 420ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.latest__card:hover .latest__media img {
		transform: scale(1.04);
	}
}

.latest__date {
	display: block;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	padding: 0 16px;
	margin-top: 12px;
}

.latest__headline {
	display: block;
	font-family: var(--font-serif);
	font-size: 1.02rem;
	line-height: 1.3;
	font-weight: 500;
	text-wrap: balance;
	padding: 0 16px;
}

.latest__pillar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--brand);
}

.latest__pillar--arraigo { background: var(--arraigo); }
.latest__pillar--respeto { background: var(--respeto); }
.latest__pillar--apego { background: var(--apego); }
.latest__pillar--brand { background: var(--brand); }

/* ——— Consultorio ——— */
.consultorio {
	background: var(--bg-soft);
	padding-block: var(--space-section);
	margin-block: 0;
}

.consultorio__box {
	background: transparent;
	border: 0;
	padding: 0;
}

.consultorio__label {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 14px;
}

.consultorio__head {
	margin-bottom: 6px;
}

.consultorio__title {
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	letter-spacing: -0.02em;
	margin: 0;
}

.consultorio__lead {
	margin: 12px 0 36px;
	color: var(--muted);
	font-size: 1rem;
	max-width: 56ch;
}

.consultorio__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
	border: 0;
}

@media (min-width: 640px) {
	.consultorio__list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 992px) {
	.consultorio__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.consultorio__list a {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-height: 92px;
	padding: 20px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.4;
	box-shadow: var(--shadow-sm);
	transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

@media (hover: hover) and (pointer: fine) {
	.consultorio__list a:hover {
		border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
		transform: translateY(-2px);
		box-shadow: var(--shadow-md);
		color: var(--ink);
	}
}

.consultorio__num {
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
	margin-top: 2px;
}

.consultorio__arrow {
	margin-left: auto;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	align-self: flex-end;
	color: var(--muted);
	transition: transform var(--dur) var(--ease-out), color var(--dur) ease;
}

@media (hover: hover) and (pointer: fine) {
	.consultorio__list a:hover .consultorio__arrow {
		transform: translateX(3px);
		color: var(--accent);
	}
}

.consultorio__search {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	padding: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	max-width: 640px;
}

.consultorio__search:focus-within {
	border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.consultorio__search input {
	min-height: 44px;
	border: 0;
	background: transparent;
	padding: 0 16px;
	font: inherit;
	font-size: 0.95rem;
	color: var(--ink);
}

.consultorio__search input:focus {
	outline: none;
}

.consultorio__search .btn {
	border-radius: 999px;
	min-height: 44px;
}

/* ——— Secciones por pilar ——— */
.pilar-section {
	border-top: 0;
	padding-block: clamp(72px, 9vw, 126px);
}

.pilar-section:last-of-type {
	padding-bottom: clamp(72px, 9vw, 126px);
}

.pilar-section__intro {
	display: contents;
}

.pilar-section__name {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: clamp(1.55rem, 2.6vw, 2.05rem);
	letter-spacing: -0.02em;
	line-height: 1.12;
	margin: 0;
	order: 1;
}

.pilar-section__name::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 0.38em;
	background: var(--pilar-color, var(--brand));
}

.pilar-section__brand {
	order: 2;
	width: fit-content;
	font-family: var(--font-sans);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pilar-color, var(--brand));
	background: color-mix(in srgb, var(--pilar-color, var(--brand)) 9%, #fff);
	border-radius: 999px;
	padding: 7px 14px;
}

.pilar-section__desc {
	order: 3;
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.55;
	max-width: 62ch;
}

.pilar-section__more {
	order: 6;
	margin: 4px 0 0;
}

.pilar-section__more .btn {
	width: fit-content;
}

.pilar-section--arraigo { --pilar-color: var(--arraigo); }

.pilar-section--respeto {
	--pilar-color: var(--respeto);
	background: var(--bg-soft);
}

.pilar-section--apego {
	--pilar-color: var(--apego);
	--pilar-on: var(--ink);
}

.pilar-section--apego .pilar-section__brand {
	color: var(--apego-ink);
}

.pilar-section__grid {
	display: grid;
	gap: 20px;
	align-items: stretch;
}

.pilar-section__grid > .story--cover:not(.story--minor) {
	order: 4;
}

.pilar-section__col {
	order: 5;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (min-width: 860px) {
	.pilar-section__intro {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		grid-column: 1 / -1;
		gap: 0;
	}

	.pilar-section__name,
	.pilar-section__brand,
	.pilar-section__desc,
	.pilar-section__more,
	.pilar-section__grid > .story--cover:not(.story--minor),
	.pilar-section__col {
		order: unset;
	}

	.pilar-section__name {
		margin: 0 0 12px;
	}

	.pilar-section__brand {
		margin: 0 0 18px;
	}

	.pilar-section__desc {
		margin: 0 0 24px;
	}

	.pilar-section__more {
		margin: 0;
	}

	.pilar-section__grid {
		grid-template-columns: 1.3fr 1fr;
		gap: 24px;
	}

	.pilar-section__col {
		gap: 24px;
	}
}

@media (min-width: 960px) {
	.pilar-section__intro {
		grid-column: auto;
	}

	.pilar-section__grid {
		grid-template-columns: minmax(15.5rem, 23fr) minmax(28rem, 44fr) minmax(21.25rem, 33fr);
		gap: 26px;
	}

	.pilar-section__col {
		gap: 26px;
	}
}

/* Cards visuales: foto de fondo + texto encima */
.story--cover {
	position: relative;
	isolation: isolate;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--brand-deep);
	box-shadow: var(--shadow-sm);
	min-height: clamp(280px, 42vw, 360px);
	transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.story--cover.story--minor {
	flex: 1;
	min-height: clamp(200px, 28vw, 248px);
}

.pilar-section .story--cover:not(.story--minor) {
	min-height: clamp(260px, 68vw, 320px);
}

.pilar-section .story--cover.story--minor {
	min-height: clamp(200px, 48vw, 228px);
}

@media (min-width: 860px) {
	.story--cover:not(.story--minor) {
		min-height: 100%;
		height: 100%;
	}

	.pilar-section__grid > .story--cover:not(.story--minor) {
		min-height: 428px;
		height: 100%;
	}

	.pilar-section .story--cover.story--minor {
		min-height: 0;
	}
}

@media (min-width: 960px) {
	.pilar-section__grid > .story--cover:not(.story--minor) {
		min-height: 456px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.story--cover:hover {
		transform: translateY(-3px);
		box-shadow: var(--shadow-lg);
	}

	.story--cover:hover .story__media img,
	.story--cover:hover .story__media .placeholder-img {
		transform: scale(1.05);
	}
}

.story__link {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	z-index: 2;
	height: 100%;
	min-height: inherit;
	padding: 22px 22px 20px;
	color: #fff;
}

.story__link:hover {
	color: #fff;
}

.story__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
}

.story__media img,
.story__media .placeholder-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	filter: brightness(1.1) contrast(0.97) saturate(1.03);
	transition: transform 420ms var(--ease-out);
}

.story__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, transparent 0%, transparent 38%, rgba(18, 22, 19, 0.42) 72%, rgba(18, 22, 19, 0.72) 100%);
}

.story--cover.story--minor .story__shade {
	background:
		linear-gradient(180deg, transparent 0%, transparent 42%, rgba(18, 22, 19, 0.38) 70%, rgba(18, 22, 19, 0.7) 100%);
}

.story__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.story--cover .story__title {
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0;
	padding: 0;
	color: #fff;
	text-wrap: balance;
	text-shadow: 0 1px 16px rgba(18, 22, 19, 0.4);
}

.story--cover.story--minor .story__title {
	font-size: clamp(1.02rem, 1.5vw, 1.18rem);
	line-height: 1.25;
}

.story--cover .story__excerpt {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: 0.92rem;
	line-height: 1.5;
	color: color-mix(in srgb, #fff 82%, transparent);
	max-width: 42ch;
}

.meta-row--on-dark {
	color: color-mix(in srgb, #fff 72%, transparent);
	margin-top: 4px;
}

.meta-row--on-dark .byline {
	color: #fff;
}

/* ——— Guías prácticas — secció full-width verd ——— */
.guias-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--brand-ink);
	padding-block: var(--space-section);
	background:
		radial-gradient(90% 80% at 92% 8%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 52%),
		linear-gradient(155deg, var(--brand) 0%, var(--brand-deep) 72%);
}

.guias-section__deco {
	position: absolute;
	inset: auto -4% -12% auto;
	width: min(62vw, 700px);
	opacity: 0.14;
	color: #fff;
	pointer-events: none;
	z-index: 0;
}

.guias-section__deco svg {
	display: block;
	width: 100%;
	height: auto;
}

.guias-section > .container {
	position: relative;
	z-index: 1;
}

.guias-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 24px;
	margin-bottom: 6px;
}

.guias-section__name {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.02em;
	margin: 0;
	color: #fff;
}

.guias-section__name::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
	background: color-mix(in srgb, var(--accent) 70%, #fff);
}

.guias-section__brand {
	font-family: var(--font-sans);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--accent) 55%, #fff);
	background: color-mix(in srgb, #fff 10%, transparent);
	border-radius: 999px;
	padding: 7px 14px;
}

.guias-section__desc {
	margin: 6px 0 32px;
	color: color-mix(in srgb, var(--brand-ink) 82%, transparent);
	font-size: 0.98rem;
	max-width: 62ch;
}

.guias-section__grid {
	display: grid;
	gap: 16px;
	align-items: stretch;
}

@media (min-width: 860px) {
	.guias-section__grid {
		grid-template-columns: 1.35fr 1fr 1fr;
		gap: 18px;
	}
}

.guias-section__col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (min-width: 860px) {
	.guias-section__col {
		gap: 18px;
	}
}

.guias-section .story--cover {
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.45);
	border: 1px solid color-mix(in srgb, #fff 10%, transparent);
}

.guias-section .story__num {
	display: block;
	font-family: var(--font-sans);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: color-mix(in srgb, var(--accent) 55%, #fff);
	margin-bottom: 2px;
}

.guias-section__more {
	margin: 32px 0 0;
}

.guias-section__more .btn {
	width: fit-content;
}

.guias-section__more .btn--light:hover {
	background: color-mix(in srgb, var(--accent) 18%, #fff);
}

/* ——— Propósito + newsletter (cierre de portada) ——— */
.proposito {
	padding-block: clamp(48px, 7vw, 96px) var(--space-section);
	background: transparent;
}

.proposito__shell {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: var(--r-xl);
	padding: clamp(36px, 5.5vw, 72px);
	border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
	background:
		radial-gradient(90% 80% at 0% 0%, color-mix(in srgb, var(--arraigo) 10%, transparent) 0%, transparent 55%),
		radial-gradient(70% 60% at 100% 100%, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 50%),
		var(--bg-soft);
	box-shadow: var(--shadow-sm);
}

.proposito__top {
	display: grid;
	gap: clamp(36px, 5vw, 56px);
}

@media (min-width: 960px) {
	.proposito__top {
		grid-template-columns: 1.15fr 0.95fr;
		gap: clamp(48px, 6vw, 88px);
		align-items: stretch;
	}
}

.proposito__lead {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-height: 100%;
}

.proposito__more {
	margin: 0;
}

.proposito__more .btn svg {
	transition: transform var(--dur) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.proposito__more .btn:hover svg {
		transform: translateX(3px);
	}
}

@media (min-width: 960px) {
	.proposito__more {
		margin-top: auto;
		padding-top: 8px;
	}
}

.proposito__title {
	font-size: clamp(1.7rem, 3.2vw, 2.35rem);
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 clamp(20px, 3vw, 28px);
	max-width: 16ch;
}

.proposito__bio {
	display: grid;
	gap: 16px;
	max-width: 48ch;
}

.proposito__bio p {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.02rem, 1.5vw, 1.12rem);
	line-height: 1.65;
	color: var(--ink);
}

.proposito__label {
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 12px;
}

.proposito__label--vision {
	margin-bottom: 16px;
}

.proposito__vision-text {
	position: relative;
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.5vw, 1.9rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.28;
	letter-spacing: -0.02em;
	color: var(--brand);
	margin: 0;
	max-width: 16ch;
	padding-left: 0.15em;
}

.proposito__quote {
	position: absolute;
	left: -0.05em;
	top: -0.35em;
	font-family: var(--font-serif);
	font-size: 0.85em;
	font-style: normal;
	font-weight: 600;
	line-height: 1;
	color: var(--accent);
	opacity: 0.9;
	pointer-events: none;
}

.proposito__aside {
	display: grid;
	gap: clamp(28px, 3.5vw, 40px);
	align-content: start;
}

@media (min-width: 960px) {
	.proposito__aside {
		border-left: 1px solid color-mix(in srgb, var(--line) 85%, var(--brand));
		padding-left: clamp(32px, 4vw, 48px);
	}
}

.proposito__mission-text {
	font-family: var(--font-serif);
	font-size: clamp(1.05rem, 1.6vw, 1.18rem);
	line-height: 1.55;
	color: var(--ink);
	margin: 0;
	max-width: 38ch;
}

.proposito__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: proposito;
	display: grid;
	gap: 0;
}

.proposito__list li {
	counter-increment: proposito;
	display: grid;
	grid-template-columns: 2.2rem 1fr;
	gap: 12px;
	align-items: start;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--ink);
	padding-block: 12px;
	border-top: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
}

.proposito__list li:last-child {
	padding-bottom: 0;
}

.proposito__list li::before {
	content: counter(proposito, decimal-leading-zero);
	font-family: var(--font-sans);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--accent);
	line-height: 1.55;
	font-variant-numeric: tabular-nums;
}

/* ——— Newsletter ——— */
.newsletter {
	padding-block: 0 var(--space-section);
}

.newsletter__box {
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: var(--bg-soft);
	padding: clamp(32px, 5vw, 56px);
	display: grid;
	gap: 28px;
}

@media (min-width: 900px) {
	.newsletter__box {
		grid-template-columns: 1.1fr 1fr;
		gap: 64px;
		align-items: center;
	}
}

.newsletter--embedded {
	padding: 0;
	margin-top: clamp(36px, 5vw, 56px);
	padding-top: clamp(28px, 4vw, 40px);
	border-top: 1px solid color-mix(in srgb, var(--line) 88%, var(--brand));
}

.newsletter--embedded .newsletter__box {
	border: 0;
	border-radius: var(--r-lg);
	background: var(--bg);
	padding: clamp(24px, 3.5vw, 36px);
	box-shadow: none;
	gap: 24px;
}

@media (min-width: 900px) {
	.newsletter--embedded .newsletter__box {
		gap: 48px;
	}
}

.newsletter--embedded .newsletter__title {
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	margin-bottom: 8px;
}

.newsletter--embedded .newsletter__text {
	font-size: 0.95rem;
}

.newsletter__eyebrow {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 12px;
}

.newsletter__title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.newsletter__text {
	color: var(--muted);
	margin: 0;
	max-width: 46ch;
	line-height: 1.6;
}

.newsletter__form {
	display: grid;
	gap: 14px;
}

.newsletter__row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
}

.newsletter__row:focus-within {
	border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.newsletter__form input[type="email"] {
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	font: inherit;
	font-size: 0.95rem;
	background: transparent;
	color: var(--ink);
}

.newsletter__form input[type="email"]:focus {
	outline: none;
}

.newsletter__row .btn {
	border-radius: 999px;
	min-height: 44px;
}

.newsletter__check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.82rem;
	color: var(--muted);
	padding-left: 8px;
}

.newsletter__check a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.newsletter__check input {
	margin-top: 3px;
	accent-color: var(--accent);
}

.newsletter__notice {
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--r-sm);
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-size: 0.88rem;
	line-height: 1.45;
}

.archive-hero--thanks {
	padding-bottom: clamp(72px, 12vw, 140px);
	border-bottom: 0;
}

.thanks-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 28px;
}

/* ——— Publicidad futura: 0 espacio si no se renderiza ——— */
.ad-slot {
	width: min(100% - 48px, 1200px);
	margin-inline: auto;
	margin-block: clamp(16px, 2.5vw, 32px);
}

.ad-slot:empty {
	display: none;
	margin: 0;
	padding: 0;
}

.container > .ad-slot,
.article-list .ad-slot,
.article-body .ad-slot {
	width: 100%;
}

.article-body .ad-slot {
	margin-block: 2em;
}

.ad-slot__label {
	font-family: var(--font-sans);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 8px;
}

.ad-slot__inner {
	display: block;
	max-width: 100%;
}

.ad-slot__inner img,
.ad-slot__inner iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ============================================================
   IMÁGENES PLACEHOLDER
   ============================================================ */
.placeholder-img {
	width: 100%;
	height: 100%;
	min-height: 120px;
	background:
		radial-gradient(90% 70% at 78% 18%, color-mix(in srgb, #fff 18%, transparent) 0%, transparent 48%),
		linear-gradient(160deg, #3f574c 0%, #133830 58%, #0c2620 100%);
	position: relative;
	overflow: hidden;
}

.placeholder-img::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(
			-18deg,
			transparent 0 14px,
			color-mix(in srgb, #fff 4%, transparent) 14px 15px
		);
	opacity: 0.45;
	mix-blend-mode: soft-light;
}

.placeholder-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 85% 12%, color-mix(in srgb, var(--accent) 36%, transparent) 0%, transparent 55%),
		radial-gradient(80% 60% at 12% 88%, color-mix(in srgb, #000 28%, transparent) 0%, transparent 55%);
	mix-blend-mode: soft-light;
}

.placeholder-img--rural {
	background:
		radial-gradient(80% 60% at 20% 80%, color-mix(in srgb, #c9d6a8 22%, transparent) 0%, transparent 50%),
		linear-gradient(155deg, #8a9c6e 0%, #536744 52%, #2c3a26 100%);
}

.placeholder-img--transport,
.placeholder-img--arraigo {
	background:
		radial-gradient(70% 55% at 82% 20%, color-mix(in srgb, #e8f0d8 18%, transparent) 0%, transparent 48%),
		linear-gradient(160deg, #74875f 0%, #47593c 55%, #2c3a26 100%);
}

.placeholder-img--care {
	background:
		radial-gradient(75% 60% at 70% 18%, color-mix(in srgb, #d4e4f0 20%, transparent) 0%, transparent 50%),
		linear-gradient(160deg, #8aa0b2 0%, #4e6b7e 55%, #334755 100%);
}

.placeholder-img--respeto {
	background:
		radial-gradient(70% 55% at 18% 78%, color-mix(in srgb, #b9cfe0 18%, transparent) 0%, transparent 48%),
		linear-gradient(150deg, #6d8799 0%, #3f5a6c 58%, #243743 100%);
}

.placeholder-img--family {
	background:
		radial-gradient(75% 60% at 78% 22%, color-mix(in srgb, #f3c9ae 22%, transparent) 0%, transparent 50%),
		linear-gradient(160deg, #d08560 0%, #a35434 55%, #75381f 100%);
}

.placeholder-img--apego {
	background:
		radial-gradient(70% 55% at 22% 82%, color-mix(in srgb, #efc4a8 18%, transparent) 0%, transparent 48%),
		linear-gradient(150deg, #c77852 0%, #94462c 58%, #5f2c18 100%);
}

.placeholder-img--admin {
	background:
		radial-gradient(70% 55% at 80% 16%, color-mix(in srgb, #d5e6df 16%, transparent) 0%, transparent 48%),
		linear-gradient(160deg, #57706a 0%, #2e4a43 55%, #16302a 100%);
}

/* ============================================================
   PLANTILLAS INTERIORES
   ============================================================ */

/* ——— Migas ——— */
.breadcrumbs {
	padding-block: 16px;
	font-size: 0.8rem;
	color: var(--muted);
}

.breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.breadcrumbs li span[aria-hidden="true"] {
	margin-inline: 0.4em;
}

.breadcrumbs a {
	color: var(--muted);
}

.breadcrumbs a:hover {
	color: var(--accent);
}

/* ——— Cabecera de archivo ——— */
.archive-hero {
	padding-block: clamp(32px, 5vw, 56px);
	border-bottom: 1px solid var(--line);
}

.archive-hero__accent {
	display: block;
	width: 44px;
	height: 6px;
	border-radius: 999px;
	background: var(--brand);
	margin-bottom: 22px;
}

.archive-hero--arraigo .archive-hero__accent { background: var(--arraigo); }
.archive-hero--respeto .archive-hero__accent { background: var(--respeto); }
.archive-hero--apego .archive-hero__accent { background: var(--apego); }

.archive-hero h1 {
	font-size: clamp(2.1rem, 5vw, 3.3rem);
	letter-spacing: -0.03em;
	margin-bottom: 10px;
}

.archive-hero__desc {
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 58ch;
}

.topic-chips,
.tag-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.tag-filters {
	margin-block: 28px 8px;
}

.tag-filters__more {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex-basis: 100%;
}

.tag-filters__more[hidden] {
	display: none;
}

.tag-filters__toggle {
	appearance: none;
	cursor: pointer;
	line-height: 1;
	color: var(--muted);
	background: transparent;
}

.tag-filters__toggle[aria-expanded="true"] {
	color: var(--ink);
	border-color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
	.tag-filters__toggle:hover {
		color: var(--ink);
	}
}

/* ——— Lista editorial ——— */
.article-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-block: 8px;
}

.article-list-item {
	display: grid;
	gap: 18px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

@media (hover: hover) and (pointer: fine) {
	.article-list-item:hover {
		transform: translateY(-2px);
		box-shadow: var(--shadow-md);
	}
}

@media (min-width: 720px) {
	.article-list-item {
		grid-template-columns: 200px 1fr;
		gap: 26px;
		align-items: center;
	}
}

.article-list-item__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--bg-soft);
}

.article-list-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(1.08) contrast(0.97) saturate(1.02);
}

.article-list-item__title {
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	line-height: 1.2;
	margin: 8px 0 8px;
}

.article-list-item__title a:hover {
	color: var(--brand);
}

.article-list-item__excerpt {
	color: var(--muted);
	font-size: 0.94rem;
	margin: 0 0 12px;
	max-width: 68ch;
}

/* Destacado de archivo */
.featured-story {
	display: grid;
	gap: 24px;
	padding: clamp(20px, 3vw, 28px);
	margin-block: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

@media (min-width: 860px) {
	.featured-story {
		grid-template-columns: 1.1fr 1fr;
		gap: 40px;
		align-items: center;
	}
}

.featured-story__media {
	display: block;
	border-radius: var(--r-lg);
	overflow: hidden;
}

.featured-story__media img,
.featured-story__media .placeholder-img {
	aspect-ratio: 16 / 10;
	width: 100%;
	object-fit: cover;
	filter: brightness(1.08) contrast(0.97) saturate(1.02);
}

.featured-story__title {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 12px 0;
}

.featured-story__title a:hover {
	color: var(--brand);
}

.featured-story__excerpt {
	color: var(--muted);
	margin: 0 0 16px;
	font-size: 1rem;
	line-height: 1.6;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	padding-block: 48px;
	font-variant-numeric: tabular-nums;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	color: var(--ink);
	font-size: 0.9rem;
	font-weight: 500;
}

.pagination .current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.archive-empty {
	padding-block: 64px;
	text-align: center;
	color: var(--muted);
	font-size: 1.05rem;
}

/* ——— Búsqueda ——— */
.search-hero {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	max-width: 640px;
}

.search-hero:focus-within {
	border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.search-hero__input {
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.98rem;
	color: var(--ink);
}

.search-hero__input:focus {
	outline: none;
}

.search-hero .btn {
	border-radius: 999px;
	min-height: 44px;
}

.search-results-header {
	padding-block: clamp(32px, 5vw, 56px) 24px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 24px;
}

.search-results-header h1 {
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	letter-spacing: -0.02em;
}

.search-count {
	color: var(--muted);
	font-size: 0.92rem;
	margin-bottom: 24px;
}

.search-empty {
	padding-block: 56px;
}

.search-empty__suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

/* ——— Artículo ——— */
.article-header {
	padding-block: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 40px);
	border-bottom: 1px solid var(--line);
	margin-bottom: clamp(32px, 4vw, 48px);
}

.article-header__title {
	font-size: clamp(2rem, 4.8vw, 3.2rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	margin: 16px 0 18px;
	max-width: 24ch;
}

.article-header__dek {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.6;
	color: var(--muted);
	max-width: 58ch;
	margin: 0 0 20px;
}

.article-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.article-actions .btn {
	min-height: 42px;
	padding-inline: 16px;
	font-size: 0.84rem;
}

.share {
	position: relative;
}

.share > summary {
	list-style: none;
}

.share > summary::-webkit-details-marker {
	display: none;
}

.share > summary::marker {
	content: "";
}

.share[open] > summary {
	border-color: var(--ink);
}

.share__panel {
	position: absolute;
	z-index: 30;
	top: calc(100% + 8px);
	left: 0;
	min-width: min(220px, calc(100vw - 48px));
	padding: 6px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
	font-family: var(--font-sans);
}

.share__panel a,
.share__panel button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--ink);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.share__panel svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.share__panel button[data-shared="true"] {
	background: var(--bg-soft);
	color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
	.share__panel a:hover,
	.share__panel button:hover {
		background: var(--bg-soft);
		color: var(--ink);
	}
}

.article-layout {
	display: grid;
	gap: 32px;
	padding-bottom: var(--space-section);
}

@media (min-width: 1024px) {
	.article-layout {
		grid-template-columns: 250px minmax(0, 720px);
		gap: 72px;
		justify-content: center;
	}

	/* Sense índex, el cos no ha de quedar a la columna de 250px. */
	.article-layout:not(:has(.article-toc)) {
		grid-template-columns: minmax(0, 720px);
	}
}

.article-answer {
	padding-bottom: var(--space-section);
}

.article-toc {
	background: var(--bg-soft);
	border-radius: var(--r-md);
	padding: 20px;
	align-self: start;
	font-size: 0.9rem;
	border-top: 0;
}

@media (min-width: 1024px) {
	.article-toc {
		position: sticky;
		top: 96px;
	}
}

.article-toc__title {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
	color: var(--ink);
}

.article-toc ol {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.article-toc li + li {
	margin-top: 2px;
}

.article-toc a {
	display: block;
	padding: 7px 10px;
	border-radius: 8px;
	border-left: 0;
	color: var(--muted);
	line-height: 1.4;
}

.article-toc a:hover,
.article-toc a.is-active {
	color: var(--ink);
	background: #fff;
}

.article-body {
	font-family: var(--font-serif);
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--ink);
	font-synthesis: weight style;
}

.article-content > p {
	margin: 0 0 1.15em;
}

.article-content > p:first-of-type {
	font-size: 1.32rem;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: -0.011em;
	color: var(--ink);
	margin-bottom: 1.4em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.22;
	color: var(--ink);
}

.article-content h2 {
	font-size: clamp(1.7rem, 2.6vw, 2.05rem);
	margin: 2.15em 0 0.55em;
	padding-top: 0;
	border-top: 0;
}

.article-content > :first-child {
	margin-top: 0;
}

.article-content h3 {
	font-size: 1.4rem;
	margin: 1.75em 0 0.4em;
}

.article-content h4 {
	font-size: 1.18rem;
	margin: 1.45em 0 0.35em;
}

.article-footer h2 {
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.25;
	margin: 1.5em 0 0.5em;
	color: var(--ink);
}

.article-footer strong {
	font-weight: 600;
}

.article-content :is(strong, b) {
	font-weight: 700;
	font-synthesis: weight;
}

.article-content :is(em, i) {
	font-style: italic;
}

.article-content :is(u, ins),
.article-content [style*="text-decoration: underline"],
.article-content [style*="text-decoration:underline"] {
	text-decoration: underline;
	text-decoration-thickness: 0.07em;
	text-underline-offset: 0.16em;
	text-decoration-skip-ink: auto;
}

.article-content a {
	color: var(--accent-strong);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

@media (hover: hover) and (pointer: fine) {
	.article-content a:hover {
		color: var(--brand);
	}
}

.article-footer p a {
	color: var(--brand);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 0.06em;
	text-underline-offset: 0.18em;
}

.article-body blockquote {
	margin: 1.6em 0;
	padding: 20px 24px;
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	background: var(--bg-soft);
	font-style: italic;
	color: var(--muted);
}

.article-body ul,
.article-body ol {
	padding-left: 1.3em;
}

.article-body li {
	margin-bottom: 0.4em;
}

.article-footer {
	margin-top: 56px;
	padding: 28px;
	border-top: 0;
	border-radius: var(--r-lg);
	background: var(--bg-soft);
	font-family: var(--font-sans);
	font-size: 0.92rem;
	color: var(--muted);
}

.article-footer__legal {
	font-style: italic;
}

.related-grid {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.related-grid a {
	display: block;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: #fff;
	font-family: var(--font-serif);
	font-size: 1.04rem;
	font-weight: 500;
	color: var(--ink);
}

.related-grid a:hover {
	color: var(--accent);
	border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.cc-article:has(+ .cc-comments) .article-layout {
	padding-bottom: clamp(40px, 5vw, 64px);
}

/* ——— Comentarios ——— */
.cc-comments {
	padding-block: clamp(48px, 6vw, 80px) var(--space-section);
	background: var(--bg-soft);
	font-family: var(--font-sans);
}

.cc-comments__header {
	margin-bottom: 28px;
}

.cc-comments__title {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	letter-spacing: -0.02em;
	margin-bottom: 10px;
}

.cc-comments__lead {
	margin: 0;
	max-width: 46ch;
	color: var(--muted);
	line-height: 1.55;
}

.cc-comments__list,
.cc-comments__list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cc-comments__list {
	display: grid;
	gap: 12px;
}

.cc-comments__list .children {
	display: grid;
	gap: 12px;
	margin-top: 12px;
	padding-left: 16px;
	border-left: 2px solid var(--line);
}

@media (min-width: 640px) {
	.cc-comments__list .children {
		padding-left: 24px;
	}
}

.cc-comment__card {
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface);
}

.cc-comment--staff > .cc-comment__card {
	border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
	background: color-mix(in srgb, var(--brand) 4%, #fff);
}

.cc-comment__meta {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.cc-comment__avatar {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--brand);
	color: var(--brand-ink);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
}

.cc-comment--staff .cc-comment__avatar {
	background: var(--accent);
	color: #fff;
}

.cc-comment__byline {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.cc-comment__who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.cc-comment__author {
	font-family: var(--font-serif);
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ink);
}

.cc-comment__badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-family: var(--font-sans);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	vertical-align: 2px;
}

.cc-comment__date {
	font-size: 0.8rem;
	color: var(--muted);
}

.cc-comment__date:hover {
	color: var(--accent);
}

.cc-comment__pending {
	margin: 0 0 12px;
	padding: 10px 14px;
	border-radius: var(--r-sm);
	background: var(--accent-soft);
	color: var(--accent-strong);
	font-size: 0.86rem;
}

.cc-comment__content {
	color: var(--ink);
	font-size: 1rem;
	line-height: 1.65;
}

.cc-comment__content p {
	margin: 0 0 0.8em;
}

.cc-comment__content p:last-child {
	margin-bottom: 0;
}

.cc-comment__content a {
	color: var(--brand);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
	text-underline-offset: 0.2em;
}

.cc-comment__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 14px;
}

.cc-comment__actions .comment-reply-link,
.cc-comment__edit a {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--brand);
}

.cc-comment__actions .comment-reply-link:hover,
.cc-comment__edit a:hover {
	color: var(--accent);
}

.cc-comment__ping {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.cc-comments__pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.cc-comments__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	font-size: 0.88rem;
	font-weight: 600;
}

.cc-comments__pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.cc-comments__respond {
	margin-top: 32px;
	padding: clamp(24px, 3.5vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
}

.cc-comments__reply-title {
	font-size: 1.35rem;
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

.cc-comments__cancel {
	display: inline-block;
	margin-left: 10px;
	font-family: var(--font-sans);
	font-size: 0.86rem;
	font-weight: 600;
}

.cc-comments__cancel a {
	color: var(--accent);
}

.cc-comment-form {
	display: grid;
	gap: 16px;
}

@media (min-width: 640px) {
	.cc-comment-form {
		grid-template-columns: 1fr 1fr;
	}

	.cc-comment-form .comment-form-comment,
	.cc-comment-form .comment-form-cookies-consent,
	.cc-comment-form .cc-comment-form__notes,
	.cc-comment-form .cc-comment-form__logged,
	.cc-comment-form .cc-comment-form__submit,
	.cc-comment-form .comment-notes,
	.cc-comment-form .logged-in-as,
	.cc-comment-form .must-log-in {
		grid-column: 1 / -1;
	}
}

.cc-comment-form__notes,
.cc-comment-form__logged,
.cc-comment-form .comment-notes,
.cc-comment-form .logged-in-as,
.cc-comment-form .must-log-in {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.cc-comment-form__logged a,
.cc-comment-form .logged-in-as a,
.cc-comment-form .must-log-in a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.cc-comment-form__field {
	display: grid;
	gap: 6px;
	margin: 0;
}

.cc-comment-form__field label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ink);
}

.cc-comment-form__req {
	font-weight: 400;
	color: var(--muted);
}

.cc-comment-form__field input,
.cc-comment-form__field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--bg-soft);
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
}

.cc-comment-form__field textarea {
	min-height: 148px;
	resize: vertical;
	line-height: 1.55;
}

.cc-comment-form__field input:focus,
.cc-comment-form__field textarea:focus {
	border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
	background: #fff;
}

.cc-comment-form__check {
	margin: 0;
}

.cc-comment-form__check label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.82rem;
	color: var(--muted);
}

.cc-comment-form__check input {
	margin-top: 3px;
	accent-color: var(--accent);
}

.cc-comment-form__submit {
	margin: 0;
}

.cc-comment-form__submit .btn {
	min-width: min(100%, 220px);
}

/* ——— FAQ ——— */
.faq-toolbar {
	display: grid;
	gap: 12px;
	margin-bottom: 28px;
	max-width: 640px;
}

.faq-toolbar input,
.faq-toolbar select {
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	font: inherit;
	color: var(--ink);
}

.faq-list {
	border-top: 0;
	display: grid;
	gap: 12px;
}

.faq-item {
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface);
	padding: 0 20px;
}

.faq-item__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 60px;
	padding: 16px 0;
	border: 0;
	background: transparent;
	font-family: var(--font-serif);
	font-size: 1.08rem;
	font-weight: 500;
	text-align: left;
	color: var(--ink);
	cursor: pointer;
}

.faq-item__button:hover {
	color: var(--accent);
}

.faq-item__button svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	transition: transform var(--dur) var(--ease-out);
}

.faq-item__button[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.faq-item__panel {
	padding: 0 0 20px;
	color: var(--muted);
	line-height: 1.65;
	max-width: 68ch;
}

/* ——— Sobre ——— */
.cc-about .about-hero,
.cc-about .about-story,
.cc-about .about-criterio,
.cc-about .about-pilares,
.cc-about .about-close,
.cc-about h2,
.cc-about h3,
.cc-about :focus-visible {
	scroll-margin-top: 96px;
}

.about-hero {
	padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 88px);
}

.about-hero__inner {
	display: grid;
	gap: clamp(28px, 4vw, 48px);
}

@media (min-width: 900px) {
	.about-hero__inner {
		grid-template-columns: 1.15fr 0.85fr;
		gap: clamp(48px, 6vw, 88px);
		align-items: end;
	}
}

.about-hero__title {
	font-size: clamp(2.35rem, 5.4vw, 4rem);
	letter-spacing: -0.035em;
	max-width: 12ch;
	text-wrap: balance;
	margin: 0;
}

.cc-criterios .about-hero__title {
	max-width: 14ch;
}

.about-hero__lead {
	margin: 16px 0 0;
	font-size: 1.25rem;
	line-height: 1.5;
	max-width: 34ch;
	color: var(--muted);
}

.about-hero__vision {
	margin: 0;
	background: var(--bg-soft);
	border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
	border-radius: var(--r-xl);
	padding: clamp(28px, 4vw, 40px);
	box-shadow: var(--shadow-sm);
}

.about-hero__vision > .proposito__label {
	font-style: normal;
}

.about-hero__vision-text {
	position: relative;
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.5vw, 1.9rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.28;
	letter-spacing: -0.02em;
	color: var(--brand);
	max-width: 18ch;
	padding-left: 0.15em;
}

.about-story {
	padding-block: 0 clamp(48px, 7vw, 96px);
}

.about-story__grid {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
}

@media (min-width: 960px) {
	.about-story__grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
		align-items: start;
		gap: 72px;
	}
}

.about-prose {
	font-family: var(--font-serif);
	font-size: 1.1rem;
	line-height: 1.7;
}

.about-bio {
	max-width: 62ch;
}

.about-bio__intro {
	margin-bottom: 1.8em;
}

.about-bio__intro > *:first-child {
	margin-top: 0;
}

.about-bio h2 {
	font-size: clamp(1.45rem, 2.6vw, 1.9rem);
	letter-spacing: -0.025em;
	margin: 1.6em 0 0.5em;
}

.about-bio h2:first-child {
	margin-top: 0;
}

.about-bio p {
	margin: 0 0 1em;
	color: var(--ink);
}

.about-bio p:last-child {
	margin-bottom: 0;
}

.about-rail {
	display: grid;
	gap: 16px;
}

@media (min-width: 960px) {
	.about-rail {
		position: sticky;
		top: 96px;
	}
}

.about-rail__card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(22px, 3vw, 28px);
	box-shadow: var(--shadow-sm);
}

.about-facts {
	margin: 0;
	display: grid;
	gap: 0;
}

.about-facts__row {
	display: grid;
	gap: 4px;
	padding-block: 12px;
	border-top: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
}

.about-facts__row:first-child {
	padding-top: 0;
	border-top: 0;
}

.about-facts__row:last-child {
	padding-bottom: 0;
}

.about-facts dt {
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.about-facts dd {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ink);
}

.about-quote {
	margin: 0;
	background: var(--accent-soft);
	border-radius: var(--r-lg);
	padding: clamp(22px, 3vw, 28px);
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1.18rem;
	line-height: 1.45;
	color: var(--brand);
}

.about-quote .proposito__quote {
	position: static;
	display: block;
	margin: 0 0 8px;
	font-size: 1.5em;
	line-height: 1;
}

.about-criterio {
	background: var(--bg-soft);
	padding-block: clamp(48px, 7vw, 96px);
}

.about-criterio__grid {
	display: grid;
	gap: clamp(32px, 5vw, 56px);
}

@media (min-width: 900px) {
	.about-criterio__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
		gap: 64px;
		align-items: start;
	}
}

.about-criterio h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.35rem);
	letter-spacing: -0.025em;
	max-width: 16ch;
	margin: 0 0 16px;
}

.about-criterio__mission {
	margin: 0 0 28px;
	font-family: var(--font-serif);
	font-size: clamp(1.05rem, 1.6vw, 1.18rem);
	line-height: 1.55;
	max-width: 42ch;
	color: var(--ink);
}

.about-trust {
	display: grid;
	gap: 16px;
}

.about-trust__card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(22px, 3vw, 28px);
	box-shadow: var(--shadow-sm);
}

.about-trust__title {
	font-size: 1.2rem;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.about-trust__card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

.about-pilares {
	padding-block: clamp(48px, 7vw, 96px) 0;
}

.about-pilares h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.35rem);
	letter-spacing: -0.025em;
	max-width: 16ch;
	margin: 0 0 clamp(28px, 4vw, 40px);
}

.about-pilares__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

@media (min-width: 860px) {
	.about-pilares__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

.about-pilar {
	--pilar-color: var(--brand);
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 100%;
	padding: clamp(22px, 3vw, 28px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	color: var(--ink);
	transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.about-pilar--arraigo { --pilar-color: var(--arraigo); }
.about-pilar--respeto { --pilar-color: var(--respeto); }
.about-pilar--apego { --pilar-color: var(--apego); }

@media (hover: hover) and (pointer: fine) {
	.about-pilar:hover {
		border-color: color-mix(in srgb, var(--pilar-color) 45%, var(--line));
		transform: translateY(-2px);
		box-shadow: var(--shadow-md);
		color: var(--ink);
	}

	.about-pilar:hover .cat-pill--arraigo { color: var(--arraigo); }
	.about-pilar:hover .cat-pill--respeto { color: var(--respeto); }
	.about-pilar:hover .cat-pill--apego { color: var(--apego-ink); }

	.about-pilar:hover .about-pilar__go {
		color: var(--accent);
	}

	.about-pilar:hover .about-pilar__go svg {
		transform: translateX(3px);
	}
}

.about-pilar:active {
	transform: scale(0.97);
}

.about-pilar__title {
	font-size: clamp(1.2rem, 2vw, 1.4rem);
	letter-spacing: -0.02em;
	margin: 0;
	text-wrap: balance;
}

.about-pilar__desc {
	margin: 0;
	flex: 1;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--muted);
}

.about-pilar__go {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	margin-top: 4px;
	font-family: var(--font-sans);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--brand);
}

.about-pilar__go svg {
	width: 16px;
	height: 16px;
	transition: transform var(--dur) var(--ease-out);
}

.about-close {
	padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 56px);
}

.about-close__shell {
	display: grid;
	gap: clamp(28px, 4vw, 48px);
	padding: clamp(32px, 5vw, 56px);
	background: var(--bg-soft);
	border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-sm);
}

@media (min-width: 860px) {
	.about-close__shell {
		grid-template-columns: 1.2fr 0.8fr;
		align-items: end;
		gap: 56px;
	}
}

.about-close h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.35rem);
	letter-spacing: -0.025em;
	max-width: 14ch;
	margin: 0 0 12px;
}

.about-close__lead {
	margin: 0 0 24px;
	max-width: 36ch;
	color: var(--muted);
	font-size: 1.05rem;
}

.about-close__actions {
	margin: 0;
}

.about-close__aside {
	display: grid;
	gap: 16px;
}

.about-close__email {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	font-weight: 600;
	color: var(--brand);
	word-break: break-word;
}

.about-close__email svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--accent);
}

.about-close__email:hover {
	color: var(--accent);
}

.about-close__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}

.about-close__links .text-link {
	min-height: 44px;
}

/* ——— Autores ——— */
.cc-authors .about-hero,
.cc-authors .authors-roster,
.cc-authors .authors-how,
.cc-authors .about-close,
.cc-criterios .about-hero,
.cc-criterios .criterios-intro,
.cc-criterios .criterios-rules,
.cc-criterios .criterios-method,
.cc-criterios .about-close,
.cc-authors h2,
.cc-criterios h2,
.cc-authors :focus-visible,
.cc-criterios :focus-visible {
	scroll-margin-top: 96px;
}

.authors-roster {
	padding-block: 0 clamp(48px, 7vw, 96px);
}

.authors-roster__intro {
	max-width: 62ch;
	margin-bottom: clamp(28px, 4vw, 40px);
}

.authors-roster__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

@media (min-width: 860px) {
	.authors-roster__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.authors-roster__grid:has(> :only-child) {
		grid-template-columns: minmax(0, 36rem);
	}
}

.author-card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	min-height: 100%;
	padding: clamp(22px, 3vw, 28px);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.author-card__avatar {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--brand);
	color: var(--brand-ink);
	font-family: var(--font-serif);
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.author-card__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.author-card__name {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	letter-spacing: -0.02em;
}

.author-card__bio {
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.author-card__meta {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--brand);
}

.author-card .text-link {
	margin-top: 4px;
	min-height: 44px;
}

.authors-how {
	background: var(--bg-soft);
	padding-block: clamp(48px, 7vw, 96px);
}

.authors-how h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.35rem);
	letter-spacing: -0.025em;
	max-width: 14ch;
	margin: 0 0 clamp(28px, 4vw, 40px);
}

.authors-how__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

@media (min-width: 860px) {
	.authors-how__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

.authors-how__card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(22px, 3vw, 28px);
	box-shadow: var(--shadow-sm);
}

.authors-how__title {
	font-size: 1.2rem;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.authors-how__card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

/* ——— Criterios editoriales ——— */
.criterios-intro {
	padding-block: 0 clamp(8px, 2vw, 16px);
}

.criterios-intro__prose {
	max-width: 62ch;
}

.criterios-rules {
	padding-block: 0 clamp(48px, 7vw, 96px);
}

.criterios-rules h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.35rem);
	letter-spacing: -0.025em;
	max-width: 14ch;
	margin: 0 0 clamp(28px, 4vw, 40px);
}

.criterios-rules__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
	counter-reset: none;
}

@media (min-width: 860px) {
	.criterios-rules__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (min-width: 1100px) {
	.criterios-rules__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.criterios-rule {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 100%;
	padding: clamp(22px, 3vw, 28px);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.criterios-rule__num {
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.criterios-rule__title {
	font-size: clamp(1.2rem, 2vw, 1.4rem);
	letter-spacing: -0.02em;
	margin: 0;
	text-wrap: balance;
}

.criterios-rule p {
	margin: 0;
	flex: 1;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.author-empty {
	padding-top: 32px;
	max-width: 42ch;
}

.byline-link {
	color: inherit;
}

@media (hover: hover) and (pointer: fine) {
	.byline-link:hover {
		color: var(--accent);
	}
}

/* ——— Contacto ——— */
.contact-hero {
	padding-block: clamp(40px, 6vw, 72px);
	border-bottom: 1px solid var(--line);
}

.contact-hero__title {
	font-size: clamp(2.1rem, 5vw, 3.3rem);
	letter-spacing: -0.03em;
	max-width: 14ch;
	text-wrap: balance;
}

.contact-hero__lead {
	margin: 12px 0 0;
	font-size: 1.25rem;
	line-height: 1.5;
	max-width: 36ch;
	color: var(--muted);
}

.contact-page {
	background: var(--bg-soft);
	padding-block: clamp(40px, 6vw, 80px) var(--space-section);
}

.contact-layout {
	display: grid;
	gap: 32px;
}

@media (min-width: 900px) {
	.contact-layout {
		grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
		gap: 48px;
		align-items: start;
	}
}

.contact-intro {
	font-family: var(--font-serif);
	font-size: 1.1rem;
	line-height: 1.7;
	margin-bottom: 28px;
	max-width: 58ch;
}

.contact-form-card,
.contact-aside__card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	padding: clamp(24px, 4vw, 36px);
}

.contact-form-card__title,
.contact-aside__title {
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	letter-spacing: -0.02em;
	margin: 0 0 20px;
}

.contact-aside {
	display: grid;
	gap: 16px;
}

.contact-aside__card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.6;
}

.contact-aside__email {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	font-weight: 600;
	color: var(--brand);
	word-break: break-word;
}

.contact-aside__email svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--accent);
}

.contact-aside__email:hover {
	color: var(--accent);
}

.contact-aside__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.cc-contact-form {
	display: grid;
	gap: 16px;
}

@media (min-width: 640px) {
	.cc-contact-form {
		grid-template-columns: 1fr 1fr;
	}

	.cc-contact-form__field--full,
	.cc-contact-form__honeypot {
		grid-column: 1 / -1;
	}
}

.cc-contact-form__field {
	display: grid;
	gap: 6px;
	margin: 0;
}

.cc-contact-form__field label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ink);
}

.cc-contact-form__req {
	font-weight: 400;
	color: var(--muted);
}

.cc-contact-form__field input,
.cc-contact-form__field select,
.cc-contact-form__field textarea,
.cc-wpforms input[type="text"],
.cc-wpforms input[type="email"],
.cc-wpforms input[type="tel"],
.cc-wpforms input[type="url"],
.cc-wpforms input[type="number"],
.cc-wpforms select,
.cc-wpforms textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--bg-soft);
	font: inherit;
	font-family: var(--font-sans);
	font-size: 1rem;
	color: var(--ink);
	box-shadow: none;
}

.cc-contact-form__field select,
.cc-wpforms select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C655F' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

.cc-contact-form__field textarea,
.cc-wpforms textarea {
	min-height: 160px;
	resize: vertical;
	line-height: 1.55;
}

.cc-contact-form__field input:focus,
.cc-contact-form__field select:focus,
.cc-contact-form__field textarea:focus,
.cc-wpforms input:focus,
.cc-wpforms select:focus,
.cc-wpforms textarea:focus {
	border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
	background: #fff;
	outline: none;
}

.cc-contact-form__check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	font-size: 0.82rem;
	color: var(--muted);
}

.cc-contact-form__check input,
.cc-wpforms input[type="checkbox"] {
	margin-top: 3px;
	accent-color: var(--accent);
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.cc-contact-form__check a,
.cc-wpforms a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.cc-contact-form__submit {
	margin: 4px 0 0;
}

.cc-contact-form__submit .btn {
	min-width: min(100%, 220px);
}

.cc-contact-form__honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.contact-form__notice {
	padding: 16px 18px;
	border-radius: var(--r-md);
	font-size: 0.98rem;
	line-height: 1.5;
}

.contact-form__notice--ok {
	background: color-mix(in srgb, var(--arraigo) 10%, #fff);
	color: var(--brand);
}

.contact-form__notice--err {
	background: var(--accent-soft);
	color: var(--accent-strong);
}

/* WPForms — same field language as the theme form */
.cc-wpforms .wpforms-container,
.cc-wpforms.wpforms-container,
.contact-form-card .wpforms-container {
	margin: 0;
}

.cc-wpforms .wpforms-title,
.cc-wpforms .wpforms-description,
.cc-wpforms .wpforms-powered-by,
.contact-form-card .wpforms-title,
.contact-form-card .wpforms-description {
	display: none;
}

.cc-wpforms .wpforms-field,
.contact-form-card .wpforms-field {
	padding: 0 0 16px;
	margin: 0;
}

.cc-wpforms .wpforms-field-label,
.cc-wpforms .wpforms-field-sublabel,
.contact-form-card .wpforms-field-label {
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 6px;
}

.cc-wpforms .wpforms-required-label,
.contact-form-card .wpforms-required-label {
	color: var(--muted);
	font-weight: 400;
}

.cc-wpforms .wpforms-submit,
.contact-form-card .wpforms-submit {
	min-height: 48px !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: var(--accent) !important;
	color: #fff !important;
	font-family: var(--font-sans) !important;
	font-size: 0.94rem !important;
	font-weight: 600 !important;
	box-shadow: var(--shadow-sm);
}

.cc-wpforms .wpforms-submit:hover,
.contact-form-card .wpforms-submit:hover {
	background: var(--accent-strong) !important;
}

.cc-wpforms .wpforms-error,
.contact-form-card .wpforms-error {
	color: var(--accent-strong);
	font-size: 0.82rem;
}

.cc-wpforms .wpforms-confirmation-container-full,
.contact-form-card .wpforms-confirmation-container-full {
	background: color-mix(in srgb, var(--arraigo) 10%, #fff);
	border: 0;
	border-radius: var(--r-md);
	padding: 16px 18px;
	margin: 0;
	color: var(--brand);
}

/* ============================================================
   PIE
   ============================================================ */
.site-footer {
	background: var(--brand-deep);
	color: var(--brand-ink);
	padding-block: clamp(56px, 7vw, 88px) 36px;
	margin-top: 0;
	border-top: 0;
}

.site-footer a {
	color: color-mix(in srgb, var(--brand-ink) 85%, transparent);
}

.site-footer a:hover {
	color: #fff;
}

.footer-grid {
	display: grid;
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: 1px solid color-mix(in srgb, #fff 12%, transparent);
}

@media (min-width: 860px) {
	.footer-grid {
		grid-template-columns: 1.6fr 1fr 1fr 1fr;
		gap: 48px;
	}
}

.footer-brand .site-logo {
	height: 64px;
}

.footer-brand__desc {
	font-size: 0.94rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--brand-ink) 76%, transparent);
	max-width: 36ch;
	margin: 16px 0 18px;
}

.footer-social .icon-btn {
	color: var(--brand-ink);
	padding: 0;
	justify-content: flex-start;
}

.footer-title {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--accent) 60%, #fff);
	margin-bottom: 18px;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	font-size: 0.92rem;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 32px;
	padding-top: 28px;
	font-size: 0.82rem;
	color: color-mix(in srgb, var(--brand-ink) 60%, transparent);
}

.footer-disclaimer {
	max-width: 62ch;
	margin: 0;
}

.footer-copy {
	margin: 0;
	font-variant-numeric: tabular-nums;
}

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes cc-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cc-front .portada-lead,
.cc-front .consultorio,
.cc-front .pilar-section,
.cc-front .guias-section,
.cc-front .proposito {
	animation: cc-rise 480ms var(--ease-out) both;
}

.cc-front .portada-lead { animation-delay: 40ms; }
.cc-front .consultorio { animation-delay: 90ms; }

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ——— Impresión ——— */
@media print {
	.site-header,
	.mobile-nav,
	.article-actions,
	.newsletter,
	.cc-comments,
	.site-footer {
		display: none !important;
	}
}
