/* Trasa Kaszubska Premium – strona główna. Metafora: haftowana trasa na lnianym płótnie. */

.tk-home.site-main { padding-block: 0; min-height: 0; }
.tk-home { display: block; overflow-x: clip; }
.tk-home *, .tk-home *::before, .tk-home *::after { box-sizing: border-box; }
.tk-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.tk-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.tk-home h1, .tk-home h2, .tk-home h3 { margin: 0; font-family: var(--tk-display); color: var(--tk-navy); }
.tk-home p { margin: 0; }
.tk-home ul, .tk-home ol { margin: 0; padding: 0; list-style: none; }
.tk-home a { text-decoration: none; }
.tk-motif { width: 40px; height: 40px; fill: var(--c, var(--tk-navy)); color: var(--c, var(--tk-navy)); flex: none; }
.tk-ico { flex: none; }

.tk-weave,
.tk-hero,
.tk-map__canvas {
	background-image:
		repeating-linear-gradient(0deg, rgba(19, 41, 75, .035) 0 1px, transparent 1px 4px),
		repeating-linear-gradient(90deg, rgba(19, 41, 75, .035) 0 1px, transparent 1px 4px);
}

/* Reset przycisków motywu (uppercase, czarne tło, hover/focus bez tła). */
.tk-home button { text-transform: none; text-shadow: none; letter-spacing: normal; }

