/*
 * TK Site — páginas internas (Nosotros, Servicios, Salas, Sedes, Noticias, Únete,
 * Contáctanos, textos legales, 404). Usa los tokens y componentes de tk-theme.css;
 * cada bloque es independiente y se nombra como su sección (sections/<id>/).
 */

/* ---------- Portada de página (tk_page_hero) ---------- */
.tk-phero {
	position: relative;
	isolation: isolate;
	padding: 170px 0 96px;
	overflow: hidden;
	color: var(--tk-white);
	background:
		radial-gradient(ellipse 720px 520px at 92% 0, rgb(var(--tk-blue-rgb) / .55), transparent 70%),
		radial-gradient(ellipse 640px 480px at 0 100%, rgb(var(--tk-lime-rgb) / .45), transparent 70%),
		var(--tk-night);
}
.tk-phero::after { /* grano sutil, como en los fondos del home */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
	pointer-events: none;
}
.tk-phero.has-image { min-height: 560px; display: flex; align-items: flex-end; }
.tk-phero.has-image .tk-wrap { width: min(var(--tk-wrap), 100% - 32px); }
.tk-phero__bg { position: absolute; inset: 0; z-index: -2; }
.tk-phero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	animation: tk-hero-zoom 14s var(--tk-ease) both;
}
.tk-phero.has-image::before { /* legibilidad del texto sobre la foto */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgb(var(--tk-night-rgb) / .92) 0, rgb(var(--tk-night-rgb) / .72) 45%, rgb(var(--tk-night-rgb) / .2) 100%),
		linear-gradient(0deg, rgb(var(--tk-night-rgb) / .85) 0, transparent 45%);
}
@keyframes tk-hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
.tk-phero .tk-wrap { position: relative; z-index: 1; }
.tk-phero .tk-eyebrow { margin-top: 18px; font-size: 18px; }
.tk-phero__title {
	max-width: 760px;
	margin-top: 12px;
	font-size: 58px;
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.tk-phero__text {
	max-width: 600px;
	margin-top: 22px;
	font-size: 18.5px;
	font-weight: 300;
	line-height: 1.45;
	color: rgb(var(--tk-white-rgb) / .86);
}
.tk-phero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: 14.5px; color: rgb(var(--tk-white-rgb) / .78); }
.tk-phero__meta .tk-post__dot { background: rgb(var(--tk-white-rgb) / .5); }
.tk-phero__cta { margin-top: 30px; }
.tk-phero__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* Migas de pan */
.tk-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13.5px; color: rgb(var(--tk-white-rgb) / .7); }
.tk-crumbs li { display: inline-flex; align-items: center; }
.tk-crumbs li + li::before {
	content: "";
	width: 5px;
	height: 5px;
	margin: 0 10px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .7;
}
.tk-crumbs a { transition: color .2s ease; }
.tk-crumbs a:hover { color: var(--tk-lime); }
.tk-crumbs [aria-current] { color: var(--tk-white); font-weight: 500; }

/* ---------- Bloques comunes ---------- */
.tk-psec { padding: var(--tk-section) 0; }
/* dos secciones blancas seguidas: un solo espacio entre ellas, no el doble */
.tk-psec:not(.tk-psec--soft) + .tk-psec:not(.tk-psec--soft) { padding-top: 0; }
.tk-psec--soft { background: linear-gradient(180deg, var(--tk-paper) 0, var(--tk-white) 100%); }
.tk-shead { max-width: 720px; margin-bottom: 44px; }
.tk-shead--center { margin-inline: auto; text-align: center; }
.tk-shead .tk-eyebrow { margin-bottom: 10px; color: var(--tk-lime-ink); }
.tk-shead__title { text-wrap: balance; }
.tk-shead__text { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--tk-gray-600); }
.tk-split {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	gap: 64px;
	align-items: center;
}
.tk-split--top { align-items: start; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tk-card {
	border: 1px solid var(--tk-line);
	border-radius: var(--tk-radius);
	background: var(--tk-white);
	box-shadow: var(--tk-shadow);
	transition: transform .45s var(--tk-ease), box-shadow .45s var(--tk-ease), border-color .3s ease;
}
.tk-prose .tk-h2 { margin-bottom: 22px; text-wrap: balance; }
.tk-prose p { margin-bottom: 16px; font-size: 17px; line-height: 1.65; color: var(--tk-text); }
.tk-prose strong { color: var(--tk-black); font-weight: 600; }

/* Lista con check lima */
.tk-checks { display: grid; gap: 12px; }
.tk-checks li {
	position: relative;
	padding-left: 32px;
	font-size: 16px;
	line-height: 1.45;
}
.tk-checks li::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--tk-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.tk-goals { margin-top: 30px; padding: 28px 30px; }
.tk-goals__title { margin-bottom: 18px; font-size: 21px; font-weight: 600; }

/* ---------- Nosotros: pestañas ---------- */
.tk-tabs__list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 48px;
	padding: 5px;
	border: 1px solid var(--tk-line);
	border-radius: 999px;
	background: var(--tk-white);
	box-shadow: var(--tk-shadow);
}
.tk .tk-tabs__list button {
	height: 42px;
	padding: 0 20px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	color: var(--tk-gray-600);
	transition: background-color .3s ease, color .3s ease;
}
.tk .tk-tabs__list button:hover { color: var(--tk-black); background: var(--tk-paper); }
.tk .tk-tabs__list button[aria-selected="true"] { background: var(--tk-black); color: var(--tk-white); }
.tk-tabs__panel {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 64px;
	align-items: center;
}
.tk-tabs__panel[hidden] { display: none; }
.tk-tabs__panel.is-in .tk-tabs__text { animation: tk-tab-in .6s var(--tk-ease) both; }
.tk-tabs__panel.is-in .tk-tabs__img { animation: tk-tab-in .7s .08s var(--tk-ease) both; }
@keyframes tk-tab-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tk-tabs__text .tk-h2 { margin-bottom: 18px; }
.tk-tabs__sub { margin-bottom: 14px; font-size: 21px; font-weight: 600; color: var(--tk-blue); }
.tk-tabs__text p { margin-bottom: 14px; font-size: 17px; line-height: 1.65; color: var(--tk-text); }
.tk-tabs__text strong { font-weight: 600; color: var(--tk-black); background: linear-gradient(transparent 62%, rgb(var(--tk-lime-rgb) / .45) 0); }
.tk-tabs__img { border-radius: var(--tk-radius-lg) 0 var(--tk-radius-lg) 0; overflow: hidden; background: var(--tk-card); }
.tk-tabs__img img { width: 100%; height: auto; }

