﻿@charset "UTF-8";
/* ==========================================================================
   SEO optimalizace s.r.o. – hlavní styly
   Světlý čistý design, barvy značky z loga, animace řízené scrollem (app.js)
   ========================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* barvy značky */
	--ink: #180232;
	--ink-2: #2b1747;
	--text: #3d3851;
	--muted: #6c6782;
	--line: #e9e6f2;
	--line-2: #dcd8ea;
	--bg: #ffffff;
	--bg-soft: #f6f5fb;
	--bg-soft-2: #efedf7;

	--magenta: #e31c79;
	--magenta-dark: #b6115e;
	--purple: #9f5cc0;
	--teal: #00b2a9;
	--green: #8ec04b;
	--green-ink: #4f7a1d; /* zelená s dostatečným kontrastem pro text */

	--grad: linear-gradient(110deg, var(--magenta) 0%, var(--purple) 48%, var(--teal) 100%);
	--grad-soft: linear-gradient(135deg, rgba(227, 28, 121, .08), rgba(159, 92, 192, .08) 50%, rgba(0, 178, 169, .08));

	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 32px;
	--shadow-sm: 0 1px 2px rgba(24, 2, 50, .04), 0 2px 8px rgba(24, 2, 50, .04);
	--shadow: 0 2px 4px rgba(24, 2, 50, .04), 0 12px 32px -8px rgba(24, 2, 50, .10);
	--shadow-lg: 0 4px 8px rgba(24, 2, 50, .04), 0 32px 64px -16px rgba(24, 2, 50, .18);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 80px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);

	color-scheme: light;
}

/* ---------- Reset & základ ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: rgba(227, 28, 121, .18); color: var(--ink); }

:focus-visible {
	outline: 3px solid var(--purple);
	outline-offset: 3px;
	border-radius: 6px;
}

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: fixed; left: 16px; top: -60px; z-index: 1000;
	padding: 12px 18px; border-radius: var(--radius-sm);
	background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
	transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.text-gradient {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding-block: .08em .14em;
}

/* barevné tóny služeb */
.tone-teal { --tone: var(--teal); --tone-ink: #007d77; --tone-soft: rgba(0, 178, 169, .10); }
.tone-magenta { --tone: var(--magenta); --tone-ink: var(--magenta-dark); --tone-soft: rgba(227, 28, 121, .09); }
.tone-purple { --tone: var(--purple); --tone-ink: #7a3a9b; --tone-soft: rgba(159, 92, 192, .11); }
.tone-green { --tone: var(--green); --tone-ink: var(--green-ink); --tone-soft: rgba(142, 192, 75, .14); }

/* ---------- Scroll progress ---------- */

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Tlačítka ---------- */

.btn {
	--btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .75em 1.4em;
	border: 1.5px solid var(--btn-bd); border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font-weight: 650; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	/* translate = „magnetický“ posun z app.js: při pohybu myši svižně, po opuštění plynulý návrat (--magnet-t) */
	transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease), translate var(--magnet-t, .6s) var(--ease);
	will-change: transform;
}
.btn svg { transition: transform .35s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.btn--primary {
	--btn-bg: var(--magenta); --btn-fg: #fff;
	background-image: linear-gradient(110deg, var(--magenta), #c81a8f);
	box-shadow: 0 8px 24px -8px rgba(227, 28, 121, .55);
}
.btn--primary:hover { box-shadow: 0 14px 32px -10px rgba(227, 28, 121, .65); background-image: linear-gradient(110deg, var(--magenta-dark), var(--magenta)); }
.btn--ghost { --btn-bg: rgba(255, 255, 255, .6); --btn-bd: var(--line-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { --btn-bd: var(--ink); --btn-bg: #fff; }
.btn--outline { --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--tone, var(--magenta)); }
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.0625rem; }

.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.linklike:hover { color: var(--magenta); }

/* ---------- Header ---------- */

.header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	transition: transform .45s var(--ease), background-color .3s, box-shadow .3s, height .3s var(--ease);
}
.header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .78);
	backdrop-filter: saturate(1.6) blur(16px);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid var(--line);
	opacity: 0; transition: opacity .3s;
}
.header.is-scrolled { --header-h: 68px; }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none; }
.header__phone:hover { color: var(--magenta); }

/* Logo – symbol se při najetí otočí (jako na původním webu) */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex: none; perspective: 400px; }
.logo__mark { position: relative; width: 38px; height: 38px; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.logo__face { position: absolute; inset: 0; width: 38px; height: 38px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.logo__face--back { transform: rotateY(180deg); }
.logo:hover .logo__mark, .logo:focus-visible .logo__mark { transform: rotateY(180deg); }
.logo__text { width: 188px; height: 40px; }

/* Navigace */
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; }
.nav__link {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 999px;
	font-weight: 600; font-size: .96875rem; color: var(--ink); text-decoration: none;
	transition: background-color .2s, color .2s;
}
.nav__link svg { transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item--mega:focus-within .nav__link { background: var(--bg-soft-2); }
.nav__link.is-active::after {
	content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
	border-radius: 50%; background: var(--magenta);
}
.nav__mobile-extra { display: none; }

.mega {
	position: absolute; top: calc(100% + 10px); left: 50%;
	width: min(720px, 90vw); padding: 12px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
	transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav__item--mega:hover .nav__link svg { transform: rotate(180deg); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; list-style: none; }
.mega__card {
	display: flex; gap: 14px; align-items: flex-start; padding: 14px;
	border-radius: var(--radius-sm); text-decoration: none;
	transition: background-color .2s;
}
.mega__card:hover { background: var(--tone-soft); }
.mega__card strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.mega__card small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.mega__shape { width: 34px; height: 34px; flex: none; color: var(--tone); }
.mega__subs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0 14px 12px 62px; }
.mega__subs a { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); font-size: .8125rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: background-color .2s, color .2s; }
.mega__subs a:hover, .mega__subs a.is-active { background: var(--tone-soft); color: var(--tone-ink); }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-soft-2); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Tvary z loga ---------- */

.shape { fill: none; stroke: currentColor; stroke-width: 4; stroke-linejoin: miter; overflow: visible; }
/* Kreslení tvaru při scrollu (jen s JS). Po dokreslení (.is-done) se čárkování zruší,
   aby se obrys v rohu uzavřel – jinak v místě začátku/konce čáry zůstane „zub“. */
.js .shape:not(.is-done) :is(circle, rect, polygon) { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-in-out); }
.js .shape.is-drawn:not(.is-done) :is(circle, rect, polygon) { stroke-dashoffset: 0; }
.shape--xl { width: 100%; height: 100%; stroke-width: 1.2; }

/* ---------- Pomocné typografické prvky ---------- */

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--magenta);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--pill {
	padding: 8px 16px 8px 12px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
	color: var(--ink); letter-spacing: .02em; text-transform: none; font-size: .875rem; font-weight: 600;
}
.eyebrow--pill::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(142, 192, 75, .6); animation: pulse 2.4s infinite; }

.section { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3.1rem); margin-bottom: .45em; }
.section-text { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--muted); margin: 0; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.split-head .section-head { margin-bottom: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .875rem; font-weight: 550; color: var(--ink-2); }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob--1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(0, 178, 169, .55), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.blob--2 { width: 460px; height: 460px; top: 120px; left: -200px; background: radial-gradient(circle, rgba(227, 28, 121, .35), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.blob--3 { width: 380px; height: 380px; bottom: -120px; left: 40%; background: radial-gradient(circle, rgba(159, 92, 192, .35), transparent 65%); animation: drift 26s ease-in-out infinite alternate; }

/* ---------- Hero (úvod) ---------- */

.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-lines {
	position: absolute; inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 0%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 0%, transparent 75%);
	opacity: .6;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.04; letter-spacing: -.04em; margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); max-width: 600px; color: var(--muted); margin-bottom: 32px; }
.hero__actions, .hero-page__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; list-style: none; font-size: .9375rem; color: var(--muted); }
.hero__proof strong { color: var(--ink); font-weight: 750; }