/* ---------- Nagłówki sekcji ---------- */
.tk-sec { padding: 96px 0; }
.tk-head { max-width: 780px; margin-bottom: 44px; }
.tk-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tk-num {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--tk-red-text);
}
.tk-home .tk-num { margin-bottom: 18px; }
.tk-num span {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: var(--tk-navy);
	color: #fff;
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	font-family: var(--tk-display);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0;
}
.tk-home h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.tk-head__lead { margin-top: 16px !important; font-size: 18px; line-height: 1.65; color: var(--tk-muted); }
.tk-head--light .tk-num { color: #f4c75a; }
.tk-head--light .tk-num span { background: var(--tk-yellow); color: var(--tk-navy); }
.tk-head--light h2 { color: #fff; }
.tk-head--light .tk-head__lead { color: #c8d3e6; }

/* ---------- Listy linków ---------- */
.tk-links li { border-bottom: 1px dashed rgba(19, 41, 75, .22); }
.tk-links li:last-child { border-bottom: 0; }
.tk-links a {
	position: relative;
	display: block;
	padding: 10px 0 10px 20px;
	color: var(--tk-navy);
	font-weight: 500;
	line-height: 1.4;
	transition: color .2s ease, padding .2s ease;
}
.tk-links a::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 1.05em;
	width: 7px;
	height: 7px;
	background: var(--c, var(--tk-red));
	transform: rotate(45deg);
	transition: transform .25s ease;
}
.tk-links a:hover, .tk-links a:focus-visible { color: var(--tk-red-text); padding-left: 24px; }
.tk-links a:hover::before { transform: rotate(225deg) scale(1.2); }
.tk-links--light li { border-bottom-color: rgba(255, 255, 255, .18); }
.tk-links--light a { color: #fff; }
.tk-links--light a::before { background: var(--tk-yellow); }
.tk-links--light a:hover, .tk-links--light a:focus-visible { color: #f4c75a; }

/* ---------- Hero ---------- */
.tk-hero { position: relative; padding: 56px 0 0; background-color: var(--tk-linen); }
.tk-hero__top {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 48px;
	align-items: end;
}
.tk-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tk-red-text);
}
.tk-kicker__x {
	width: 14px;
	height: 14px;
	flex: none;
	background:
		linear-gradient(45deg, transparent 43%, var(--tk-red) 43% 57%, transparent 57%),
		linear-gradient(-45deg, transparent 43%, var(--tk-red) 43% 57%, transparent 57%);
}
.tk-hero h1 {
	font-size: clamp(38px, 5.3vw, 74px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -.015em;
	color: var(--tk-navy);
}
.tk-hero h1 em {
	display: inline;
	font-style: italic;
	font-weight: 700;
	color: var(--tk-red-text);
	background: repeating-linear-gradient(90deg, var(--tk-red) 0 12px, transparent 12px 19px) left 96% / 100% 3px no-repeat;
	padding-bottom: 6px;
}
.tk-hero__lead { font-size: 18px; line-height: 1.65; color: var(--tk-muted); }
.tk-search {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	padding: 6px 6px 6px 18px;
	background: #fff;
	border: 2px solid var(--tk-navy);
	border-radius: 999px;
	box-shadow: 0 10px 24px -18px rgba(19, 41, 75, .7);
}
.tk-search .tk-ico { color: var(--tk-muted); }
.tk-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 10px 0;
	font-size: 16px;
	color: var(--tk-ink);
	box-shadow: none;
}
.tk-search input:focus { outline: none; }
.tk-search:focus-within { outline: 3px solid var(--tk-yellow); outline-offset: 2px; }
.tk-home .tk-search button {
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	background: var(--tk-navy);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s ease;
}
.tk-home .tk-search button:hover { background: var(--tk-red); }
.tk-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px !important; font-size: 14px; }
.tk-hero__tags span { color: var(--tk-muted); margin-right: 2px; }
.tk-hero__tags a {
	padding: 5px 12px;
	border: 1px solid var(--tk-line);
	border-radius: 999px;
	background: var(--tk-card);
	color: var(--tk-navy);
	transition: border-color .2s ease, background .2s ease;
}
.tk-hero__tags a:hover { border-color: var(--tk-navy); background: #fff; }

/* Haftowana mapa */
.tk-map { max-width: 1288px; margin: 40px auto 0; padding: 0 24px 34px; }
.tk-map__canvas {
	position: relative;
	aspect-ratio: 1200 / 440;
	background-color: var(--tk-card);
	border-radius: 24px;
	box-shadow: 0 30px 60px -40px rgba(19, 41, 75, .55), inset 0 0 0 1px var(--tk-line);
}
.tk-map__canvas::before {
	content: '';
	position: absolute;
	inset: 10px;
	border: 2px dashed rgba(195, 49, 45, .28);
	border-radius: 17px;
	pointer-events: none;
}
.tk-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tk-map__thread { fill: none; stroke: rgba(19, 41, 75, .1); stroke-width: 10; stroke-linecap: round; }
.tk-map__route {
	fill: none;
	stroke: var(--tk-navy);
	stroke-width: 3.4;
	stroke-linecap: round;
	stroke-dasharray: 14 9;
	animation: tk-march 7s linear infinite;
}
.tk-map__reveal {
	fill: none;
	stroke: #fff;
	stroke-width: 26;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: tk-draw 2.8s .2s cubic-bezier(.6, .1, .3, 1) forwards;
}
.tk-map__ring { fill: var(--tk-card); stroke: rgba(19, 41, 75, .22); stroke-width: 1.5; stroke-dasharray: 3 3; }
.tk-map__sea path { fill: none; stroke: var(--tk-sky); stroke-width: 2; opacity: .8; }
.tk-map__label { font-family: var(--tk-body); font-size: 12px; font-weight: 600; letter-spacing: .2em; fill: var(--tk-muted); }
.tk-map__compass { fill: var(--tk-navy); opacity: .2; }
.tk-map__compass text { font-family: var(--tk-display); font-weight: 800; font-size: 16px; opacity: 1; }

@keyframes tk-draw { to { stroke-dashoffset: 0; } }
@keyframes tk-march { to { stroke-dashoffset: -46; } }
@keyframes tk-pop {
	from { opacity: 0; transform: translateY(10px) scale(.92); }
	to { opacity: 1; transform: none; }
}

.tk-map__stops { position: absolute; inset: 0; }
.tk-stop { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.tk-stop a {
	position: absolute;
	left: -95px;
	width: 190px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--tk-ink);
	animation: tk-pop .6s calc(.6s + var(--i) * .25s) both;
}
.tk-stop--down a { top: -32px; }
.tk-stop--up a { bottom: -32px; flex-direction: column-reverse; }
.tk-stop__pin {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--tk-card);
	border: 2.5px solid var(--c);
	box-shadow: 0 0 0 5px var(--tk-card), 0 10px 22px -12px rgba(19, 41, 75, .7);
	transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), background .25s ease;
}
.tk-stop__pin .tk-motif { width: 40px; height: 40px; transition: fill .25s ease, color .25s ease, transform .5s ease; }
.tk-stop__txt { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.2; }
.tk-stop__no { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--ct); }
.tk-stop__txt strong { font-family: var(--tk-display); font-size: 21px; font-weight: 800; color: var(--tk-navy); }
.tk-stop__txt small { font-size: 12px; color: var(--tk-muted); margin-top: 2px; }
.tk-stop__count {
	margin-top: 6px;
	padding: 2px 10px;
	border-radius: 999px;
	border: 1px solid var(--c);
	background: #fff;
	font-size: 12px;
	color: var(--ct);
}
.tk-stop__count b { font-family: var(--tk-display); font-size: 15px; }
.tk-stop a:hover .tk-stop__pin,
.tk-stop a:focus-visible .tk-stop__pin { transform: scale(1.1) rotate(-8deg); background: var(--c); }
.tk-stop a:hover .tk-motif,
.tk-stop a:focus-visible .tk-motif { fill: #fff; color: #fff; transform: rotate(16deg); }
.tk-stop a:hover strong { color: var(--tk-red-text); }
.tk-stop a:focus-visible { outline: none; }
.tk-stop a:focus-visible .tk-stop__txt strong { text-decoration: underline; text-decoration-color: var(--tk-yellow); text-decoration-thickness: 3px; }

.tk-map__sum { margin-top: 18px !important; text-align: center; font-size: 15px; color: var(--tk-muted); }
.tk-map__sum b { font-family: var(--tk-display); font-size: 20px; color: var(--tk-navy); }

.tk-band { height: 16px; background: var(--tk-band) repeat-x left center / 40px 16px; }

/* ---------- 01 Przystanki ---------- */
.tk-st { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tk-st__card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 22px 20px;
	background: var(--tk-card);
	border: 1px solid var(--tk-line);
	border-radius: 18px;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.tk-st__card:first-child { grid-column: span 2; }
.tk-st__card::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	background: var(--c);
}
.tk-st__card::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	top: 12px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--c) 0 6px, transparent 6px 10px);
	opacity: .55;
}
.tk-st__card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(19, 41, 75, .6); }
.tk-st__head { display: flex; align-items: center; gap: 14px; }
.tk-st__motif { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 50%; background: var(--tk-linen); }
.tk-st__card:hover .tk-st__motif .tk-motif { transform: rotate(-12deg); }
.tk-st__motif .tk-motif { transition: transform .4s ease; }
.tk-st__head h3 { font-size: 24px; line-height: 1.15; font-weight: 800; }
.tk-st__head h3 a { color: var(--tk-navy); }
.tk-st__head h3 a:hover { color: var(--ct); }
.tk-st__count { margin-top: 3px !important; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ct); }
.tk-st__desc { margin-top: 14px !important; color: var(--tk-muted); line-height: 1.6; }
.tk-st__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.tk-st__chips a {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--tk-linen);
	color: var(--tk-navy);
	font-size: 13px;
	font-weight: 500;
}
.tk-st__chips a span { color: var(--ct); font-weight: 700; margin-left: 2px; }
.tk-st__chips a:hover { background: var(--tk-navy); color: #fff; }
.tk-st__chips a:hover span { color: #f4c75a; }
.tk-st__latest { margin-top: 14px !important; flex: 1; }
.tk-st__latest li { border-top: 1px dashed rgba(19, 41, 75, .2); }
.tk-st__latest a { display: block; padding: 9px 0; color: var(--tk-ink); font-size: 15px; line-height: 1.4; }
.tk-st__latest a:hover { color: var(--tk-red-text); }
.tk-st__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-weight: 600;
	color: var(--ct);
}
.tk-st__all .tk-ico { transition: transform .25s ease; }
.tk-st__all:hover .tk-ico { transform: translateX(4px); }
.tk-st__card:first-child .tk-st__latest { columns: 2; column-gap: 24px; }
.tk-st__card:first-child .tk-st__latest li { break-inside: avoid; }

/* ---------- 02 Planer ---------- */
.tk-planner {
	background-color: var(--tk-navy);
	background-image:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 14px),
		repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 14px);
	color: #e6ecf6;
}
.tk-plan {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 20px;
	align-items: start;
}
.tk-plan__cfg,
.tk-plan__route {
	padding: 22px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
}
.tk-field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.tk-field:last-child { margin-bottom: 0; }
.tk-field legend,
.tk-field--hours span,
.tk-plan__start span {
	display: block;
	margin-bottom: 8px;
	padding: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #f4c75a;
}
.tk-field__hint { margin-top: 6px !important; font-size: 13px; color: #b9c6dc; }
.tk-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tk-seg--4 { grid-template-columns: repeat(2, 1fr); }
.tk-seg label { position: relative; display: block; margin: 0; cursor: pointer; }
.tk-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tk-seg span {
	display: block;
	padding: 10px 6px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .22);
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tk-seg label:hover span { border-color: #f4c75a; }
.tk-seg input:checked + span { background: var(--tk-yellow); border-color: var(--tk-yellow); color: var(--tk-navy); font-weight: 600; }
.tk-seg input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.tk-field--hours { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tk-field--hours label { margin: 0; }

.tk-plan input[type="text"],
.tk-plan input[type="number"],
.tk-plan select {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid transparent;
	background: #fff;
	color: var(--tk-ink);
	font-size: 16px;
	box-shadow: none;
}
.tk-plan input:focus,
.tk-plan select:focus { outline: 3px solid var(--tk-yellow); outline-offset: 1px; }
.tk-plan__start { display: block; margin: 0 0 14px; }
.tk-plan__stops { counter-reset: none; }
.tk-row {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) 104px 40px;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
	animation: tk-pop .35s ease both;
}
.tk-row__no {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	background: var(--tk-red);
	color: #fff;
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	font-family: var(--tk-display);
	font-weight: 800;
	font-size: 13px;
}
.tk-row__name, .tk-row__km { margin: 0; position: relative; display: block; }
.tk-row__km input { padding-right: 34px; }
.tk-row__km em { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--tk-muted); pointer-events: none; }
.tk-home .tk-row__del {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.tk-home .tk-row__del:hover { background: var(--tk-red); border-color: var(--tk-red); }
.tk-home .tk-row__del:disabled { opacity: .35; cursor: not-allowed; background: transparent; }
.tk-home .tk-plan__add {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px dashed rgba(255, 255, 255, .5);
	background: transparent;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}
.tk-home .tk-plan__add:hover { border-color: var(--tk-yellow); color: #f4c75a; }
.tk-home .tk-plan__add:disabled { opacity: .4; cursor: not-allowed; }
.tk-plan__back { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 8px; align-items: center; margin-top: 16px; }
.tk-check { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; color: #fff; font-size: 15px; }
.tk-check input { width: 20px; height: 20px; accent-color: var(--tk-yellow); flex: none; }
.tk-plan__note { margin-top: 14px !important; font-size: 13px; line-height: 1.55; color: #b9c6dc; }

.tk-plan__out {
	min-height: 320px;
	padding: 24px;
	border-radius: 18px;
	background: var(--tk-linen);
	color: var(--tk-ink);
	box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .7);
}
.tk-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.tk-sum div { padding: 10px 8px; border-radius: 12px; background: var(--tk-card); border: 1px solid var(--tk-line); text-align: center; }
.tk-sum b { display: block; font-family: var(--tk-display); font-size: 22px; font-weight: 800; color: var(--tk-navy); line-height: 1.1; }
.tk-sum span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tk-muted); }
.tk-day { margin-top: 14px; }
.tk-day h3 {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 6px;
	margin-bottom: 6px !important;
	border-bottom: 2px solid var(--tk-navy);
	font-size: 20px;
	font-weight: 800;
}
.tk-day h3 small { font-family: var(--tk-body); font-size: 13px; font-weight: 500; color: var(--tk-muted); }
.tk-tl li {
	position: relative;
	display: grid;
	grid-template-columns: 52px 18px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	padding: 7px 0;
	font-size: 15px;
	line-height: 1.4;
}
.tk-tl time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--tk-navy); }
.tk-tl i {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
	margin-top: 1px;
}
.tk-tl i::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 4px;
	width: 10px;
	height: 10px;
	transform: rotate(45deg);
	background: var(--tk-navy);
}
.tk-tl li:not(:last-child) i::after {
	content: '';
	position: absolute;
	left: 8px;
	top: 20px;
	height: calc(100% + 6px);
	border-left: 2px dashed rgba(19, 41, 75, .25);
}
.tk-tl .is-road i::before { background: var(--tk-sky); border-radius: 50%; transform: none; }
.tk-tl .is-visit i::before { background: var(--tk-red); }
.tk-tl .is-lunch i::before { background: var(--tk-yellow); border-radius: 50%; transform: none; }
.tk-tl .is-sleep i::before { background: var(--tk-navy); }
.tk-tl .is-start i::before { background: var(--tk-green); }
.tk-tl .is-road { color: var(--tk-muted); }
.tk-tl em { font-style: normal; color: var(--tk-muted); white-space: nowrap; }
.tk-tl .is-late time { color: var(--tk-red-text); }
.tk-warn {
	margin-top: 14px !important;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(195, 49, 45, .4);
	background: #fbeceb;
	color: #7a1d17;
	font-size: 14px;
	line-height: 1.5;
}
.tk-plan__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tk-home .tk-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--tk-navy);
	background: var(--tk-navy);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}
