/* ==========================================================================
   FINELL – main.css  v1.0.0
   Lehký, moderní a animovaný design. Bez frameworku, bez jQuery.
   ========================================================================== */

/* ---------- Font (self-hosted, GDPR friendly) ---------- */
@font-face {
	font-family: "Jakarta";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url(../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations"), url(../fonts/plus-jakarta-sans-latin-ext-wght-normal.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: "Jakarta";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations"), url(../fonts/plus-jakarta-sans-latin-wght-normal.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;
}

/* ---------- Tokeny ---------- */
:root {
	--accent: #ff5a36;
	--accent-rgb: 255, 90, 54;
	--accent2: #3d5afe;
	--accent2-rgb: 61, 90, 254;
	--ink: #0e1220;
	--ink-rgb: 14, 18, 32;

	--bg: #f6f7fb;
	--bg-2: #eef0f7;
	--surface: #ffffff;
	--text: var(--ink);
	--muted: #5a6175;
	--line: rgba(var(--ink-rgb), .09);
	--line-2: rgba(var(--ink-rgb), .14);

	--grad: linear-gradient(120deg, var(--accent) 0%, var(--accent2) 100%);

	--font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-base: clamp(1rem, .96rem + .2vw, 1.0625rem);
	--fs-lg: clamp(1.075rem, 1rem + .4vw, 1.25rem);
	--fs-h3: clamp(1.2rem, 1.1rem + .45vw, 1.4rem);
	--fs-h2: clamp(2rem, 1.35rem + 2.8vw, 3.6rem);
	--fs-h1: clamp(2.5rem, 1.4rem + 4.8vw, 5.4rem);

	--r-sm: 12px;
	--r: 20px;
	--r-lg: 32px;

	--container: 1240px;
	--gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
	--section: clamp(4.5rem, 3rem + 7vw, 9rem);
	--header-h: 76px;

	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--shadow-sm: 0 1px 2px rgba(var(--ink-rgb), .05), 0 2px 8px rgba(var(--ink-rgb), .04);
	--shadow: 0 2px 4px rgba(var(--ink-rgb), .04), 0 12px 32px -8px rgba(var(--ink-rgb), .12);
	--shadow-lg: 0 4px 8px rgba(var(--ink-rgb), .04), 0 30px 70px -20px rgba(var(--ink-rgb), .28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	word-spacing: .04em;
	overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.1; font-weight: 750; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(var(--accent-rgb), .22); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }

.sr-only, .screen-reader-text {
	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: 1rem; top: -100px; z-index: 1000;
	background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 10px;
	transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.site-main { overflow-x: clip; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }

.hl, .section-title strong, .hero__title strong, .cta__title strong {
	background: var(--grad);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}

/* ---------- Eyebrow / nadpisy sekcí ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-size: var(--fs-xs); font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted);
	padding: .45rem .9rem .45rem .7rem;
	border: 1px solid var(--line-2); border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	backdrop-filter: blur(8px);
	margin-bottom: 1.4rem;
}
.eyebrow--light { color: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-title { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 1.1rem; }
.section-lead { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; }

/* ---------- Tlačítka ---------- */
.btn {
	--btn-bg: var(--ink); --btn-fg: #fff;
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 52px; padding: .85rem 1.6rem;
	border-radius: 999px; border: 1px solid transparent;
	background: var(--btn-bg); color: var(--btn-fg);
	font-weight: 650; font-size: var(--fs-sm); letter-spacing: -.005em; line-height: 1.2;
	transition: transform .5s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
	will-change: transform;
}
.btn .ico { width: 18px; height: 18px; transition: transform .45s var(--ease); flex: none; }
.btn:hover .ico { transform: translateX(4px); }
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--grad); opacity: 0; transition: opacity .4s var(--ease);
}
.btn:hover::before { opacity: 1; }
.btn--sm { min-height: 42px; padding: .6rem 1.15rem; font-size: var(--fs-xs); }
.btn--lg { min-height: 60px; padding: 1rem 2rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn--dark { --btn-bg: var(--ink); }
.btn--accent { --btn-bg: var(--accent); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .7); }
.btn--accent:hover { box-shadow: 0 16px 40px -12px rgba(var(--accent2-rgb), .6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #fff; border-color: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light::before { background: var(--ink); }
.btn--light:hover { color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color .3s, gap .3s var(--ease); }
.link-arrow .ico { width: 16px; height: 16px; }
.link-arrow:hover { color: var(--accent); gap: .7rem; }

/* ---------- Preloader ---------- */
.preloader {
	position: fixed; inset: 0; z-index: 999;
	display: grid; place-items: center;
	background: var(--ink); color: #fff;
	transition: transform 1s var(--ease-in-out) .15s, visibility 0s 1.2s;
}
.preloader__inner { display: flex; align-items: center; gap: .9rem; font-weight: 750; font-size: 1.4rem; letter-spacing: -.02em; }
.preloader__mark, .brand__mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.preloader__mark i, .brand__mark i { display: block; width: 6px; border-radius: 3px; background: var(--accent); }
.preloader__mark i:nth-child(1), .brand__mark i:nth-child(1) { height: 45%; }
.preloader__mark i:nth-child(2), .brand__mark i:nth-child(2) { height: 100%; background: var(--grad); }
.preloader__mark i:nth-child(3), .brand__mark i:nth-child(3) { height: 70%; background: var(--accent2); }
.preloader__mark i { animation: bars 1s var(--ease-in-out) infinite alternate; }
.preloader__mark i:nth-child(2) { animation-delay: .15s; }
.preloader__mark i:nth-child(3) { animation-delay: .3s; }
@keyframes bars { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.preloader__mark i { transform-origin: bottom; }
.is-loaded .preloader { transform: translateY(-100%); visibility: hidden; }
.no-preloader .preloader, html:not(.js) .preloader { display: none; }

/* ---------- Scroll progress + cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.cursor-glow {
	position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none;
	width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--accent2-rgb), .12), rgba(var(--accent-rgb), .06) 40%, transparent 70%);
	opacity: 0; transition: opacity .6s;
	transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
}
.has-cursor .cursor-glow { opacity: 1; }

/* ---------- Hlavička ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(246, 247, 251, .72);
	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 .4s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; position: relative; z-index: 2; }
.brand__logo { max-height: 44px; width: auto; }
.brand--light { color: #fff; }

.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav__list > li { position: relative; }
.nav__list a {
	position: relative; display: block; padding: .55rem .95rem; border-radius: 999px;
	font-size: var(--fs-sm); font-weight: 600; color: var(--muted);
	transition: color .3s, background-color .3s;
}
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list a.is-active { color: var(--ink); background: rgba(var(--ink-rgb), .05); }
.nav__list .sub-menu {
	list-style: none; position: absolute; left: 0; top: calc(100% + 8px); min-width: 220px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow);
	padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__list .sub-menu a { border-radius: 8px; }

.site-header__actions { display: flex; align-items: center; gap: .75rem; position: relative; z-index: 2; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu-open .burger { background: var(--accent); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.mobile-menu__bg {
	position: absolute; inset: 0; background: var(--ink);
	clip-path: circle(0 at calc(100% - 44px) 38px);
	transition: clip-path .8s var(--ease-in-out);
}
.menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
.menu-open .mobile-menu__bg { clip-path: circle(150% at calc(100% - 44px) 38px); }
.mobile-menu__nav { position: relative; height: 100%; overflow-y: auto; padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.mobile-menu__list { list-style: none; }
.mobile-menu__list a {
	display: block; padding: .35rem 0; color: #fff; font-size: clamp(2rem, 8vw, 3rem); font-weight: 750; letter-spacing: -.03em;
	opacity: 0; transform: translateY(30px);
	transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s;
}
.mobile-menu__list .sub-menu { list-style: none; padding-left: 1rem; }
.mobile-menu__list .sub-menu a { font-size: 1.3rem; font-weight: 600; }
.mobile-menu__list a:hover { color: var(--accent); }
.menu-open .mobile-menu__list a { opacity: 1; transform: none; }
.menu-open .mobile-menu__list li:nth-child(1) a { transition-delay: .25s; }
.menu-open .mobile-menu__list li:nth-child(2) a { transition-delay: .32s; }
.menu-open .mobile-menu__list li:nth-child(3) a { transition-delay: .39s; }
.menu-open .mobile-menu__list li:nth-child(4) a { transition-delay: .46s; }
.menu-open .mobile-menu__list li:nth-child(5) a { transition-delay: .53s; }
.menu-open .mobile-menu__list li:nth-child(n+6) a { transition-delay: .6s; }
.mobile-menu__contact { display: grid; gap: .75rem; color: rgba(255, 255, 255, .8); opacity: 0; transition: opacity .6s .5s; }
.menu-open .mobile-menu__contact { opacity: 1; }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: .6rem; }
.mobile-menu__contact .ico { width: 20px; height: 20px; color: var(--accent); }
.menu-open .site-header .brand { color: #fff; }
.menu-open .site-header::before { opacity: 0 !important; }
.menu-open .site-header__cta { opacity: 0; pointer-events: none; }
.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero {
	position: relative; isolation: isolate;
	min-height: 100svh;
	display: flex; align-items: center;
	padding: calc(var(--header-h) + clamp(2rem, 4vw, 4rem)) 0 clamp(4rem, 8vw, 7rem);
	overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob--1 { width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; left: -12vw; top: -10vw; background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), .55), transparent 65%); animation: float1 18s var(--ease-in-out) infinite alternate; }
.blob--2 { width: 42vw; height: 42vw; max-width: 640px; max-height: 640px; right: -10vw; top: 5vw; background: radial-gradient(circle at 60% 40%, rgba(var(--accent2-rgb), .5), transparent 65%); animation: float2 22s var(--ease-in-out) infinite alternate; }
.blob--3 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: 35%; bottom: -12vw; background: radial-gradient(circle, rgba(255, 196, 0, .35), transparent 65%); animation: float1 26s var(--ease-in-out) infinite alternate-reverse; }
@keyframes float1 { to { transform: translate3d(8vw, 6vw, 0) scale(1.15); } }
@keyframes float2 { to { transform: translate3d(-10vw, 8vw, 0) scale(.9); } }
.hero__grid {
	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;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }

.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.045em; margin-bottom: 1.6rem; font-weight: 800; }
.hero__line { display: block; }
.rotator { display: block; position: relative; margin-top: .08em; padding-bottom: .12em; }
.rotator__word {
	display: block; position: absolute; left: 0; right: 0; top: 0;
	background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	opacity: 0; transform: translateY(.6em) rotateX(-60deg); filter: blur(6px);
	transform-origin: 50% 100%;
	transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
}
.rotator__word.is-active { position: relative; opacity: 1; transform: none; filter: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-.5em) rotateX(50deg); filter: blur(6px); }
.hero__text { font-size: var(--fs-lg); color: var(--muted); max-width: 54ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__visual { position: relative; perspective: 1400px; }
.hero__stage { position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hero__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; background: var(--bg-2); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }

.mock { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fbfbfd; }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mock__bar i:nth-child(2) { background: #febc2e; }
.mock__bar i:nth-child(3) { background: #28c840; }
.mock__url { margin-left: 12px; flex: 1; font-size: .72rem; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 4px 12px; max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { padding: clamp(14px, 2.2vw, 26px); display: grid; gap: clamp(14px, 2vw, 22px); }
.mock__nav { display: flex; gap: 10px; align-items: center; }
.mock__nav span { height: 8px; width: 42px; border-radius: 4px; background: var(--bg-2); }
.mock__nav span:first-child { width: 70px; background: var(--ink); }
.mock__nav .mock__pill { margin-left: auto; width: 64px; height: 22px; border-radius: 999px; background: var(--accent); }
.mock__hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: end; }
.mock__lines { display: grid; gap: 10px; }
.mock__lines span { height: 12px; border-radius: 6px; background: var(--bg-2); transform-origin: left; animation: grow 3.5s var(--ease) infinite; }
.mock__lines span:nth-child(1) { width: 95%; height: 18px; background: var(--ink); }
.mock__lines span:nth-child(2) { width: 75%; height: 18px; background: rgba(var(--ink-rgb), .8); animation-delay: .15s; }
.mock__lines span:nth-child(3) { width: 85%; animation-delay: .3s; }
.mock__lines .mock__btn { width: 45%; height: 28px; border-radius: 999px; background: var(--grad); margin-top: 6px; animation-delay: .45s; }
@keyframes grow { 0% { transform: scaleX(0); } 25%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
.mock__chart { color: var(--accent2); background: linear-gradient(180deg, rgba(var(--accent2-rgb), .06), transparent); border-radius: 14px; padding: 10px 6px 0; aspect-ratio: 5 / 3.2; }
.mock__chart svg { width: 100%; height: 100%; overflow: visible; }
.mock__line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 4s var(--ease) infinite; }
.mock__area { opacity: 0; animation: fadeArea 4s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 320; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes fadeArea { 0%, 20% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock__cards span { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mock__cards span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .9) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 2.8s infinite; }
.mock__cards span:nth-child(2)::after { animation-delay: .2s; }
.mock__cards span:nth-child(3)::after { animation-delay: .4s; }
.mock__cards span:nth-child(1) { background: rgba(var(--accent-rgb), .1); }
.mock__cards span:nth-child(3) { background: rgba(var(--accent2-rgb), .1); }
@keyframes shimmer { to { transform: translateX(100%); } }

.chip {
	position: absolute; display: inline-flex; align-items: center; gap: .55rem;
	padding: .6rem 1rem .6rem .6rem; border-radius: 999px;
	background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--line); box-shadow: var(--shadow);
	font-size: var(--fs-xs); font-weight: 650; white-space: nowrap;
	transform: translateZ(60px);
	animation: bob 6s var(--ease-in-out) infinite;
}
.chip__ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.chip__ico .ico { width: 16px; height: 16px; }
.chip--1 { left: -6%; top: 16%; }
.chip--1 .chip__ico { background: var(--accent); }
.chip--2 { right: -5%; top: 44%; animation-delay: -2s; }
.chip--2 .chip__ico { background: var(--accent2); }
.chip--3 { left: 10%; bottom: -5%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.orbit { position: absolute; right: -8%; top: -10%; width: 140px; height: 140px; border: 1.5px dashed rgba(var(--accent2-rgb), .35); border-radius: 50%; animation: spin 20s linear infinite; z-index: -1; }
.orbit span { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px rgba(var(--accent-rgb), .8); }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 999px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.tech { padding: 1.4rem 0; background: var(--ink); color: #fff; transform: rotate(-1.4deg) scale(1.02); margin-block: -1rem 0; position: relative; z-index: 2; box-shadow: 0 20px 50px -20px rgba(var(--ink-rgb), .5); }
.marquee { display: flex; overflow: hidden; user-select: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; display: flex; flex: none; align-items: center; min-width: 100%; justify-content: space-around; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font-size: clamp(1.1rem, .9rem + 1vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.marquee__star { color: var(--accent); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Služby – bento ---------- */
.services { overflow: hidden; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.bento .card { grid-column: span 2; }
.bento--1 .card { grid-column: 1 / -1; }
.bento--2 .card, .bento--4 .card { grid-column: span 3; }
.bento--5 .card:nth-child(-n+2) { grid-column: span 3; }

.card {
	--mx: 50%; --my: 50%;
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column;
	padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
	min-height: 290px;
}
.card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--accent-rgb), .12), rgba(var(--accent2-rgb), .07) 40%, transparent 70%);
	transition: opacity .5s;
}
.card::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 1; pointer-events: none;
	background: radial-gradient(300px circle at var(--mx) var(--my), rgba(var(--accent-rgb), .8), rgba(var(--accent2-rgb), .5) 40%, transparent 70%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0; transition: opacity .5s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 2.2rem; }
.card__icon {
	width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
	background: var(--ink); color: #fff; position: relative; overflow: hidden;
	transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.card__icon::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .5s; }
.card__icon .ico { width: 26px; height: 26px; position: relative; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); border-radius: 50%; }
.card:hover .card__icon::before { opacity: 1; }
.card__num { font-family: var(--mono); font-size: var(--fs-xs); color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: .2rem .6rem; }
.card__title { font-size: var(--fs-h3); margin-bottom: .7rem; letter-spacing: -.02em; }
.card__text { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 0; }
.card__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.4rem; font-weight: 650; font-size: var(--fs-sm); color: var(--ink); }
.card__more .ico { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.card:hover .card__more { color: var(--accent); }
.card:hover .card__more .ico { transform: translate(3px, -3px); }
.card__media { margin: calc(-1 * clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem)); margin-bottom: 1.6rem; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card--img .card__top { padding-bottom: 1.2rem; margin-bottom: 0; }

/* ---------- Jak pracujeme (tmavá sekce) ---------- */
.features { background: var(--features-bg, var(--ink)); color: #fff; border-radius: clamp(24px, 4vw, 56px); margin-inline: clamp(0rem, 1vw, 1rem); overflow: hidden; }
.features::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; right: -20%; top: -30%; background: radial-gradient(circle, rgba(var(--accent2-rgb), .3), transparent 60%); filter: blur(40px); pointer-events: none; }
.features::after { content: ""; position: absolute; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; left: -15%; bottom: -30%; background: radial-gradient(circle, rgba(var(--accent-rgb), .25), transparent 60%); filter: blur(40px); pointer-events: none; }
.features__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.features__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.features .section-title { color: #fff; }
.features__eyebrow { color: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.features--noglow::before, .features--noglow::after { display: none; }
/* Světlé pozadí – tmavý text */
.features--light { color: var(--ink); }
.features--light .section-title, .features--light .step__title, .features--light .features__count { color: var(--ink); }
.features--light .features__eyebrow { color: var(--muted); border-color: var(--line-2); background: rgba(255, 255, 255, .6); }
.features--light .ring-bg { stroke: rgba(var(--ink-rgb), .12); }
.features--light .step { border-color: var(--line-2); background: rgba(255, 255, 255, .55); }
.features--light .step.is-current, .features--light .step:hover { background: rgba(255, 255, 255, .9); border-color: rgba(var(--accent-rgb), .55); }
.features--light .step__icon { background: rgba(var(--ink-rgb), .06); }
.features--light .step__text { color: var(--muted); }
.features--light .step__num { color: rgba(var(--ink-rgb), .4); }
.features--light::before { opacity: .45; }
.features--light::after { opacity: .45; }
.features__ring { position: relative; width: 120px; height: 120px; margin-top: 2rem; }
.features__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.features__ring circle { fill: none; stroke-width: 3; }
.ring-bg { stroke: rgba(255, 255, 255, .12); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 - 339.3 * var(--p, 0)); transition: stroke-dashoffset .3s linear; }
.features__count { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; font-weight: 750; letter-spacing: -.03em; }

.steps { list-style: none; display: grid; gap: 1rem; counter-reset: s; }
.step {
	position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1.3rem; align-items: start;
	padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
	border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .1);
	background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
	transition: background .5s, border-color .5s, transform .6s var(--ease);
}
.step.is-current, .step:hover { border-color: rgba(var(--accent-rgb), .55); background: linear-gradient(180deg, rgba(var(--accent-rgb), .14), rgba(255, 255, 255, .03)); }
.step__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--accent); transition: background .5s, color .5s; }
.step.is-current .step__icon { background: var(--accent); color: #fff; }
.step__icon .ico { width: 24px; height: 24px; }
.step__title { font-size: var(--fs-h3); margin-bottom: .5rem; color: #fff; }
.step__text { color: rgba(255, 255, 255, .68); margin: 0; font-size: var(--fs-sm); }
.step__num { font-family: var(--mono); font-size: var(--fs-xs); color: rgba(255, 255, 255, .4); }

/* ---------- O nás ---------- */
.about__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about__media { position: relative; }
.about__frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; background: var(--ink); }
.about__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.code-card { height: 100%; display: flex; flex-direction: column; background: radial-gradient(circle at 80% 0%, rgba(var(--accent2-rgb), .35), transparent 50%), radial-gradient(circle at 0% 100%, rgba(var(--accent-rgb), .3), transparent 50%), var(--ink); color: #e6e9f5; }
.code-card__bar { display: flex; gap: 6px; align-items: center; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code-card__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.code-card__bar span { margin-left: 10px; font-family: var(--mono); font-size: .75rem; color: rgba(255, 255, 255, .5); }
.code-card__pre { margin: auto 0; padding: clamp(1.2rem, 3vw, 2.4rem); font-family: var(--mono); font-size: clamp(.78rem, .6rem + .6vw, 1.02rem); line-height: 1.9; white-space: pre-wrap; overflow: hidden; }
.c-k { color: #8fb3ff; } .c-f { color: #ffb86b; } .c-s { color: #9df0c0; } .c-b { color: #ff8ab3; } .c-c { color: rgba(255, 255, 255, .4); }
.caret { display: inline-block; width: .55em; height: 1.1em; background: var(--accent); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.about__sticker { position: absolute; right: -28px; bottom: -28px; width: 130px; height: 130px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; }
.about__sticker > svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 16s linear infinite; }
.about__sticker text { font-size: 9.6px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.about__sticker > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.about__sticker .ico { width: 22px; height: 22px; }
.about__text { color: var(--muted); font-size: var(--fs-lg); }
.about__quote {
	margin: 1.8rem 0; padding: 1.4rem 1.6rem 1.4rem 1.8rem; position: relative;
	font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.4;
	background: var(--surface); border-radius: var(--r); border: 1px solid var(--line);
}
.about__quote::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 4px; background: var(--grad); }

.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3.5rem, 6vw, 6rem); border-top: 1px solid var(--line-2); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats--2 { grid-template-columns: repeat(2, 1fr); }
.stats--1 { grid-template-columns: 1fr; }
.stat { padding: 2rem 1.5rem 0 0; display: grid; gap: .4rem; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: var(--fs-sm); font-weight: 550; }

/* ---------- CTA ---------- */
.cta { padding-bottom: var(--section); }
.cta__box {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
	padding: clamp(2.2rem, 1.5rem + 4vw, 5rem);
	border-radius: var(--r-lg);
	background: var(--grad); color: #fff;
	box-shadow: 0 30px 80px -30px rgba(var(--accent-rgb), .7);
}
.cta__bg span { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .16); z-index: -1; }
.cta__bg span:nth-child(1) { width: 380px; height: 380px; right: -100px; top: -160px; animation: float1 14s var(--ease-in-out) infinite alternate; }
.cta__bg span:nth-child(2) { width: 240px; height: 240px; left: 30%; bottom: -150px; animation: float2 18s var(--ease-in-out) infinite alternate; }
.cta__content { max-width: 680px; }
.cta__title { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); letter-spacing: -.035em; margin-bottom: .8rem; }
.cta__title strong { -webkit-text-fill-color: #fff; color: #fff; background: none; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cta__text { margin: 0; font-size: var(--fs-lg); opacity: .9; }

/* ---------- Kontakt ---------- */
.contact { padding-top: 0; }
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__list { list-style: none; display: grid; gap: .8rem; margin: 2rem 0 1.6rem; }
.contact__item {
	display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.contact__item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(var(--accent-rgb), .35); }
.contact__ico { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .1); color: var(--accent); transition: background .4s, color .4s; }
.contact__item:hover .contact__ico { background: var(--accent); color: #fff; }
.contact__ico .ico { width: 22px; height: 22px; }
.contact__item small { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.contact__item strong { display: block; font-size: 1.12rem; letter-spacing: -.01em; }
.contact__item em { display: block; font-style: normal; color: var(--muted); font-size: var(--fs-sm); }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2.4vw, 3rem); box-shadow: var(--shadow); position: relative; }
.contact__form::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--grad); filter: blur(40px); opacity: .18; }
.form__title { font-size: var(--fs-h3); margin-bottom: 1.4rem; }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; }
.field input, .field textarea {
	width: 100%; padding: 1.45rem 1rem .6rem; border-radius: 14px;
	border: 1.5px solid var(--line-2); background: var(--bg);
	font-size: 1rem; outline: none; resize: vertical; min-height: 58px;
	transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 1rem; top: 1.05rem; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--accent2); background: var(--surface); box-shadow: 0 0 0 4px rgba(var(--accent2-rgb), .12); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-.62rem) scale(.76); color: var(--accent2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5484d; }