.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero__card { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 6px solid #fff; }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--1 { width: 72%; top: 6%; left: 0; z-index: 2; rotate: -3deg; animation: float 9s ease-in-out infinite; }
.hero__card--2 { width: 52%; top: 0; right: 0; z-index: 1; rotate: 5deg; animation: float 11s ease-in-out -3s infinite; }
.hero__card--3 { width: 58%; bottom: 4%; right: 4%; z-index: 3; rotate: 2deg; animation: float 10s ease-in-out -6s infinite; }
.hero__orbit { position: absolute; inset: -6%; z-index: 4; pointer-events: none; animation: spin 60s linear infinite; }
.hero__orbit-item {
	position: absolute; width: 54px; height: 54px; padding: 12px; border-radius: 16px;
	background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); box-shadow: var(--shadow);
	color: var(--tone);
	top: 50%; left: 50%;
	transform: rotate(calc(var(--i) * 90deg + 20deg)) translate(min(290px, 46vw)) rotate(calc(var(--i) * -90deg - 20deg));
}
.hero__orbit-item .shape { width: 100%; height: 100%; animation: spin 60s linear infinite reverse; }
.hero__brands-label { margin: clamp(48px, 6vw, 80px) 0 18px; text-align: center; font-size: .875rem; font-weight: 600; color: var(--muted); }
.brand-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px clamp(28px, 5vw, 64px); list-style: none; }
/* Loga značek sjednocená do jedné tmavé barvy (různé odstíny šedi a barvy log by působily nahodile) */
.brand-strip img { height: 30px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .4; transition: filter .3s, opacity .3s; }
.brand-strip li:hover img { filter: none; opacity: 1; }

/* ---------- Hero (podstránky) ---------- */

.hero-page { position: relative; padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.hero-page__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-page__shape { position: absolute; right: max(-80px, calc((100vw - var(--container)) / 2 - 140px)); top: 50%; width: clamp(280px, 38vw, 560px); aspect-ratio: 1; margin-top: calc(clamp(280px, 38vw, 560px) / -2); color: var(--tone); opacity: .5; }
.hero-page__shape .shape :is(circle, rect, polygon) { transition-duration: 2.4s; }
.hero-page__title { font-size: clamp(2.3rem, 5vw, 4.25rem); max-width: 900px; letter-spacing: -.035em; }
.hero-page__lead { max-width: 760px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); }
.hero-page__lead--sub { font-weight: 600; color: var(--ink); }
.hero-page__actions { margin-top: 32px; }
.hero-page .eyebrow { color: var(--tone-ink, var(--magenta)); }

/* Vizuál v hlavičce podstránky – ikona služby a plovoucí klíčové pojmy */
.hero-visual__chips { margin: 0; padding: 0; list-style: none; }
.hero-visual__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: .8125rem; font-weight: 650; line-height: 1.2; color: var(--ink); white-space: nowrap; animation: chip-in .7s var(--ease) calc(var(--i) * 60ms + 250ms) backwards; }
.hero-visual__chips li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
@keyframes chip-in { from { opacity: 0; scale: .6; } }

@media (min-width: 1021px) {
	.hero-page--visual { --hv: min(520px, 40vw); display: flex; flex-direction: column; justify-content: center; min-height: calc(var(--header-h) + var(--hv) + 140px); }
	.hero-page--visual :is(.hero-page__title, .hero-page__lead) { max-width: calc(100% - var(--hv) - 48px); }
	.hero-visual { position: absolute; right: max(var(--gutter), calc((100% - var(--container)) / 2)); top: calc(50% + var(--header-h) / 2); width: var(--hv); aspect-ratio: 1; translate: 0 -50%; }
	.hero-visual__blob { position: absolute; inset: 9%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .9), transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--tone) 30%, #fff), color-mix(in srgb, var(--tone) 10%, #fff)); animation: hv-morph 16s ease-in-out infinite; }
	.hero-visual__card { position: absolute; left: 50%; top: 50%; width: 32%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); translate: -50% -50%; animation: hv-card 1s var(--ease) 100ms backwards; }
	.hero-visual__card img { width: 52%; height: auto; }
	.hero-visual__icon { width: 52%; aspect-ratio: 1; background: linear-gradient(135deg, var(--tone), color-mix(in srgb, var(--tone) 72%, var(--ink))); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
	.hero-visual__badge { position: absolute; top: -12px; right: -12px; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); color: var(--tone); }
	.hero-visual__badge .shape { width: 100%; height: 100%; stroke-width: 7; }
	.hero-visual__chips li { position: absolute; z-index: 1; animation: chip-in .7s var(--ease) calc(var(--i) * 70ms + 300ms) backwards, hv-drift var(--dur, 13s) ease-in-out var(--delay, 0s) infinite; }
	.hero-visual__chips li:nth-child(1) { top: 2%; left: 16%; }
	.hero-visual__chips li:nth-child(2) { top: 9%; right: 4%; }
	.hero-visual__chips li:nth-child(3) { top: 22%; left: 0; }
	.hero-visual__chips li:nth-child(4) { top: 27%; right: 0; }
	.hero-visual__chips li:nth-child(5) { top: 42%; left: 2%; }
	.hero-visual__chips li:nth-child(6) { top: 47%; right: 2%; }
	.hero-visual__chips li:nth-child(7) { top: 62%; left: 0; }
	.hero-visual__chips li:nth-child(8) { top: 67%; right: 0; }
	.hero-visual__chips li:nth-child(9) { top: 83%; left: 12%; }
	.hero-visual__chips li:nth-child(10) { top: 90%; right: 10%; }
	@keyframes hv-morph { 50% { border-radius: 55% 45% 42% 58% / 58% 52% 48% 42%; rotate: 8deg; } }
	@keyframes hv-drift { 25% { transform: translate(var(--x1, 8px), var(--y1, -8px)); } 50% { transform: translate(var(--x2, 0px), var(--y2, -14px)); } 75% { transform: translate(var(--x3, -8px), var(--y3, -6px)); } }
	@keyframes hv-card { from { opacity: 0; scale: .8; } }
}

@media (max-width: 1020px) {
	.hero-visual__blob, .hero-visual__card { display: none; }
	.hero-visual__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
	.hero-visual__chips li { padding: 6px 12px; font-size: .75rem; box-shadow: var(--shadow-sm); }
}

.crumbs { margin-bottom: clamp(24px, 4vw, 48px); font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--magenta); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Služby – „stack“ karet ---------- */

.service-stack { display: grid; gap: 24px; list-style: none; }
.service-stack__item { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 18px); }
.service-card {
	display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start;
	padding: clamp(28px, 4vw, 52px);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	transition: box-shadow .4s var(--ease), border-color .4s;
	overflow: hidden; position: relative;
}
.service-card::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--tone-soft), transparent 70%); pointer-events: none; }
.service-card:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--tone) 35%, var(--line)); }
.service-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.service-card__shape { width: 72px; height: 72px; color: var(--tone); }
.service-card__num { font-size: .875rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.service-card__title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.service-card__title a { text-decoration: none; }
.service-card__title a:hover { color: var(--tone-ink); }
.service-card__text { color: var(--muted); font-size: 1.0625rem; margin-bottom: 20px; }
.service-card__aside { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; height: 100%; justify-content: space-between; }
.service-card__claim { font-size: 1.1875rem; font-weight: 650; line-height: 1.4; color: var(--ink); padding-left: 18px; border-left: 3px solid var(--tone); margin: 0; }

/* Dlaždice služeb */
.service-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; }
.service-tile {
	display: flex; flex-direction: column; gap: 12px; height: 100%;
	padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
	text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.service-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--tone); }
.service-tile__shape { width: 44px; height: 44px; color: var(--tone); margin-bottom: 8px; }
.service-tile strong { font-size: 1.25rem; color: var(--ink); }
.service-tile span { color: var(--muted); font-size: .96875rem; }
.service-tile .service-tile__more { margin-top: auto; padding-top: 8px; color: var(--tone-ink); font-weight: 650; }

/* ---------- Statistiky ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.stat { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2.5rem, 4.6vw, 3.75rem); line-height: 1; letter-spacing: -.04em; font-weight: 800; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat strong span { color: inherit; font-size: inherit; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: .96875rem; }

/* ---------- Proces ---------- */

