/* ==========================================================================
   FLEX Car Finance 2: dizajnový systém
   Smer „Jasné papiere“: grafit, papier, oceľ, jedna signálna farba na akcie.
   Úzke nadpisy (Archivo), čitateľný text (IBM Plex Sans), údaje ako v dokladoch (Plex Mono).
   Breakpointy: 640 / 960 / 1200 px.
   ========================================================================== */

:root {
	--ink: #15181c;
	--ink-2: #2b3038;
	--muted: #59606a;
	--line: #d9dcdf;
	--line-strong: #b8bdc3;
	--paper: #f4f5f3;
	--paper-2: #eceeeb;
	--white: #ffffff;
	--asphalt: #1b1f24;
	--asphalt-2: #262b32;
	--on-dark: #eef0f2;
	--on-dark-muted: #a7aeb6;
	--signal: #b81d27;
	--signal-hover: #971720;
	--signal-soft: #f7e3e4;
	--ok: #2b6a4c;
	--ok-soft: #e2efe8;
	--err: #b3261e;
	--err-soft: #fbe9e7;
	--warn: #8a5300;

	--f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--f-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, Consolas, "Courier New", monospace;

	--fs-xs: 0.78rem;
	--fs-sm: 0.9rem;
	--fs-base: 1.0625rem;
	--fs-lg: 1.2rem;
	--fs-h3: clamp(1.2rem, 0.6vw + 1.05rem, 1.45rem);
	--fs-h2: clamp(1.85rem, 2.2vw + 1.1rem, 2.9rem);
	--fs-h1: clamp(2.5rem, 4.6vw + 1rem, 4.6rem);

	--gutter: clamp(16px, 4vw, 40px);
	--max: 1240px;
	--section: clamp(56px, 8vw, 112px);
	--radius: 2px;
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Základ
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 var(--fs-base)/1.62 var(--f-body);
	font-feature-settings: "kern" 1;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
	font-family: var(--f-display);
	font-stretch: 82%;
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.01em;
	margin: 0;
	text-wrap: balance;
}
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; }
.skip:focus { top: 12px; color: var(--white); }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.01em; }
.muted { color: var(--muted); }
.label {
	font: 500 var(--fs-xs)/1.3 var(--f-mono);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 14px;
}
.icon { flex: none; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* --------------------------------------------------------------------------
   Tlačidlá a odkazy
   -------------------------------------------------------------------------- */
.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--btn-bg);
	border-radius: var(--radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: 600 1rem/1.2 var(--f-body);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .18s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--signal); }
