/* ==========================================================================
   CARSiN — hlavní styly
   Paleta: červená a žlutá z loga + chladné tóny autoskla (bílé sklo / tónované sklo).
   ========================================================================== */

:root {
	--brand: #E30613;
	--brand-strong: #B8000E;
	--brand-text: #C8000F;
	--brand-soft: rgba(227, 6, 19, .08);
	--accent: #FFD400;

	--bg: #F5F3F2;
	--bg-alt: #ECE8E7;
	--surface: #FFFFFF;
	--surface-2: #FAF9F8;
	--ink: #0C0A0B;
	--ink-2: #2A2528;
	--muted: #635B5F;
	--line: rgba(30, 14, 20, .10);
	--line-strong: rgba(30, 14, 20, .18);

	/* Tónované sklo — sekce, které jsou tmavé v obou režimech */
	--tint: #161317;
	--tint-2: #1E1A1F;
	--tint-3: #29242A;
	--on-tint: #F4F1F0;
	--on-tint-muted: #ABA3A6;
	--tint-line: rgba(255, 240, 236, .10);

	--header-bg: rgba(245, 243, 242, .80);
	--shadow-sm: 0 1px 2px rgba(30, 14, 20, .06), 0 2px 8px rgba(30, 14, 20, .04);
	--shadow-md: 0 10px 30px -12px rgba(30, 14, 20, .18);
	--shadow-lg: 0 30px 80px -30px rgba(30, 14, 20, .35);

	--r-sm: 10px;
	--r-md: 18px;
	--r-lg: 28px;
	--r-pill: 999px;

	--font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-display: 'Unbounded', 'Manrope', ui-sans-serif, system-ui, sans-serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
	--section: clamp(72px, 9vw, 128px);
	--ease: cubic-bezier(.2, .7, .2, 1);

	color-scheme: light;
}

:root[data-theme="dark"] {
	--brand-text: #FF5560;
	--brand-soft: rgba(255, 60, 72, .12);
	--bg: #110F12;
	--bg-alt: #171418;
	--surface: #1C191D;
	--surface-2: #221E23;
	--ink: #F4F1F0;
	--ink-2: #D9D2D3;
	--muted: #ABA3A6;
	--line: rgba(255, 240, 236, .09);
	--line-strong: rgba(255, 240, 236, .16);
	--header-bg: rgba(17, 15, 18, .74);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--shadow-md: 0 14px 40px -16px rgba(0, 0, 0, .7);
	--shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--brand-text: #FF5560;
		--brand-soft: rgba(255, 60, 72, .12);
		--bg: #110F12;
		--bg-alt: #171418;
		--surface: #1C191D;
		--surface-2: #221E23;
		--ink: #F4F1F0;
		--ink-2: #D9D2D3;
		--muted: #ABA3A6;
		--line: rgba(255, 240, 236, .09);
		--line-strong: rgba(255, 240, 236, .16);
		--header-bg: rgba(17, 15, 18, .74);
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
		--shadow-md: 0 14px 40px -16px rgba(0, 0, 0, .7);
		--shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8);
		color-scheme: dark;
	}
}

/* --------------------------------------------------------------------------
   Základ
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-weight: 450;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color .3s var(--ease), color .3s var(--ease);
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection { background: var(--brand); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	top: 12px; left: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--accent);
	color: #000;
	font-weight: 700;
	border-radius: var(--r-sm);
	transform: translateY(-200%);
	transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }

.site-main { display: block; outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.flip { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   Typografie sekcí
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--page { padding-block: clamp(48px, 6vw, 88px) var(--section); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row {
	max-width: none;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: .9375rem;
	font-weight: 700;
	color: var(--brand-text);
}
.eyebrow::before {
	content: "";
	width: 18px; height: 10px;
	background: var(--brand);
	border-radius: 2px;
	box-shadow: 6px 0 0 -3px var(--accent) inset;
}
.eyebrow--light { color: #FF8A91; }
.eyebrow--pill {
	padding: 7px 14px 7px 10px;
	border: 1px solid var(--tint-line);
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .04);
	color: var(--on-tint-muted);
	font-weight: 600;
	font-size: .875rem;
	backdrop-filter: blur(8px);
}
.eyebrow--pill::before { display: none; }

.section-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.9rem, 4.2vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -.025em;
}
.section-title em { font-style: normal; }
.section-title--light { color: var(--on-tint); }

.section-title--sm { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.section-lead {
	margin-top: 20px;
	max-width: 62ch;
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	color: var(--muted);
}
.section-lead--light { color: var(--on-tint-muted); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--brand-text);
	text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--sm { font-size: .9375rem; margin-top: 6px; }

/* --------------------------------------------------------------------------
   Tlačítka
   -------------------------------------------------------------------------- */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--r-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s var(--ease), background-color .2s, box-shadow .25s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--primary { --btn-bg: var(--brand); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--brand-strong); }