.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; counter-reset: step; }
.process__line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); border-radius: 2px; }
.process__line span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); border-radius: 2px; }
.process__step { position: relative; }
.process__num {
	display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px;
	border-radius: 50%; background: #fff; border: 2px solid var(--line);
	font-weight: 750; color: var(--ink); position: relative; z-index: 1;
	transition: border-color .5s, background-color .5s, color .5s;
}
.process__step.is-active .process__num { border-color: transparent; background: var(--ink); color: #fff; }
.process__step p { color: var(--muted); font-size: .96875rem; }

/* Kroky s ikonou (weby) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 650; color: var(--ink); }
.steps li::after { content: counter(s, decimal-leading-zero); margin-left: auto; font-size: .8125rem; color: var(--muted); font-weight: 700; }
.steps img { width: 44px; height: 44px; flex: none; }

/* ---------- Ukázky prací ---------- */

.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: .9375rem; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); list-style: none; }
.case[hidden] { display: none; }
.case__card {
	position: relative; margin: 0; aspect-ratio: 660 / 500; border-radius: var(--radius); overflow: hidden;
	background: var(--bg-soft-2); box-shadow: var(--shadow-sm);
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.case__card:hover { box-shadow: var(--shadow-lg); }
.case__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.case__card:hover .case__img { transform: scale(1.06); }
.case__caption {
	position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 14px;
	padding: 48px 20px 18px;
	background: linear-gradient(180deg, transparent, rgba(24, 2, 50, .85));
	color: #fff;
	transform: translateY(30%); opacity: 0;
	transition: transform .5s var(--ease), opacity .4s;
}
.case__card:hover .case__caption, .case__card:focus-within .case__caption { transform: none; opacity: 1; }
.case__logo { width: auto; height: 30px; max-width: 110px; object-fit: contain; filter: brightness(0) invert(1); }
.case__meta { display: flex; flex-direction: column; line-height: 1.3; border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 14px; }
.case__meta strong { font-size: 1rem; }
.case__meta small { opacity: .75; font-size: .8125rem; }

/* ---------- Výhody ---------- */

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.benefit { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit img { width: 52px; height: 52px; margin-bottom: 20px; }
.benefit p { color: var(--muted); font-size: .96875rem; margin: 0; }
.benefits--3 { grid-template-columns: repeat(3, 1fr); }
.benefits--5 { grid-template-columns: repeat(5, 1fr); }

/* Karty funkcí s ikonou (podstránky) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone, var(--magenta)) 40%, var(--line)); }
.feature img { width: 48px; height: 48px; margin-bottom: 6px; }
/* Bílé logo značky (Heureka, Sklik, Google) v barevné dlaždici tónu sekce */
.feature__brand { display: inline-grid; place-items: center; align-self: flex-start; height: 56px; min-width: 148px; padding: 0 22px; margin-bottom: 6px; border-radius: 14px; background: linear-gradient(135deg, var(--tone, var(--magenta)), color-mix(in srgb, var(--tone, var(--magenta)) 70%, var(--ink))); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--tone, var(--magenta)) 70%, transparent); transition: transform .45s var(--ease); }
.feature .feature__brand img { width: auto; height: 20px; max-width: 110px; margin: 0; }
.feature .feature__brand img[src$="google.svg"] { height: 28px; }
.feature:hover .feature__brand { transform: translateY(-2px) scale(1.03); }
.feature h3 { font-size: 1.125rem; margin: 0; }
.feature p { color: var(--muted); font-size: .9375rem; margin: 0; }
.feature ul { list-style: none; display: grid; gap: 6px; margin-top: 8px; font-size: .9375rem; }
.feature ul li { position: relative; padding-left: 22px; }
.feature ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--tone, var(--magenta)); opacity: .8; }

/* Ukázka odpovědi AI asistenta (AI SEO audit) */
.ai-chat { margin: 0; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ai-chat__q { margin-left: auto; max-width: 85%; width: fit-content; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 600; line-height: 1.45; }
.ai-chat__a { display: flex; gap: 12px; margin-top: 16px; font-size: .9375rem; line-height: 1.5; color: var(--text); }
.ai-chat__a p { margin: 0 0 10px; }
.ai-chat__avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; }
.ai-chat ol { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; }
.ai-chat li { padding: 8px 10px; border-radius: 10px; }
.ai-chat li.is-you { background: var(--tone-soft, rgba(227, 28, 121, .09)); outline: 1.5px solid var(--tone, var(--magenta)); }
.ai-chat li strong { color: var(--ink); }
.ai-chat__src { display: block; font-size: .75rem; color: var(--muted); }
.ai-chat figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

/* Srovnání dvou přístupů vedle sebe */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin-inline: auto; }
.compare__col { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.compare__col--accent { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg); }
.compare__title { margin: 0 0 16px; font-size: 1.25rem; font-weight: 750; color: var(--ink); }
.compare__col--accent .compare__title { color: #fff; }
.compare ul { display: grid; gap: 12px; list-style: none; }
.compare li { position: relative; padding-left: 22px; font-size: .96875rem; }
.compare li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.compare__col--accent li::before { background: var(--tone, var(--magenta)); }
.compare__link { display: inline-block; margin-top: 18px; font-weight: 650; color: var(--tone-ink, var(--magenta)); text-decoration: none; }
.compare__link:hover { text-decoration: underline; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* Dvousloupcový obsah */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
.split__media--float img { border-radius: 0; filter: drop-shadow(0 30px 50px rgba(24, 2, 50, .18)); }
.prose-lg p { font-size: 1.125rem; color: var(--text); }

.checklist { display: grid; gap: 12px; list-style: none; margin: 24px 0 0; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 550; color: var(--ink); }
.checklist li::before {
	content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%;
	background: var(--tone-soft, rgba(227, 28, 121, .1)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23180232' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Fakta s ikonou */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.facts--stack { grid-template-columns: 1fr 1fr; }
.fact {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius);
	background: var(--ink); color: rgba(255, 255, 255, .82);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
	transition: box-shadow .5s var(--ease);
	will-change: translate;
}
/* jemná barevná záře v rohu + odlesk pod kurzorem (souřadnice --mx/--my nastavuje app.js) */
.fact::before { content: ""; position: absolute; z-index: -1; inset: auto -30% -55% auto; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone, var(--magenta)) 38%, transparent), transparent 68%); opacity: .55; transition: opacity .5s, scale .8s var(--ease); }
.fact::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 70%); opacity: 0; transition: opacity .4s; }
.fact:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 24px 48px -20px rgba(24, 2, 50, .55); }
.fact:hover::before { opacity: 1; scale: 1.25; }
.fact:hover::after { opacity: 1; }
.fact img { width: 44px; height: 44px; animation: fact-bob 5s ease-in-out infinite; }
.fact:nth-child(2n) img { animation-delay: -2.5s; }
.fact strong { color: #fff; font-size: 2.25rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fact strong.is-counted { transform-origin: 0 50%; animation: fact-pop .5s var(--ease); }
.fact__goal { display: inline-block; margin-left: 6px; padding: 4px 10px; border-radius: 999px; vertical-align: middle; background: rgba(255, 255, 255, .1); font-size: .8125rem; font-weight: 650; letter-spacing: 0; color: rgba(255, 255, 255, .85); }
.fact p { margin: 0; font-size: .9375rem; }
@keyframes fact-bob { 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes fact-pop { 40% { transform: scale(1.06); } }

/* Technologie */
.tech { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin-top: 28px; }
.tech li { display: grid; place-items: center; width: 64px; height: 64px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.tech li:hover { transform: translateY(-4px) rotate(-3deg); box-shadow: var(--shadow); }
.tech img { width: 100%; height: 100%; object-fit: contain; }

/* Číslované důvody */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; list-style: none; }
.reasons li { background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 6px; transition: background-color .3s; }
.reasons li:hover { background: var(--bg-soft); }
.reasons span { font-size: .8125rem; font-weight: 700; color: var(--magenta); letter-spacing: .1em; }
.reasons strong { font-size: 1.125rem; color: var(--ink); }
.reasons p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* Doplňkové služby – cloud tagů */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tag-cloud li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: transform .3s var(--ease), border-color .3s, background-color .3s; }
.tag-cloud li:hover { transform: translateY(-3px); border-color: var(--magenta); }
/* Štítky s vysvětlivkou */
.tag-cloud--tips li { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: help; outline-offset: 2px; }
.tag-cloud--tips li::after { content: "?"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-soft-2); font-size: .6875rem; font-weight: 800; color: var(--muted); transition: background-color .25s, color .25s; }
.tag-cloud--tips li:is(:hover, :focus-visible, :focus) { z-index: 5; border-color: var(--magenta); background: #fff; box-shadow: var(--shadow); }
.tag-cloud--tips li:is(:hover, :focus-visible, :focus)::after { background: var(--magenta); color: #fff; }
.tag-cloud__tip {
	position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 10;
	width: max-content; max-width: min(300px, calc(100vw - 32px));
	padding: 12px 16px; border-radius: 14px;
	background: var(--ink); color: rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg);
	font-size: .875rem; font-weight: 500; line-height: 1.5; text-align: left; white-space: normal;
	opacity: 0; visibility: hidden; pointer-events: none;
	transform: translate(calc(-50% + var(--tip-x, 0px)), 6px);
	transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.tag-cloud__tip::after { content: ""; position: absolute; top: 100%; left: calc(50% - var(--tip-x, 0px)); margin-left: -7px; border: 7px solid transparent; border-top-color: var(--ink); }
.tag-cloud--tips li:is(:hover, :focus-visible, :focus) .tag-cloud__tip { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--tip-x, 0px)), 0); }