/* ---------- Nosotros: cifras ---------- */
.tk-statband {
	padding: 72px 0;
	color: var(--tk-white);
	background:
		radial-gradient(ellipse 560px 320px at 0 0, rgb(var(--tk-lime-rgb) / .35), transparent 70%),
		radial-gradient(ellipse 600px 360px at 100% 100%, rgb(var(--tk-blue-rgb) / .55), transparent 70%),
		var(--tk-night);
}
.tk-statband__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tk-statband__item { display: grid; justify-items: start; gap: 6px; padding-left: 22px; border-left: 1px solid rgb(var(--tk-white-rgb) / .18); }
.tk-statband__icon img { width: 36px; height: 36px; }
.tk-statband__value { margin-top: 8px; font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--tk-lime); font-variant-numeric: tabular-nums; }
.tk-statband__label { font-size: 16px; color: rgb(var(--tk-white-rgb) / .82); }

/* ---------- Nosotros: valores ---------- */
.tk-values__head { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.tk-values__logo { width: 240px; height: auto; padding: 18px 22px; border-radius: 24px; background: radial-gradient(circle at 100% 0, rgb(var(--tk-blue-rgb) / .6), transparent 60%), var(--tk-night); box-shadow: var(--tk-shadow-lg); } /* el logo es blanco */
.tk-values__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tk-value { display: grid; align-content: start; gap: 10px; padding: 28px 22px; text-align: center; justify-items: center; }
.tk-value__icon { width: 76px; height: 76px; transition: transform .5s var(--tk-ease-pop); }
.tk-value__title { margin-top: 6px; font-size: 18px; font-weight: 600; line-height: 1.2; }
.tk-value__text { font-size: 14.5px; line-height: 1.45; color: var(--tk-gray-600); }
.tk-value { position: relative; overflow: hidden; isolation: isolate; }
/* hover: brillo de marca desde arriba, línea que crece abajo, ícono que salta */
.tk-value::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse 120% 70% at 50% 0, rgb(var(--tk-lime-rgb) / .22), transparent 70%);
	opacity: 0;
	transition: opacity .5s ease;
}
.tk-value::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--tk-lime), var(--tk-blue));
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform .6s var(--tk-ease);
}
.tk-value__title { transition: color .3s ease; }
.tk-value:hover { transform: translateY(-8px); border-color: var(--tk-lime); box-shadow: var(--tk-shadow-lg); }
.tk-value:hover::before { opacity: 1; }
.tk-value:hover::after { transform: none; }
.tk-value:hover .tk-value__icon { animation: tk-value-hop .7s var(--tk-ease-pop) both; }
.tk-value:hover .tk-value__title { color: var(--tk-blue-600); }
@keyframes tk-value-hop {
	0% { transform: none; }
	40% { transform: translateY(-10px) scale(1.12) rotate(-8deg); }
	70% { transform: translateY(2px) scale(1.06) rotate(3deg); }
	100% { transform: scale(1.1) rotate(-4deg); }
}

/* ---------- Nosotros: equipo comercial ---------- */
.tk-sales__media { position: relative; padding: 0 40px 40px 0; }
.tk-sales__photo { width: 100%; height: auto; border-radius: var(--tk-radius-lg) 0 var(--tk-radius-lg) 0; }
.tk-sales__badge {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 160px;
	height: auto;
	border: 8px solid var(--tk-white);
	border-radius: 22px;
	box-shadow: var(--tk-shadow-lg);
	animation: tk-float 7s ease-in-out infinite;
}
/* flotación lenta en la GPU (translate3d + will-change): en iOS no salta ni tiembla */
.tk-sales__badge,
.tk-collage__img--2 { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
@keyframes tk-float {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, -8px, 0); }
}
.tk-sales__body .tk-h2 { text-wrap: balance; }
.tk-bars { display: grid; gap: 22px; margin-top: 32px; }
.tk-bar { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: baseline; }
.tk-bar__label { font-size: 16px; font-weight: 500; }
.tk-bar__value { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tk-bar__track { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--tk-lime-50); overflow: hidden; }
.tk-bar__fill {
	display: block;
	width: var(--tk-pct);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--tk-lime), var(--tk-blue));
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 1.4s var(--tk-ease) .2s;
}
.is-in .tk-bar__fill,
.tk-reveal-off .tk-bar__fill { transform: none; }
html:not(.tk-js) .tk-bar__fill { transform: none; }