.btn--glow { box-shadow: 0 10px 40px -8px rgba(227, 6, 19, .65); }
.btn--glow:hover { box-shadow: 0 16px 50px -8px rgba(227, 6, 19, .8); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--bg); }
.btn--light { --btn-bg: #fff; --btn-fg: #0A0C0D; }
.btn--light:hover { --btn-bg: #F1F1F1; }
.btn--glass {
	--btn-bg: rgba(255, 255, 255, .07);
	--btn-fg: #fff;
	border-color: rgba(255, 255, 255, .18);
	backdrop-filter: blur(12px);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .14); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: var(--r-pill);
	background: transparent;
	color: inherit;
	transition: background-color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { background: var(--brand-soft); }
.icon-btn--outline { border-color: var(--line-strong); }
.icon-btn--outline:hover { border-color: var(--brand); color: var(--brand-text); background: transparent; }

/* --------------------------------------------------------------------------
   Logo (vektorová verze původního loga)
   -------------------------------------------------------------------------- */

.brand {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	text-decoration: none;
	line-height: 1;
	flex: none;
}
.brand__top {
	font-family: var(--font-body);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: -.035em;
	margin-bottom: -2px;
	transition: color .3s;
}
.brand__plate {
	margin-left: .95em;
	padding: 4px 9px 5px;
	background: var(--brand);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: .01em;
	border-radius: 2px;
}
.brand__i { color: var(--accent); }
.brand--footer .brand__top { font-size: 2.25rem; }
.brand--footer .brand__plate { font-size: 1.6rem; padding: 6px 12px 7px; }

.custom-logo-link img { max-height: 56px; width: auto; }

/* --------------------------------------------------------------------------
   Hlavička
   -------------------------------------------------------------------------- */

.announcement {
	position: relative;
	z-index: 60;
	background: var(--accent);
	color: #000;
	font-size: .9375rem;
	font-weight: 700;
	text-align: center;
	padding: 8px 0;
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	color: var(--on-tint);
	transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s, transform .35s var(--ease);
}
.has-announcement .site-header { position: absolute; top: 40px; }
.has-announcement .site-header.is-scrolled { position: fixed; top: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header.is-scrolled {
	background: var(--header-bg);
	color: var(--ink);
	backdrop-filter: saturate(1.6) blur(18px);
	-webkit-backdrop-filter: saturate(1.6) blur(18px);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-110%); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.theme-toggle .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
	:root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}

.header-call { min-height: 44px; padding: 10px 18px; margin-left: 6px; }
.header-call span { display: none; }
@media (min-width: 560px) { .header-call span { display: inline; } }

/* Navigace — mobil (výchozí) */
.nav-toggle__bars { position: relative; width: 20px; height: 12px; }
.nav-toggle__bars span {
	position: absolute;
	left: 0; right: 0;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { top: 10px; }
.nav-open .nav-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

.primary-nav {
	position: fixed;
	inset: 0;
	z-index: -1;
	padding: calc(var(--header-h) + 12px) var(--gutter) 32px;
	background: var(--tint);
	color: var(--on-tint);
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transition: opacity .3s var(--ease), visibility .3s;
}
.nav-open .primary-nav { visibility: visible; opacity: 1; }
.nav-open .site-header { color: var(--on-tint); background: transparent; box-shadow: none; backdrop-filter: none; }
.nav-open { overflow: hidden; }

.primary-nav .menu,
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { border-bottom: 1px solid var(--tint-line); position: relative; }
.primary-nav .menu > li > a {
	display: block;
	padding: 16px 48px 16px 0;
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: -.02em;
	text-decoration: none;
}
.primary-nav .sub-menu { display: none; padding: 0 0 16px 4px; }
.primary-nav .is-open > .sub-menu { display: block; }
.primary-nav .sub-menu a {
	display: block;
	padding: 8px 0;
	color: var(--on-tint-muted);
	text-decoration: none;
	font-weight: 600;
}
@media (max-width: 1139px) {
	.primary-nav .sub-menu a:hover,
	.primary-nav .current-menu-item > a { color: #fff; }
}
.primary-nav .sub-menu .sub-menu { display: block; padding: 0 0 6px 14px; border-left: 1px solid var(--tint-line); }
.primary-nav .sub-menu .sub-menu a { font-size: .9375rem; padding: 5px 0; }
.primary-nav .sub-menu .submenu-toggle { display: none; }

.submenu-toggle {
	position: absolute;
	top: 10px; right: 0;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border: 0;
	border-radius: var(--r-pill);
	background: transparent;
	color: inherit;
}
.submenu-toggle .icon { transition: transform .25s var(--ease); }
.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

.primary-nav__mobile-extra { margin-top: 28px; display: grid; gap: 16px; }
.primary-nav__address { color: var(--on-tint-muted); margin: 0; }

/* Navigace — desktop */
@media (min-width: 1140px) {
	.nav-toggle { display: none; }
	.primary-nav {
		position: static;
		z-index: auto;
		padding: 0;
		background: none;
		color: inherit;
		overflow: visible;
		visibility: visible;
		opacity: 1;
		margin-left: auto;
	}
	.site-header__actions { margin-left: 0; }
	.primary-nav__mobile-extra { display: none; }
	.primary-nav .menu { display: flex; align-items: center; gap: 2px; }
	.primary-nav .menu > li { border: 0; }
	.primary-nav .menu > li > a {
		padding: 10px 14px;
		font-family: var(--font-body);
		font-size: .9688rem;
		font-weight: 700;
		letter-spacing: 0;
		border-radius: var(--r-pill);
		transition: background-color .2s;
	}
	.primary-nav .menu > li.menu-item-has-children > a { padding-right: 32px; }
	.primary-nav .menu > li > a:hover { background: rgba(127, 140, 145, .14); }
	.primary-nav .menu > .current-menu-item > a,
	.primary-nav .menu > .current-menu-ancestor > a,
	.primary-nav .menu > .current-menu-parent > a { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

	.primary-nav .menu > li > .submenu-toggle {
		top: 50%; right: 8px;
		width: 22px; height: 22px;
		transform: translateY(-50%);
		pointer-events: auto;
	}
	.primary-nav .menu > li > .submenu-toggle .icon { width: 15px; height: 15px; }

	.primary-nav .menu > li > .sub-menu {
		position: absolute;
		top: calc(100% + 10px);
		left: -12px;
		display: block;
		min-width: 280px;
		padding: 12px;
		background: var(--surface);
		color: var(--ink);
		border: 1px solid var(--line);
		border-radius: var(--r-md);
		box-shadow: var(--shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s;
	}
	.primary-nav .menu > li > .sub-menu::before {
		content: "";
		position: absolute;
		inset: -12px 0 auto;
		height: 12px;
	}
	.primary-nav .menu > li:hover > .sub-menu,
	.primary-nav .menu > li:focus-within > .sub-menu,
	.primary-nav .menu > li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.primary-nav .sub-menu a {
		padding: 9px 12px;
		border-radius: var(--r-sm);
		color: var(--ink-2);
		font-size: .9688rem;
	}
	.primary-nav .sub-menu a:hover { background: var(--brand-soft); color: var(--brand-text); }
	.primary-nav .sub-menu .current-menu-item > a { color: var(--brand-text); }
	.primary-nav .sub-menu .sub-menu { border-left-color: var(--line); margin-left: 12px; padding-left: 4px; }
	.primary-nav .sub-menu .sub-menu a { color: var(--muted); }
}

/* --------------------------------------------------------------------------
   Hero (úvod)
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	isolation: isolate;
	min-height: min(100svh, 980px);
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 40px) 0 96px;
	/* Showroom: grafit s teplým podtónem, světlo shora a rudá záře za vozem */
	background:
		radial-gradient(90% 60% at 30% -5%, rgba(255, 244, 240, .11), transparent 62%),
		radial-gradient(140% 120% at 50% 40%, transparent 45%, rgba(8, 6, 9, .55) 100%),
		linear-gradient(160deg, #2C282C 0%, #1F1C20 45%, #141216 100%);
	color: var(--on-tint);
	overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero__glow--1 {
	width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
	right: -12vw; top: 4%;
	background: radial-gradient(circle, rgba(240, 24, 44, .58) 0%, rgba(150, 0, 30, .34) 36%, transparent 66%);
}
.hero__glow--2 {
	width: 50vw; height: 50vw; max-width: 680px; max-height: 680px;
	left: -20vw; bottom: -30%;
	background: radial-gradient(circle, rgba(255, 226, 214, .12), transparent 65%);
}
/* Jemné zrno a diagonální odlesk jako na skle — místo technické mřížky */
.hero__grid {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .045) 47%, rgba(255, 255, 255, .015) 53%, transparent 62%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
	opacity: .22;
	mix-blend-mode: soft-light;
}
.hero--photo .hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero--photo .hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero__bg { background: linear-gradient(90deg, rgba(22, 19, 23, .95) 0%, rgba(22, 19, 23, .75) 50%, rgba(22, 19, 23, .35) 100%); }

.hero__inner {
	display: grid;
	gap: clamp(40px, 6vw, 72px);
	align-items: center;
}
@media (min-width: 1000px) {
	.hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

.hero__title {
	margin: 4px 0 28px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.1rem, 4.7vw, 4.25rem);
	line-height: 1.02;
	letter-spacing: -.045em;
}
.hero__line { display: block; }
@media (min-width: 560px) { .hero__line { white-space: nowrap; } }
.hero__line--accent {
	display: inline-block;
	margin-top: .14em;
	margin-left: clamp(.4em, 4vw, 1.2em);
	padding: .08em .28em .14em;
	background: var(--brand);
	color: #fff;
	border-radius: 4px;
	letter-spacing: -.03em;
	box-shadow: 0 20px 60px -20px rgba(227, 6, 19, .8);
}

.hero__text {
	max-width: 54ch;
	margin-bottom: 36px;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	color: var(--on-tint-muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0;
	padding: 24px 0 0;
	list-style: none;
	border-top: 1px solid var(--tint-line);
	color: var(--on-tint-muted);
	font-size: .9375rem;
	font-weight: 600;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--on-tint); width: 18px; height: 18px; }

.stars { display: inline-flex; gap: 1px; color: var(--accent); }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; color: var(--accent) !important; }

.pulse-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #2BD47D;
	box-shadow: 0 0 0 0 rgba(43, 212, 125, .6);
	animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43, 212, 125, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 212, 125, 0); } }

/* Grafika čelního skla — hlavní „wow“ prvek stránky */
.hero__visual { position: relative; max-width: 640px; margin-inline: auto; width: 100%; }
.windshield { position: relative; }
/* Nasvícená podlaha pod vozem */
.windshield::before {
	content: "";
	position: absolute;
	left: 6%; right: 6%; bottom: -2%;
	height: 26%;
	z-index: -1;
	background: radial-gradient(50% 50% at 50% 50%, rgba(255, 236, 230, .24), rgba(232, 20, 38, .14) 45%, transparent 75%);
	filter: blur(14px);
}
.windshield__svg { width: 100%; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); }
.ws-line { stroke: rgba(255, 244, 240, .55); stroke-width: 1.6; }
.ws-line--soft { stroke: rgba(255, 244, 240, .18); }
.ws-line--glass { stroke: rgba(255, 244, 240, .8); stroke-width: 2; }
.ws-light { fill: rgba(255, 244, 240, .07); stroke: rgba(255, 244, 240, .55); stroke-width: 1.4; }
.ws-drl { stroke: #fff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); }
.ws-tire { fill: rgba(0, 0, 0, .55); stroke: rgba(255, 244, 240, .25); }

.ws-crack path,
.ws-crack circle { stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ws-crack path { stroke-dasharray: 240; stroke-dashoffset: 240; }
.ws-crack circle { fill: rgba(255, 255, 255, .6); opacity: 0; }
.ws-scan { opacity: 0; filter: drop-shadow(0 0 8px #E30613); }
.ws-shine { opacity: .0; }
.ws-radar path { stroke: #FF4D57; stroke-width: 1.6; stroke-linecap: round; opacity: 0; }

/* Smyčka 9 s: dopad kamínku → prasklina → laserová kalibrace → čisté sklo → ADAS se probudí */
.js .ws-crack circle { animation: ws-impact 9s var(--ease) infinite; }
.js .ws-crack path { animation: ws-crack 9s var(--ease) infinite; }
.js .ws-scan { animation: ws-scan 9s linear infinite; }
.js .ws-shine { animation: ws-shine 9s var(--ease) infinite; }
.js .ws-radar path { animation: ws-radar 9s ease-out infinite; }
.js .ws-radar path:nth-child(2) { animation-delay: .18s; }
.js .ws-radar path:nth-child(3) { animation-delay: .36s; }

@keyframes ws-impact {
	0%, 6% { opacity: 0; transform-origin: 332px 112px; transform: scale(3); }
	9% { opacity: 1; transform: scale(1); }
	40% { opacity: 1; }
	48%, 100% { opacity: 0; }
}
@keyframes ws-crack {
	0%, 8% { stroke-dashoffset: 240; opacity: 1; }
	22% { stroke-dashoffset: 0; opacity: 1; }
	38% { stroke-dashoffset: 0; opacity: 1; }
	48% { stroke-dashoffset: 0; opacity: 0; }
	100% { stroke-dashoffset: 240; opacity: 0; }
}
@keyframes ws-scan {
	0%, 30% { opacity: 0; transform: translateX(0); }
	32% { opacity: 1; }
	52% { opacity: 1; transform: translateX(330px); }
	54%, 100% { opacity: 0; transform: translateX(330px); }
}
@keyframes ws-shine {
	0%, 54% { opacity: 0; transform: skewX(-24deg) translateX(0); }
	58% { opacity: 1; }
	72% { opacity: 1; transform: skewX(-24deg) translateX(620px); }
	74%, 100% { opacity: 0; transform: skewX(-24deg) translateX(620px); }
}
@keyframes ws-radar {
	0%, 70% { opacity: 0; }
	76% { opacity: 1; }
	92%, 100% { opacity: 0; }
}

.float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	background: rgba(46, 40, 44, .62);
	border: 1px solid rgba(255, 240, 236, .14);
	border-radius: var(--r-md);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
	font-size: .875rem;
	line-height: 1.3;
	white-space: nowrap;
}
.float-card strong { display: block; color: #fff; font-size: .9375rem; }
.float-card span { color: var(--on-tint-muted); }
.float-card__icon {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 12px;
	background: var(--brand);
	color: #fff;
}
.float-card__icon .icon { width: 20px; height: 20px; }
.float-card__icon--accent { background: var(--accent); color: #000; }
.float-card--a { left: -2%; top: 6%; }
.float-card--b { right: -2%; top: 46%; }
.float-card--c { left: 8%; bottom: -4%; }
@media (max-width: 599px) {
	.float-card { font-size: .8125rem; padding: 8px 12px 8px 8px; }
	.float-card strong { font-size: .875rem; }
	.float-card span { display: none; }
	.float-card__icon { width: 30px; height: 30px; border-radius: 9px; }
	.float-card--a { left: 0; top: 0; }
	.float-card--b { right: 0; top: 48%; }
	.float-card--c { left: 4%; bottom: -10%; }
}

.hero__scroll {
	position: absolute;
	left: 50%; bottom: 28px;
	width: 26px; height: 42px;
	margin-left: -13px;
	border: 2px solid rgba(255, 244, 240, .3);
	border-radius: 14px;
}
.hero__scroll span {
	position: absolute;
	left: 50%; top: 8px;
	width: 4px; height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: scroll-hint 2s var(--ease) infinite;
}
@keyframes scroll-hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 999px) { .hero__scroll { display: none; } }

/* Vstupní sekvence hero — jediná orchestrovaná animace při načtení */
.js .hero .hero__copy > * { opacity: 0; transform: translateY(18px); animation: hero-in .9s var(--ease) forwards; }
.js .hero .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero .hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .hero .hero__copy > :nth-child(5) { animation-delay: .32s; }
.js .hero .hero__visual { opacity: 0; animation: hero-in-visual 1.2s .2s var(--ease) forwards; }
@keyframes hero-in { to { opacity: 1; transform: none; } }
@keyframes hero-in-visual { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Úvod — varianta „Stříbro“ (broušený hliník, světlý showroom)
   -------------------------------------------------------------------------- */

.hero-silver .hero {
	--silver-ink: #17151A;
	--silver-muted: #4E4950;
	--silver-line: rgba(23, 21, 26, .14);
	color: var(--silver-ink);
	background:
		radial-gradient(120% 80% at 50% 125%, rgba(40, 46, 56, .30), transparent 60%),
		linear-gradient(104deg,
			#DCE0E4 0%, #F7F8F9 16%, #CDD2D8 33%, #EEF0F2 47%,
			#FFFFFF 53%, #C7CCD3 68%, #E4E7EA 84%, #BFC5CC 100%);
}
.hero-silver .hero__glow--1 { background: radial-gradient(circle, rgba(227, 6, 19, .17) 0%, rgba(227, 6, 19, .05) 42%, transparent 62%); filter: blur(90px); }
.hero-silver .hero__glow--2 { background: radial-gradient(circle, rgba(255, 255, 255, .7), transparent 65%); }
/* Jemné broušení kovu */
.hero-silver .hero__grid {
	opacity: 1;
	mix-blend-mode: normal;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 1px, transparent 1px 2px, rgba(30, 36, 44, .035) 2px 3px, transparent 3px 5px);
	mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .4));
	-webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .4));
}

.hero-silver .site-header:not(.is-scrolled) { color: #17151A; }
.hero-silver.nav-open .site-header,
.hero-silver.nav-open .site-header:not(.is-scrolled) { color: var(--on-tint); }

.hero-silver .eyebrow--pill {
	color: var(--silver-muted);
	background: rgba(255, 255, 255, .55);
	border-color: rgba(255, 255, 255, .9);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06), inset 0 1px 0 #fff;
}
.hero-silver .hero__text { color: var(--silver-muted); }
.hero-silver .hero__trust { color: var(--silver-muted); border-top-color: var(--silver-line); }
.hero-silver .hero__trust .icon { color: var(--silver-ink); }
.hero-silver .hero__line--accent { box-shadow: 0 18px 40px -16px rgba(227, 6, 19, .6); }
.hero-silver .btn--glass {
	--btn-bg: rgba(255, 255, 255, .55);
	--btn-fg: #17151A;
	border-color: rgba(255, 255, 255, .95);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06), inset 0 1px 0 #fff;
}
.hero-silver .btn--glass:hover { --btn-bg: rgba(255, 255, 255, .85); }
.hero-silver .hero__scroll { border-color: rgba(23, 21, 26, .25); }
.hero-silver .hero__scroll span { background: #17151A; }

/* Vůz v perokresbě tmavým grafitem */
.hero-silver .windshield__svg { filter: drop-shadow(0 30px 40px rgba(40, 44, 52, .28)); }
.hero-silver .ws-line { stroke: rgba(23, 21, 26, .62); }
.hero-silver .ws-line--soft { stroke: rgba(23, 21, 26, .18); }
.hero-silver .ws-line--glass { stroke: rgba(23, 21, 26, .85); }
.hero-silver .ws-light { fill: rgba(255, 255, 255, .6); stroke: rgba(23, 21, 26, .55); }
.hero-silver .ws-drl { stroke: #fff; filter: drop-shadow(0 0 3px rgba(23, 21, 26, .5)); }
.hero-silver .ws-tire { fill: rgba(23, 21, 26, .82); stroke: rgba(23, 21, 26, .3); }
.hero-silver .ws-crack path,
.hero-silver .ws-crack circle { stroke: #17151A; }
.hero-silver .ws-crack circle { fill: rgba(23, 21, 26, .6); }
.hero-silver .ws-cam { fill: #17151A; }
.hero-silver .windshield::before {
	background: radial-gradient(50% 50% at 50% 50%, rgba(23, 21, 26, .30), rgba(23, 21, 26, .10) 50%, transparent 75%);
}

.hero-silver .float-card {
	background: rgba(255, 255, 255, .62);
	border-color: rgba(255, 255, 255, .95);
	box-shadow: 0 20px 40px -22px rgba(40, 44, 52, .45), inset 0 1px 0 #fff;
}
.hero-silver .float-card strong { color: #17151A; }
.hero-silver .float-card span { color: var(--silver-muted); }

/* --------------------------------------------------------------------------
   Běžící pás
   -------------------------------------------------------------------------- */

.marquee {
	overflow: hidden;
	background: var(--brand);
	color: #fff;
	padding: 18px 0;
	border-block: 1px solid rgba(0, 0, 0, .1);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__list { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee__list li {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.125rem;
	letter-spacing: -.01em;
	white-space: nowrap;
}
.marquee__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Čísla
   -------------------------------------------------------------------------- */

.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
@media (min-width: 900px) {
	.stat:nth-child(odd) { border-left: 1px solid var(--line); padding-left: clamp(12px, 2vw, 32px); }
	.stat:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 899px) { .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.stat__value {
	margin: 0 0 6px;
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 4.4vw, 3.5rem);
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: 1;
}
.stat__label { margin: 0 0 10px; font-weight: 800; }
.stat__text { margin: 0; color: var(--muted); font-size: .9375rem; max-width: 30ch; }

/* --------------------------------------------------------------------------
   Služby (bento)
   -------------------------------------------------------------------------- */

.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
	.bento { grid-template-columns: repeat(4, 1fr); }
	.bento__card--xl { grid-column: span 2; grid-row: span 2; }
	.bento__card--lg { grid-column: span 2; }
}
@media (min-width: 640px) and (max-width: 1039px) {
	.bento__card--xl, .bento__card--lg { grid-column: span 2; }
}

.bento__card {
	--mx: 50%;
	--my: 50%;
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: 240px;
	padding: 26px;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	text-decoration: none;
	transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.bento__card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(420px circle at var(--mx) var(--my), var(--brand-soft), transparent 60%);
	opacity: 0;
	transition: opacity .3s;
}
.bento__card:hover { border-color: rgba(227, 6, 19, .45); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento__card:hover::before { opacity: 1; }

.bento__icon {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: auto;
	border-radius: 14px;
	background: var(--brand-soft);
	color: var(--brand-text);
	transition: background-color .25s, color .25s;
}
.bento__icon .icon { width: 26px; height: 26px; }
.bento__card:hover .bento__icon { background: var(--brand); color: #fff; }

.bento__title { margin: 28px 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.02em; }
.bento__text { margin: 0; color: var(--muted); font-size: .9688rem; max-width: 44ch; }
.bento__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	font-weight: 700;
	font-size: .9375rem;
	color: var(--brand-text);
}
.bento__more .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.bento__card:hover .bento__more .icon { transform: translate(2px, -2px); }

.bento__card--xl {
	min-height: 420px;
	justify-content: flex-end;
	background: var(--tint);
	border-color: transparent;
	color: var(--on-tint);
}
.bento__card--xl .bento__media { position: absolute; inset: 0; z-index: -2; }
.bento__card--xl .bento__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__card--xl:hover .bento__media img { transform: scale(1.04); }
.bento__card--xl::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(22, 19, 23, .05) 10%, rgba(22, 19, 23, .92) 82%);
}
.bento__card--xl .bento__icon { position: absolute; top: 26px; left: 26px; background: var(--brand); color: #fff; }
.bento__card--xl .bento__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bento__card--xl .bento__text { color: rgba(238, 243, 244, .8); font-size: 1.0625rem; }
.bento__card--xl .bento__more { color: #fff; }

.bento__card--lg { background: linear-gradient(135deg, var(--surface) 40%, var(--brand-soft)); }

/* --------------------------------------------------------------------------
   Postup
   -------------------------------------------------------------------------- */

.process { background: var(--bg-alt); }
.steps {
	position: relative;
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
	.steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
	.steps::before {
		content: "";
		position: absolute;
		top: 27px; left: 28px; right: 28px;
		border-top: 2px dashed var(--line-strong);
	}
}
.step { position: relative; }
.step__num {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--bg);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	box-shadow: 0 0 0 8px var(--bg-alt);
}
.step:last-child .step__num { background: var(--brand); color: #fff; }
.step__icon { position: absolute; top: 14px; right: 0; color: var(--muted); opacity: .5; }
.step__icon .icon { width: 28px; height: 28px; }
@media (min-width: 1040px) { .step__icon { display: none; } }
.step__title { margin-bottom: 8px; font-size: 1.1875rem; font-weight: 800; }
.step__text { margin: 0; color: var(--muted); max-width: 32ch; }

/* --------------------------------------------------------------------------
   ADAS (tmavá sekce)
   -------------------------------------------------------------------------- */

.adas { background: var(--tint); color: var(--on-tint); overflow: hidden; isolation: isolate; }
.adas__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(600px 400px at 85% 50%, rgba(227, 6, 19, .22), transparent 70%),
		radial-gradient(500px 400px at 0% 100%, rgba(255, 210, 200, .07), transparent 70%);
}
.adas__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .adas__inner { grid-template-columns: 1.1fr .9fr; gap: 80px; } }

.faq { margin: 36px 0 32px; border-top: 1px solid var(--tint-line); }
.faq__item { border-bottom: 1px solid var(--tint-line); }
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0;
	font-weight: 700;
	font-size: 1.0625rem;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--tint-line); border-radius: 50%; }
.faq__icon::before, .faq__icon::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 10px; height: 2px;
	margin: -1px 0 0 -5px;
	background: currentColor;
	transition: transform .25s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item[open] .faq__icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.faq__body { padding: 0 48px 20px 0; color: var(--on-tint-muted); }

.radar {
	position: relative;
	aspect-ratio: 1;
	max-width: 460px;
	margin-inline: auto;
	border-radius: 50%;
}
.radar__ring { position: absolute; border: 1px solid rgba(255, 244, 240, .14); border-radius: 50%; }
.radar__ring:nth-child(1) { inset: 0; }
.radar__ring:nth-child(2) { inset: 17%; }
.radar__ring:nth-child(3) { inset: 34%; border-color: rgba(227, 6, 19, .4); }
.radar__sweep {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(from 0deg, rgba(227, 6, 19, .45), rgba(227, 6, 19, 0) 70deg, transparent 360deg);
	animation: radar 5s linear infinite;
	mask-image: radial-gradient(circle, #000 69%, transparent 70%);
	-webkit-mask-image: radial-gradient(circle, #000 69%, transparent 70%);
}
@keyframes radar { to { transform: rotate(360deg); } }
.radar__core {
	position: absolute;
	top: 50%; left: 50%;
	display: grid;
	place-items: center;
	width: 84px; height: 84px;
	margin: -42px 0 0 -42px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	box-shadow: 0 0 0 10px rgba(227, 6, 19, .18), 0 0 60px rgba(227, 6, 19, .6);
}
.radar__core .icon { width: 36px; height: 36px; }
.radar__tag {
	position: absolute;
	padding: 8px 14px;
	background: rgba(34, 29, 34, .75);
	border: 1px solid var(--tint-line);
	border-radius: var(--r-pill);
	font-size: .875rem;
	font-weight: 700;
	white-space: nowrap;
	backdrop-filter: blur(8px);
}
.radar__tag::before {
	content: "";
	display: inline-block;
	width: 7px; height: 7px;
	margin-right: 8px;
	border-radius: 50%;
	background: #2BD47D;
	vertical-align: 1px;
}
.radar__tag--1 { top: 8%; left: 2%; }
.radar__tag--2 { top: 22%; right: -4%; }
.radar__tag--3 { bottom: 20%; left: -6%; }
.radar__tag--4 { bottom: 4%; right: 6%; }

/* --------------------------------------------------------------------------
   Pojištění
   -------------------------------------------------------------------------- */

.insurance__inner { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .insurance__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }

.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.partners__label { width: 100%; font-size: .875rem; font-weight: 700; color: var(--muted); }
.partners__item {
	padding: 10px 18px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .9375rem;
	background: var(--surface);
}
.partners__item--muted { font-family: var(--font-body); font-weight: 600; color: var(--muted); border-style: dashed; background: transparent; }

.insurance__cards { display: grid; gap: 12px; }
.way {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 18px;
	align-items: center;
	padding: 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}
.way__icon {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	border-radius: 14px;
	background: var(--bg-alt);
	color: var(--ink);
}
.way__title { font-size: 1.0625rem; font-weight: 800; margin-bottom: 2px; }
.way__text { margin: 0; color: var(--muted); font-size: .9688rem; }
.way__check {
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
}
.way__check .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.insurance__cards .link-arrow { margin-top: 10px; }

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */

.gallery { padding-bottom: calc(var(--section) - 24px); }
.gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.gallery__head .section-head { margin-bottom: 40px; }
.gallery__nav { display: none; gap: 8px; margin-bottom: 40px; }
@media (min-width: 720px) { .gallery__nav { display: flex; } }

.gallery__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px;
	scrollbar-width: none;
	cursor: grab;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-dragging img { pointer-events: none; }
.gallery__item {
	position: relative;
	flex: 0 0 clamp(270px, 34vw, 460px);
	margin: 0;
	scroll-snap-align: start;
	border-radius: var(--r-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--bg-alt);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 48px 22px 20px;
	background: linear-gradient(transparent, rgba(22, 19, 23, .85));
	color: #fff;
	line-height: 1.3;
}
.gallery__item figcaption strong { display: block; font-size: 1.0625rem; }
.gallery__item figcaption span { font-size: .875rem; color: rgba(255, 255, 255, .75); }

/* --------------------------------------------------------------------------
   O nás
   -------------------------------------------------------------------------- */

.about { background: var(--surface); }
.about__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .about__inner { grid-template-columns: 1fr 1fr; gap: 88px; } }

.about__media { position: relative; padding: 0 12% 14% 0; }
.about__photo { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { aspect-ratio: 4 / 3.3; }
.about__photo--small {
	position: absolute;
	right: 0; bottom: 0;
	width: 46%;
	aspect-ratio: 1;
	border: 6px solid var(--surface);
	box-shadow: var(--shadow-lg);
}
.about__badge {
	position: absolute;
	left: -12px; bottom: 6%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--r-md);
	box-shadow: 0 20px 40px -18px rgba(227, 6, 19, .8);
}
.about__badge-year { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.03em; }
.about__badge-text { font-size: .8125rem; font-weight: 700; line-height: 1.25; max-width: 9ch; }

.about__copy > p { color: var(--muted); max-width: 60ch; }
.about__copy .section-title { margin-bottom: 24px; }

.checklist { display: grid; gap: 10px; margin: 28px 0 36px; padding: 0; list-style: none; }
@media (min-width: 560px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .9688rem; line-height: 1.45; }
.checklist .icon { flex: none; width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3; }

/* --------------------------------------------------------------------------
   Články
   -------------------------------------------------------------------------- */

.post-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder {
	position: relative;
	display: grid;
	place-items: center;
	height: 100%;
	background: radial-gradient(circle at 80% 20%, rgba(227, 6, 19, .45), transparent 55%), var(--tint);
	color: rgba(238, 243, 244, .55);
	overflow: hidden;
}
.post-card__placeholder::after {
	content: "CARSiN";
	position: absolute;
	right: 16px; bottom: 14px;
	padding: 2px 7px 3px;
	background: var(--brand);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .75rem;
	border-radius: 2px;
}
.post-card__placeholder .icon { width: 64px; height: 64px; stroke-width: 1.25; transition: transform .8s var(--ease); }
.post-card:hover .post-card__placeholder .icon { transform: scale(1.08); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__title { margin: 12px 0 10px; font-size: 1.1875rem; font-weight: 800; line-height: 1.3; }
.post-card__title a { text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { color: var(--muted); font-size: .9688rem; margin-bottom: 18px; }
.post-card .post-meta { margin-top: auto; }
.post-card--text .post-card__body { padding: 28px; }

.tag {
	align-self: flex-start;
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--r-pill);
	background: var(--brand-soft);
	color: var(--brand-text);
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: none;
}
.tag--light { background: rgba(255, 255, 255, .1); color: #fff; margin-bottom: 18px; }

.post-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.page-hero .post-meta { color: var(--on-tint-muted); margin-top: 22px; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter a {
	padding: 9px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	font-weight: 700;
	font-size: .9375rem;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.filter a:hover { border-color: var(--ink); }
.filter a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px; height: 46px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	font-weight: 700;
	text-decoration: none;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); }

.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.empty .search-form { margin: 24px auto 0; }

/* --------------------------------------------------------------------------
   Pomáháme
   -------------------------------------------------------------------------- */

.help { padding-top: 0; }
.help__box {
	display: grid;
	gap: 32px;
	padding: clamp(28px, 5vw, 56px);
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--line);
}
@media (min-width: 1000px) { .help__box { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; } }
.help__icon {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand-text);
}
.help__icon .icon { fill: currentColor; }
.help__cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .help__cards { grid-template-columns: 1fr 1fr; } }
.help__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 52px 24px 24px;
	background: var(--bg);
	border-radius: var(--r-md);
	text-decoration: none;
	transition: background-color .25s, transform .25s var(--ease);
}
.help__card:hover { transform: translateY(-3px); }
.help__card strong { font-size: 1.0625rem; }
.help__card span { color: var(--muted); font-size: .9375rem; }
.help__card .icon { position: absolute; top: 22px; right: 20px; color: var(--brand-text); }

/* --------------------------------------------------------------------------
   Kontakt a formulář
   -------------------------------------------------------------------------- */

.contact { background: var(--bg-alt); }
.contact__grid { display: grid; gap: 18px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 22px; } }

.contact__card {
	position: relative;
	padding: clamp(26px, 4vw, 44px);
	background: var(--tint);
	color: var(--on-tint);
	border-radius: var(--r-lg);
	overflow: hidden;
	isolation: isolate;
}
.contact__card::before {
	content: "";
	position: absolute;
	right: -30%; top: -30%;
	width: 80%; aspect-ratio: 1;
	z-index: -1;
	background: radial-gradient(circle, rgba(227, 6, 19, .35), transparent 65%);
	filter: blur(30px);
}
.contact__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	padding: 6px 12px;
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .06);
	font-size: .875rem;
	font-weight: 700;
}
.contact__status[hidden] { display: none; }
.contact__status-dot { width: 8px; height: 8px; border-radius: 50%; background: #ABA3A6; }
.contact__status.is-open .contact__status-dot { background: #2BD47D; box-shadow: 0 0 0 4px rgba(43, 212, 125, .2); }
.contact__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: var(--on-tint-muted);
	font-size: .875rem;
	font-weight: 700;
}
.contact__label .icon { width: 16px; height: 16px; }
.contact__phone { display: block; text-decoration: none; margin-bottom: 28px; }
.contact__big {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	letter-spacing: -.03em;
	line-height: 1.1;
	transition: color .2s;
}
.contact__phone:hover .contact__big { color: #FF8A91; }
.contact__list { display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .icon { margin-top: 3px; color: var(--on-tint-muted); }
.contact__list a { text-decoration: none; }
.contact__list .link-arrow { color: #FF8A91; }
.contact__hours { padding-top: 24px; border-top: 1px solid var(--tint-line); }
.contact__note { margin-top: 12px; color: var(--on-tint-muted); font-size: .875rem; }
.contact__company { margin-top: 28px; color: var(--on-tint-muted); font-size: .8125rem; }

.hours { display: grid; gap: 6px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.contact__card .hours dt { color: var(--on-tint-muted); }
.hours--compact { font-size: .9375rem; }
.hours--light dt { color: rgba(255, 255, 255, .7); }

.contact__form {
	padding: clamp(26px, 4vw, 44px);
	background: var(--surface);
	border-radius: var(--r-lg);
	border: 1px solid var(--line);
}
.contact__form-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 6px; }
.contact__form-lead { color: var(--muted); margin-bottom: 28px; }

.cform { display: grid; gap: 22px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__topics { margin: 0; padding: 0; border: 0; min-width: 0; }
.cform__topics legend { margin-bottom: 12px; font-weight: 700; font-size: .9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
	display: inline-block;
	padding: 9px 15px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	font-size: .9375rem;
	font-weight: 600;
	transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.cform__grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .cform__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { position: relative; }
.field input,
.field textarea {
	width: 100%;
	padding: 24px 16px 10px;
	background: var(--surface-2);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	font-size: 1rem;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
	resize: vertical;
}
.field textarea { min-height: 120px; }
.field label {
	position: absolute;
	left: 17px; top: 17px;
	color: var(--muted);
	font-size: 1rem;
	pointer-events: none;
	transform-origin: left top;
	transition: transform .2s var(--ease), color .2s;
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: var(--surface); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--brand-text); font-weight: 700; }
.field.is-invalid input { border-color: var(--brand); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }

.cform .btn { justify-self: start; }
@media (max-width: 559px) { .cform .btn { width: 100%; } }

.cform__notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm); font-size: .9688rem; }
.cform__notice--ok { background: rgba(43, 212, 125, .12); color: var(--ink); border: 1px solid rgba(43, 212, 125, .4); }
.cform__notice--ok .icon { color: #17A35E; flex: none; }
.cform__notice--err { background: var(--brand-soft); border: 1px solid rgba(227, 6, 19, .35); }

.map {
	position: relative;
	margin-top: 18px;
	height: clamp(320px, 40vw, 460px);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--surface) repeating-linear-gradient(45deg, transparent 0 22px, var(--line) 22px 23px);
	border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; border: 0; }
.map__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	text-align: center;
}
.map__placeholder > .icon { width: 40px; height: 40px; color: var(--brand); }
.map__placeholder small { color: var(--muted); }

/* --------------------------------------------------------------------------
   Podstránky
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	isolation: isolate;
	padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px);
	background: var(--tint);
	color: var(--on-tint);
	overflow: hidden;
}
.page-hero__glow {
	position: absolute;
	z-index: -1;
	right: -10%; top: -40%;
	width: 60vw; max-width: 760px; aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(227, 6, 19, .32), transparent 65%);
	filter: blur(60px);
	pointer-events: none;
}
.page-hero__title {
	max-width: 22ch;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2rem, 5vw, 3.75rem);
	letter-spacing: -.035em;
	line-height: 1.05;
}
.page-hero__title--post { max-width: none; font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.page-hero__lead { margin-top: 20px; max-width: 60ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--on-tint-muted); }

.breadcrumbs { margin-bottom: 28px; font-size: .875rem; font-weight: 600; color: var(--on-tint-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: var(--on-tint); }

.layout-sidebar { display: grid; gap: 48px; }
@media (min-width: 1000px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; } }
.entry { min-width: 0; }
.entry__media { margin: 0 0 40px; border-radius: var(--r-lg); overflow: hidden; }

.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.side-nav { padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.side-nav__title { margin: 8px 12px 8px; font-size: .875rem; font-weight: 700; color: var(--muted); }
.side-nav ul { margin: 0; padding: 0; list-style: none; }
.side-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--r-sm);
	font-weight: 600;
	font-size: .9688rem;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.side-nav a .icon { width: 16px; height: 16px; opacity: .4; }
.side-nav a:hover { background: var(--bg); }
.side-nav a[aria-current] { background: var(--brand-soft); color: var(--brand-text); }
.side-nav a[aria-current] .icon { opacity: 1; }

.cta-card {
	position: relative;
	padding: 28px;
	background: var(--tint);
	color: var(--on-tint);
	border-radius: var(--r-md);
	overflow: hidden;
	isolation: isolate;
}
.cta-card__glow {
	position: absolute;
	z-index: -1;
	right: -40%; bottom: -50%;
	width: 100%; aspect-ratio: 1;
	background: radial-gradient(circle, rgba(227, 6, 19, .5), transparent 65%);
	filter: blur(30px);
}
.cta-card__eyebrow { margin: 0 0 6px; color: var(--on-tint-muted); font-weight: 700; font-size: .875rem; }
.cta-card__title { margin: 0 0 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
.cta-card__link { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 20px; color: var(--on-tint-muted); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.cta-card__link .icon { width: 16px; height: 16px; }
.cta-card__link:hover { color: #fff; }
.cta-card .hours { padding-top: 18px; border-top: 1px solid var(--tint-line); }

/* Detail článku */
.single__media { margin-top: clamp(-40px, -3vw, -24px); position: relative; z-index: 2; }
.single__media img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.single__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}
.share { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: var(--r-pill); background: var(--bg-alt); font-size: .875rem; text-decoration: none; }

.post-nav { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	text-decoration: none;
	transition: border-color .2s;
}
.post-nav__link:hover { border-color: var(--brand); }
.post-nav__link span { color: var(--muted); font-size: .875rem; font-weight: 600; }
.post-nav__link--next { text-align: right; grid-column: -2; }

/* 404 */
.notfound {
	position: relative;
	isolation: isolate;
	min-height: 90svh;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 48px) 0 80px;
	background: var(--tint);
	color: var(--on-tint);
	overflow: hidden;
	text-align: center;
}
.notfound__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.notfound__code {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(6rem, 22vw, 14rem);
	line-height: .9;
	letter-spacing: -.06em;
}
.notfound__code span { color: var(--brand); }
.notfound__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.02em; }
.notfound__text { max-width: 52ch; color: var(--on-tint-muted); }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 12px; }
.chip-link { padding: 9px 16px; border: 1px solid var(--tint-line); border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.chip-link:hover { border-color: #fff; }
.notfound .search-form { background: rgba(255, 255, 255, .06); border-color: var(--tint-line); }

.search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 520px;
	padding: 6px 6px 6px 18px;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
}
.search-form > .icon { color: var(--muted); }
.search-form input { flex: 1; min-width: 0; padding: 10px 0; background: none; border: 0; outline: none; }
.search-form .btn { min-height: 42px; padding: 8px 18px; }

/* Komentáře */
.comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments__title, .comment-reply-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 24px; }
.comment-list { padding: 0; list-style: none; }
.comment-list .comment { margin-bottom: 20px; padding: 20px; background: var(--surface); border-radius: var(--r-md); }
.comment-list .children { list-style: none; padding-left: 20px; margin-top: 16px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: .875rem; color: var(--muted); }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--surface-2);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
}
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.comment-form-cookies-consent label { font-weight: 500; }