/* Odkazy na specializace */
.sub-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; list-style: none; }
.sub-link { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.sub-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--magenta); }
.sub-link img { width: 40px; height: 40px; flex: none; }
.sub-link strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.sub-link small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.sub-link__arrow { margin-left: auto; font-size: 1.25rem; color: var(--magenta); transition: transform .3s var(--ease); }
.sub-link:hover .sub-link__arrow { transform: translateX(4px); }

/* Detail reference */
.case__link { color: inherit; text-decoration: none; }
.case__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.case-story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-story__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.case-story__img img { width: 100%; }
.case-story__aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius); background: var(--bg-soft); }
.case-story__aside dl { margin: 0; display: grid; gap: 14px; }
.case-story__aside dt { font-size: .8125rem; color: var(--muted); }
.case-story__aside dd { margin: 0; font-weight: 650; color: var(--ink); }
.case-story__logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 20px; }

/* Mřížka drobných služeb */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; }
.mini-grid li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.mini-grid li:hover { transform: translateY(-3px); border-color: var(--tone, var(--magenta)); box-shadow: var(--shadow-sm); }
.mini-grid img { width: 36px; height: 36px; flex: none; }

/* Města */
.cities { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 940px; margin-inline: auto; gap: 20px; list-style: none; text-align: center; }
.cities li { padding: 32px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.cities img { width: 96px; height: auto; margin: 0 auto 16px; }
.cities strong { color: var(--ink); font-size: 1.125rem; }

/* Ke stažení */
.downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.downloads li { display: flex; flex-direction: column; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.downloads__preview { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); background: var(--bg-soft); padding: 20px; }
.downloads__preview--dark { background: var(--ink); }

/* ---------- Marquee log ---------- */

.marquee {
	--gap: clamp(16px, 3vw, 32px);
	display: flex; gap: var(--gap); overflow: hidden; user-select: none;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: var(--gap); }
.marquee__track { display: flex; gap: var(--gap); flex: none; min-width: 100%; justify-content: space-around; list-style: none; animation: marquee 60s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee li { flex: none; width: 180px; height: 80px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 18px; }
.marquee img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee li:hover img { filter: none; opacity: 1; }

.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; }
.logo-grid li { display: grid; place-items: center; aspect-ratio: 9 / 4; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.logo-grid img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
/* Poslední dlaždice „1 800+ klientů“ – dorovná poslední řadu mřížky */
.logo-grid li.logo-grid__more { grid-column: span var(--s6, 1); aspect-ratio: auto; display: flex; align-items: center; justify-content: center; gap: 6px 16px; flex-wrap: wrap; padding: 14px 24px; border: 0; background: var(--ink); color: rgba(255, 255, 255, .8); text-align: left; }
.logo-grid__more strong { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.logo-grid__more strong span { color: inherit; }
.logo-grid__more > span { max-width: 240px; font-size: .9375rem; font-weight: 600; line-height: 1.35; }
/* Loga médií – PNG/WebP s velkým okrajem, proto výrazně větší než loga partnerů */
.partners.partners--media { gap: 8px 16px; }
.partners.partners--media img { height: 80px; max-width: 180px; filter: grayscale(1) brightness(0); opacity: .35; }
.partners.partners--media li:hover img { filter: grayscale(1) brightness(0); opacity: .75; }

.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; list-style: none; }
.partners img { height: 36px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.partners li:hover img { filter: none; opacity: 1; }
/* Bílá SVG loga partnerů (kreslená pro tmavé pozadí) – na světlém pozadí se invertují do tmava */
.partners--mono { gap: 32px clamp(28px, 3.6vw, 44px); }
.partners--mono img { height: 38px; max-width: 132px; filter: invert(1); opacity: .5; transition: opacity .3s, transform .35s var(--ease); }
.partners--mono li:hover img { filter: invert(1); opacity: .9; transform: translateY(-3px); }
.partners--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.partners--grid li { display: grid; place-items: center; min-height: 104px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .35s var(--ease); }
.partners--grid li:hover { border-color: color-mix(in srgb, var(--tone, var(--magenta)) 40%, var(--line)); box-shadow: var(--shadow); }
.partners-label { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 28px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.partners-label::before, .partners-label::after { content: ""; flex: 0 1 80px; height: 1px; background: var(--line-2); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.0625rem; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--bg-soft-2); transition: background-color .3s, transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), background-color .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--magenta); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 26px 22px; color: var(--muted); }
.faq__a p { margin: 0; }
@supports (interpolate-size: allow-keywords) {
	:root { interpolate-size: allow-keywords; }
	.faq__item::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
	.faq__item[open]::details-content { height: auto; }
}

/* ---------- Formulář ---------- */

.section--form { background: var(--bg-soft); overflow: hidden; }
.section--form::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 178, 169, .14), transparent 65%); pointer-events: none; }
.form-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; position: relative; }
.form-layout__form { padding: clamp(24px, 4vw, 44px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-layout__intro { position: sticky; top: calc(var(--header-h) + 32px); }

.contact-list { display: grid; gap: 14px; list-style: none; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-list img { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(142, 192, 75, .14); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .8125rem; }
.contact-list a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.0625rem; word-break: break-word; }
.contact-list a:hover { color: var(--magenta); }

.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__errors { list-style: none; margin-bottom: 18px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fde8f1; color: var(--magenta-dark); font-weight: 600; font-size: .9375rem; }
.field { position: relative; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field__input {
	width: 100%; min-height: 60px; padding: 26px 18px 10px;
	border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff;
	font-size: 1rem; color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.field__input--area { min-height: 150px; resize: vertical; padding-top: 30px; line-height: 1.5; }
.field__input:hover { border-color: #bdb6d6; }
.field__input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(159, 92, 192, .15); }
.field__label {
	position: absolute; left: 19px; top: 19px; color: var(--muted); font-size: 1rem; pointer-events: none;
	transform-origin: 0 0; transition: transform .2s var(--ease), color .2s;
}
.field__input:focus + .field__label, .field__input:not(:placeholder-shown) + .field__label { transform: translateY(-11px) scale(.78); color: var(--purple); font-weight: 600; }
.field__input--area + .field__label { top: 20px; }
.req { color: var(--magenta); }
.field__error { margin-top: 6px; font-size: .875rem; color: var(--magenta-dark); font-weight: 600; }
.field__input.has-error, .field__input[aria-invalid="true"] { border-color: var(--magenta); }

.dropzone {
	display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer;
	border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--bg-soft);
	transition: border-color .2s, background-color .2s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--purple); background: rgba(159, 92, 192, .06); }
.dropzone.has-file { border-style: solid; border-color: var(--teal); background: rgba(0, 178, 169, .06); }
.dropzone__icon { color: var(--purple); flex: none; }
.dropzone__text { display: flex; flex-direction: column; min-width: 0; }
.dropzone__text strong { color: var(--ink); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone__text small { color: var(--muted); font-size: .8125rem; }
.dropzone__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { outline: 3px solid var(--purple); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9375rem; }
.check__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 22px; height: 22px; flex: none; border: 1.5px solid var(--line-2); border-radius: 6px; background: #fff; margin-top: 1px; transition: background-color .2s, border-color .2s; }
.check__input:checked + .check__box { background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--purple); }
.check__input:focus-visible + .check__box { outline: 3px solid var(--purple); outline-offset: 2px; }
.check__text small { color: var(--muted); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cform__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.cform__note { flex: 1 1 260px; margin: 0; font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.cform__note a { color: var(--ink); }
.cform button[disabled] { opacity: .7; pointer-events: none; }

.flash { margin: calc(var(--header-h) + 20px) 0 0; padding: 14px 20px; border-radius: var(--radius-sm); background: rgba(0, 178, 169, .1); color: #00625d; font-weight: 600; }

/* ---------- Právní texty (GDPR, VOP) ---------- */

.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--radius); background: var(--bg-soft); font-size: .875rem; }
.legal__toc p { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.legal__toc ol { list-style: none; display: grid; gap: 4px; }
.legal__toc a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--muted); transition: background-color .2s, color .2s; }
.legal__toc a:hover, .legal__toc a.is-current { background: #fff; color: var(--ink); }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 2.2em 0 .7em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: .45em; }
.prose ol { list-style: decimal; }
.prose ol.clauses { list-style: none; padding: 0; counter-reset: cl; }
.prose ol.clauses > li { counter-increment: cl; position: relative; padding-left: 3.4em; }
.prose ol.clauses > li::before { content: attr(data-n) counter(cl) "."; position: absolute; left: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.prose a { color: var(--magenta-dark); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--ink); font-weight: 650; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 1.4em; }
.table-wrap table { margin: 0; }
.note { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--bg-soft); border-left: 3px solid var(--purple); }

/* ---------- Kontakt ---------- */

.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.info-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-card h2 { font-size: 1.125rem; margin-bottom: 12px; }
.info-card p { margin: 0; color: var(--muted); font-size: .96875rem; }
.info-card strong { color: var(--ink); }
.contact-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.contact-big a { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.contact-big a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-big small { color: var(--muted); }
.contact-big strong { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: var(--ink); word-break: break-word; }
.contact-big img { width: 36px; height: 36px; margin-bottom: 10px; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--bg-soft); display: grid; place-items: center; text-align: center; padding: 24px; }

/* ---------- Kariéra / média / děkujeme ---------- */

.notice { display: flex; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--grad-soft); border: 1px solid var(--line); }
.notice > img { width: 64px; height: 64px; flex: none; }
/* Symbol značky v barevné dlaždici – barvu bere z tónu stránky (Kariéra = magenta) */
.notice__mark { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 22px; background-image: linear-gradient(110deg, var(--magenta), #c81a8f); box-shadow: 0 8px 24px -8px rgba(227, 28, 121, .55); }
.notice__mark img { width: 38px; height: 38px; transition: transform .8s var(--ease); }
.notice:hover .notice__mark img { transform: rotate(-90deg); }
.notice h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: .3em; }
.notice p { margin: 0; color: var(--muted); }

.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) 0 80px; }
.thanks__icon { width: 96px; height: 96px; margin: 0 auto 28px; color: var(--teal); }
.thanks__icon circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease) .2s forwards; }
.thanks__icon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s var(--ease) 1s forwards; }

