/*
 * Footer global.
 * Fondo oscuro reutilizando --jt-color-ink (ya definido en theme.json),
 * no se introduce una paleta nueva.
 */

.jt-site-footer {
	background: var(--jt-color-ink);
	color: rgba(255, 250, 242, 0.72);
	margin-top: 4rem;
	padding: 3.5rem 0 0;
}

.jt-footer-inner {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	margin: 0 auto;
	max-width: 1280px;
	padding: 0 1.25rem 3rem;
}

.jt-footer-col h2 {
	color: #fff;
	font-size: 0.95rem;
	margin: 0 0 1rem;
}

.jt-footer-brand .jt-brand {
	align-items: center;
	color: #fff;
	display: inline-flex;
	gap: 0.6rem;
	margin-bottom: 0.85rem;
	text-decoration: none;
}

.jt-footer-brand .jt-brand img {
	display: block;
	height: auto;
	max-height: 42px;
	width: auto;
}

.jt-footer-brand .jt-brand-mark {
	align-items: center;
	background: #f4be78;
	border-radius: 12px;
	color: #7a481b;
	display: inline-flex;
	flex: 0 0 auto;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.jt-footer-brand .jt-brand-mark svg {
	display: block;
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 20px;
}

.jt-footer-brand .jt-brand-text strong {
	color: #fff;
	font-size: 1.15rem;
}

.jt-footer-tagline {
	font-size: 0.82rem;
	line-height: 1.6;
	margin: 0;
	max-width: 32ch;
}

.jt-footer-col ul {
	display: grid;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jt-footer-col a {
	color: inherit;
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.15s ease;
}

.jt-footer-col a:hover,
.jt-footer-col a:focus-visible {
	color: var(--jt-color-orange);
}

.jt-footer-all-link {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	margin-top: 1rem;
}

.jt-footer-contact li {
	font-size: 0.85rem;
}

.jt-footer-bottom {
	align-items: center;
	border-top: 1px solid rgba(255, 250, 242, 0.14);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1280px;
	padding: 1.1rem 1.25rem;
}

.jt-footer-bottom,
.jt-footer-bottom a {
	color: rgba(255, 250, 242, 0.55);
	font-size: 0.78rem;
}

.jt-footer-bottom a:hover,
.jt-footer-bottom a:focus-visible {
	color: #fff;
}

@media (max-width: 900px) {
	.jt-footer-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.jt-footer-inner {
		grid-template-columns: 1fr;
	}

	.jt-footer-bottom {
		justify-content: center;
		text-align: center;
	}
}
