/*
 * fale — veřejný web (úvodní stránka, Kontakty). Barevná škála: naše fialová, levandulová, broskvová, noc.
 * Pozadí stránky se při scrollu přelévá podle data-tone sekce (web.js nastaví --tone-bg na <body>).
 * Přechody, měkké stíny a gradient v nadpisech patří jen sem, ne do aplikace.
 */

/* kotvy v menu dojedou plynule (web.css se načítá jen na úvodní stránce) */
html { scroll-behavior: smooth; }

.page-landing {
	--tone-bg: #faf8ff;
	--cta-ink: var(--ink);
	/* CTA a zvýraznění na TMAVÉ ploše: výřez přechodu w-grad-light, jak ho má slovo „papírům“ (od 24 %, bez „Ne“).
	   Na světlé ploše tmavě fialová (violet-1 → violet-3). DESIGN.md → Veřejný web */
	--cta-grad: linear-gradient(100deg, #edc9f2, #f6b8e4 34%, #ffd2bf);
	--violet-1: #4b22a8;
	--violet-2: #6941c6;
	--violet-3: #8b5cf6;
	--orchid: #b264e8;
	--lilac: #d6c4ff;
	--rose: #f2a7d8;
	--peach-2: #ffc9b3;
	background: var(--tone-bg);
	transition: background-color 0.8s ease;
	font-size: 17px;
	line-height: 1.6;
	overflow-x: clip;
}

/* ---------- hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 56px; min-height: 76px; padding: 0 var(--site-pad); background: #ffffffb3; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid #ece6f6; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.site-nav-link, .site-login { text-decoration: none; }
.site-nav-link:hover, .site-login:hover, .site-nav-link[aria-current] { color: var(--accent); }
.site-account { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.site-header + .toasts { top: 90px; }
.page-landing .ik-btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
/* CTA na světlé ploše: tmavě fialový přechod, bílý text */
.page-landing .ik-btn-primary { background: linear-gradient(120deg, var(--violet-1), var(--violet-2) 55%, var(--violet-3)); border-color: transparent; color: #fff; box-shadow: 0 8px 22px #6941c640; transition: transform 0.2s, box-shadow 0.2s; }
.page-landing .ik-btn-primary:hover { background: linear-gradient(120deg, var(--violet-1), var(--violet-2) 55%, var(--violet-3)); border-color: transparent; color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px #6941c655; }
/* CTA na tmavé (fialové) ploše: broskvový přechod --cta-grad, tmavý text; hover sytější a zvednutý */
.w-btn-light { background: var(--cta-grad); border-color: transparent; color: var(--cta-ink); box-shadow: 0 8px 22px #d9779f40; transition: transform 0.2s, box-shadow 0.2s, filter 0.2s; }
.w-btn-light:hover { background: var(--cta-grad); border-color: transparent; color: var(--cta-ink); filter: saturate(1.25); transform: translateY(-1px); box-shadow: 0 12px 28px #d9779f59; }
/* zvýraznění na světlé ploše: tmavě fialový text na levandulovém „fixu“; na tmavé ploše text v broskvovém přechodu (Úspora ročně) */
.w-mark { padding: 0 0.12em; background: linear-gradient(90deg, #e4d4ff, #d6c4ff) 0 86% / 100% 0.6em no-repeat; color: var(--violet-1); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.page-landing .ik-btn-action { background: #ffffffb3; }

/* ---------- společné ---------- */
.w-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; line-height: 18px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.w-pill { padding: 7px 14px; background: #ffffffc2; border: 1px solid #fff; border-radius: 30px; box-shadow: 0 4px 14px #6941c614; }
.w-grad { background: linear-gradient(100deg, var(--violet-1), var(--violet-3) 40%, var(--orchid) 70%, var(--violet-2)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: w-shimmer 9s ease-in-out infinite alternate; }
.w-grad-light { background: linear-gradient(100deg, #e5d8ff, #f6b8e4 50%, #ffd2bf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes w-shimmer { to { background-position: 100% 0; } }

.w-section { position: relative; padding: 104px var(--site-pad); scroll-margin-top: 70px; }
.w-head { max-width: 760px; margin-bottom: 48px; }
.w-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.w-title { margin: 14px 0 0; font-size: 48px; line-height: 1.12; font-weight: 760; letter-spacing: -0.04em; text-wrap: balance; }
/* nadpis bez nadtitulku nad sebou (sekce už nemají malé štítky „Jak to funguje“ apod.) */
.w-title:first-child, .w-persona h3:first-child { margin-top: 0; }
.w-text { margin: 18px 0 0; font-size: 18px; color: #5b5470; }
.w-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.w-actions.is-center { justify-content: center; }
.w-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-muted); }

/* plovoucí barevné skvrny (hero a závěr) */
.w-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.w-blobs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.75; animation: w-drift 18s ease-in-out infinite alternate; }
.w-blobs span:nth-child(1) { width: 520px; height: 520px; left: 48%; top: -160px; background: #c3a6ff; }
.w-blobs span:nth-child(2) { width: 420px; height: 420px; right: -120px; bottom: -140px; background: var(--peach-2); animation-duration: 22s; animation-delay: -6s; }
.w-blobs span:nth-child(3) { width: 380px; height: 380px; left: -140px; bottom: -120px; background: #e2d4ff; animation-duration: 26s; animation-delay: -3s; }
.w-blobs span:nth-child(4) { width: 300px; height: 300px; left: 70%; top: 40%; background: var(--rose); opacity: 0.45; animation-duration: 20s; animation-delay: -10s; }
@keyframes w-drift {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-60px, 40px) scale(1.12); }
	100% { transform: translate(40px, -30px) scale(0.92); }
}

/* objevení při scrollu (jen se zapnutým JS) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 01 hero ---------- */
.w-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; min-height: min(calc(100vh / var(--zoom) - 76px), 900px); padding: 56px var(--site-pad) 120px; background: #f8f4ff; }
.w-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff70 1px, transparent 1px), linear-gradient(90deg, #ffffff70 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); pointer-events: none; }
.w-hero > :not(.w-blobs) { position: relative; }
.w-hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.w-hero-title { margin: 24px 0 22px; font-size: 72px; line-height: 1.02; font-weight: 800; letter-spacing: -0.05em; text-wrap: balance; }
.w-hero-title .w-grad { display: inline; padding-bottom: 0.08em; }
.w-lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.6; color: #514a66; }
.w-lead-strong { margin: 12px 0 0; font-size: 18px; font-weight: 700; color: var(--violet-1); }
.w-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: #4d4562; }
.w-ticks li { display: flex; align-items: center; gap: 7px; }
.w-ticks .icon { color: var(--accent); }

.w-hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.w-orbit { position: absolute; width: 470px; height: 470px; border-radius: 50%; background: conic-gradient(from 0deg, #8b5cf633, #f2a7d84d, #ffc9b340, #c3a6ff55, #8b5cf633); filter: blur(2px); animation: w-spin 30s linear infinite; }
.w-orbit::after { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: radial-gradient(circle, #ffffffd9, #ffffff80 60%, #fff0 72%); }
@keyframes w-spin { to { transform: rotate(360deg); } }
.w-mascot { position: relative; z-index: 2; width: 330px; filter: drop-shadow(0 30px 40px #4b22a840); animation: w-bob 5s ease-in-out infinite; }
/* hlavu natáčí web.js přes --turn / --shift-x / --shift-y, oči přes --look-x / --look-y, obočí --brow-l / --brow-r */
.w-face { position: relative; transform: translate(var(--shift-x, 0px), var(--shift-y, 0px)) rotate(var(--turn, 0deg)); transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1); }
.w-face img { display: block; width: 100%; height: auto; }
.w-face svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.w-pupil { fill: #261a33; transform: translate(var(--look-x, 45px), var(--look-y, -22px)); transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1); }
.w-glint { fill: #fff; }
.w-brow { fill: none; stroke: #261a33; stroke-linecap: round; transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1); }
.w-brow-l { transform: translateY(var(--brow-l, 0px)); }
.w-brow-r { transform: translateY(var(--brow-r, 0px)) rotate(var(--brow-r-tilt, 0deg)); transform-origin: 382px 275px; }
.w-mascot.is-blink .w-pupil { transform: translate(var(--look-x, 45px), var(--look-y, -22px)) scaleY(0.1); transform-box: fill-box; transform-origin: center; transition-duration: 0.08s; }
@keyframes w-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }

.w-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #ffffffe6; border: 1px solid #fff; border-radius: 14px; box-shadow: 0 14px 34px #3b1d7a24; backdrop-filter: blur(8px); font-size: 14px; line-height: 1.3; animation: w-float 6s ease-in-out infinite; transition: scale 0.35s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.35s; }
.w-chip.is-watched { z-index: 4; scale: 1.12; box-shadow: 0 20px 44px #3b1d7a3d; }
.w-chip > .icon { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.w-chip small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.w-chip strong { font-size: 14px; }
.w-chip-from { left: -10px; top: 40px; animation-delay: -1s; }
.w-chip-mail { right: -6px; top: 70px; animation-delay: -2.5s; }
.w-chip-photo { left: 0; bottom: 110px; animation-delay: -4s; }
.w-chip-to { right: 0; bottom: 36px; animation-delay: -3s; background: linear-gradient(120deg, var(--violet-1), var(--violet-3)); border-color: transparent; color: #fff; }
.w-chip-to > .icon { background: #ffffff26; color: #fff; }
.w-chip-to small { color: #e3d6ff; }
.w-chip-ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--violet-2); }
@keyframes w-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* pás „podnikatel → … → účetní“ přes spodní hranu hero */
.w-flow-band { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: -54px; padding: 0 var(--site-pad); }
.w-flow { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0; padding: 20px 30px; list-style: none; background: #ffffffeb; border: 1px solid #fff; border-radius: 18px; box-shadow: 0 20px 50px #3b1d7a1f; backdrop-filter: blur(10px); font-size: 16px; font-weight: 700; }
.w-flow li { display: flex; align-items: center; gap: 9px; }
.w-flow li > .icon { color: var(--accent); }
.w-flow .w-flow-arrow { color: var(--lilac); }
.w-flow .w-flow-arrow .icon { color: #b9a3ea; }
.w-flow .is-fale { padding: 8px 18px; border-radius: 12px; background: linear-gradient(120deg, var(--violet-1), var(--violet-3)); }
.w-flow .is-fale .logo { font-size: 24px; color: #fff; }
.w-flow .is-fale .logo::after { background: #fff; box-shadow: -3px 3px 0 #c3a6ff; }

/* loga zákazníků pod hero: jednotná výška, šedá a tlumená, barva po najetí */
.w-clients { padding: 56px 0 8px; text-align: center; }
/* pruh přes celou šířku, pomalý nekonečný posun (stopa = 3 kopie, posun o třetinu); krajům do ztracena, myš ho zastaví */
.w-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.w-marquee-track { display: flex; width: max-content; animation: w-marquee 60s linear infinite; }
.w-marquee:hover .w-marquee-track, .w-marquee:focus-within .w-marquee-track { animation-play-state: paused; }
.w-marquee ul { display: flex; flex-shrink: 0; align-items: center; gap: 72px; margin: 0; padding: 0 36px; list-style: none; }
.w-clients img { display: block; width: auto; height: var(--logo-h, 34px); max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s, opacity 0.25s; }
.w-clients a { display: block; border-radius: var(--radius-md); }
.w-clients li:hover img, .w-clients a:focus-visible img { filter: none; opacity: 1; }
@keyframes w-marquee { to { transform: translateX(calc(-100% / 3)); } }

/* ---------- 02 dnes × s fale ---------- */
.w-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.w-compare-col { padding: 34px; border-radius: 22px; }
.w-compare-col h3 { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 18px; font-size: 24px; letter-spacing: -0.03em; }
.w-compare-col h3 .logo { font-size: 26px; }
.w-compare-col ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.w-compare-col li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #0000000d; font-size: 17px; }
.w-compare-col li:last-child { border-bottom: 0; }
.w-compare-col li .icon { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; }
.w-compare-col.is-before { background: #ffffffb3; border: 1px solid #ebe6f2; color: #5d566f; }
.w-compare-col.is-before li .icon { background: #f1eef6; color: #9a91ad; }
.w-compare-col.is-after { background: radial-gradient(ellipse at 100% 0%, #8b5cf6, #8b5cf600 60%), linear-gradient(140deg, #3a1a86, #6941c6); color: #fff; box-shadow: 0 30px 60px #4b22a833; transform: rotate(0.6deg); }
.w-compare-col.is-after .logo { color: #fff; }
.w-compare-col.is-after .logo::after { background: #fff; box-shadow: -3px 3px 0 #c3a6ff; }
.w-compare-col.is-after li { border-color: #ffffff1f; }
.w-compare-col.is-after li .icon { background: #ffffff26; color: #fff; }
.w-statement { max-width: 900px; margin: 72px auto 0; font-size: 46px; line-height: 1.15; font-weight: 780; letter-spacing: -0.04em; text-align: center; text-wrap: balance; }

/* ---------- 03 jak to funguje: skládané karty ---------- */
.w-stack { display: grid; gap: 28px; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.w-stack-card { position: sticky; top: 110px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 34px; align-items: center; min-height: 260px; padding: 44px 48px; border-radius: 28px; color: #fff; box-shadow: 0 -10px 40px #2a114f26, 0 30px 60px #2a114f2e; overflow: hidden; }
.w-stack-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: #ffffff14; }
.w-stack-card.is-1 { background: linear-gradient(135deg, #2c1466, #5a2fc0); }
.w-stack-card.is-2 { top: 130px; background: linear-gradient(135deg, #5a2fc0, #9b5de5 70%, #c77dde); }
.w-stack-card.is-3 { top: 150px; background: linear-gradient(135deg, #7c4ddb, #c26fd3 55%, #f3a38b); }
.w-stack-num { font-size: 88px; line-height: 1; font-weight: 800; letter-spacing: -0.06em; color: #ffffff38; }
.w-stack-card h3 { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 10px; margin: 0 0 10px; font-size: 34px; line-height: 1.15; letter-spacing: -0.035em; }
.w-stack-card h3 .logo { font-size: 36px; color: #fff; }
.w-stack-card h3 .logo::after { background: #fff; box-shadow: -3px 3px 0 #ffffff66; }
.w-stack-card p { max-width: 560px; margin: 0; font-size: 18px; color: #f0e9ff; }
.w-stack-icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 24px; background: #ffffff1f; border: 1px solid #ffffff30; }
/* video „Jak funguje fale?“: lokální náhled s tlačítkem přehrát, po kliknutí iframe youtube-nocookie (web.js) */
.w-video { position: relative; display: block; max-width: 980px; margin: 56px auto 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: #1b1033; border: 1px solid #fff; box-shadow: 0 30px 70px #3b1d7a2e; color: #fff; text-decoration: none; }
.w-video img, .w-video iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.w-video-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; padding-left: 4px; border-radius: 50%; background: linear-gradient(120deg, var(--violet-1), var(--violet-2) 55%, var(--violet-3)); box-shadow: 0 14px 34px #4b22a866; transition: transform 0.2s; }
.w-video:hover .w-video-play, .w-video:focus-visible .w-video-play { transform: scale(1.08); }
.w-video-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; background: linear-gradient(transparent, #1b1033b3); font-size: 15px; font-weight: 650; }
.w-video.is-playing .w-video-play, .w-video.is-playing .w-video-title { display: none; }
.w-slogan { max-width: 960px; margin: 84px auto 0; font-size: 50px; line-height: 1.12; font-weight: 800; letter-spacing: -0.045em; text-align: center; text-wrap: balance; }

/* ---------- 04 persony ---------- */
.w-tabs { display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 0 auto 28px; padding: 6px; background: #fff; border: 1px solid #ebe5f5; border-radius: 40px; box-shadow: 0 6px 20px #3b1d7a12; }
.w-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 30px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink-muted); cursor: pointer; transition: background 0.25s, color 0.25s; }
.w-tab:hover { color: var(--accent); }
.w-tab[aria-selected=true] { background: linear-gradient(120deg, var(--violet-1), var(--violet-3)); color: #fff; }
.w-persona { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 56px; border-radius: 28px; background: radial-gradient(ellipse at 90% 10%, #8b5cf6aa, #8b5cf600 55%), radial-gradient(ellipse at 10% 100%, #c26fd355, #c26fd300 50%), linear-gradient(135deg, #1d1433, #3a2266); color: #fff; box-shadow: 0 40px 80px #1d143340; animation: w-fade 0.45s ease; }
.w-persona.is-accountant { background: radial-gradient(ellipse at 90% 10%, #f3a38b88, #f3a38b00 55%), radial-gradient(ellipse at 10% 100%, #8b5cf688, #8b5cf600 50%), linear-gradient(135deg, #24163f, #4b2a7c); }
.w-persona[hidden] { display: none; }
@keyframes w-fade { from { opacity: 0; transform: translateY(10px); } }
.w-persona .w-eyebrow { color: #d7c6ff; }
.w-persona h3 { margin: 14px 0 18px; font-size: 40px; line-height: 1.12; letter-spacing: -0.04em; }
.w-persona p { margin: 0 0 12px; font-size: 17px; color: #ddd3ee; }
.w-persona .ik-btn { margin-top: 16px; }
.w-persona-points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.w-persona-points li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #ffffff12; border: 1px solid #ffffff1f; border-radius: 16px; backdrop-filter: blur(6px); }
.w-persona-points .icon { flex: none; color: #d7c6ff; }
.w-persona-points span { font-size: 14px; color: #cfc4e2; }
.w-persona-points strong { display: block; font-size: 16px; color: #fff; }
.w-btn-ghost { background: #ffffff1a; border-color: #ffffff66; color: #fff; }
.w-btn-ghost:hover { background: #ffffff2e; color: #fff; }

/* ---------- 05 osobní přístup ---------- */
.w-personal { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 56px; border-radius: 28px; background: radial-gradient(ellipse at 0% 0%, #ffd9c8, #ffd9c800 60%), radial-gradient(ellipse at 100% 100%, #e4d4ff, #e4d4ff00 60%), #fffaf7; border: 1px solid #f6e6dc; box-shadow: 0 30px 60px #9b5a3a14; }
.w-personal-art { position: relative; display: grid; place-items: center; }
.w-personal-art::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; background: linear-gradient(135deg, #ffc9b3, #d6c4ff); animation: w-morph 12s ease-in-out infinite alternate; }
@keyframes w-morph { to { border-radius: 58% 42% 40% 60% / 42% 60% 40% 58%; transform: rotate(18deg); } }
.w-personal-art img { position: relative; width: 82%; height: auto; transform: rotate(-6deg); filter: drop-shadow(0 20px 30px #4b22a830); }
.w-personal .w-title { font-size: 40px; }
.w-quote { margin: 22px 0 0; padding-left: 18px; border-left: 3px solid var(--orchid); font-size: 20px; font-weight: 700; color: var(--violet-1); }
.w-personal .ik-btn .icon { margin-right: 4px; }
/* „Domluvit si krátký hovor“: <details> s formulářem Chci od vás nastavit (SetupRequestControl) */
.w-setup { margin-top: 30px; }
.w-setup > summary { list-style: none; cursor: pointer; display: inline-flex; }
.w-setup > summary::-webkit-details-marker { display: none; }
.w-setup[open] > summary { display: none; }
.w-setup-body { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid #f0ddd2; box-shadow: 0 14px 34px #9b5a3a14; }
.w-setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.w-setup-form .alert { margin-bottom: 16px; }
.w-setup-form .w-note { margin-top: 12px; }
.w-setup-sent { display: flex; gap: var(--space-4); align-items: flex-start; }
.w-setup-sent .step-icon { margin: 0; flex-shrink: 0; }
.w-setup-sent h3 { margin: 0 0 6px; }
.w-setup-sent p { margin: 0; color: var(--ink-muted); }
/* kontaktní formulář (Kontakty): karta pod kontakty, stejná pole jako „Chci od vás nastavit“; textarea přes celou šířku */
.w-contact-form { max-width: 880px; margin: 18px auto 0; padding: 30px 28px; border-radius: 22px; background: #fff; border: 1px solid #ebe5f5; box-shadow: 0 10px 30px #3b1d7a0d; scroll-margin-top: 90px; }
.w-contact-form-title { margin: 0 0 18px; font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; }
.w-setup-grid .is-wide { grid-column: 1 / -1; }

/* ---------- 06 kalkulačka ---------- */
/* názor účetní pod kalkulačkou: citát s velkými uvozovkami, autorka s iniciálami */
.w-testimonial { position: relative; max-width: 860px; margin: 40px auto 0; padding: 44px 52px 36px; border-radius: 28px; background: #fff; border: 1px solid #ebe5f5; box-shadow: 0 20px 50px #3b1d7a14; }
.w-testimonial::before { content: "“"; position: absolute; top: -14px; left: 40px; font-size: 96px; line-height: 1; font-weight: 800; background: linear-gradient(120deg, var(--violet-1), var(--violet-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.w-testimonial blockquote { margin: 0; }
.w-testimonial blockquote p { margin: 0; font-size: 21px; line-height: 1.55; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.w-testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 15px; color: var(--ink-muted); }
.w-testimonial figcaption strong { display: block; font-size: 16px; color: var(--ink); }
.w-testimonial-avatar { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 15px; font-weight: 750; letter-spacing: 0.02em; }
.w-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 56px; border-radius: 28px; background: #ffffffd9; border: 1px solid #fff; box-shadow: 0 30px 70px #3b1d7a1a; }
.w-calc .w-title { font-size: 40px; }
.w-calc-label { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 12px; font-size: 15px; font-weight: 700; }
.w-calc-label output { font-size: 28px; font-weight: 800; color: var(--accent); }
.w-range { width: 100%; height: 44px; margin: 0; background: transparent; accent-color: var(--accent); cursor: pointer; -webkit-appearance: none; appearance: none; }
.w-range::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--violet-2) var(--fill, 30%), #ebe4f8 var(--fill, 30%)); }
.w-range::-moz-range-track { height: 10px; border-radius: 10px; background: #ebe4f8; }
.w-range::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--violet-2); }
.w-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--violet-2); box-shadow: 0 4px 12px #6941c655; }
.w-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--violet-2); box-shadow: 0 4px 12px #6941c655; }
.w-calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.w-calc-result > div { padding: 22px; border-radius: 18px; background: var(--accent-soft); }
.w-calc-result > div.is-big { background: linear-gradient(135deg, var(--violet-1), var(--violet-3) 60%, var(--orchid)); color: #fff; }
.w-calc-result small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.w-calc-result .is-big small { color: #e7dbff; }
.w-calc-result > div strong { display: block; margin-top: 6px; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em; }
.w-calc-result p { grid-column: 1 / -1; margin: 6px 0 0; font-size: 18px; color: #4d4562; }
/* výška se při posouvání nesmí měnit, jinak stránka pod kalkulačkou poskakuje (mobil) */
.w-calc-result p { min-height: 3.2em; line-height: 1.6; }
.w-calc-result p strong, .w-calc-result .ik-data { white-space: nowrap; font-variant-numeric: tabular-nums; }
.w-calc-result .w-calc-cta { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
.w-calc-cta [data-calc-year] { font-variant-numeric: tabular-nums; }
.w-range { touch-action: pan-y pinch-zoom; }

/* ---------- 07 důvěryhodnost (tmavá) ---------- */
.w-trust { background: radial-gradient(ellipse at 20% 0%, #6941c666, #6941c600 55%), radial-gradient(ellipse at 90% 100%, #c26fd340, #c26fd300 50%), linear-gradient(160deg, #180f2c, #2b1a4d); color: #fff; }
.w-trust .w-eyebrow { color: #cbb6ff; }
.w-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
.w-stats li { padding: 30px 26px; border-radius: 20px; background: #ffffff0d; border: 1px solid #ffffff1a; }
.w-stats strong { display: block; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(100deg, #fff, #d9c8ff 60%, #f6b8e4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.w-stats span { display: block; margin-top: 10px; font-size: 15px; color: #c9bddf; }

/* ---------- 08 cena ---------- */
/* balíčky: přepínač (radio v label); zvolená karta tmavě fialová, „Chci vybranou variantu“ ji pošle do registrace */
.w-plans fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.w-plans .w-actions { justify-content: center; margin-top: 40px; }
.w-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
.w-prices li { display: flex; }
.w-prices label { display: flex; flex-direction: column; width: 100%; padding: 30px 26px; border-radius: 22px; background: #fff; border: 1px solid #ebe5f5; box-shadow: 0 10px 30px #3b1d7a0d; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s; }
.w-prices label:hover { transform: translateY(-4px); box-shadow: 0 20px 44px #3b1d7a1f; }
.w-prices label:has(:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.w-plan-name { font-size: 18px; letter-spacing: -0.02em; }
.w-price { margin: 18px 0 6px; font-size: 15px; color: var(--ink-muted); }
.w-price strong { margin-right: 4px; font-size: 36px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.w-plan-for { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-muted); }
.w-prices label:has(:checked) { background: linear-gradient(150deg, #3a1a86, #6941c6 60%, #9b5de5); border-color: transparent; color: #fff; box-shadow: 0 26px 54px #4b22a840; transform: translateY(-8px); }
.w-prices label:has(:checked):hover { transform: translateY(-12px); }
.w-prices label:has(:checked) .w-price, .w-prices label:has(:checked) .w-plan-for { color: #e2d6ff; border-color: #ffffff26; }
.w-prices label:has(:checked) .w-price strong { color: #fff; }
/* Ceník: tabulka obsahu balíčků; na úzkém displeji se posouvá jen tabulka */
.w-compare-wrap { max-width: 1100px; margin: 0 auto; overflow-x: auto; border-radius: 22px; background: #fff; border: 1px solid #ebe5f5; box-shadow: 0 10px 30px #3b1d7a0d; }
.w-compare-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.w-compare-table th, .w-compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); text-align: center; vertical-align: middle; }
.w-compare-table tbody tr:last-child > * { border-bottom: 0; }
.w-compare-table thead th { white-space: nowrap; padding-top: 22px; font-size: 17px; letter-spacing: -0.02em; }
.w-compare-table tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.w-compare-table td { color: var(--ink-muted); }
.w-compare-price { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.w-compare-yes { display: inline-flex; color: var(--accent); }

/* ---------- 09 závěr ---------- */
.w-final { position: relative; overflow: hidden; margin: 40px var(--site-pad) 80px; padding: 90px 60px; border-radius: 32px; background: linear-gradient(125deg, #2c1466, #5a2fc0 40%, #9b5de5 75%, #e58fb8); background-size: 200% 200%; color: #fff; text-align: center; box-shadow: 0 40px 80px #4b22a840; animation: w-pan 14s ease-in-out infinite alternate; }
@keyframes w-pan { to { background-position: 100% 100%; } }
.w-final .w-blobs span { opacity: 0.35; }
.w-final-inner { position: relative; max-width: 760px; margin: 0 auto; }
.w-final h2 { margin: 0; font-size: 56px; line-height: 1.08; font-weight: 800; letter-spacing: -0.045em; text-wrap: balance; }
.w-final p { margin: 20px auto 0; max-width: 620px; font-size: 19px; color: #f0e8ff; }
.w-final .w-actions { justify-content: center; }
.w-final-sign { display: flex; align-items: flex-start; justify-content: center; gap: 12px; margin-top: 40px !important; font-size: 18px !important; font-weight: 700; color: #fff !important; }
.w-final-sign .logo { font-size: 26px; color: #fff; }
.w-final-sign .logo::after { background: #fff; box-shadow: -3px 3px 0 #ffffff66; }

/* ---------- novinky a patička ---------- */
/* novinky: tmavě fialová karta jako sekce „Jednoduché navenek. Chytré uvnitř.“ (w-trust), světlý text, CTA přechodem */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-10); align-items: center; margin: 0 var(--site-pad) 70px; padding: var(--space-10); background: radial-gradient(ellipse at 20% 0%, #6941c666, #6941c600 55%), radial-gradient(ellipse at 90% 100%, #c26fd340, #c26fd300 50%), linear-gradient(160deg, #180f2c, #2b1a4d); color: #fff; border-radius: 22px; box-shadow: 0 30px 60px #2a114f2e; }
.newsletter-title { font-size: 28px; line-height: 34px; font-weight: 750; letter-spacing: -0.03em; margin-bottom: var(--space-3); }
.newsletter-text p { margin: 0; color: #c9bddf; }
.newsletter-sent p, .newsletter-sent .ik-muted { color: #c9bddf; }
.newsletter-sent strong, .newsletter-sent .ik-data { color: #fff; }
.newsletter .field > label { color: #e7dbff; }
.newsletter input[type=email] { border-color: #ffffff33; }
.newsletter .ik-btn { background: var(--cta-grad); border-color: transparent; color: var(--cta-ink); box-shadow: 0 8px 22px #d9779f40; }
.newsletter .ik-btn:hover { filter: saturate(1.25); }
.newsletter .field-error { color: #ffb3b3; }
.newsletter .has-error input { border-color: #ff9a9a; }
.newsletter-sent .step-icon { background: #ffffff1a; color: #fff; }
.newsletter-row { display: flex; gap: var(--space-2); }
.newsletter-row input[type=email] { flex: 1 1 auto; min-width: 0; }
.newsletter-form.is-sending .ik-btn { opacity: 0.6; pointer-events: none; }
.newsletter-sent { display: flex; gap: var(--space-4); align-items: flex-start; }
.newsletter-sent .step-icon { margin: 0; flex-shrink: 0; }
.newsletter-sent p:last-child { margin: 0; }

/* ---------- O nás: text vlevo, karta Lewestu vpravo ---------- */
.w-about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1100px; margin: 0 auto; }
.w-about .w-lead { margin: 22px 0 0; }
.w-about-card { padding: 32px 28px; border-radius: 22px; background: #fff; border: 1px solid #ebe5f5; box-shadow: 0 10px 30px #3b1d7a0d; }
.w-about-card img { display: block; width: 150px; height: auto; }
.w-about-card ul { display: grid; gap: 18px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-soft); list-style: none; }
.w-about-card strong { display: block; font-size: 20px; letter-spacing: -0.02em; }
.w-about-card span { font-size: 15px; color: var(--ink-muted); }
.w-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; text-align: center; }
.w-team img { display: block; width: 160px; height: 160px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); box-shadow: 0 0 0 6px #fff, 0 14px 30px #3b1d7a1f; }
.w-team strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
.w-team span { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-muted); }
/* Integrace: iDoklad zvýrazněný (funguje), ostatní tlumeně „připravujeme“; pod tím výzva na Kontakty */
.w-integrations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.w-integrations li { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 18px; background: #ffffffb3; border: 1px dashed #d9cdef; }
.w-integrations li.is-live { grid-column: 1 / -1; background: #fff; border: 1px solid var(--accent-line); box-shadow: 0 10px 30px #3b1d7a14; }
.w-integration-logo { display: block; align-self: flex-start; width: auto; height: 28px; max-width: 150px; margin-bottom: 4px; }
.w-integrations li:not(.is-live) .w-integration-logo { filter: grayscale(1); opacity: 0.55; }
.w-integration-name { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.w-integrations li:not(.is-live) .w-integration-name { color: var(--ink-muted); }
.w-integration-text { font-size: 16px; color: #5b5470; }
.w-integration-state { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; color: var(--ink-muted); }
.is-live .w-integration-state { color: var(--accent); }
.w-integrations-cta { max-width: 640px; margin: 56px auto 0; text-align: center; }
.w-integrations-cta h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.w-integrations-cta p { margin: 12px 0 0; font-size: 18px; color: #5b5470; }
/* O nás → Další naše projekty: celá karta je odkaz */
.w-projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
.w-projects li { display: flex; }
.w-project { display: flex; flex-direction: column; width: 100%; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid #ebe5f5; box-shadow: 0 10px 30px #3b1d7a0d; color: var(--ink); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.w-project:hover { transform: translateY(-3px); box-shadow: 0 18px 40px #3b1d7a1f; color: var(--ink); }
.w-project-logo { display: grid; place-items: center; height: 96px; margin-bottom: 20px; border-radius: 16px; background: var(--accent-soft); }
.w-project-logo img { display: block; width: auto; height: auto; max-width: 75%; max-height: 52px; }
.w-project-logo img[src*="karel"] { max-height: 72px; }
.w-project strong { font-size: 18px; letter-spacing: -0.02em; }
.w-project-text { flex-grow: 1; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.w-project-link { margin-top: 16px; font-size: 14px; font-weight: 650; color: var(--accent); }

/* ---------- Kontakty ---------- */
/* samostatná stránka webu (Kontakty, Znalostní báze): patička až pod okrajem obrazovky */
.w-page { min-height: calc(100vh / var(--zoom) - 182px); }
.w-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; margin: 0 auto; }
.w-contact-card, .w-contact-company { padding: 30px 28px; border-radius: 22px; background: #fff; border: 1px solid #ebe5f5; box-shadow: 0 10px 30px #3b1d7a0d; }
.w-contact-card { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s; }
.w-contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px #3b1d7a1f; }
.w-contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.w-contact small { font-size: 12px; line-height: 18px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.w-contact-card strong { font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.w-contact-go { margin-top: 10px; font-size: 15px; font-weight: 650; color: var(--accent); }
.w-contact-company { grid-column: 1 / -1; display: flex; gap: 20px; }
.w-contact-company .w-contact-icon { margin-bottom: 0; }
.w-contact-company p { margin: 6px 0 0; font-size: 16px; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; padding: 56px var(--site-pad) 28px; border-top: 1px solid var(--line); background: #fff; font-size: 15px; }
.site-footer .logo { font-size: 48px; }
.site-footer p { margin: 14px 0 0; max-width: 300px; font-size: 14px; color: var(--ink-muted); }
.site-footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
/* pod velkým logem malé „BY LEWEST“, odsazené zleva */
.site-footer-by { margin-top: 2px; padding-left: 4px; font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.site-footer-social { display: flex; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.site-footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid var(--line); color: var(--ink-muted); }
.site-footer-social a:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.site-footer-col h2 { margin: 0 0 14px; font-size: 12px; line-height: 18px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.site-footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer-col a { color: var(--ink-muted); text-decoration: none; }
.site-footer-col a:hover, .site-footer-made:hover { color: var(--accent); }
.site-footer-integrations { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding-top: 22px; border-top: 1px solid var(--line-soft); text-decoration: none; }
.site-footer-integrations-label { margin-right: 8px; font-size: 12px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.site-footer-logo { display: block; width: auto; height: 18px; filter: grayscale(1); opacity: 0.55; transition: filter 0.2s, opacity 0.2s; }
.site-footer-integrations:hover .site-footer-logo { filter: none; opacity: 1; }
.site-footer-bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-faint); }
.site-footer .site-footer-bar p { margin: 0; max-width: none; font-size: 13px; color: var(--ink-faint); }
.site-footer-made { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-faint); text-decoration: none; }
.site-footer-made img { display: block; height: 22px; width: auto; }

/* ---------- menší obrazovky ---------- */
@media (max-width: 1100px) {
	.w-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:root { --site-pad: 24px; }
	.site-header { gap: 28px; }
	.site-nav { gap: 20px; }
	.w-hero-title { font-size: 56px; }
	.w-title, .w-statement { font-size: 40px; }
	.w-slogan { font-size: 42px; }
	.w-mascot { width: 270px; }
	.w-orbit { width: 400px; height: 400px; }
	.w-stats, .w-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.w-prices label:has(:checked) { transform: none; }
	.w-persona, .w-personal, .w-calc { padding: 40px; gap: 36px; }
}

@media (max-width: 860px) {
	.w-integrations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.w-integrations-cta h2 { font-size: 24px; }
	.site-nav { display: none; }
	.site-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer-brand { grid-column: 1 / -1; }
	.w-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 40px; padding-bottom: 100px; }
	.w-hero-visual { min-height: 420px; }
	.w-flow { flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding: 18px; font-size: 14px; }
	.w-compare, .w-persona, .w-personal, .w-calc, .w-about { grid-template-columns: minmax(0, 1fr); }
	.w-personal-art { max-width: 260px; margin: 0 auto; }
	.w-stack-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 32px; min-height: 0; top: 90px; }
	.w-stack-card.is-2 { top: 104px; }
	.w-stack-card.is-3 { top: 118px; }
	.w-stack-num { font-size: 56px; }
	.w-stack-icon { display: none; }
}

@media (max-width: 600px) {
	.w-setup-grid { grid-template-columns: minmax(0, 1fr); }
	.w-setup-body { padding: 20px 16px; }
	.w-contact-form { padding: 24px 20px; }
	.w-setup-form .ik-btn { width: 100%; }
	:root { --site-pad: 16px; }
	.page-landing { font-size: 16px; }
	.site-header { min-height: 64px; gap: 12px; }
	.site-header .logo { font-size: 24px; }
	.site-account { gap: 12px; font-size: 13px; }
	.site-account .ik-btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
	.w-section { padding-top: 64px; padding-bottom: 64px; }
	.w-head { margin-bottom: 30px; }
	.w-hero-title { font-size: 42px; letter-spacing: -0.045em; }
	.w-lead { font-size: 17px; }
	.w-actions { flex-direction: column; align-items: stretch; width: 100%; }
	.w-actions .ik-btn { justify-content: center; padding: 0 16px; font-size: 15px; }
	.w-hero-visual { min-height: 360px; }
	.w-mascot { width: 200px; }
	.w-orbit { width: 300px; height: 300px; }
	.w-chip { padding: 8px 10px; gap: 8px; }
	.w-chip > .icon { width: 30px; height: 30px; padding: 6px; }
	.w-chip strong { font-size: 12px; }
	.w-chip-from { left: 0; top: 8px; }
	.w-chip-mail { right: 0; top: 80px; }
	.w-chip-photo { left: 0; bottom: 80px; }
	.w-chip-to { right: 0; bottom: 8px; }
	.w-title, .w-statement, .w-personal .w-title, .w-calc .w-title { font-size: 31px; }
	.w-slogan { font-size: 32px; margin-top: 56px; }
	.w-video { margin-top: 32px; border-radius: 18px; }
	.w-video-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
	.w-statement { margin-top: 48px; }
	.w-compare-col { padding: 24px; }
	.w-compare-col li { font-size: 16px; }
	.w-stack-card { padding: 26px; border-radius: 22px; }
	.w-stack-card h3, .w-stack-card h3 .logo { font-size: 26px; }
	.w-stack-card p { font-size: 16px; }
	.w-tabs { width: 100%; }
	.w-tab { flex: 1; justify-content: center; padding: 0 10px; font-size: 14px; }
	.w-persona, .w-personal, .w-calc { padding: 26px 20px; border-radius: 22px; }
	.w-persona h3 { font-size: 30px; }
	.w-calc-result strong { font-size: 30px; }
	.w-testimonial { margin-top: 28px; padding: 36px 22px 26px; border-radius: 22px; }
	.w-testimonial::before { left: 18px; font-size: 80px; }
	.w-testimonial blockquote p { font-size: 18px; }
	.w-stats, .w-prices { grid-template-columns: minmax(0, 1fr); }
	.w-marquee ul { gap: 44px; padding: 0 22px; }
	.w-clients img { height: calc(var(--logo-h, 34px) * 0.8); max-width: 120px; }
	.w-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
	.w-projects { grid-template-columns: minmax(0, 1fr); }
	.w-team img { width: 120px; height: 120px; }
	.w-stats strong { font-size: 36px; }
	.w-final { margin-bottom: 48px; padding: 56px 20px; border-radius: 24px; }
	.w-final h2 { font-size: 36px; }
	.w-final p { font-size: 16px; }
	.newsletter { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); margin-bottom: 45px; padding: var(--space-6); }
	.newsletter-row { flex-direction: column; }
	.w-contact { grid-template-columns: minmax(0, 1fr); }
	.w-contact-card, .w-contact-company { padding: 24px 20px; }
	.w-contact-card strong { font-size: 20px; }
	.w-contact-company { flex-direction: column; gap: 12px; }
	.site-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 20px; padding-top: 40px; }
	.site-footer-social a { width: 44px; height: 44px; }
	.site-footer-brand { grid-column: 1 / -1; }
	.site-footer-col li { min-height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.page-landing *, .page-landing *::before, .page-landing *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	/* bez pohybu: loga staticky na středu, jen jedna kopie */
	.w-marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--site-pad); }
	.w-marquee-track { width: auto; }
	.w-marquee ul { flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding: 0; }
	.w-marquee ul[aria-hidden] { display: none; }
	/* maskot zůstává živý (pohled, obočí, mrknutí), jen klidně a bez pérování; houpání a plování ne.
	   Windows s vypnutým „Zobrazovat animace“ hlásí reduce ve Firefoxu, lidé ho pak viděli bez života. */
	.page-landing .w-face, .page-landing .w-pupil, .page-landing .w-brow, .page-landing .w-chip {
		transition-property: transform, scale, box-shadow !important;
		transition-duration: 0.35s !important;
		transition-timing-function: ease-out !important;
	}
	.page-landing .w-mascot.is-blink .w-pupil { transition-duration: 0.08s !important; }
}

/* ---------- mobilní menu (≤ 860 px): hamburger → křížek, vysouvací panel zprava ---------- */
.site-burger, .site-drawer, .site-drawer-backdrop { display: none; }

@media (max-width: 860px) {
	/* s JS je v hlavičce jen logo a hamburger, vše ostatní ve vysouvacím panelu; bez JS zůstanou tlačítka v hlavičce */
	.js .site-account { display: none; }
	.js .site-burger { position: relative; z-index: 2; display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink); cursor: pointer; }
	.site-burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s ease, opacity 0.2s ease; }
	.site-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.site-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
	.site-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.js .site-drawer { position: fixed; z-index: 49; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 28px; width: min(100%, 380px); padding: 96px 24px 32px; overflow-y: auto; overscroll-behavior: contain; background: #fff; box-shadow: -20px 0 50px #3b1d7a26; transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s; }
	.js .site-drawer-backdrop { position: fixed; z-index: 48; inset: 0; display: block; background: #1b103a59; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
	.is-menu-open .site-drawer { transform: none; visibility: visible; transition: transform 0.3s ease; }
	.is-menu-open .site-drawer-backdrop { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
	.is-menu-open { overflow: hidden; }

	.site-drawer-nav { display: flex; flex-direction: column; }
	.site-drawer-nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line-soft); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
	.site-drawer-nav a[aria-current] { color: var(--accent); }
	.site-drawer-cta { display: grid; gap: 10px; }
	.site-drawer-cta .ik-btn { justify-content: center; }
	.site-drawer-contact { display: grid; gap: 6px; }
	.site-drawer-contact h2 { margin: 0 0 6px; font-size: 12px; line-height: 18px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
	.site-drawer-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; color: var(--ink); text-decoration: none; }
	.site-drawer-contact .icon { color: var(--accent); }
	.site-drawer .site-footer-social { margin: 0; }
}

@media (max-width: 600px) {
	.js .site-drawer { padding-top: 84px; }
}

@media (prefers-reduced-motion: reduce) {
	.site-burger span, .js .site-drawer, .js .site-drawer-backdrop, .is-menu-open .site-drawer, .is-menu-open .site-drawer-backdrop { transition: none; }
}
