/* ==========================================================================
   Vivir Para Crecer: editorial y orgánico.
   Papel cálido, azul tinta (del logo), acento terracota, Fraunces + Figtree.
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree-italic.woff2) format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
	--paper: #f6f1e8;
	--paper-2: #efe7da;
	--card: #fffdf9;
	--ink: #1b2a3a;
	--ink-soft: #4a5a6b;
	--muted: #7a8593;
	--line: #e2d8c8;
	--blue: #2c5d8f;
	--blue-deep: #1d3f63;
	--sky: #97bbe2;
	--sky-soft: #dce8f5;
	--clay: #c2603a;
	--clay-soft: #f3dfd4;
	--radius: 14px;
	--radius-lg: 28px;
	--shadow: 0 1px 2px rgba(27, 42, 58, .05), 0 8px 24px -12px rgba(27, 42, 58, .18);
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
	--wrap: 1160px;
	--wrap-narrow: 720px;
	--gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
/* grano de papel muy sutil */
body::before {
	content: "";
	position: fixed; inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: .035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Tipografía base ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); font-variation-settings: "opsz" 96; }
.eyebrow {
	margin: 0 0 .75rem;
	font: 600 .75rem/1 var(--font-body);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--clay);
}
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Cabecera ---------- */
.masthead {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; flex-shrink: 0; }
.brand__logo { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(44, 93, 143, .25)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .brand__logo { transform: rotate(-120deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 600 1.3rem/1.1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.brand__tagline { font: italic 400 .85rem/1.3 var(--font-display); color: var(--ink-soft); }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: 8px 12px; border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap;
	transition: background .2s, color .2s;
}
.nav__list a:hover { background: var(--paper-2); color: var(--ink); }
.nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a, .nav__list a[aria-current] { background: var(--ink); color: var(--paper); }

.search { display: flex; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; }
.search__input { border: 0; background: transparent; font: inherit; font-size: .95rem; width: 150px; padding: 6px 0; color: var(--ink); }
.search__input:focus { outline: none; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--sky-soft); }
.search__btn { border: 0; background: transparent; color: var(--ink-soft); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.search__btn:hover { background: var(--paper-2); color: var(--ink); }

.nav-toggle { display: none; }

@media (max-width: 1180px) {
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 10px;
		border: 1px solid var(--line); background: var(--card); color: var(--ink);
		font: 600 .9rem var(--font-body); padding: 8px 14px; border-radius: 999px; cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .25s; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -5px; }
	.nav-toggle__bars::after { top: 5px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
	.nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 16px var(--gutter) 24px;
		display: none;
	}
	.nav.is-open { display: flex; animation: drop .25s ease-out; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; }
	.search__input { width: 100%; }
	.brand__tagline { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (portada) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 9vw, 120px) 0 clamp(40px, 7vw, 96px); }
.hero__inner { position: relative; z-index: 1; }
.hero__title {
	font-size: clamp(2.4rem, 6.2vw, 4.6rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.012em;
	max-width: 14ch;
	margin: 0 0 1.5rem;
	font-variation-settings: "opsz" 144;
}
.hero__lead { max-width: 62ch; font-size: 1.12rem; color: var(--ink-soft); }
.hero__lead p { margin: 0 0 .9em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero__orb {
	position: absolute; z-index: 0;
	width: min(62vw, 720px); aspect-ratio: 1;
	right: -14%; top: -18%;
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), transparent 38%),
		conic-gradient(from 200deg, var(--sky), #c9dcf0, var(--sky-soft), var(--sky), #6f9bcf, var(--sky));
	filter: blur(2px);
	opacity: .55;
	animation: breathe 14s ease-in-out infinite;
	mask-image: radial-gradient(circle, #000 55%, transparent 71%);
}
@keyframes breathe { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.06) rotate(40deg); } }
.hero .eyebrow, .hero__title, .hero__lead, .hero__actions { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero__title { animation-delay: .08s; }
.hero__lead { animation-delay: .18s; }
.hero__actions { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--ink); color: var(--paper);
	padding: 13px 22px; border-radius: 999px;
	font-weight: 600; text-decoration: none; border: 1px solid var(--ink);
	transition: transform .2s, background .2s, color .2s;
}
.btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(40px, 6vw, 80px); }
.section--tinted { background: var(--paper-2); border-block: 1px solid var(--line); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.section__link { font-weight: 600; text-decoration: none; }

.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--list { grid-template-columns: 1fr; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }

/* ---------- Tarjetas ---------- */
.card {
	display: flex; flex-direction: column;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow);
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27,42,58,.05), 0 18px 36px -16px rgba(27,42,58,.28); }
.card__media img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 18px; }
.card__kicker { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card__kicker span { color: var(--clay); }
.card__title { font-size: 1.32rem; margin: 0 0 10px; line-height: 1.2; }
.card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--sky), var(--sky)) 0 100% / 0 2px no-repeat; transition: background-size .35s; }
.card:hover .card__title a { background-size: 100% 2px; }
.card__excerpt { margin: 0 0 16px; color: var(--ink-soft); font-size: .97rem; }
.card__more { margin: auto 0 0; }
.card__more a { font-weight: 600; font-size: .92rem; text-decoration: none; }
.grid--list .card { flex-direction: row; box-shadow: none; }
.grid--list .card__body { padding: 18px 20px; }