.tk-home .tk-btn:hover { background: var(--tk-red); border-color: var(--tk-red); }
.tk-home .tk-btn--ghost { background: transparent; color: var(--tk-navy); }
.tk-home .tk-btn--ghost:hover { color: #fff; }
.tk-plan__disc { margin-top: 12px !important; font-size: 12px; line-height: 1.5; color: var(--tk-muted); }

.tk-plan__rules {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 8px 40px;
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px dashed rgba(255, 255, 255, .25);
}
.tk-plan__rules-h { grid-row: 1; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #f4c75a; }
.tk-plan__rules ul:not(.tk-links) li { padding: 6px 0; font-size: 15px; line-height: 1.55; color: #d4ddeb; }
.tk-plan__rules b { color: #fff; }

/* ---------- 03 Szlaki ---------- */
.tk-trails__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tk-trail {
	--c: var(--tk-green);
	position: relative;
	padding: 30px 26px 18px;
	background: var(--tk-card);
	border: 1px solid var(--tk-line);
	border-radius: 18px;
}
.tk-trail:nth-child(2) { --c: var(--tk-blue); }
.tk-trail:nth-child(3) { --c: var(--tk-red); }
.tk-trail__motif {
	position: absolute;
	right: 20px;
	top: -26px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--tk-linen);
	border: 2px solid var(--c);
}
.tk-trail h3 { font-size: 26px; font-weight: 800; padding-right: 60px; }
.tk-trail > p { margin: 10px 0 12px !important; color: var(--tk-muted); line-height: 1.6; }

.tk-rules { margin-top: 40px; }
.tk-rules__h { margin-bottom: 14px !important; font-family: var(--tk-display); font-size: 24px; font-weight: 800; color: var(--tk-navy); }
.tk-rules__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: tkr; }
.tk-rules__list li {
	counter-increment: tkr;
	position: relative;
	padding: 18px 18px 18px 18px;
	border-radius: 14px;
	background: var(--tk-linen-2);
	line-height: 1.55;
	font-size: 15px;
}
.tk-rules__list li::before {
	content: counter(tkr);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-bottom: 10px;
	background: var(--tk-green);
	color: #fff;
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	font-family: var(--tk-display);
	font-weight: 800;
}
.tk-rules__list b { display: block; margin-bottom: 4px; color: var(--tk-navy); font-size: 16px; }
.tk-rules__list span { color: var(--tk-muted); }

/* ---------- 04 Pomorze ---------- */
.tk-coast { background: var(--tk-linen-2); }
.tk-coast__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.tk-coast .tk-head { margin-bottom: 24px; }
.tk-links--coast { --c: var(--tk-sky); display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.tk-links--coast li:nth-last-child(2) { border-bottom: 0; }
.tk-facts { margin-top: 28px !important; display: grid; gap: 12px; }
.tk-facts li {
	padding: 16px 18px 16px 52px;
	position: relative;
	border-radius: 14px;
	background: var(--tk-card);
	line-height: 1.6;
	color: var(--tk-muted);
}
.tk-facts li::before {
	content: '';
	position: absolute;
	left: 18px;
	top: 20px;
	width: 18px;
	height: 18px;
	background:
		linear-gradient(45deg, transparent 42%, var(--tk-red) 42% 58%, transparent 58%),
		linear-gradient(-45deg, transparent 42%, var(--tk-red) 42% 58%, transparent 58%);
}
.tk-facts b { color: var(--tk-navy); }
.tk-palette {
	padding: 28px 26px;
	border-radius: 20px;
	background: var(--tk-card);
	border: 1px solid var(--tk-line);
	box-shadow: 0 30px 50px -40px rgba(19, 41, 75, .6);
}
.tk-palette h3 { font-size: 28px; font-weight: 800; }
.tk-palette > p { margin: 10px 0 18px !important; color: var(--tk-muted); line-height: 1.6; font-size: 15px; }
.tk-palette__list li {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	padding: 10px 0;
	border-top: 1px dashed rgba(19, 41, 75, .18);
}
.tk-palette__thread {
	grid-row: 1 / 3;
	height: 12px;
	border-radius: 6px;
	background: repeating-linear-gradient(90deg, var(--c) 0 9px, transparent 9px 12px);
	position: relative;
}
.tk-palette__thread::after {
	content: '';
	position: absolute;
	inset: -4px auto -4px -2px;
	width: 10px;
	border-radius: 50%;
	background: var(--c);
}
.tk-palette__name { font-weight: 600; color: var(--tk-navy); }
.tk-palette__mean { grid-column: 2; font-size: 13px; color: var(--tk-muted); }
.tk-palette__stop {
	grid-column: 3;
	grid-row: 1 / 3;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid var(--c);
	font-size: 12px;
	font-weight: 600;
	color: var(--ct);
	white-space: nowrap;
}

/* ---------- 05 Kuchnia ---------- */
.tk-kitchen__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.tk-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tk-home .tk-tabs__list button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px 8px 10px;
	border-radius: 999px;
	border: 1px solid var(--tk-line);
	background: var(--tk-card);
	color: var(--tk-navy);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tk-motif--tab { width: 26px; height: 26px; fill: var(--tk-red); color: var(--tk-red); }
.tk-home .tk-tabs__list button:hover { border-color: var(--tk-navy); }
.tk-home .tk-tabs__list button[aria-selected="true"] { background: var(--tk-navy); border-color: var(--tk-navy); color: #fff; }
.tk-home .tk-tabs__list button[aria-selected="true"] .tk-motif--tab { fill: var(--tk-yellow); color: var(--tk-yellow); }
.tk-tabs__panel {
	--c: var(--tk-red);
	padding: 30px 30px 18px;
	border-radius: 20px;
	background: var(--tk-card);
	border: 1px solid var(--tk-line);
	animation: tk-pop .4s ease both;
}
.tk-tabs__panel[hidden] { display: none; }
.tk-tabs__panel h3 { font-size: 30px; font-weight: 800; }
.tk-tabs__panel > p { margin: 10px 0 14px !important; color: var(--tk-muted); line-height: 1.6; }
.tk-links--recipe { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.tk-taste {
	padding: 26px 24px;
	border-radius: 20px;
	background: var(--tk-navy);
	color: #d4ddeb;
	position: relative;
	overflow: hidden;
}
.tk-taste::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--tk-band) repeat-x left center / 40px 16px; background-color: var(--tk-linen); }
.tk-taste h3 { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 24px; font-weight: 800; color: #fff; }
.tk-motif--inline { width: 32px; height: 32px; fill: #f0605a; color: #f0605a; }
.tk-taste dl { margin: 14px 0 0; }
.tk-taste dt { margin-top: 14px; font-family: var(--tk-display); font-size: 19px; font-weight: 700; color: #f4c75a; }
.tk-taste dd { margin: 4px 0 0; line-height: 1.6; font-size: 15px; }

/* ---------- 06 Noclegi ---------- */
.tk-stays__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tk-stay {
	--c: var(--tk-sky);
	position: relative;
	padding: 26px 22px 16px;
	border-radius: 18px;
	background: var(--tk-card);
	border: 1px solid var(--tk-line);
}
.tk-stay__motif { display: block; margin-bottom: 10px; }
.tk-stay__motif .tk-motif { width: 44px; height: 44px; fill: var(--tk-blue); color: var(--tk-blue); }
.tk-stay h3 { font-size: 24px; font-weight: 800; }
.tk-stay > p { margin: 8px 0 10px !important; color: var(--tk-muted); line-height: 1.55; font-size: 15px; }
.tk-stay--check { background: #fdf3d6; border-color: #efd68f; }
.tk-stay--check h3 { display: flex; align-items: center; gap: 8px; font-size: 22px; }
.tk-checklist { margin-top: 12px !important; }
.tk-checklist label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 8px 0; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--tk-ink); }
.tk-checklist input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--tk-green); }
.tk-checklist input:checked + span { color: var(--tk-muted); text-decoration: line-through; text-decoration-color: var(--tk-green); }

/* ---------- 07 Dalej w świat ---------- */
.tk-world { background-color: var(--tk-navy-2); color: #d4ddeb; }
.tk-rose {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr);
	grid-template-areas: "n star e" "w star s";
	gap: 22px 32px;
	align-items: center;
}
.tk-rose__star { grid-area: star; display: grid; place-items: center; }
.tk-rose__star svg { width: 240px; height: 240px; fill: var(--tk-yellow); animation: tk-spin 60s linear infinite; }
@keyframes tk-spin { to { transform: rotate(360deg); } }
.tk-rose__dir--n { grid-area: n; }
.tk-rose__dir--e { grid-area: e; }
.tk-rose__dir--s { grid-area: s; }
.tk-rose__dir--w { grid-area: w; }
.tk-rose__dir {
	padding: 22px 22px 10px;
	border-radius: 18px;
	border: 1px dashed rgba(255, 255, 255, .28);
	transition: border-color .25s ease, background .25s ease;
}
.tk-rose__dir:hover { border-color: var(--tk-yellow); background: rgba(255, 255, 255, .04); }
.tk-rose__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #b9c6dc; }
.tk-rose__label b { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: var(--tk-yellow); color: var(--tk-navy); font-family: var(--tk-display); letter-spacing: 0; }
.tk-world .tk-rose__dir h3 { margin: 10px 0 6px; font-size: 24px; font-weight: 800; color: #fff; }
.tk-howto { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px dashed rgba(255, 255, 255, .25); }
.tk-howto__h { font-family: var(--tk-display); font-size: 21px; font-weight: 800; color: #fff; }
.tk-links--row { display: flex; flex-wrap: wrap; gap: 0 24px; }
.tk-links--row li { border-bottom: 0; }

/* ---------- 08 Najnowsze ---------- */
.tk-more { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--tk-navy); color: var(--tk-navy); font-weight: 600; }
.tk-more:hover { background: var(--tk-navy); color: #fff; }
.tk-new__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.tk-card__link { display: block; color: var(--tk-ink); }
.tk-card__img { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--tk-linen-2); position: relative; }
.tk-card__img::after { content: ''; position: absolute; inset: 8px; border: 1.5px dashed rgba(255, 255, 255, .7); border-radius: 10px; opacity: 0; transition: opacity .3s ease; }
.tk-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.tk-card__link:hover .tk-card__img img { transform: scale(1.05); }
.tk-card__link:hover .tk-card__img::after { opacity: 1; }
.tk-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--tk-muted); }
.tk-card__cat { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: var(--tk-red-text); }
.tk-card__title { margin-top: 6px !important; font-size: 22px; line-height: 1.22; font-weight: 700; }
.tk-card__link:hover .tk-card__title { color: var(--tk-red-text); }

/* ---------- 09 FAQ ---------- */
.tk-faq { background: var(--tk-linen-2); }
.tk-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.tk-faq details { border-bottom: 1px dashed rgba(19, 41, 75, .3); }
.tk-faq summary {
	position: relative;
	padding: 20px 46px 20px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--tk-display);
	font-size: 21px;
	font-weight: 700;
	color: var(--tk-navy);
}
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after {
	content: '';
	position: absolute;
	right: 6px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background:
		linear-gradient(var(--tk-red), var(--tk-red)) center / 100% 2.5px no-repeat,
		linear-gradient(var(--tk-red), var(--tk-red)) center / 2.5px 100% no-repeat;
	transition: transform .3s ease;
}
.tk-faq details[open] summary::after { transform: rotate(135deg); }
.tk-faq summary:hover { color: var(--tk-red-text); }
.tk-faq details p { padding: 0 0 20px; line-height: 1.7; color: var(--tk-muted); max-width: 70ch; }

/* ---------- 10 O serwisie ---------- */
.tk-about__grid { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1000px; }
.tk-about__mark svg { width: 140px; height: 140px; }
.tk-about__txt p { margin-top: 14px !important; line-height: 1.75; font-size: 17px; color: var(--tk-muted); }
.tk-about__txt .tk-num { margin-top: 0 !important; }
.tk-about__other { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tk-about__other span { margin-right: 4px; font-size: 14px; }
.tk-about__other a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--tk-line); color: var(--tk-navy); font-size: 14px; }
.tk-about__other a:hover { border-color: var(--tk-navy); }