.topics { border: 0; padding: 0; margin: .2rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.topics legend { font-size: var(--fs-sm); font-weight: 650; margin-bottom: .6rem; padding: 0; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: var(--fs-xs); font-weight: 600; cursor: pointer; transition: all .3s var(--ease); }
.topic span:hover { border-color: var(--ink); }
.topic input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topic input:focus-visible + span { outline: 2px solid var(--accent2); outline-offset: 2px; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { position: absolute; opacity: 0; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: #fff; transition: all .3s var(--ease); }
.check__box .ico { width: 14px; height: 14px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: all .3s var(--ease); }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box .ico { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent2); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: #e5484d; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; font-size: var(--fs-sm); font-weight: 600; min-height: 1.2em; }
.form__msg.is-ok, .form__notice.is-ok { color: #138a4b; }
.form__msg.is-err, .form__notice.is-err { color: #d23b3f; }
.form__notice { padding: .9rem 1rem; border-radius: 12px; background: var(--bg); margin-bottom: 1rem; font-weight: 600; }
.form.is-sending button[type="submit"] { pointer-events: none; opacity: .7; }
.form.is-sent { animation: sent .8s var(--ease); }
@keyframes sent { 40% { transform: scale(.98); } }
.form-shortcode input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .form-shortcode textarea, .form-shortcode select { width: 100%; padding: .9rem 1rem; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); }
.form-shortcode input[type="submit"], .form-shortcode button { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .95rem 1.8rem; font-weight: 650; cursor: pointer; }

/* ---------- Patička ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .7); padding: clamp(4rem, 8vw, 7rem) 0 1.5rem; margin-top: 0; }
.site-footer__glow { position: absolute; left: 50%; top: -40%; width: 80vw; height: 60vw; translate: -50% 0; background: radial-gradient(ellipse, rgba(var(--accent2-rgb), .22), transparent 60%); pointer-events: none; }
.site-footer__top { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer__top:has(> :nth-child(4)) { grid-template-columns: 1.4fr 1fr 1.1fr 1fr; }
.site-footer__about p { margin-top: 1.2rem; max-width: 38ch; }
.footer__title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 1.1rem; font-weight: 700; }
.footer__menu, .footer__contact { list-style: none; display: grid; gap: .55rem; }
.footer__menu a, .footer__contact a { transition: color .3s; }
.footer__menu a:hover, .footer__contact a:hover { color: var(--accent); }
.site-footer__big {
	position: relative; margin: clamp(2.5rem, 6vw, 5rem) 0 1rem;
	font-size: clamp(3.5rem, 16vw, 15rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; padding-bottom: .04em;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
	background: linear-gradient(90deg, var(--accent), var(--accent2)) no-repeat 0 0 / var(--fill, 0%) 100%;
	-webkit-background-clip: text; background-clip: text;
	white-space: nowrap; overflow: hidden; text-align: center;
	transition: background-size .15s linear;
}
.site-footer__bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.to-top { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .3s, transform .5s var(--ease); }
.to-top:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.to-top .ico { width: 20px; height: 20px; }

/* ---------- Podstránky ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem); letter-spacing: -.04em; line-height: 1.02; max-width: 20ch; }
.page-hero__sub { margin-top: 1.2rem; font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; }
.breadcrumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumbs a:hover { color: var(--accent); }
.entry-thumb { margin: 0 0 2.5rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.entry-thumb img { width: 100%; }
.entry-content { font-size: var(--fs-lg); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-top: 2em; }
.entry-content h3 { font-size: var(--fs-h3); margin-top: 1.8em; }
.entry-content p, .entry-content li { color: #2e3446; }
.entry-content a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: var(--r-sm); }
.entry-content blockquote { margin: 1.6em 0; padding: 1.2em 1.4em; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line-2); padding: .7em .6em; text-align: left; }
.entry-content .wp-block-button__link { background: var(--accent); color: #fff; border-radius: 999px; text-decoration: none; padding: .85em 1.6em; font-weight: 650; }
.page-extra { padding-top: 0; }
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.alignwide { margin-inline: calc(-1 * clamp(0rem, 8vw, 8rem)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-caption, .wp-block-image figcaption { font-size: var(--fs-xs); color: var(--muted); }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); font-weight: 650; }
.post-nav a:hover { color: var(--accent); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card__link { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card__link:hover img { transform: scale(1.06); }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.post-card__ph .ico { width: 48px; height: 48px; }
.post-card__body { padding: 1.4rem; }
.post-card__body time { font-size: var(--fs-xs); color: var(--muted); }
.post-card__title { font-size: var(--fs-h3); margin: .4rem 0 .6rem; }
.post-card__body p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 650; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-form { display: flex; gap: .5rem; max-width: 460px; margin: 1rem auto 0; }
.search-form input { flex: 1; padding: .7rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); }
.empty { text-align: center; color: var(--muted); }

.notfound { position: relative; isolation: isolate; min-height: 90svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 3rem) 0 4rem; overflow: hidden; }
.notfound__inner { display: grid; justify-items: center; gap: 1.2rem; }
.notfound__code { font-size: clamp(7rem, 25vw, 16rem); font-weight: 800; letter-spacing: -.08em; line-height: .8; margin: 0; }
.notfound__code span { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: spin 8s linear infinite; }

/* Komentáře (základ) */
.comments-area { margin-top: 3rem; }
.comment-list { list-style: none; }
.comment-body { padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 1rem; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); }
.comment-form .submit { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.6rem; font-weight: 650; cursor: pointer; }

/* ==========================================================================
   Animace při scrollu (jen s JS, respektuje prefers-reduced-motion)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal="left"] { transform: translate3d(-50px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(50px, 0, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translate3d(0, 110%, 0) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-split] strong .w > span, .js [data-split] .hl .w > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta__title strong .w > span { -webkit-text-fill-color: #fff; background: none !important; }

.is-customizer [data-reveal], .is-customizer [data-split] .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
	.rotator__word:not(.is-active) { display: none; }
	.hero__canvas, .cursor-glow { display: none; }
	.mock__line { stroke-dashoffset: 0; }
	.mock__area { opacity: 1; }
	.mock__lines span { transform: none; }
}

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1100px) {
	.nav, .site-header__cta { display: none; }
	.burger { display: block; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__content { max-width: 720px; }
	.hero__visual { max-width: 620px; width: 100%; margin-inline: auto; }
	.features__inner { grid-template-columns: 1fr; }
	.features__head { position: static; }
	.features__ring { display: none; }
	.about__inner, .contact__inner { grid-template-columns: 1fr; }
	.about__media { max-width: 560px; }
	.site-footer__top, .site-footer__top:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
	.posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.bento .card, .bento--5 .card:nth-child(-n+2), .bento--2 .card, .bento--4 .card { grid-column: span 3; }
	.bento--5 .card:last-child, .bento--3 .card:last-child { grid-column: 1 / -1; }
	.stats, .stats--3 { grid-template-columns: repeat(2, 1fr); }
	.stat { padding: 1.6rem 1rem 1.6rem 0; }
	.stat + .stat { padding-left: 0; border-left: 0; }
	.stat:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.cursor-glow { display: none; }
}
@media (max-width: 640px) {
	:root { --header-h: 68px; }
	.hero { min-height: auto; }
	.hero__title { letter-spacing: -.04em; }
	.hero__actions .btn { flex: 1 1 auto; }
	.scroll-hint { display: none; }
	.chip { font-size: .72rem; padding: .45rem .8rem .45rem .45rem; }
	.chip__ico { width: 26px; height: 26px; }
	.chip--1 { left: -2%; top: 8%; }
	.chip--2 { right: -2%; }
	.chip--3 { left: 4%; }
	.orbit { width: 90px; height: 90px; right: -4%; }
	.mock__hero { grid-template-columns: 1fr; }
	.mock__chart { aspect-ratio: 5 / 2.2; }
	.bento { grid-template-columns: 1fr; }
	.bento .card, .bento--5 .card:nth-child(-n+2), .bento--2 .card, .bento--4 .card, .bento--5 .card:last-child, .bento--3 .card:last-child { grid-column: auto; min-height: 0; }
	.card__top { padding-bottom: 1.6rem; }
	.step { grid-template-columns: auto 1fr; }
	.step__num { display: none; }
	.about__sticker { width: 104px; height: 104px; right: -8px; bottom: -30px; }
	.form__row { grid-template-columns: 1fr; }
	.cta__box { flex-direction: column; align-items: flex-start; }
	.cta__box .btn { width: 100%; }
	.site-footer__top, .site-footer__top:has(> :nth-child(4)) { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.to-top { position: absolute; right: 0; top: 1.2rem; }
	.posts { grid-template-columns: 1fr; }
	.alignleft, .alignright { float: none; margin: 1em 0; }
	.alignwide { margin-inline: 0; }
}

@media print {
	.site-header, .mobile-menu, .preloader, .progress, .cursor-glow, .hero__bg, .tech, .cta, .contact__form, .site-footer__big { display: none !important; }
	.js [data-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; }
	body { background: #fff; }
}