.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) 0 80px; }
.error-page__code { font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; margin: 0 0 .1em; }

/* ---------- 404 – „výsledky vyhledávání“ + easter egg se symboly z loga ---------- */

.error-404 { position: relative; overflow: hidden; isolation: isolate; text-align: center; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 70%); }
.error-404 .hero-page__bg { z-index: -1; }
.error-404__inner { position: relative; }
.error-404__code { display: flex; align-items: center; justify-content: center; gap: .04em; margin: 0 0 .15em; font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--ink); }
.error-404__code > span:not(.error-404__zero) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Nula = lupa ze symbolu kruhu, která „hledá“ */
/* kruh lupy (62 % SVG) má výšku číslic ~ .72em → SVG .9em; rukojeť přečnívá pod účaří, posun nahoru vyrovná kruh s číslicemi */
.error-404__zero { display: block; width: .9em; height: .9em; margin: 0 -.06em 0 .02em; translate: 0 .1em; animation: lens-search 6s ease-in-out infinite; }
.error-404__zero svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes lens-search { 0%, 100% { transform: none; } 25% { transform: translate(-.05em, -.03em) rotate(-6deg); } 50% { transform: translate(.04em, .02em) rotate(5deg); } 75% { transform: translate(-.02em, .03em) rotate(-2deg); } }

.serp { max-width: 680px; margin: 36px auto 0; padding: clamp(18px, 3vw, 28px); text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.serp__bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.serp__query { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.serp__query::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--magenta); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.serp__stats { margin: 14px 4px 6px; font-size: .8125rem; color: var(--muted); }
.serp__results { display: grid; list-style: none; }
.serp__results li { padding: 14px 4px; border-top: 1px solid var(--line); }
.serp__results li:first-child { border-top: 0; }
.serp__results a { display: block; text-decoration: none; }
.serp__results cite { display: block; font-style: normal; font-size: .8125rem; color: var(--green-ink); }
.serp__results strong { display: block; font-size: 1.125rem; line-height: 1.35; color: #3d1bc4; }
.serp__results a:hover strong { text-decoration: underline; }
.serp__results p { margin: 4px 0 0; font-size: .9375rem; color: var(--muted); }

.egg-hint { display: inline-block; margin: 32px auto 0; line-height: 1.9; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px dashed var(--line-2); font-size: .9375rem; color: var(--muted); }
.egg-hint svg { display: inline-block; margin-right: 6px; vertical-align: -3px; color: var(--purple); }
.egg-hint[hidden] { display: none; }
.egg-hint__count { margin-left: 6px; }
.egg-hint strong { color: var(--ink); }
.egg-hint__count { padding: 2px 10px; border-radius: 999px; background: var(--bg-soft-2); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.egg-hint.is-bump .egg-hint__count { animation: fact-pop .5s var(--ease); background: var(--magenta); color: #fff; }

/* Schované symboly – nenápadně plují, po najetí se trochu prozradí */
.egg { position: absolute; z-index: 2; width: 34px; height: 34px; padding: 4px; border: 0; border-radius: 10px; background: none; color: var(--tone); cursor: pointer; opacity: .28; animation: egg-float var(--dur, 9s) ease-in-out infinite; transition: opacity .3s, scale .3s var(--ease); }
.egg .shape { width: 100%; height: 100%; stroke-width: 5; }
.egg:hover, .egg:focus-visible { opacity: .9; scale: 1.2; }
.egg--1 { top: 18%; left: 7%; --dur: 8s; }
.egg--2 { top: 62%; right: 6%; --dur: 10s; animation-delay: -3s; }
.egg--3 { bottom: 9%; left: 12%; --dur: 11s; animation-delay: -5s; }
.egg--4 { top: 30%; right: 14%; --dur: 9s; animation-delay: -2s; }
.egg.is-found { opacity: 1; scale: 1.5; pointer-events: none; animation: egg-found .7s var(--ease) forwards; }
@keyframes egg-float { 50% { translate: 10px -14px; rotate: 18deg; } }
@keyframes egg-found { 40% { scale: 2; } 100% { scale: 0; opacity: 0; } }

.egg-win { max-width: 640px; margin: 32px auto 0; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: rise .7s var(--ease); }
.egg-win[hidden] { display: none; }
.egg-win .eyebrow { justify-content: center; }
.egg-win h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.egg-win > p:not(.eyebrow) { color: var(--muted); }

/* Ohňostroj v barvách značky */
.confetti { position: fixed; inset: 0; z-index: 500; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; left: var(--x); top: -20px; width: var(--s); height: calc(var(--s) * .45); border-radius: 2px; background: var(--c); animation: confetti-fall var(--t) cubic-bezier(.25, .6, .4, 1) var(--d) forwards; }
.confetti i:nth-child(3n) { border-radius: 50%; height: var(--s); }
@keyframes confetti-fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--r)); } }

@media (max-width: 640px) {
	.egg { width: 30px; height: 30px; }
	.egg--1 { top: 12%; left: 4%; }
	.egg--2 { top: 48%; right: 3%; }
	.egg--3 { bottom: 5%; left: 6%; }
	.egg--4 { top: 24%; right: 5%; }
	.serp__results strong { font-size: 1rem; }
}

/* ---------- Footer ---------- */