/* ---------- Pojawianie się ---------- */
.tk-js .tk-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.tk-js .tk-reveal.is-in { opacity: 1; transform: none; }

/* ---------- RWD ---------- */
@media (max-width: 1180px) {
	.tk-plan { grid-template-columns: 280px minmax(0, 1fr); }
	.tk-plan__out { grid-column: 1 / -1; }
	.tk-stays__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tk-rules__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	.tk-hero__top { grid-template-columns: 1fr; gap: 24px; }
	.tk-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tk-trails__grid { grid-template-columns: 1fr; gap: 40px; }
	.tk-coast__grid, .tk-kitchen__grid, .tk-faq__grid { grid-template-columns: 1fr; gap: 32px; }
	.tk-new__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tk-rose { grid-template-columns: 1fr 1fr; grid-template-areas: "star star" "n e" "w s"; }
	.tk-rose__star svg { width: 150px; height: 150px; }
}

/* Mapa jako pionowa trasa */
@media (max-width: 959px) {
	.tk-map__canvas { aspect-ratio: auto; padding: 26px 22px; }
	.tk-map__svg { display: none; }
	.tk-map__stops { position: relative; inset: auto; }
	.tk-map__stops::before {
		content: '';
		position: absolute;
		left: 31px;
		top: 20px;
		bottom: 20px;
		border-left: 3px dashed var(--tk-navy);
		opacity: .5;
	}
	.tk-stop { position: relative; left: auto; top: auto; width: auto; height: auto; }
	.tk-stop + .tk-stop { margin-top: 14px; }
	.tk-stop a,
	.tk-stop--up a,
	.tk-stop--down a {
		position: relative;
		left: auto;
		top: auto;
		bottom: auto;
		width: auto;
		flex-direction: row;
		align-items: center;
		gap: 16px;
	}
	.tk-stop__pin { width: 56px; height: 56px; flex: none; }
	.tk-stop__pin .tk-motif { width: 34px; height: 34px; }
	.tk-stop__txt { align-items: flex-start; text-align: left; flex: 1; min-width: 0; }
	.tk-stop__count { margin-top: 4px; }
}