/* ---------- Nosotros: testimonios del equipo ---------- */
.tk-team {
	padding: var(--tk-section) 0;
	color: var(--tk-white);
	background:
		radial-gradient(ellipse 620px 420px at 100% 0, rgb(var(--tk-blue-rgb) / .5), transparent 70%),
		radial-gradient(ellipse 520px 360px at 0 100%, rgb(var(--tk-lime-rgb) / .3), transparent 70%),
		var(--tk-night);
}
.tk-team__grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: 56px; align-items: center; }
.tk-team__trust { display: grid; gap: 14px; margin-top: 30px; }
.tk-team__trust img { width: 194px; height: auto; }
.tk-team__trust p { font-size: 16px; color: rgb(var(--tk-white-rgb) / .8); }
.tk-team__trust strong { display: block; font-size: 26px; font-weight: 700; color: var(--tk-white); }
.tk-team__slider { display: grid; }
.tk-team__slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: 230px 1fr;
	gap: 32px;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity .6s ease, transform .7s var(--tk-ease), visibility .6s;
}
.tk-team__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.tk-team__photo { aspect-ratio: 4 / 5; border-radius: 24px 0 24px 0; overflow: hidden; background: rgb(var(--tk-white-rgb) / .08); }
.tk-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.tk-team__quote p { font-size: 19px; font-weight: 300; line-height: 1.55; }
.tk-team__quote figcaption { display: grid; gap: 2px; margin-top: 20px; }
.tk-team__quote strong { font-size: 18px; font-weight: 600; color: var(--tk-lime); }
.tk-team__quote span { font-size: 14.5px; color: rgb(var(--tk-white-rgb) / .72); }
.tk-team__nav { grid-area: 2 / 1; display: flex; align-items: center; gap: 14px; margin-top: 28px; }

/* ---------- Servicios: tarjetas ---------- */
.tk-scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tk-scard {
	position: relative;
	display: block;
	aspect-ratio: 31 / 40;
	border-radius: 24px;
	overflow: hidden;
	color: var(--tk-white);
	background: var(--tk-night);
	isolation: isolate;
	transition: transform .5s var(--tk-ease), box-shadow .5s var(--tk-ease);
}
.tk-scard__img { position: absolute; inset: 0; z-index: -2; }
.tk-scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tk-ease); }
.tk-scard::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, transparent 35%, rgb(var(--tk-night-rgb) / .92) 100%);
	transition: opacity .4s ease;
}
.tk-scard__body { position: absolute; inset: auto 0 0; display: grid; gap: 10px; padding: 26px 24px; }
.tk-scard__title { padding-right: 52px; font-size: 23px; font-weight: 600; line-height: 1.12; }
.tk-scard__text {
	max-height: 0;
	overflow: hidden;
	font-size: 14.5px;
	line-height: 1.45;
	color: rgb(var(--tk-white-rgb) / .84);
	opacity: 0;
	transition: max-height .5s var(--tk-ease), opacity .4s ease;
}
.tk-scard__go {
	position: absolute;
	right: 22px;
	bottom: 26px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tk-lime);
	color: var(--tk-black);
	transition: transform .45s var(--tk-ease-pop), background-color .3s ease;
}
.tk-scard__go svg { width: 18px; height: 18px; }
.tk-scard:hover,
.tk-scard:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgb(var(--tk-black-rgb) / .55); }
.tk-scard:hover .tk-scard__img img,
.tk-scard:focus-visible .tk-scard__img img { transform: scale(1.07); }
.tk-scard:hover .tk-scard__text,
.tk-scard:focus-visible .tk-scard__text { max-height: 120px; opacity: 1; }
.tk-scard:hover .tk-scard__go,
.tk-scard:focus-visible .tk-scard__go { transform: rotate(-45deg) scale(1.1); background: var(--tk-white); }

/* Banner «Tenemos la solución ideal» */
.tk-banner { padding: 40px 0 var(--tk-section); }
.tk-banner__box {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 300px;
	align-items: end;
	min-height: 300px;
	margin-top: 60px;
	padding: 0 56px;
	border-radius: var(--tk-radius-lg);
	color: var(--tk-white);
	background:
		radial-gradient(ellipse 520px 320px at 100% 100%, rgb(var(--tk-lime-rgb) / .55), transparent 70%),
		radial-gradient(ellipse 520px 360px at 0 0, rgb(var(--tk-blue-rgb) / .6), transparent 70%),
		var(--tk-night);
}
.tk-banner__body { align-self: center; padding: 48px 0; }
.tk-banner__title { max-width: 520px; margin: 10px 0 26px; font-size: 38px; font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; }
.tk-banner__img { width: 300px; height: auto; margin-top: -70px; filter: drop-shadow(0 24px 30px rgb(var(--tk-black-rgb) / .35)); }

/* Ficha de servicio */
.tk-collage { position: relative; padding: 0 0 90px 0; }
.tk-collage__img { display: block; border-radius: var(--tk-radius-lg) 0 var(--tk-radius-lg) 0; box-shadow: var(--tk-shadow-lg); }
.tk-collage__img--1 { width: 84%; height: auto; }
.tk-collage__img--2 {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 58%;
	height: auto;
	border: 8px solid var(--tk-white);
	border-radius: 24px;
	animation: tk-float 8s ease-in-out infinite;
}
.tk-callout { padding: 0 0 var(--tk-section); }
.tk-callout__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 40px 48px;
	border-radius: var(--tk-radius-lg);
	background: linear-gradient(120deg, var(--tk-lime) 0, var(--tk-lime-400) 60%, var(--tk-lime-200) 100%);
}
.tk-callout__title { font-size: 28px; font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.tk-callout__text { max-width: 620px; margin-top: 10px; font-size: 16.5px; line-height: 1.5; }
.tk-callout .tk-btn { --tk-btn-bg: var(--tk-black); --tk-btn-fg: var(--tk-white); --tk-btn-bd: var(--tk-black); --tk-btn-ic-bg: var(--tk-lime); --tk-btn-fill: var(--tk-blue); flex: none; }

/* Preguntas frecuentes (details/summary, sin JS) */
.tk-faq-sec { padding-top: 0; }
.tk-faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: start; }
.tk-faq { display: grid; gap: 12px; }
.tk-faq__item { border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: var(--tk-white); transition: border-color .3s ease, box-shadow .3s ease; }
.tk-faq__item[open] { border-color: var(--tk-lime); box-shadow: var(--tk-shadow); }
.tk-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}
.tk-faq__item summary::-webkit-details-marker { display: none; }
.tk-faq__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tk-lime-50); transition: background-color .3s ease, transform .4s var(--tk-ease); }
.tk-faq__icon::before,
.tk-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--tk-black); transition: transform .4s var(--tk-ease); }
.tk-faq__icon::after { transform: rotate(90deg); }
.tk-faq__item[open] .tk-faq__icon { background: var(--tk-lime); transform: rotate(180deg); }
.tk-faq__item[open] .tk-faq__icon::after { transform: rotate(0deg); }
.tk-faq__a { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; color: var(--tk-gray-600); }
.tk-faq__item[open] .tk-faq__a { animation: tk-tab-in .45s var(--tk-ease) both; }