/* Závěrečná výzva – světlý pás s jemnými barevnými odlesky značky, oddělí obsah od tmavé patičky */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 7vw, 96px); background: #fff; border-top: 1px solid var(--line); }
.cta-band::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(ellipse 45% 90% at 0% 100%, rgba(227, 28, 121, .07), transparent 70%),
		radial-gradient(ellipse 40% 90% at 100% 0%, rgba(0, 178, 169, .08), transparent 70%),
		linear-gradient(180deg, rgba(24, 2, 50, .015), rgba(24, 2, 50, .03));
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__claim { font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 750; color: var(--ink); max-width: 640px; margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band__note { margin: 14px 0 0; color: var(--muted); font-size: 1rem; }

/* Sliby u formuláře – rychlá reakce, nezávaznost, GDPR */
.form-promise { display: grid; gap: 10px; list-style: none; margin: 24px 0 0; }
.form-promise li { position: relative; padding-left: 30px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.form-promise li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Mobilní lišta s rychlým kontaktem (jen do 1020 px) */
.mobile-cta { display: none; }
@media (max-width: 1020px) {
	.mobile-cta {
		position: fixed; z-index: 150; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
		display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px;
		border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		border: 1px solid var(--line); box-shadow: var(--shadow-lg);
		transform: translateY(0); transition: transform .45s var(--ease), opacity .3s;
	}
	.mobile-cta[hidden] { display: grid; transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; visibility: hidden; }
	.mobile-cta .btn { min-height: 44px; }
}

/* Tmavá patička – navazuje na patičku seooptimalizacesro.cz (bílé logo, razítko, loga partnerů) */
.footer {
	--f-text: rgba(255, 255, 255, .72); --f-muted: rgba(255, 255, 255, .5); --f-line: rgba(255, 255, 255, .1);
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(56px, 7vw, 96px) 0 28px; background: var(--ink); color: var(--f-text);
}
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.footer::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(159, 92, 192, .22), transparent 65%); pointer-events: none; }
.footer :focus-visible { outline-color: #fff; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { color: rgba(255, 255, 255, .9); text-decoration: none; font-size: 1rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__col--brand > p { max-width: 360px; margin: 20px 0 40px; font-size: .9375rem; color: var(--f-muted); }
.footer__title { margin: 6px 0 28px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
/* Odkazy v seznamech služeb – magenta linka před textem (jako na seooptimalizacesro.cz) */
nav.footer__col ul { display: grid; gap: 1px; }
.footer__col:not(.footer__col--brand) li a { display: inline-flex; align-items: center; gap: 34px; font-size: .9rem; }
.footer__col:not(.footer__col--brand) li a::before { content: ""; flex: none; width: 34px; height: 2px; border-radius: 2px; background: var(--magenta); transition: width .35s var(--ease), background-color .3s; }
.footer__col:not(.footer__col--brand) li a:hover::before { width: 46px; background: var(--green); }
.footer__col:not(.footer__col--brand) li a:hover { gap: 22px; }
.footer__contact { gap: 22px !important; }
.footer__contact li { display: flex; align-items: flex-start; gap: 22px; font-size: .9rem; line-height: 1.8; color: rgba(255, 255, 255, .9); }
.footer__contact .footer__hours { opacity: .6; }
.footer__contact address { color: rgba(255, 255, 255, .9); }
.footer__contact a { color: rgba(255, 255, 255, .9); }
.footer__stack { display: grid; gap: 2px; }
.footer__stack a { font-weight: 700; color: rgb(142, 192, 75); }
.footer__stack a:hover { color: #a9d46e; }
/* Ikony kontaktů – jen šedé piktogramy bez podkladu */
.footer__ico { display: grid; place-items: center; flex: none; width: 22px; height: 1.8em; opacity: .5; transition: opacity .3s; }
.footer__ico img, .footer__ico svg { width: 20px; height: 20px; object-fit: contain; }
.footer__contact li:hover .footer__ico { opacity: .9; }

.footer__links { margin-top: clamp(40px, 5vw, 64px); padding-block: 22px; border-block: 1px solid var(--f-line); }
.footer__links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 4px; list-style: none; }
.footer__links li { display: flex; align-items: center; }
.footer__links li + li::before { content: ""; width: 4px; height: 4px; margin-right: 4px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.footer__links a, .footer__links .linklike { padding: 4px 22px; border-radius: 999px; color: var(--f-text); font-size: .85rem; text-decoration: none; transition: color .2s, background-color .2s; }
.footer__links a:hover, .footer__links .linklike:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.footer__partners { padding-block: clamp(28px, 4vw, 40px); text-align: center; }
.footer__partners-label { margin: 0 0 18px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .3; }
.footer__partners ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px clamp(28px, 4vw, 56px); list-style: none; }
.footer__partners img { height: 24px; width: auto; max-width: 120px; object-fit: contain; opacity: .6; transition: opacity .3s, transform .3s var(--ease); }
.footer__partners li:hover img { opacity: 1; transform: translateY(-2px); }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--f-line); font-size: .875rem; color: var(--f-muted); }
.footer__bottom p { margin: 0; font-size: 13px; }
.footer__stamp { width: 104px; height: auto; }

/* ---------- Popup „Audit zdarma“ ---------- */