@media (max-width: 767px) {
	.tk-sec { padding: 64px 0; }
	.tk-wrap, .tk-map { padding-left: 16px; padding-right: 16px; }
	.tk-hero { padding-top: 36px; }
	.tk-head { margin-bottom: 30px; }
	.tk-head__lead { font-size: 16px; }
	.tk-st { grid-template-columns: 1fr; }
	.tk-st__card:first-child { grid-column: auto; }
	.tk-st__card:first-child .tk-st__latest { columns: 1; }
	.tk-plan { grid-template-columns: 1fr; }
	.tk-plan__cfg, .tk-plan__route, .tk-plan__out { padding: 18px 16px; }
	.tk-plan__rules { grid-template-columns: 1fr; }
	.tk-plan__rules-h { grid-row: auto; }
	.tk-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tk-links--coast, .tk-links--recipe { grid-template-columns: 1fr; }
	.tk-links--coast li:nth-last-child(2) { border-bottom: 1px dashed rgba(19, 41, 75, .22); }
	.tk-stays__grid, .tk-new__grid, .tk-rules__list { grid-template-columns: 1fr; }
	.tk-rose { grid-template-columns: 1fr; grid-template-areas: "star" "n" "e" "s" "w"; }
	.tk-tabs__panel { padding: 22px 18px 12px; }
	.tk-about__grid { grid-template-columns: 1fr; gap: 16px; }
	.tk-about__mark svg { width: 84px; height: 84px; }
	.tk-head--row { align-items: flex-start; }
}

@media (max-width: 420px) {
	.tk-search { padding-left: 14px; }
	.tk-search button { padding: 11px 14px; }
	.tk-row { grid-template-columns: 26px minmax(0, 1fr) 84px 40px; gap: 6px; }
	.tk-plan__back { grid-template-columns: minmax(0, 1fr) 84px; }
	.tk-seg span { font-size: 13px; padding: 10px 4px; }
	.tk-palette { padding: 22px 16px; }
	.tk-palette__list li { grid-template-columns: 40px minmax(0, 1fr); }
	.tk-palette__stop { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 4px; }
	.tk-tl li { grid-template-columns: 46px 18px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.tk-map__route, .tk-rose__star svg { animation: none; }
	.tk-map__reveal { animation: none; stroke-dashoffset: 0; }
	.tk-stop a, .tk-row, .tk-tabs__panel { animation: none; }
	.tk-js .tk-reveal { opacity: 1; transform: none; transition: none; }
	.tk-home *, .tk-home *::before, .tk-home *::after { transition-duration: .01ms !important; }
}