/* ---------- Ficha de sala: mosaico de fotos ---------- */
.tk-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-mosaic li:first-child { grid-column: 1 / -1; }
.tk-mosaic a { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--tk-card); }
.tk-mosaic li:first-child a { aspect-ratio: 16 / 11; border-radius: var(--tk-radius-lg) 0 var(--tk-radius-lg) 0; }
.tk-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tk-ease); }
.tk-mosaic a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(var(--tk-night-rgb) / .4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 34px no-repeat;
	opacity: 0;
	transition: opacity .3s ease;
}
.tk-mosaic a:hover img { transform: scale(1.08); }
.tk-mosaic a:hover::after { opacity: 1; }

/* ---------- Noticias ---------- */
.tk-newsgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tk-newsgrid .is-featured { grid-column: 1 / -1; }
.tk-ncard { display: grid; gap: 18px; height: 100%; }
.tk-ncard__img { display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--tk-card); }
.tk-ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tk-ease); }
.tk-ncard:hover .tk-ncard__img img { transform: scale(1.06); }
.tk-ncard__body { display: grid; align-content: start; gap: 12px; }
.tk-ncard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tk-gray-500); }
.tk-ncard__title { font-size: 20px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.tk-ncard__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--tk-ease); }
.tk-ncard:hover .tk-ncard__title a { background-size: 100% 1.5px; }
.tk-ncard__text { font-size: 16px; line-height: 1.55; color: var(--tk-gray-600); }
.tk-ncard .tk-more { margin-top: 4px; }
.tk-ncard--big { grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.tk-ncard--big .tk-ncard__img { aspect-ratio: 16 / 11; border-radius: var(--tk-radius-lg) 0 var(--tk-radius-lg) 0; }
.tk-ncard--big .tk-ncard__title { font-size: 32px; line-height: 1.12; letter-spacing: -0.01em; }
.tk-pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.tk-pager a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--tk-line); border-radius: 50%; font-weight: 600; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.tk-pager a:hover { border-color: var(--tk-black); }
.tk-pager a[aria-current] { background: var(--tk-black); border-color: var(--tk-black); color: var(--tk-white); }
.tk-empty { padding: 40px 0; text-align: center; font-size: 18px; color: var(--tk-gray-600); }

/* ---------- Noticia ----------
   Portada oscura (categoría, título y autor) → banner con la portada montado sobre ella →
   texto (máx. 740 px) con una columna fija al costado: índice, compartir y cotización. */
.tk-phero--article { padding-bottom: 150px; }
.tk-phero--article .tk-eyebrow { margin-top: 26px; }
.tk-phero--article .tk-phero__title { max-width: 1000px; font-size: 52px; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.tk-art-cat {
	display: inline-flex;
	padding: 7px 14px;
	border-radius: 99px;
	background: var(--tk-lime);
	color: var(--tk-black);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.tk-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 28px; font-size: 14.5px; color: rgb(var(--tk-white-rgb) / .78); }
.tk-art-meta__avatar {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tk-lime), var(--tk-blue));
	color: var(--tk-black);
	font-size: 16px;
	font-weight: 700;
}
.tk-art-meta strong { color: var(--tk-white); font-weight: 600; }
.tk-art-meta .tk-post__dot { background: rgb(var(--tk-white-rgb) / .45); }

.tk-art-cover { position: relative; z-index: 2; margin-top: -110px; }
.tk-art-cover__pic {
	display: block;
	overflow: hidden;
	border-radius: 28px;
	background: var(--tk-card);
	box-shadow: 0 40px 70px -30px rgb(var(--tk-black-rgb) / .45);
}
.tk-art-cover__pic img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
	.tk-art-cover__pic[style] img { aspect-ratio: var(--tk-ar-m); object-fit: cover; }
}

.tk-art {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 80px;
	align-items: start;
	padding: 72px 0 var(--tk-section);
}
.tk-art__body { max-width: 740px; }
.tk-art__aside { position: sticky; top: 104px; display: grid; gap: 18px; }