/* --------------------------------------------------------------------------
   Obsah z editoru (Gutenberg)
   -------------------------------------------------------------------------- */

.entry-content { font-size: 1.0938rem; line-height: 1.75; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.9em; margin-bottom: .6em; letter-spacing: -.02em; }
.entry-content > h2:first-child, .entry-content > h3:first-child { margin-top: 0; }
.entry-content h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.entry-content h3 { font-size: 1.375rem; font-weight: 800; }
.entry-content h4 { font-size: 1.125rem; font-weight: 800; }
.entry-content p, .entry-content li { max-width: 72ch; }
.entry-content a { color: var(--brand-text); font-weight: 600; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content strong { font-weight: 800; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content ul li::marker { color: var(--brand); }
.entry-content ol li::marker { color: var(--brand-text); font-weight: 800; }
.entry-content img { border-radius: var(--r-md); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { margin-top: 10px; font-size: .875rem; color: var(--muted); text-align: center; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-inline: 0;
	padding: 6px 0 6px 24px;
	border-left: 4px solid var(--brand);
	font-size: 1.1875rem;
	font-weight: 600;
}
.entry-content .wp-block-pullquote { border-block: 2px solid var(--line-strong); padding: 32px 0; text-align: center; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line-strong); margin-block: 2.5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--bg-alt); font-weight: 800; }
.entry-content .wp-block-table td:not(:first-child), .entry-content .wp-block-table th:not(:first-child) { text-align: center; }
.entry-content .alignwide { max-width: none; }
.entry-content .wp-block-image img { height: auto; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-columns { gap: 24px; }
.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: var(--r-pill);
	background: var(--brand);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s, transform .2s;
}
.entry-content .wp-block-button__link:hover { background: var(--brand-strong); transform: translateY(-2px); }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.entry-content .wp-block-embed iframe { border-radius: var(--r-md); }

/* Vlastní styly bloků (importovaný obsah) */
.entry-content .carsin-lead { font-size: clamp(1.1875rem, 1.8vw, 1.375rem); line-height: 1.6; color: var(--ink-2); font-weight: 500; }
.entry-content .carsin-note {
	padding: 20px 24px;
	background: var(--brand-soft);
	border-left: 4px solid var(--brand);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	font-weight: 600;
}
.entry-content .carsin-checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.entry-content .carsin-checks li { position: relative; padding-left: 34px; margin: 0; }
.entry-content .carsin-checks li::before {
	content: "";
	position: absolute;
	left: 0; top: .25em;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.entry-content .carsin-cards { display: grid; gap: 14px; padding: 0; list-style: none; }
@media (min-width: 640px) { .entry-content .carsin-cards { grid-template-columns: repeat(2, 1fr); } }
.entry-content .carsin-cards > li {
	margin: 0;
	padding: 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	max-width: none;
}
.entry-content .carsin-cards strong { display: block; margin-bottom: 4px; font-size: 1.0625rem; }
.entry-content .carsin-faq details { border-bottom: 1px solid var(--line); }
.entry-content .carsin-faq summary { padding: 16px 0; font-weight: 800; cursor: pointer; }
.entry-content .wp-block-details { border-bottom: 1px solid var(--line); margin-bottom: 0; }
.entry-content .wp-block-details + :not(.wp-block-details) { margin-top: 1.5em; }
.entry-content .wp-block-details summary {
	position: relative;
	padding: 18px 44px 18px 0;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0; top: 50%;
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	margin-top: -14px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	font-weight: 600;
	transition: transform .25s var(--ease), background-color .2s;
}
.entry-content .wp-block-details[open] summary::after { content: "−"; background: var(--brand); border-color: var(--brand); color: #fff; }
.entry-content .wp-block-details > p { padding-bottom: 18px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Patička
   -------------------------------------------------------------------------- */

.site-footer { background: var(--tint); color: var(--on-tint); }
.site-footer__cta { background: var(--brand); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.site-footer__cta::after {
	content: "CARSiN";
	position: absolute;
	right: -2%; bottom: -34%;
	z-index: -1;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(6rem, 18vw, 16rem);
	letter-spacing: -.05em;
	color: rgba(0, 0, 0, .1);
	line-height: 1;
	pointer-events: none;
}
.site-footer__cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-block: clamp(48px, 6vw, 80px);
}
.site-footer__cta .eyebrow { color: rgba(255, 255, 255, .85); }
.site-footer__cta .eyebrow::before { background: #fff; }
.site-footer__cta-title { max-width: 18ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -.03em; line-height: 1.1; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 88px) 48px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__grid { grid-template-columns: 1.4fr .8fr .8fr 1.1fr; gap: 56px; } }
.site-footer__brand p { margin: 24px 0; color: var(--on-tint-muted); max-width: 40ch; font-size: .9688rem; }
.site-footer__brand .brand { color: #fff; }
.site-footer__heading { margin-bottom: 18px; font-size: .9375rem; font-weight: 800; color: #fff; }
.site-footer__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__links a { color: var(--on-tint-muted); text-decoration: none; font-weight: 500; transition: color .2s; }
.site-footer__links a:hover { color: #fff; }
.site-footer__contact { color: var(--on-tint-muted); font-size: .9688rem; }
.site-footer__contact strong { color: #fff; }
.site-footer__contact a { text-decoration: none; }
.site-footer__contact a:hover { color: #fff; }
.site-footer__contact address { margin-bottom: 14px; }
.site-footer__contact .hours { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--tint-line); }
.site-footer__contact .hours dd { color: #fff; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 24px;
	border-top: 1px solid var(--tint-line);
	color: var(--on-tint-muted);
	font-size: .875rem;
}
.site-footer__bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { color: #fff; }

.social { display: flex; gap: 8px; }
.social__link {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border: 1px solid var(--tint-line);
	border-radius: 50%;
	color: var(--on-tint);
	transition: background-color .2s, border-color .2s;
}
.social__link:hover { background: var(--brand); border-color: var(--brand); }
.social__link .icon { width: 18px; height: 18px; }

.to-top {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 1px solid var(--tint-line);
	border-radius: 50%;
	background: transparent;
	color: var(--on-tint);
	transition: background-color .2s;
}
.to-top:hover { background: rgba(255, 255, 255, .08); }

/* Spodní lišta na mobilu */
.mobile-bar {
	position: fixed;
	left: 10px; right: 10px;
	bottom: calc(10px + env(safe-area-inset-bottom));
	z-index: 40;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 6px;
	padding: 6px;
	background: rgba(22, 19, 23, .82);
	border: 1px solid rgba(255, 244, 240, .12);
	border-radius: 20px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5);
	transform: translateY(150%);
	transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border-radius: 14px;
	color: #fff;
	font-weight: 700;
	font-size: .9375rem;
	text-decoration: none;
}
.mobile-bar a .icon { width: 18px; height: 18px; }
.mobile-bar__primary { background: var(--brand); }
@media (min-width: 760px) { .mobile-bar { display: none; } }
@media (max-width: 759px) { .site-footer { padding-bottom: 80px; } }

/* --------------------------------------------------------------------------
   Omezení pohybu
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.js .hero .hero__copy > *, .js .hero .hero__visual { opacity: 1; transform: none; }
	.marquee__track { animation: none; }
	.js .ws-crack path, .js .ws-crack circle, .js .ws-scan, .js .ws-shine { animation: none; }
	.ws-radar path { opacity: .8; }
}

@media print {
	.site-header, .mobile-bar, .site-footer__cta, .hero__visual, .marquee { display: none !important; }
	body { background: #fff; color: #000; }
}