.btn--primary:hover { --btn-bg: var(--signal-hover); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--line:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--paper); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .75; cursor: progress; }

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}
.arrow-link .icon { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.arrow-link:hover .icon { transform: translateX(3px); }

.tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 500 var(--fs-xs)/1 var(--f-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin-bottom: 22px;
}
.tag::before { content: ""; width: 10px; height: 10px; background: var(--signal); }

/* --------------------------------------------------------------------------
   Hlavička
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 34px; height: 34px; }
.logo__mark-bg { fill: var(--ink); }
.logo__mark-tab { fill: var(--signal); }
.logo__mark-f { fill: var(--white); }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__flex { font: 800 1.42rem/0.9 var(--f-display); font-stretch: 75%; letter-spacing: 0.04em; }
.logo__sub { font: 500 0.6rem/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; color: var(--muted); }
.logo--light { color: var(--on-dark); }
.logo--light:hover { color: var(--on-dark); }
.logo--light .logo__mark-bg { fill: var(--on-dark); }
.logo--light .logo__mark-f { fill: var(--asphalt); }
.logo--light .logo__sub { color: var(--on-dark-muted); }
.logo--custom img { max-height: 44px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a {
	display: block;
	padding: 10px 12px;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--ink-2);
	position: relative;
	white-space: nowrap;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 2px;
	background: var(--signal);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after, .nav__list [aria-current="page"]::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; font: 500 0.95rem var(--f-mono); text-decoration: none; white-space: nowrap; }
.site-header__phone .icon { width: 18px; height: 18px; }
.menu-toggle { display: none; }

@media (max-width: 1359px) {
	.site-header__phone span { display: none; }
	.site-header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); }
}
@media (max-width: 1199px) {
	.site-header__bar { gap: 12px; }
	.site-header__actions { margin-left: auto; gap: 8px; }
	.site-header__cta { display: none; }
	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 1px solid var(--ink);
		border-radius: var(--radius);
		background: var(--ink);
		color: var(--white);
		cursor: pointer;
	}
	.menu-toggle__close { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
	.nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: var(--white);
		padding: 8px var(--gutter) 32px;
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
		margin: 0;
	}
	.admin-bar .nav { inset-block-start: calc(var(--header-h) + 46px); }
	.nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 18px 0; font: 700 1.6rem/1.1 var(--f-display); font-stretch: 82%; border-bottom: 1px solid var(--line); }
	.nav__list a::after { display: none; }
	.nav__list [aria-current="page"] { color: var(--signal); }
	.nav__mobile-extra { display: grid; gap: 14px; margin-top: 28px; }
	.nav__phone { display: inline-flex; align-items: center; gap: 10px; font: 500 1.2rem var(--f-mono); text-decoration: none; }
	body.menu-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Sekcie
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--asphalt); color: var(--on-dark); }
.section--ink .section-lead, .section--ink .muted { color: var(--on-dark-muted); }
.section--ink a:hover { color: var(--white); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.section-head--row .section-title { max-width: 720px; }
.section-title { font-size: var(--fs-h2); }
.section-title--sm { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); margin-bottom: 24px; }
.section-lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; margin: 0; }
.two-col { display: grid; gap: 28px 64px; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; gap: 32px; padding-block: 40px 32px; }
.hero__title { font-size: var(--fs-h1); font-weight: 800; font-stretch: 76%; line-height: 0.98; letter-spacing: -0.015em; max-width: 13ch; }
.hero__lead { font-size: clamp(1.08rem, 0.4vw + 1rem, 1.25rem); color: var(--ink-2); max-width: 46ch; margin: 24px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__media figcaption { font: 500 var(--fs-xs)/1.4 var(--f-mono); color: var(--muted); letter-spacing: 0.04em; margin-top: 10px; }

@media (min-width: 960px) {
	.hero__grid.wrap {
		max-width: none;
		padding: 0;
		grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, calc(var(--max) * 0.5)) minmax(0, calc(var(--max) * 0.5)) minmax(var(--gutter), 1fr);
		gap: 0;
		min-height: min(78vh, 700px);
	}
	.hero__copy { grid-column: 2; align-self: center; padding: 64px 56px 64px 0; }
	.hero__media { grid-column: 3 / 5; display: grid; }
	.hero__media img { height: 100%; aspect-ratio: auto; min-height: 520px; }
	.hero__media figcaption {
		position: absolute;
		left: 0;
		bottom: 0;
		margin: 0;
		background: var(--white);
		color: var(--ink-2);
		padding: 10px 16px;
	}
}

.strip {
	display: grid;
	margin: 0;
	border-top: 2px solid var(--ink);
}
.strip > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.strip dt { font: 500 var(--fs-xs)/1.3 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.strip dd { margin: 0; font-size: 1.02rem; font-weight: 500; }
.strip a { text-decoration: none; }
.strip a:hover { text-decoration: underline; }
@media (min-width: 720px) {
	.strip { grid-template-columns: repeat(3, 1fr); }
	.strip > div { border-bottom: 0; padding: 18px 24px 22px 0; }
	.strip > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Pre koho
   -------------------------------------------------------------------------- */
.fit__grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fit__col { padding: 28px 0; }
.fit__col + .fit__col { border-top: 1px solid var(--line); }
.fit__title { font-size: var(--fs-h3); margin-bottom: 20px; }
@media (min-width: 960px) {
	.fit__grid { grid-template-columns: 1fr 1fr; }
	.fit__col { padding: 36px 48px 8px 0; }
	.fit__col + .fit__col { border-top: 0; border-left: 1px solid var(--line); padding-left: 48px; }
}
.marks { list-style: none; display: grid; gap: 14px; }
.marks li { position: relative; padding-left: 34px; }
.marks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--ink);
}
.marks--yes li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: calc(0.3em + 3px);
	width: 7px;
	height: 11px;
	border: solid var(--signal);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.marks--no li { color: var(--ink-2); }