/* tipografía editorial */
.tk-art__body > p:first-child { font-size: 21px; line-height: 1.6; color: var(--tk-black); }
.tk-art__body h2 { scroll-margin-top: 110px; margin-top: 2em; font-size: 31px; text-wrap: balance; }
.tk-art__body h2::before {
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin-bottom: 16px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--tk-lime), var(--tk-blue));
}
.tk-art__body h3 { margin-top: 1.8em; font-size: 23px; }
.tk-art__body .tk-quote-p {
	padding: 22px 26px;
	border-radius: 18px;
	background: linear-gradient(120deg, var(--tk-lime-50), var(--tk-paper));
	font-size: 19px;
	line-height: 1.55;
}
.tk-art__body h3 { scroll-margin-top: 110px; }
.tk-art__aside .tk-doc__toc li.is-sub a { padding-left: 24px; font-size: 14px; }
.tk-richtext.tk-art__body ul { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.tk-richtext.tk-art__body li + li { margin-top: 0; }
.tk-art__body ul li { position: relative; margin: 0; padding-left: 36px; }
.tk-art__body ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--tk-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* imágenes y videos: sueltos a todo el ancho; seguidos, en fila de dos del mismo alto */
.tk-art__body figure { overflow: hidden; border-radius: 20px; }
.tk-art__body figure img { width: 100%; border-radius: 0; transition: transform .8s var(--tk-ease); }
.tk-art__body figure:hover img { transform: scale(1.03); }
.tk-art__body figure:has(iframe, .tk-yt) { aspect-ratio: 16 / 9; background: var(--tk-night); }
.tk-art__body iframe { display: block; width: 100%; height: 100%; border: 0; }
.tk .tk-yt { position: relative; display: block; width: 100%; height: 100%; padding: 0; cursor: pointer; }
.tk-yt img { width: 100%; height: 100%; object-fit: cover; }
.tk-yt__play {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	background: var(--tk-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23000'/%3E%3C/svg%3E") 56% 50% / 30px no-repeat;
	box-shadow: 0 0 0 10px rgb(var(--tk-lime-rgb) / .3);
	transition: transform .4s var(--tk-ease-pop), box-shadow .4s ease;
}
.tk-yt:hover .tk-yt__play,
.tk-yt:focus-visible .tk-yt__play { transform: scale(1.1); box-shadow: 0 0 0 16px rgb(var(--tk-lime-rgb) / .25); }
.tk-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block: 2em; }
.tk-richtext .tk-media-row > figure { margin: 0; aspect-ratio: 4 / 3; }
.tk-media-row > figure img { height: 100%; object-fit: cover; }

/* columna lateral */
.tk-art__aside .tk-doc__toc { padding: 22px; }
.tk-share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tk-share__label { font-weight: 600; }
.tk-share__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-share--end { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--tk-line); }
.tk-share--aside { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: var(--tk-paper); }
.tk-share--aside .tk-share__label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--tk-gray-500); }
.tk-art-cta {
	display: grid;
	gap: 10px;
	justify-items: start;
	padding: 26px 24px;
	border-radius: var(--tk-radius);
	background:
		radial-gradient(ellipse 260px 180px at 100% 100%, rgb(var(--tk-lime-rgb) / .45), transparent 70%),
		radial-gradient(ellipse 240px 200px at 0 0, rgb(var(--tk-blue-rgb) / .55), transparent 70%),
		var(--tk-night);
	color: var(--tk-white);
}
.tk-art-cta__t { font-size: 20px; font-weight: 600; line-height: 1.2; }
.tk-art-cta__d { margin-bottom: 6px; font-size: 14.5px; line-height: 1.5; color: rgb(var(--tk-white-rgb) / .75); }

/* Texto enriquecido (contenido de entradas y páginas de texto) */
.tk-richtext { font-size: 17.5px; line-height: 1.75; color: var(--tk-text); overflow-wrap: break-word; }
.tk-richtext > * + * { margin-top: 1.1em; }
.tk-richtext :where(h2, h3, h4, h5) { margin-top: 1.8em; color: var(--tk-black); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.tk-richtext h2 { font-size: 30px; }
.tk-richtext h3 { font-size: 25px; }
.tk-richtext h4 { font-size: 22px; }
.tk-richtext h5 { font-size: 19px; }
.tk-richtext :where(ul, ol) { padding-left: 1.3em; }
.tk-richtext ul { list-style: disc; }
.tk-richtext ol { list-style: decimal; }
.tk-richtext li + li { margin-top: .4em; }
.tk-richtext li::marker { color: var(--tk-olive-500); }
.tk-richtext a { color: var(--tk-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tk-richtext a:hover { color: var(--tk-black); }
.tk-richtext strong { color: var(--tk-black); font-weight: 600; }
.tk-richtext img { height: auto; border-radius: 18px; }
.tk-richtext figure { margin-block: 1.6em; }
.tk-richtext figcaption { margin-top: 8px; font-size: 14px; color: var(--tk-gray-500); text-align: center; }
.tk-richtext blockquote {
	position: relative;
	margin-block: 1.8em;
	padding: 28px 32px 28px 36px;
	border-radius: 0 var(--tk-radius) var(--tk-radius) 0;
	border-left: 4px solid var(--tk-lime);
	background: var(--tk-lime-50);
	font-size: 20px;
	line-height: 1.5;
	color: var(--tk-black);
}
.tk-richtext blockquote cite { display: block; margin-top: 12px; font-size: 15px; font-style: normal; font-weight: 600; }
.tk-richtext blockquote cite em { display: block; font-weight: 400; color: var(--tk-gray-600); }
.tk-richtext :where(.wp-block-columns, .wp-block-gallery) { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tk-richtext table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tk-richtext :where(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--tk-line); text-align: left; }

.tk .tk-share__btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--tk-line);
	border-radius: 50%;
	color: var(--tk-black);
	transition: background-color .25s ease, border-color .25s ease, transform .35s var(--tk-ease-pop);
}
.tk-share__btn svg { width: 19px; height: 19px; }
.tk .tk-share__btn:hover { background: var(--tk-lime); border-color: var(--tk-lime); transform: translateY(-3px); }
.tk-share__btn.is-copied { background: var(--tk-black); border-color: var(--tk-black); color: var(--tk-lime); }

/* ---------- Únete al equipo: beneficios ---------- */
.tk-benefits { overflow: hidden; }
.tk-benefits__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.tk-benefits__nav { display: flex; gap: 8px; margin-bottom: 44px; }
.tk-benefits__track {
	--tk-gutter: max(16px, (100vw - var(--tk-wrap)) / 2);
	display: flex;
	gap: 18px;
	padding: 8px var(--tk-gutter) 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--tk-gutter);
	scrollbar-width: none;
}
.tk-benefits__track::-webkit-scrollbar { display: none; }
.tk-benefit {
	flex: 0 0 200px;
	scroll-snap-align: start;
	border-radius: 26px;
	overflow: hidden;
	box-shadow: var(--tk-shadow);
	transition: transform .45s var(--tk-ease), box-shadow .45s var(--tk-ease);
}
.tk-benefit img { width: 200px; height: 200px; object-fit: cover; }
.tk-benefit:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: var(--tk-shadow-lg); }