html.audit-open { overflow: hidden; }
.audit [hidden] { display: none !important; } /* .field, .audit__steps apod. mají vlastní display */
.audit {
	width: min(980px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
	padding: 0; border: 0; border-radius: 28px; overflow: hidden;
	background: #fff; color: var(--text); box-shadow: 0 40px 120px -20px rgba(24, 2, 50, .45);
}
.audit::backdrop { background: rgba(24, 2, 50, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.audit[open] { animation: audit-in .42s var(--ease); }
.audit[open]::backdrop { animation: audit-fade .3s ease; }
.audit.is-closing { animation: audit-out .18s ease forwards; }
.audit.is-closing::backdrop { animation: audit-fade .18s ease reverse forwards; }
@keyframes audit-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes audit-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes audit-fade { from { opacity: 0; } }

.audit__inner { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); max-height: calc(100dvh - 32px); }
.audit__close { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-soft-2); color: var(--ink); cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.audit__close:hover { background: var(--line-2); transform: rotate(90deg); }

/* Levý panel – hodnota nabídky */
.audit__side {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; gap: 14px;
	padding: clamp(28px, 3.4vw, 44px); background: var(--ink); color: rgba(255, 255, 255, .78);
}
.audit__side::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -180px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 55%, transparent), transparent 65%); opacity: .55; }
.audit__side::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; left: -160px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 28, 121, .35), transparent 65%); opacity: .5; }
.audit__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.audit__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.4s infinite; }
.audit__title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.12; color: #fff; text-wrap: balance; }
.audit__lead { margin: 0; font-size: .96875rem; line-height: 1.55; }
.audit__benefits { display: grid; gap: 10px; margin: 6px 0 0; list-style: none; }
.audit__benefits li { position: relative; padding-left: 30px; font-weight: 650; color: #fff; }
.audit__benefits li::before { content: ""; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; background: var(--tone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.audit__trust { margin: auto 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.audit__trust strong { color: #fff; }

/* Pravý panel – formulář */
.audit__body { position: relative; overflow-y: auto; padding: clamp(24px, 3vw, 40px); padding-top: clamp(28px, 3vw, 40px); overscroll-behavior: contain; }
.audit__steps { display: flex; gap: 8px; margin: 0 48px 20px 0; padding: 0; list-style: none; font-size: .8125rem; font-weight: 650; color: var(--muted); }
.audit__steps li { display: inline-flex; align-items: center; gap: 8px; }
.audit__steps li + li::before { content: ""; width: 28px; height: 2px; margin-right: 2px; border-radius: 2px; background: var(--line-2); }
.audit__steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-soft-2); font-size: .75rem; transition: background-color .3s, color .3s; }
.audit__steps .is-current { color: var(--ink); }
.audit__steps .is-current span { background: var(--ink); color: #fff; }
.audit__steps .is-done span { background: var(--teal); color: #fff; }
.audit__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.audit__form > *, .audit__grid > * { min-width: 0; } /* dlouhý název souboru nebo URL nesmí roztáhnout formulář do šířky */
.audit__body { overflow-x: hidden; }
/* Desktop: každý sloupec se vejde do výšky okna, formulář se v případě potřeby posouvá (nízké monitory) */
@media (min-width: 761px) {
	.audit__body, .audit__side { max-height: calc(100dvh - 32px); }
	.audit__body { overflow-y: auto; }
	.audit__side { overflow: hidden; }
}
@media (min-width: 761px) and (max-height: 780px) {
	.audit__side { gap: 10px; padding: 26px 30px; }
	.audit__title { font-size: 1.5rem; }
	.audit__lead { font-size: .875rem; }
	.audit__benefits { gap: 6px; font-size: .9375rem; }
	.audit__trust { display: none; }
	.audit__body { padding: 22px 28px; }
	.audit__steps { margin-bottom: 14px; }
	.audit__form { gap: 10px; }
	.audit-opt { padding: 9px 12px; }
}
.audit__drop .dropzone__text { flex: 1; min-width: 0; }
.audit__summary span { overflow: hidden; text-overflow: ellipsis; }
.audit__form.is-entering, .audit__done.is-entering { animation: audit-step .32s var(--ease); }
@keyframes audit-step { from { opacity: 0; transform: translateX(14px); } }
.audit__form[hidden], .audit__done[hidden] { display: none; }
.audit__fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.audit__fieldset[hidden] { display: none; }
.audit__legend { margin-bottom: 10px; padding: 0; font-weight: 700; color: var(--ink); font-size: .9375rem; }
.audit__optional { font-weight: 500; color: var(--muted); font-size: .8125rem; }
.audit__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.audit-chip { position: relative; cursor: pointer; }
.audit-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.audit-chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: .875rem; font-weight: 600; color: var(--ink); line-height: 1.3; transition: border-color .2s, background-color .2s, color .2s; }
.audit-chip:hover span { border-color: var(--ink); }
.audit-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.audit-chip input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }
.audit__chips--intent .audit-chip span { font-size: .8125rem; padding: 7px 12px; }
.audit .field__input { min-height: 54px; padding: 22px 16px 8px; font-size: .96875rem; }
.audit .field__label { top: 16px; left: 17px; right: 17px; font-size: .96875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* popisek vždy na 1 řádek – nesmí překrýt text */
.audit .field__input:focus + .field__label, .audit .field__input:not(:placeholder-shown) + .field__label { transform: translateY(-9px) scale(.76); }
.audit .field__input[aria-invalid="true"] { border-color: var(--magenta); }
.audit__area-sm { min-height: 84px !important; padding-top: 26px !important; }
.audit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.audit__hint { margin: 6px 2px 0; font-size: .8125rem; color: var(--muted); }
.audit__field-error { margin: 6px 2px 0; font-size: .8125rem; font-weight: 600; color: var(--magenta-dark); }
.audit__field-error[hidden], .audit__error[hidden] { display: none; }
.audit__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fde8f1; color: var(--magenta-dark); font-size: .875rem; font-weight: 600; }
.audit__summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); font-size: .875rem; font-weight: 600; color: var(--ink); }
.audit__summary span { min-width: 0; overflow-wrap: anywhere; }
.audit__summary .linklike { margin-left: auto; color: var(--magenta-dark); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.audit__options { display: grid; gap: 8px; }
.audit-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.audit-opt[hidden] { display: none; }
.audit-opt:hover { border-color: var(--line-2); background: var(--bg-soft); }
.audit-opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.audit-opt__box { flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--line-2); border-radius: 7px; background: #fff; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.audit-opt__input:checked + .audit-opt__box { background: var(--tone, var(--purple)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--tone, var(--purple)); transform: scale(1.06); }
.audit-opt__input:focus-visible + .audit-opt__box { outline: 3px solid var(--purple); outline-offset: 2px; }
.audit-opt:has(.audit-opt__input:checked) { border-color: var(--tone, var(--purple)); background: var(--tone-soft, var(--bg-soft)); }
.audit-opt__text { display: grid; gap: 2px; min-width: 0; }
.audit-opt__text strong { font-size: .9375rem; color: var(--ink); }
.audit-opt__text small { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.audit-opt__hint { display: none; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: #fff; font-style: normal; font-size: .8125rem; line-height: 1.45; color: var(--text); }
.audit-opt__input:checked ~ .audit-opt__text .audit-opt__hint { display: block; animation: audit-step .3s var(--ease); }
.audit__drop { padding: 14px 16px; }
.audit__video { margin-top: 10px; }
.audit__consents { display: grid; gap: 10px; }
.audit__consents .check { font-size: .84375rem; line-height: 1.45; }
.audit__consents .check a { color: var(--ink); }
.audit__actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 4px; }
.audit__submit { width: 100%; }
.audit__submit[aria-busy] { opacity: .75; pointer-events: none; }
.audit__submit[aria-busy] svg { animation: spin 1s linear infinite; }
.audit__note { margin: 0; text-align: center; font-size: .8125rem; color: var(--muted); }

.audit__done { display: grid; gap: 14px; justify-items: start; outline: none; }
.audit__done-icon { width: 64px; height: 64px; color: var(--teal); }
.audit__done h3 { margin: 0; font-size: 1.5rem; }
.audit__done p { margin: 0; color: var(--muted); }
.audit__flow { display: grid; gap: 0; margin: 4px 0; padding: 0; list-style: none; width: 100%; }
.audit__flow li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 600; color: var(--ink); }
.audit__flow li + li::before { content: ""; position: absolute; left: 13px; top: -10px; height: 20px; width: 2px; background: var(--line-2); }
.audit__flow span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft-2); font-size: .8125rem; }
.audit__flow .is-done span { background: var(--teal); color: #fff; }
.audit__deep-note { padding: 10px 14px; border-radius: 12px; background: var(--tone-soft, var(--bg-soft)); color: var(--ink) !important; font-weight: 600; font-size: .875rem; }
.audit__deep-note[hidden] { display: none; }

/* Mobilní nenápadná nabídka (nad lištou s rychlým kontaktem) */
.audit-nudge { position: fixed; z-index: 160; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); animation: rise .5s var(--ease); }
.audit-nudge[hidden] { display: none; }
.audit-nudge__open { flex: 1; display: grid; gap: 2px; padding: 6px 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.audit-nudge__open strong { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tone); }
.audit-nudge__open span { font-size: .9375rem; font-weight: 650; line-height: 1.3; }
.audit-nudge__close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
@media (min-width: 1021px) { .audit-nudge { display: none !important; } }

/* Mobil: popup jako panel zespodu, levý panel zkrácený na nadpis */
@media (max-width: 760px) {
	.audit { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
	.audit[open] { animation: audit-sheet .38s var(--ease); }
	.audit.is-closing { animation: audit-sheet-out .18s ease forwards; }
	@keyframes audit-sheet { from { transform: translateY(100%); } }
	@keyframes audit-sheet-out { to { transform: translateY(100%); } }
	.audit__inner { grid-template-columns: 1fr; max-height: 92dvh; overflow-y: auto; }
	.audit__body { overflow: visible; padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }
	.audit__side { gap: 8px; padding: 22px 64px 20px 18px; }
	.audit__lead { font-size: .875rem; }
	.audit__benefits, .audit__trust { display: none; }
	.audit__title { font-size: 1.3rem; }
	.audit__close { background: rgba(255, 255, 255, .14); color: #fff; }
	.audit__grid { grid-template-columns: 1fr; }
}

/* ---------- Cookies ---------- */

.cookie {
	position: fixed; z-index: 300; left: 16px; right: 16px; bottom: 16px;
	max-width: 980px; margin-inline: auto;
	padding: 22px 24px; border-radius: var(--radius);
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px);
	border: 1px solid var(--line); box-shadow: var(--shadow-lg);
	animation: rise .6s var(--ease) both;
}
.cookie[hidden] { display: none; }
.cookie__inner { display: flex; align-items: center; gap: 24px; }
.cookie__title { font-weight: 750; color: var(--ink); margin-bottom: 4px; }
.cookie__text p { margin: 0; font-size: .9rem; color: var(--muted); }
.cookie__text p + p { margin-top: 2px; }
.cookie__text a { color: var(--ink); }
.cookie__actions { display: flex; gap: 8px; flex: none; }

.cookie-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--text); }
.cookie-modal::backdrop { background: rgba(24, 2, 50, .4); backdrop-filter: blur(4px); }
.cookie-modal[open] { animation: rise .45s var(--ease); }
.cookie-modal__inner { padding: clamp(22px, 4vw, 32px); }
.cookie-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cookie-modal__title { font-size: 1.5rem; margin: 0; }
.cookie-modal__close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg-soft-2); cursor: pointer; }
.cookie-modal p { color: var(--muted); font-size: .9375rem; }
.cookie-modal__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 22px; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.consent-row strong { display: block; color: var(--ink); }
.consent-row small { display: block; color: var(--muted); font-size: .84375rem; line-height: 1.45; }