/* ---------- Chips de terapias ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip {
	display: inline-block; padding: 10px 18px; border-radius: 999px;
	background: var(--card); border: 1px solid var(--line);
	color: var(--ink); text-decoration: none; font-weight: 500;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; transform: translateY(-1px); }

/* ---------- Widgets de portada / barra ---------- */
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.widget__title { font-size: 1.45rem; margin: 0 0 14px; }
.home-widgets .widget:nth-child(2n) { background: var(--sky-soft); border-color: #c8d9ec; }
.widget p:last-child { margin-bottom: 0; }

/* ---------- Artículo / página ---------- */
.article { padding-bottom: clamp(32px, 5vw, 64px); }
.article__head { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 12px; }
.article__title { font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 0 0 18px; font-weight: 400; letter-spacing: -.02em; }
.byline { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .92rem; margin: 0 0 8px; }
.article__media { margin: 24px auto; }
.article__media img { border-radius: var(--radius-lg); width: 100%; }
.article__body { padding-top: 16px; }
.article__foot { margin-top: 32px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--clay); }
.crumbs__sep { opacity: .5; }

/* Texto largo */
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-size: 1.75rem; margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .4em; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .3em; }
.prose img { border-radius: var(--radius); height: auto; }
.prose img.alignright, .prose img[align="right"] { float: right; margin: .3em 0 1em 1.5em; max-width: 45%; }
.prose img.alignleft, .prose img[align="left"] { float: left; margin: .3em 1.5em 1em 0; max-width: 45%; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.3em; border-left: 3px solid var(--clay); font: italic 400 1.25rem/1.55 var(--font-display); color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose strong { font-weight: 650; color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose--small { font-size: .98rem; line-height: 1.65; }
.prose::after { content: ""; display: table; clear: both; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.tags a { font-size: .88rem; text-decoration: none; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }
.tags a:hover { background: var(--clay-soft); color: var(--clay); }

/* ---------- Comentarios (archivo) ---------- */
.comments { border-top: 1px solid var(--line); padding-top: 28px; }
.comments__title { font-size: 1.5rem; margin: 0 0 20px; }
.comments__list, .comments__list .children { list-style: none; margin: 0; padding: 0; }
.comments__list .children { margin-left: clamp(16px, 4vw, 44px); border-left: 2px solid var(--line); padding-left: 16px; }
.comment__body { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.comment__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.comment__avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue-deep); font-weight: 700; font-size: .85rem; }
.comment__author { font-weight: 650; }
.comment__date { color: var(--muted); font-size: .85rem; }
.comment__text { color: var(--ink-soft); font-size: .98rem; }
.comment__text p { margin: 0 0 .6em; }

/* ---------- Terapia ---------- */
.therapy__layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.therapy__main { max-width: var(--wrap-narrow); }
.therapy__subtitle { font-size: 1.5rem; margin: 2.2em 0 16px; }
.therapy__aside { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.therapy__aside .widget__title { font-size: 1.15rem; }
.therapy-list { list-style: none; margin: 0; padding: 0; columns: 1; }
.therapy-list a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); }
.therapy-list a:hover { background: var(--paper-2); color: var(--ink); }
.therapy-list a[aria-current] { background: var(--sky-soft); color: var(--blue-deep); font-weight: 600; }
@media (max-width: 860px) {
	.therapy__layout { grid-template-columns: 1fr; }
	.therapy__aside { position: static; }
	.therapy-list { columns: 2; }
}

.archive-box { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.archive-box__summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px; cursor: pointer; list-style: none;
	font: 500 1.2rem/1.3 var(--font-display);
}
.archive-box__summary::-webkit-details-marker { display: none; }
.archive-box__summary::after { content: "+"; font: 300 1.8rem/1 var(--font-body); color: var(--clay); transition: transform .3s; }
.archive-box[open] > .archive-box__summary::after { transform: rotate(45deg); }
.archive-box__summary:hover { background: var(--paper); }
.archive-box__tag { font: 600 .68rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; background: var(--clay-soft); color: var(--clay); padding: 4px 8px; border-radius: 999px; vertical-align: middle; margin-left: 8px; }
.archive-box__count { margin-left: auto; font: 500 .88rem var(--font-body); color: var(--muted); }
.archive-box__note { margin: 0; padding: 0 24px 16px; font-size: .92rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.courses { list-style: none; margin: 0; padding: 0; }
.course { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.course:last-child { border-bottom: 0; }
.course__title { font-size: 1.2rem; margin: 0 0 4px; }
.course__by { margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.course__meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 16px; margin: 0 0 12px; padding: 12px 14px; background: var(--paper); border-radius: 10px; font-size: .88rem; }
.course__meta dt { font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.course__meta dd { margin: 0; color: var(--ink); }
.course__body { color: var(--ink-soft); }
.course__body p { margin: 0 0 .45em; }
.course__body h4 { font: 600 1rem/1.4 var(--font-body); margin: 1em 0 .3em; color: var(--ink); }
.course__body img { max-width: 240px; }

/* ---------- Página Terapias ---------- */
.therapy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 32px 0 0; padding: 0; }
.therapy-grid__item a {
	display: flex; flex-direction: column; gap: 6px; height: 100%;
	padding: 20px 22px; border-radius: var(--radius); text-decoration: none;
	background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.therapy-grid__item a:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow); }
.therapy-grid__name { font: 500 1.25rem/1.2 var(--font-display); color: var(--ink); }
.therapy-grid__desc { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Listados, paginación, vacíos ---------- */
.listing { padding-bottom: clamp(40px, 6vw, 80px); }
.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); }
.page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page-numbers:hover:not(.current) { border-color: var(--blue); }
.empty, .notfound { padding-block: 40px 80px; }
.notfound .search { max-width: 420px; margin: 24px 0; }
.notfound .search__input { width: 100%; }

/* ---------- Pie ---------- */
.colophon { background: var(--ink); color: #c9d3de; margin-top: 0; }
.colophon__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; padding-block: 48px 32px; align-items: start; }
.colophon__brand { display: flex; gap: 14px; align-items: center; }
.colophon__brand p { margin: 0; font-size: .95rem; line-height: 1.45; }
.colophon__brand strong { font: 500 1.2rem var(--font-display); color: #fff; }
.colophon__list { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.colophon__list a { color: #e8eef4; text-decoration: none; }
.colophon__list a:hover { color: var(--sky); }
.colophon__legal { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8e9bab; }
.colophon__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.colophon__legal p { margin: 0; }
.colophon__legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.colophon__legal-links a, .link-btn { color: #aebbc9; text-decoration: none; font: inherit; }
.colophon__legal-links a:hover, .link-btn:hover { color: var(--sky); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; }
@media (max-width: 700px) { .colophon__inner { grid-template-columns: 1fr; } }

/* ---------- Aviso de cookies ---------- */
.consent {
	position: fixed; z-index: 150; left: 16px; bottom: 16px;
	width: min(420px, calc(100vw - 32px));
	background: var(--card); color: var(--ink);
	border: 1px solid var(--line); border-radius: 18px;
	box-shadow: 0 20px 50px -20px rgba(27, 42, 58, .45);
	padding: 20px 22px;
	animation: rise .45s cubic-bezier(.2, .8, .2, 1) both;
}
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 6px; font: 500 1.2rem/1.2 var(--font-display); }
.consent__text { margin: 0 0 16px; font-size: .93rem; color: var(--ink-soft); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent__btn {
	font: 600 .95rem var(--font-body); padding: 11px 14px; border-radius: 999px; cursor: pointer;
	background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
}
.consent__btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; }

/* ---------- Páginas legales ---------- */
.prose table { margin: 1.2em 0; }
.prose th { background: var(--paper-2); text-align: left; font-size: .85rem; }
.prose code { font-size: .88em; background: var(--paper-2); padding: 1px 6px; border-radius: 5px; }
.form-note { margin-top: 28px; padding: 16px 18px; border-radius: var(--radius); background: var(--paper-2); font-size: .85rem; line-height: 1.55; color: var(--ink-soft); }
.form-note p { margin: 0; }

/* ---------- Formularios (contacto) ---------- */
.wpcf7 label { display: block; font-weight: 600; font-size: .95rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit;
	border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink);
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--sky-soft); }
.wpcf7 input[type="submit"] { background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 13px 26px; font: 600 1rem var(--font-body); cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--clay); }

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