/* ---------- Formularios ---------- */
.tk-formsec__grid { display: grid; grid-template-columns: .82fr 1.3fr; gap: 56px; align-items: start; }
.tk-formsec__aside { position: sticky; top: 96px; }
.tk-formsec__img { margin-top: 28px; border-radius: var(--tk-radius-lg) 0 var(--tk-radius-lg) 0; overflow: hidden; }
.tk-formsec__img img { width: 100%; height: auto; }
.tk-formsec__map { height: 340px; margin-top: 8px; border-radius: var(--tk-radius); overflow: hidden; background: var(--tk-card); }
.tk-formsec__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.tk-formsec__card { padding: 40px; border-radius: var(--tk-radius-lg); background: var(--tk-white); box-shadow: 0 30px 70px -36px rgb(var(--tk-shadow-rgb) / .55), 0 0 0 1px var(--tk-line); }
.tk-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--tk-lime-50); font-size: 15.5px; line-height: 1.45; }
.tk-note svg { flex: none; width: 22px; height: 22px; color: var(--tk-olive-500); }

.tk-form { position: relative; }
.tk-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tk-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.tk-ff { display: grid; gap: 7px; align-content: start; min-width: 0; }
.tk-ff.is-wide { grid-column: 1 / -1; }
.tk-ff__label { font-size: 14px; font-weight: 600; }
.tk-ff__star { color: var(--tk-danger); }
.tk .tk-ff :where(input:not([type=checkbox]):not([type=file]), select, textarea) {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1.5px solid var(--tk-line);
	border-radius: 14px;
	background: var(--tk-paper);
	color: var(--tk-black);
	font: inherit;
	font-size: 15.5px;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.tk .tk-ff textarea { height: auto; min-height: 120px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.tk .tk-ff :where(input, select, textarea)::placeholder { color: var(--tk-placeholder); }
.tk .tk-ff :where(input, select, textarea):hover { border-color: var(--tk-gray-200); }
.tk .tk-ff :where(input, select, textarea):focus { outline: 0; border-color: var(--tk-blue); background: var(--tk-white); box-shadow: 0 0 0 4px rgb(var(--tk-blue-rgb) / .14); }
.tk-ff__select { position: relative; display: block; }
.tk-ff__select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid var(--tk-gray-600);
	border-bottom: 2px solid var(--tk-gray-600);
	transform: rotate(45deg);
	pointer-events: none;
}
.tk .tk-ff__select select { padding-right: 44px; cursor: pointer; }
.tk-ff.is-invalid :where(input, select, textarea) { border-color: var(--tk-danger) !important; background: var(--tk-danger-50) !important; }
.tk-ff.is-invalid :where(input, select, textarea):focus { box-shadow: 0 0 0 4px rgb(var(--tk-danger-rgb) / .14) !important; }
.tk-ff.is-valid :where(input:not([type=checkbox]), select, textarea) { border-color: rgb(var(--tk-success-rgb) / .55); }
.tk-ff__error { min-height: 0; font-size: 13px; font-weight: 500; color: var(--tk-danger); }
.tk-ff__error:empty { display: none; }
.tk-ff__file {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 56px;
	padding: 8px 14px 8px 8px;
	border: 1.5px dashed var(--tk-gray-200);
	border-radius: 14px;
	background: var(--tk-paper);
	transition: border-color .2s ease, background-color .2s ease;
}
.tk-ff__file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tk-ff__file:hover { border-color: var(--tk-blue); }
.tk-ff__file:focus-within { border-color: var(--tk-blue); box-shadow: 0 0 0 4px rgb(var(--tk-blue-rgb) / .14); }
.tk-ff__filebtn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--tk-black); color: var(--tk-white); font-size: 14px; font-weight: 600; }
.tk-ff__filebtn svg { width: 17px; height: 17px; }
.tk-ff__filename { overflow: hidden; font-size: 14.5px; color: var(--tk-gray-600); text-overflow: ellipsis; white-space: nowrap; }
.tk-ff.has-file .tk-ff__file { border-style: solid; border-color: rgb(var(--tk-success-rgb) / .55); background: var(--tk-success-50); }
.tk-ff.has-file .tk-ff__filename { color: var(--tk-black); font-weight: 500; }
.tk-ff.is-invalid .tk-ff__file { border-color: var(--tk-danger); background: var(--tk-danger-50); }
.tk-ff__check { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.tk-ff__check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.tk-ff__box { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--tk-gray-200); border-radius: 7px; background: var(--tk-white); color: transparent; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.tk-ff__box svg { width: 15px; height: 15px; stroke-width: 3; }
.tk-ff__check input:checked + .tk-ff__box { background: var(--tk-lime); border-color: var(--tk-lime); color: var(--tk-black); }
.tk-ff__check input:focus-visible + .tk-ff__box { box-shadow: 0 0 0 4px rgb(var(--tk-blue-rgb) / .2); }
.tk-ff.is-invalid .tk-ff__box { border-color: var(--tk-danger); }
.tk-ff__check a { color: var(--tk-blue); text-decoration: underline; text-underline-offset: 2px; }
.tk-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.tk-form__submit { height: 50px; font-size: 15.5px; }
.tk-form__submit .tk-btn__icon { width: 38px; height: 38px; }
.tk-form__submit::before { right: 24px; }
.tk-form__req { font-size: 13px; color: var(--tk-gray-500); }
.tk-form.is-sending .tk-form__submit { pointer-events: none; opacity: .75; }
.tk-form.is-sending .tk-form__submit .tk-btn__icon svg:first-child { animation: tk-spin-arrow 1s linear infinite; }
@keyframes tk-spin-arrow { to { transform: translateX(160%); } }
.tk-form__status:empty { display: none; }
.tk-form__status { margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-size: 15px; font-weight: 500; line-height: 1.45; outline: 0; }
.tk-form__status.is-error { background: var(--tk-danger-50); color: var(--tk-danger-700); }
.tk-form__status.is-success {
	padding-left: 50px;
	background: var(--tk-success-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%231f9d55'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 16px 14px / 22px no-repeat;
	color: var(--tk-success-700);
	animation: tk-tab-in .5s var(--tk-ease) both;
}

/* ---------- Contáctanos: tarjetas de datos ---------- */
.tk-contactcards { position: relative; z-index: 2; margin-top: -64px; }
.tk-contactcards__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tk-ccard { display: grid; justify-items: center; gap: 8px; height: 100%; padding: 28px 18px; text-align: center; }
.tk-ccard__icon { width: 64px; height: 64px; margin-bottom: 6px; transition: transform .5s var(--tk-ease-pop); }
.tk-ccard__title { font-size: 14px; font-weight: 500; color: var(--tk-gray-500); }
.tk-ccard__value { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
a.tk-ccard:hover { transform: translateY(-6px); border-color: var(--tk-lime); box-shadow: var(--tk-shadow-lg); }
a.tk-ccard:hover .tk-ccard__icon { transform: scale(1.1) rotate(-6deg); }
.tk-contactcards + .tk-formsec { padding-top: 88px; }

/* ---------- 404 ---------- */
.tk-404 { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.tk-404__code {
	font-size: clamp(120px, 22vw, 240px);
	font-weight: 800;
	line-height: .85;
	letter-spacing: -0.05em;
	color: transparent;
	-webkit-text-stroke: 2px var(--tk-lime);
}
.tk-404__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.tk-404 .tk-chip { padding-left: 16px; }

/* ---------- Sedes: bloque de sede ---------- */
.tk-sedeblock { padding: 96px 0 0; scroll-margin-top: 70px; }
.tk-sedeblock.is-last { padding-bottom: var(--tk-section); }
.tk-sedeblock__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 64px;
	align-items: center;
}
.tk-sedeblock.is-alt .tk-sedeblock__photo { order: 2; }
.tk-sedeblock__photo {
	position: relative;
	aspect-ratio: 4 / 4.4;
	border-radius: 28px 0 28px 0;
	overflow: hidden;
	background: var(--tk-card);
}
.tk-sedeblock__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.tk-sedeblock__photo:hover img { transform: scale(1.05); }
.tk-sedeblock__photo .tk-chip { position: absolute; left: 20px; bottom: 20px; }
.tk-sedeblock__num {
	display: block;
	color: var(--tk-lime-deep); /* lima oscuro: contraste AA en texto grande sobre blanco */
	font-size: 72px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
}
.tk-sedeblock__title { margin-top: 10px; font-size: 40px; }
.tk-sedeblock__text { margin-top: 18px; font-size: 17px; line-height: 1.45; }
.tk-sedeblock__addr {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 22px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--tk-card);
	font-size: 15px;
	font-weight: 500;
}
.tk-sedeblock__addr svg { flex: none; width: 20px; height: 20px; color: var(--tk-blue); }
.tk-sedeblock__features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 18px;
	margin-top: 22px;
}
.tk-sedeblock__features li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	line-height: 1.35;
}
.tk-sedeblock__features li::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--tk-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.tk-sedeblock__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.tk-sedeblock__more {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 40px;
}
.tk-sedeblock__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.tk-sedeblock__gallery li { display: block; }
.tk-sedeblock__gallery a { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.tk-sedeblock__gallery a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(var(--tk-night-rgb) / .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 30px no-repeat;
	opacity: 0;
	transition: opacity .3s ease;
}
.tk-sedeblock__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.tk-sedeblock__gallery a:hover img { transform: scale(1.1); }
.tk-sedeblock__gallery a:hover::after { opacity: 1; }
.tk-sedeblock__map { height: 380px; border-radius: 18px; overflow: hidden; background: var(--tk-card); }
.tk-sedeblock__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* la galería y el banner del home, dentro de la página */
.tk-page-sedes .tk-gallery,
.tk-page-room .tk-gallery { margin-top: 0; }
.tk-page-sedes .tk-cta,
.tk-page-room .tk-cta { padding-bottom: 72px; }

/* ---------- Visor de imágenes ---------- */
.tk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgb(var(--tk-night-rgb) / .92);
	opacity: 0;
	transition: opacity .3s ease;
}
.tk-lightbox.is-open { opacity: 1; }
.tk-lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgb(var(--tk-black-rgb) / .6); }
.tk-lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--tk-white);
	color: var(--tk-black);
	font-size: 22px;
}
.tk-lightbox__close { top: 20px; right: 20px; }
.tk-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.tk-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.tk-lightbox button svg { width: 20px; height: 20px; }