.marks--no li::before { border-color: var(--line-strong); }
.marks--no li::after { content: ""; position: absolute; left: 4px; top: calc(0.3em + 8px); width: 10px; height: 2px; background: var(--muted); }
.marks--dash li::before { width: 14px; height: 2px; border: 0; background: var(--ink); top: 0.75em; }
.marks--warn li::before { border-color: var(--on-dark-muted); }
.marks--warn li::after { content: "!"; position: absolute; left: 0; top: 0.3em; width: 18px; text-align: center; font: 700 0.8rem/18px var(--f-mono); color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Postup: pravítko
   -------------------------------------------------------------------------- */
.ruler { list-style: none; display: grid; gap: 0; counter-reset: none; }
.ruler__step { position: relative; padding: 26px 0 28px 0; border-top: 2px solid var(--ink); display: grid; gap: 10px; }
.ruler__step::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--ink);
}
.ruler__step:first-child::before { background: var(--signal); border-color: var(--signal); }
.ruler__no { font: 500 var(--fs-sm)/1 var(--f-mono); color: var(--muted); }
.ruler__title { font-size: 1.55rem; font-stretch: 80%; }
.ruler__step p { color: var(--ink-2); max-width: 38ch; }
@media (min-width: 720px) { .ruler { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1100px) { .ruler { grid-template-columns: repeat(4, 1fr); column-gap: 0; } .ruler__step { padding-right: 32px; } }

/* --------------------------------------------------------------------------
   Čo bude v zmluve
   -------------------------------------------------------------------------- */
.contract { background: var(--asphalt); color: var(--on-dark); }
.contract .section-lead { color: var(--on-dark-muted); }
.contract__grid { display: grid; gap: 40px; }
.contract__media { margin: 0; }
.contract__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.contract__body { display: grid; gap: 22px; align-content: start; }
@media (min-width: 960px) {
	.contract__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
}
.sheet { margin: 8px 0 0; border-top: 1px solid currentColor; }
.sheet__row { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(127, 135, 145, .35); }
.sheet dt { font: 500 var(--fs-sm)/1.35 var(--f-mono); letter-spacing: 0.02em; }
.sheet dd { margin: 0; color: inherit; opacity: .86; }
@media (min-width: 640px) {
	.sheet__row { grid-template-columns: minmax(170px, 2fr) 5fr; gap: 24px; align-items: baseline; }
}
.sheet--wide { max-width: 980px; }
.section:not(.contract):not(.section--ink) .sheet { border-top-color: var(--ink); }
.section:not(.contract):not(.section--ink) .sheet__row { border-bottom-color: var(--line); }
.note { padding: 14px 18px; border-left: 3px solid var(--line-strong); background: var(--paper); margin: 0; }
.note--signal { border-left-color: var(--signal); background: rgba(184, 29, 39, .12); color: inherit; }

/* --------------------------------------------------------------------------
   Vozidlá a doklady
   -------------------------------------------------------------------------- */
.docs__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .docs__grid { grid-template-columns: 4fr 5fr 3fr; gap: 56px; align-items: start; } }
.bigl { list-style: none; border-top: 1px solid var(--ink); margin-bottom: 18px; }
.bigl li { font: 700 clamp(1.4rem, 1.2vw + 1rem, 1.9rem)/1.15 var(--f-display); font-stretch: 80%; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bigl .muted { display: block; font: 400 var(--fs-sm)/1.4 var(--f-body); margin-top: 4px; }
.checklist { list-style: none; display: grid; margin-bottom: 22px; border-top: 1px solid var(--ink); }
.checklist li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 0.22em; border: 1.5px solid var(--ink); background: var(--white); }
.docs__media { margin: 0; }
.docs__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 959px) { .docs__media { display: none; } }