.switch { position: relative; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { display: block; width: 48px; height: 28px; border-radius: 999px; background: var(--line-2); transition: background-color .25s; position: relative; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.switch input:checked + .switch__track { background: var(--teal); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:disabled + .switch__track { opacity: .55; cursor: not-allowed; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--purple); outline-offset: 2px; }

/* ---------- Animace při scrollu ---------- */

.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
/* Nadpisy po slovech: slova vyjedou zdola a plynule se objeví.
   Záměrně BEZ transform/opacity (ty text přesunou do GPU vrstvy a na konci animace písmo o 1 px poskočí):
   posun dělá `top`, průhlednost alfa barvy (--wa, registrovaná přes @property, aby šla animovat). */
@property --wa { syntax: "<number>"; inherits: true; initial-value: 1; }
.js [data-reveal="words"], .js [data-reveal="words"].is-visible { opacity: 1; transform: none; transition: none; }
/* Než JS nadpis rozdělí na slova, je skrytý – jinak by text bliknul (celý → zmizí → animace) */
.js [data-reveal="words"]:not(.is-split):not(.is-visible) { opacity: 0; }
.word { display: inline-block; white-space: pre; }
.word > span {
	--wa: 0;
	position: relative; top: .5em; display: inline-block;
	color: rgb(24 2 50 / var(--wa));
	transition: top .9s var(--ease), --wa .8s var(--ease);
	transition-delay: calc(var(--w) * 45ms);
}
.is-visible .word > span { top: 0; --wa: 1; }
.text-gradient .word > span {
	color: transparent;
	background: linear-gradient(110deg, rgb(227 28 121 / var(--wa)) 0%, rgb(159 92 192 / var(--wa)) 48%, rgb(0 178 169 / var(--wa)) 100%);
	-webkit-background-clip: text; background-clip: text;
	padding-block: .12em .18em; margin-block: -.12em -.18em; /* gradient pokryje i háčky a nožičky */
}

@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(142, 192, 75, .55); } 70% { box-shadow: 0 0 0 10px rgba(142, 192, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(142, 192, 75, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Responzivita ---------- */

@media (max-width: 1180px) {
	.hero-page__shape { opacity: .32; }
	.header__phone span { display: none; }
	.features--4, .benefits, .facts, .reasons { grid-template-columns: repeat(2, 1fr); }
	.benefits--5 { grid-template-columns: repeat(3, 1fr); }
	.logo-grid { grid-template-columns: repeat(4, 1fr); }
	.logo-grid li.logo-grid__more { grid-column: span var(--s4, 1); }
	.info-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1020px) {
	.hero-page__shape { opacity: .2; }
	:root { --header-h: 68px; }
	.burger { display: block; }
	.header__actions .btn { display: none; }
	.nav {
		position: fixed; inset: 0; z-index: -1;
		display: flex; flex-direction: column; justify-content: flex-start; gap: 32px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px);
		opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
		overflow-y: auto;
	}
	.nav.is-open { opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; margin-top: auto; } /* bezpečné centrování – při přetečení jde menu doscrollovat */
	.nav__mobile-extra { margin-bottom: auto; }
	.nav__link { font-size: 1.75rem; font-weight: 750; padding: 10px 0; border-radius: 0; letter-spacing: -.02em; }
	.nav__link:hover, .nav__item--mega:focus-within .nav__link { background: none; color: var(--magenta); }
	.nav__link svg, .nav__link.is-active::after { display: none; }
	.nav.is-open .nav__item { animation: rise .6s var(--ease) both; }
	.nav.is-open .nav__item:nth-child(2) { animation-delay: .05s; }
	.nav.is-open .nav__item:nth-child(3) { animation-delay: .1s; }
	.nav.is-open .nav__item:nth-child(4) { animation-delay: .15s; }
	.mega, .nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { position: static; width: auto; padding: 4px 0 12px; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; background: none; }
	.mega__grid { grid-template-columns: 1fr; }
	.mega__card { padding: 10px 12px; margin-inline: -12px; align-items: center; }
	.mega__card:hover strong { color: var(--tone-ink); }
	.mega__card small { display: none; }
	.mega__subs { padding: 0 0 10px 48px; }
	.nav__mobile-extra { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
	.nav__contact { font-weight: 650; color: var(--ink); text-decoration: none; }
	.header.is-hidden.menu-open { transform: none; }

	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { max-width: 460px; justify-self: center; margin-top: 16px; }
	.hero__orbit-item { transform: rotate(calc(var(--i) * 90deg + 20deg)) translate(min(230px, 44vw)) rotate(calc(var(--i) * -90deg - 20deg)); }
	.service-card { grid-template-columns: 1fr; }
	.service-card__head { flex-direction: row; align-items: center; justify-content: space-between; }
	.service-card__shape { width: 56px; height: 56px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.process__line { display: none; }
	.cases, .features, .steps, .benefits--3, .contact-big, .mini-grid, .downloads { grid-template-columns: repeat(2, 1fr); }
	.split, .form-layout { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 0; }
	.form-layout__intro { position: static; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__col--brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
	.footer__col--brand > .logo, .footer__col--brand > p { grid-column: 1; }
	.footer__col--brand > .footer__contact { grid-column: 2; grid-row: 1 / span 2; }
	.case-story { grid-template-columns: 1fr; }
	.case-story__aside { position: static; }
	.legal { grid-template-columns: 1fr; }
	.legal__toc { position: static; }
	.cookie__inner { flex-direction: column; align-items: stretch; }
	.cookie__actions { flex-wrap: wrap; }
	.cookie__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.logo__text { width: 150px; height: 32px; }
	.header__phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--bg-soft-2); }
	.hero__actions .btn, .hero-page__actions .btn { flex: 1 1 100%; }
	.hero__visual { max-width: 340px; }
	.hero-page__shape { right: -30%; opacity: .12; }
	.hero__orbit-item { width: 44px; height: 44px; padding: 10px; }
	.service-stack__item { position: static; }
	.stats, .cases, .features, .features--4, .mini-grid, .downloads, .steps, .benefits, .benefits--3, .benefits--5, .facts, .reasons, .info-cards, .contact-big, .cform__grid, .checklist--2 { grid-template-columns: 1fr; }
	.process { grid-template-columns: 1fr; }
	.logo-grid { grid-template-columns: repeat(2, 1fr); }
	.logo-grid li.logo-grid__more { grid-column: span var(--s2, 1); }
	.partners.partners--media img { height: 64px; max-width: 144px; }
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.footer__col--brand { display: block; }
	.footer__col:not(.footer__col--brand) li a, .footer__col:not(.footer__col--brand) li a:hover { gap: 10px; }
	.footer__col:not(.footer__col--brand) li a::before, .footer__col:not(.footer__col--brand) li a:hover::before { width: 14px; }
	.footer__links ul { justify-content: flex-start; margin-inline: -12px; }
	.footer__links a, .footer__links .linklike { padding: 4px 12px; }
	.footer__links li + li::before { display: none; }
	.footer__bottom { flex-direction: column; align-items: flex-start; }
	.cform__footer .btn { width: 100%; }
	.case__caption { transform: none; opacity: 1; }
	.notice { flex-direction: column; align-items: flex-start; }
	.marquee li { width: 140px; height: 64px; }
	/* Kompaktní cookie lišta – na mobilu zabírá zhruba čtvrtinu výšky místo poloviny */
	.cookie { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; border-radius: 16px; }
	.cookie__inner { gap: 12px; }
	.cookie__title { font-size: .9375rem; margin-bottom: 2px; }
	.cookie__text p { font-size: .78125rem; line-height: 1.45; }
	.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
	.cookie__actions .btn { min-height: 38px; padding: .4em .8em; font-size: .84375rem; }
	.cookie__actions [data-cookie-accept] { grid-column: 1 / -1; grid-row: 1; }
	.cities { gap: 10px; }
	.cities li { padding: 20px 8px; }
	.cities img { width: 64px; margin-bottom: 10px; }
	.cities strong { font-size: 1rem; }
}

/* Uživatelé, kteří nechtějí animace */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
	.js [data-reveal], .word > span { opacity: 1 !important; transform: none !important; top: 0 !important; --wa: 1 !important; }
	.js .shape :is(circle, rect, polygon) { stroke-dasharray: none; }
	.marquee__track { animation: none; }
	.hero__orbit, .hero__orbit-item .shape, .fact img { animation: none; }
}

@media print {
	.header, .footer, .cta-band, .mobile-cta, .audit, .audit-nudge, .cookie, .cookie-modal, .progress, .section--form { display: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

.center-x { margin-inline: auto; justify-content: center; }