/* ---------- Visor de imágenes ---------- */
.tk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgb(var(--tk-night-rgb) / .92);
	opacity: 0;
	transition: opacity .3s ease;
}
.tk-lightbox.is-open { opacity: 1; }
.tk-lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgb(var(--tk-black-rgb) / .6); }
.tk-lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--tk-white);
	color: var(--tk-black);
	font-size: 22px;
}
.tk-lightbox__close { top: 20px; right: 20px; }
.tk-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.tk-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.tk-lightbox button svg { width: 20px; height: 20px; }

/* ---------- Documentos (políticas, alcance del SGSI): índice + texto ---------- */
.tk-phero--doc { padding-bottom: 80px; }
.tk-doc { padding: 72px 0 var(--tk-section); }
.tk-doc__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.tk-doc__grid > .tk-doc__body:only-child { grid-column: 1 / -1; max-width: 820px; margin-inline: auto; }
.tk-doc__aside { position: sticky; top: 96px; display: grid; gap: 20px; justify-items: start; }
.tk-doc__toc { width: 100%; padding: 22px; border: 1px solid var(--tk-line); border-radius: var(--tk-radius); background: var(--tk-paper); }
.tk-doc__toc-t { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tk-gray-500); }
.tk-doc__toc ol { display: grid; gap: 2px; counter-reset: toc; }
.tk-doc__toc a {
	display: block;
	padding: 7px 10px;
	border-left: 2px solid transparent;
	border-radius: 0 8px 8px 0;
	font-size: 14.5px;
	line-height: 1.35;
	color: var(--tk-gray-600);
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.tk-doc__toc a:hover,
.tk-doc__toc a.is-active { border-left-color: var(--tk-lime); background: var(--tk-white); color: var(--tk-black); }
.tk-doc__body { max-width: 760px; }
.tk-doc__body h2 { scroll-margin-top: 96px; padding-top: 8px; font-size: 26px; }
.tk-doc__body h2:first-child { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.tk-values__list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
	:root { --tk-section: 72px; }
	.tk-phero { padding: 130px 0 64px; }
	.tk-phero.has-image { min-height: 480px; }
	.tk-phero__title { font-size: 44px; }
	.tk-phero--article { padding-bottom: 120px; }
	.tk-phero--article .tk-phero__title { font-size: 40px; }
	.tk-art-cover { margin-top: -90px; }
	.tk-art { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
	.tk-art__body { max-width: none; }
	.tk-art__aside { position: static; }
	.tk-art__aside .tk-doc__toc,
	.tk-share--aside { display: none; } /* en una columna: compartir va al final del texto */
	.tk-split,
	.tk-tabs__panel,
	.tk-team__grid,
	.tk-faq-grid,
	.tk-formsec__grid { grid-template-columns: 1fr; gap: 40px; }
	.tk-formsec__aside { position: static; }
	.tk-doc__grid { grid-template-columns: 1fr; gap: 28px; }
	.tk-doc__aside { position: static; }
	.tk-values__head { grid-template-columns: 1fr; gap: 24px; }
	.tk-statband__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.tk-scards { grid-template-columns: repeat(2, 1fr); }
	.tk-newsgrid { grid-template-columns: repeat(2, 1fr); }
	.tk-ncard--big { grid-template-columns: 1fr; gap: 20px; }
	.tk-banner__box { grid-template-columns: 1fr 220px; padding: 0 32px; }
	.tk-banner__img { width: 220px; }
	.tk-contactcards__list { grid-template-columns: repeat(2, 1fr); }
	.tk-callout__box { flex-direction: column; align-items: flex-start; padding: 32px; }
	.tk-sedeblock { padding-top: 64px; }
	.tk-sedeblock__grid { grid-template-columns: 1fr; gap: 32px; }
	.tk-sedeblock.is-alt .tk-sedeblock__photo { order: 0; }
	.tk-sedeblock__photo { aspect-ratio: 4 / 3; }
	.tk-sedeblock__map { height: 320px; }
}
@media (max-width: 640px) {
	.tk-phero__title { font-size: 34px; }
	.tk-phero--article { padding-bottom: 96px; }
	.tk-phero--article .tk-phero__title { font-size: 31px; line-height: 1.1; }
	.tk-art-meta { font-size: 13.5px; }
	.tk-art-cover { margin-top: -70px; }
	.tk-art-cover__pic { border-radius: 20px; }
	.tk-art { padding-top: 36px; }
	.tk-art__body > p:first-child { font-size: 18.5px; }
	.tk-art__body h2 { font-size: 25px; }
	.tk-art__body h3 { font-size: 20px; }
	.tk-media-row { grid-template-columns: 1fr; }
	.tk-richtext .tk-media-row > figure { aspect-ratio: 16 / 11; }
	.tk-phero__text { font-size: 16.5px; }
	.tk-tabs__list { display: flex; overflow-x: auto; flex-wrap: nowrap; border-radius: 18px; scrollbar-width: none; }
	.tk .tk-tabs__list button { flex: none; padding: 0 16px; }
	.tk-statband__value { font-size: 40px; }
	.tk-values__list,
	.tk-scards,
	.tk-newsgrid,
	.tk-contactcards__list { grid-template-columns: 1fr; }
	.tk-team__slide { grid-template-columns: 1fr; }
	.tk-team__photo { width: 180px; }
	.tk-banner__box { grid-template-columns: 1fr; padding: 0 24px; }
	.tk-banner__img { width: 180px; margin: 0 auto; }
	.tk-banner__title { font-size: 30px; }
	.tk-formsec__card { padding: 24px 18px; border-radius: 22px; }
	.tk-form__grid { grid-template-columns: 1fr; }
	.tk-form__submit { width: 100%; justify-content: space-between; }
	.tk-benefit { flex-basis: 160px; }
	.tk-benefit img { width: 160px; height: 160px; }
	.tk-collage { padding-bottom: 60px; }
	.tk-richtext { font-size: 16.5px; }
	.tk-richtext blockquote { padding: 22px; font-size: 18px; }
	.tk-sedeblock__num { font-size: 54px; }
	.tk-sedeblock__title { font-size: 30px; }
	.tk-sedeblock__features { grid-template-columns: 1fr; }
	.tk-sedeblock__gallery { grid-template-columns: repeat(2, 1fr); }
	.tk-sedeblock__map { height: 280px; }
}