/* --------------------------------------------------------------------------
   Porovnanie
   -------------------------------------------------------------------------- */
.compare { overflow-x: auto; margin-bottom: 24px; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 1.2rem/1.1 var(--f-display); font-stretch: 82%; border-bottom: 2px solid var(--ink); }
.compare tbody th { font: 500 var(--fs-sm)/1.4 var(--f-mono); color: var(--ink-2); width: 22%; }
.compare .is-ours { background: var(--ink); color: var(--white); }
.compare thead .is-ours { border-bottom-color: var(--signal); }
.compare tbody .is-ours { border-bottom-color: rgba(255, 255, 255, .14); }
@media (max-width: 639px) {
	.compare { overflow: visible; }
	.compare__table, .compare tbody, .compare tr, .compare th, .compare td { display: block; min-width: 0; width: auto; }
	.compare thead { display: none; }
	.compare tr { border-top: 2px solid var(--ink); margin-bottom: 18px; background: var(--white); }
	.compare tbody th { width: auto; padding: 12px 14px; background: var(--paper-2); }
	.compare td { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 14px; }
	.compare td::before { content: attr(data-label); font: 500 var(--fs-xs)/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
}

/* --------------------------------------------------------------------------
   Otázky
   -------------------------------------------------------------------------- */
.faq-section__grid { display: grid; gap: 32px; }
.faq-section__head { display: grid; gap: 20px; align-content: start; justify-items: start; }
@media (min-width: 960px) {
	.faq-section__grid { grid-template-columns: 4fr 8fr; gap: 72px; }
	.faq-section__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	cursor: pointer;
	font: 600 1.1rem/1.35 var(--f-body);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { width: 22px; height: 22px; transition: transform .2s var(--ease); color: var(--signal); }
.faq__item[open] .faq__q .icon { transform: rotate(45deg); }
.faq__q:hover { color: var(--signal); }
.faq__a { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 70ch; }
.faq-page { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-page { grid-template-columns: 8fr 3fr; gap: 72px; align-items: start; } .faq-page__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-page__aside { padding: 24px; background: var(--paper); border-top: 2px solid var(--ink); }

/* --------------------------------------------------------------------------
   Karty článkov
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: 40px 32px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: grid; gap: 18px; align-content: start; }
.card__media { display: block; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: grid; gap: 10px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font: 500 var(--fs-xs)/1.3 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 1.5rem; font-stretch: 80%; line-height: 1.1; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--signal); }
.card__excerpt { color: var(--ink-2); margin: 0; }
.cards--list .card__title { font-size: 1.65rem; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters a { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.filters a:hover { border-color: var(--ink); color: var(--ink); }
.filters [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pager { margin-top: 56px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pager .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line-strong); text-decoration: none; font-family: var(--f-mono); }
.pager .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Žiadosť a formuláre
   -------------------------------------------------------------------------- */
.request { background: var(--paper); padding-block: var(--section); border-top: 1px solid var(--line); }
.request__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .request__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } .request__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.request__intro { display: grid; gap: 28px; align-content: start; }
.request__intro .section-head, .request__intro .section-lead { margin: 0; }
.request__list { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.request__list li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 6px; }
.request__list li::before { content: counter(step, decimal-leading-zero); font: 500 var(--fs-sm)/1.6 var(--f-mono); color: var(--signal); }
.request__call { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.request__call p { margin: 0 0 6px; }
.request__phone { display: inline-flex; align-items: center; gap: 10px; font: 500 clamp(1.4rem, 1vw + 1.1rem, 1.8rem)/1.2 var(--f-mono); text-decoration: none; }
.request__phone .icon { width: 24px; height: 24px; color: var(--signal); }
.request__hours { color: var(--muted); margin-top: 6px !important; font-size: var(--fs-sm); }
.request__form { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: clamp(20px, 3vw, 40px); }

.form { display: grid; gap: 20px; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.form__steps li { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.form__steps span { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid currentColor; font: 500 var(--fs-xs) var(--f-mono); }
.form__steps .is-current { color: var(--ink); border-bottom-color: var(--signal); }
.form__steps .is-done { color: var(--ink); }
.form__steps .is-done span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.form__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.js .form--stepped .form__step[data-later] { display: none; }
.js .form--stepped.is-step-2 .form__step[data-step="1"] { display: none; }
.js .form--stepped.is-step-2 .form__step[data-step="2"] { display: grid; }
.form__grid { display: grid; gap: 18px 20px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
	font-size: 1rem;
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
	appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a9098; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 24, 28, .14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field.is-valid input, .field.is-valid select { border-color: var(--ok); }
.field__error { margin: 0; color: var(--err); font-size: var(--fs-sm); font-weight: 500; }
.field--check { grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; min-height: 0; padding: 0; margin: 2px 0 0; accent-color: var(--ink); appearance: auto; }
.field--check label { font-weight: 400; font-size: var(--fs-sm); color: var(--ink-2); }
.field--check .field__error { grid-column: 2; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form__note { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
[aria-busy="true"] .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status:focus { outline: none; }
.alert { padding: 16px 18px; border-left: 3px solid; font-size: 0.98rem; }
.alert--ok { background: var(--ok-soft); border-color: var(--ok); color: #173c2b; }
.alert--err { background: var(--err-soft); border-color: var(--err); color: #6e1712; }
.form.is-sent .form__step, .form.is-sent .form__steps { display: none !important; }
.cf-turnstile { min-height: 65px; }

/* --------------------------------------------------------------------------
   Výzva pred pätičkou a pätička
   -------------------------------------------------------------------------- */
.cta-band { background: var(--signal); color: var(--white); padding-block: clamp(48px, 6vw, 80px); }
.cta-band__grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .cta-band__grid { grid-template-columns: 7fr 5fr; gap: 64px; } .cta-band__actions { justify-self: end; text-align: right; } }
.cta-band__title { font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem); font-stretch: 78%; max-width: 20ch; }
.cta-band__text { margin: 16px 0 0; max-width: 54ch; color: rgba(255, 255, 255, .88); font-size: var(--fs-lg); }
.cta-band .btn--primary { --btn-bg: var(--ink); }
.cta-band .btn--primary:hover { --btn-bg: #000; }
.cta-band__call { margin: 14px 0 0; color: rgba(255, 255, 255, .88); }
.cta-band__call a { color: var(--white); font-size: 1.1rem; }

.site-footer { background: var(--asphalt); color: var(--on-dark-muted); padding-top: clamp(48px, 6vw, 80px); font-size: 0.97rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 4fr 2fr 3fr 3fr; gap: 48px; } }
.site-footer__brand { display: grid; gap: 18px; align-content: start; max-width: 36ch; }
.site-footer__brand p { margin: 0; }
.site-footer__family a { text-decoration: underline; text-underline-offset: 3px; color: var(--on-dark-muted); }
.site-footer__title { font: 500 var(--fs-xs)/1.3 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer address { font-style: normal; display: grid; color: var(--on-dark); margin-bottom: 12px; }
.site-footer__contact p { margin: 0 0 12px; }
.site-footer__muted { font-size: var(--fs-sm); }
.site-footer .linklike { color: var(--on-dark); text-decoration: none; }
.site-footer .linklike:hover { text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-sm); }
.site-footer__legal p { margin: 0; }

/* --------------------------------------------------------------------------
   Podstránky
   -------------------------------------------------------------------------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head__grid { display: grid; gap: 32px; padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.page-head__title { font-size: clamp(2.3rem, 3.6vw + 1rem, 3.9rem); font-weight: 800; font-stretch: 76%; line-height: 1; max-width: 18ch; margin-top: 18px; }
.page-head__lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 58ch; margin: 22px 0 0; }
.page-head__media { margin: 0; }
.page-head__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 960px) {
	.page-head--photo .page-head__grid { grid-template-columns: 7fr 5fr; align-items: end; gap: 64px; }
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 var(--fs-xs)/1.4 var(--f-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink-2); }
@media (max-width: 639px) { .crumbs [aria-current="page"] { display: none; } }

.timeline { list-style: none; display: grid; max-width: 980px; }
.timeline__step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); position: relative; }
.timeline__step:first-child { border-top: 2px solid var(--ink); }
.timeline__no { font: 800 2.2rem/1 var(--f-display); font-stretch: 75%; color: var(--signal); }
.timeline__title { font-size: clamp(1.5rem, 1vw + 1.15rem, 2rem); font-stretch: 80%; margin-bottom: 14px; }
.timeline__body p { color: var(--ink-2); max-width: 64ch; }
@media (min-width: 960px) { .timeline__step { grid-template-columns: 120px 1fr; } .timeline__no { font-size: 3rem; } }

.split { display: grid; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; } }
.split__item { background: var(--asphalt); padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.split__key { font: 500 var(--fs-sm)/1 var(--f-mono); color: var(--on-dark-muted); margin: 0; }
.split__title { font-size: 1.7rem; font-stretch: 80%; }
.split__item p:not(.split__key) { color: var(--on-dark-muted); }

.nextlinks { list-style: none; display: grid; border-top: 2px solid var(--ink); }
@media (min-width: 720px) { .nextlinks { grid-template-columns: repeat(3, 1fr); } }
.nextlinks a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 20px 22px 0; font: 700 1.35rem/1.15 var(--f-display); font-stretch: 82%; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .nextlinks li + li a { padding-left: 20px; border-left: 1px solid var(--line); } }
.nextlinks .icon { color: var(--signal); transition: transform .2s var(--ease); }
.nextlinks a:hover .icon { transform: translateX(4px); }

.numbered { list-style: none; counter-reset: n; display: grid; border-top: 2px solid var(--ink); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line-strong); font-size: 1.1rem; }
.numbered li::before { content: counter(n, decimal-leading-zero); font: 500 var(--fs-sm)/1.9 var(--f-mono); color: var(--signal); }

.qa { display: grid; gap: 0; max-width: 980px; }
.qa__item { display: grid; gap: 12px; padding: 32px 0; border-top: 1px solid var(--line); }
.qa__item:first-child { border-top: 2px solid var(--ink); }
@media (min-width: 960px) { .qa__item { grid-template-columns: 5fr 7fr; gap: 48px; } }
.qa__q { font-size: 1.55rem; font-stretch: 80%; }
.qa__a p { color: var(--ink-2); }

.doclist { list-style: none; display: grid; border-top: 2px solid var(--ink); }
.doclist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--line-strong); }
.doclist .icon { width: 24px; height: 24px; color: var(--signal); margin-top: 2px; }
.doclist strong { display: block; font-weight: 600; }
.doclist span { color: var(--muted); font-size: 0.97rem; }

.cond-veh { display: grid; gap: 48px; }
@media (min-width: 960px) { .cond-veh { grid-template-columns: 1fr 1fr; gap: 80px; } }
.cond-veh .section-title { margin-bottom: 28px; }

.contact { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.contact__facts { margin: 0; border-top: 2px solid var(--ink); }
.contact__facts > div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.contact__facts dt { display: flex; align-items: center; gap: 8px; font: 500 var(--fs-xs)/1.3 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.contact__facts dt .icon { width: 16px; height: 16px; }
.contact__facts dd { margin: 0; font-size: 1.08rem; }
.contact__facts address { font-style: normal; margin-bottom: 8px; }
.contact__big { font: 500 1.6rem/1.2 var(--f-mono); text-decoration: none; }
.contact__form { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: clamp(20px, 3vw, 40px); display: grid; gap: 8px; }
.about { display: grid; gap: 40px; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.about__media { margin: 0; }
.about__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about .section-title { margin-bottom: 20px; }
.about p { color: var(--ink-2); max-width: 56ch; }

.notfound { min-height: 50vh; }
.notfound__code { font-size: 1rem; color: var(--signal); margin-bottom: 8px; }
.notfound .page-head__lead { margin-bottom: 40px; }

/* --------------------------------------------------------------------------
   Článok
   -------------------------------------------------------------------------- */
.article__head { background: var(--paper); padding-block: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 48px); }
.article__head .wrap { max-width: calc(980px + 2 * var(--gutter)); }
.article__title { font-size: clamp(2.2rem, 3.4vw + 1rem, 3.7rem); font-weight: 800; font-stretch: 78%; line-height: 1.02; margin-top: 18px; max-width: 22ch; }
.article__lead { font-size: var(--fs-lg); color: var(--ink-2); margin: 20px 0 0; max-width: 60ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 24px 0 0; font: 500 var(--fs-xs)/1.4 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.article__hero { margin: 0 auto; background: linear-gradient(var(--paper) 50%, var(--white) 50%); max-width: none; padding-inline: 0; }
.article__hero img { width: 100%; max-width: var(--max); margin-inline: auto; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 1239px) { .article__hero { padding-inline: var(--gutter); } }
.article__grid { display: grid; gap: 40px; padding-block: clamp(40px, 5vw, 72px); }
@media (min-width: 1100px) { .article__grid { grid-template-columns: 260px minmax(0, 720px); gap: 80px; justify-content: center; } .toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.toc { border-top: 2px solid var(--ink); padding-top: 16px; }
.toc ol { list-style: none; display: grid; gap: 10px; counter-reset: t; }
.toc li { counter-increment: t; display: grid; grid-template-columns: 28px 1fr; font-size: 0.95rem; }
.toc li::before { content: counter(t, decimal-leading-zero); font: 500 var(--fs-xs)/1.9 var(--f-mono); color: var(--muted); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.article__body { max-width: 720px; }
.article__disclaimer { margin-top: 40px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.article__box { margin-top: 32px; padding: clamp(22px, 3vw, 32px); background: var(--asphalt); color: var(--on-dark); display: grid; gap: 12px; justify-items: start; }
.article__box p { margin: 0; color: var(--on-dark-muted); }
.article__box .article__box-title { font: 700 1.6rem/1.1 var(--f-display); font-stretch: 80%; color: var(--white); }
.article__box .btn { margin-top: 8px; }

/* Typografia obsahu z editora */
.prose { font-size: 1.08rem; line-height: 1.7; }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.1rem); font-stretch: 80%; margin: 1.9em 0 0.6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.35rem; font-stretch: 85%; margin: 1.6em 0 0.5em; }
.prose h4 { font-size: 1.1rem; font-family: var(--f-body); font-weight: 700; margin: 1.4em 0 0.4em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--signal); }
.prose a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--signal); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--signal); font-size: 1.15rem; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.97rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose thead th { border-bottom: 2px solid var(--ink); font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-sm); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .callout { padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--ink); }
.prose .sources { font-size: var(--fs-sm); color: var(--muted); }
.prose .sources a { color: var(--muted); }
.prose--legal { max-width: 780px; font-size: 1rem; }
.prose--legal h2 { font-size: 1.5rem; }

/* WordPress zarovnania */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-block-image img { height: auto; }

/* --------------------------------------------------------------------------
   Cookies lišta
   -------------------------------------------------------------------------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 520px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); box-shadow: 0 18px 48px rgba(0, 0, 0, .18); }
.consent__inner { padding: 20px 22px; display: grid; gap: 10px; }
.consent__title { font-weight: 700; margin: 0; }
.consent__text { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* --------------------------------------------------------------------------
   Obmedzenie pohybu
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
	.site-header, .site-footer, .cta-band, .request, .consent { display: none !important; }
	body { font-size: 11pt; }
}
