/* genes.cz v2 – vzhled verejneho webu (z navrhu varianta 2). System font stack, bez externich zdroju. */
:root {
	--o: #ff7f2a;          /* oranzova ze znacky */
	--o2: #ff5a1f;
	--o-text: #c2410c;     /* oranzovy text na bilem (kontrast AA) */
	--ink: #0f0f10;
	--ink2: #3a3a3d;
	--mute: #74747a;
	--line: #ececef;
	--paper: #ffffff;
	--paper2: #f7f6f3;
	--r: 22px;
	--r-sm: 14px;
	--wrap: 1240px;
	--font: 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink2); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--o-text); }
h1, h2, h3 { color: var(--ink); font-weight: 750; letter-spacing: -.035em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--o); outline-offset: 3px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--o-text); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--o); }
.grad { background: linear-gradient(100deg, var(--o) 0%, var(--o2) 60%, #ff9a4d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* tlacitka */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn-primary .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--o); color: #fff; font-size: .9rem; }
.btn-light { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #d6d6db; }
.btn-light:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-orange { background: var(--o); color: #fff; }
.btn-orange:hover { background: var(--o2); color: #fff; transform: translateY(-2px); }

/* hlavicka – plovouci "pill" */
.site-header { position: sticky; top: 12px; z-index: 50; padding: 0 16px; }
.nav-pill { max-width: var(--wrap); margin: 12px auto 0; display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 20px; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); border: 1px solid rgba(0, 0, 0, .06); border-radius: 999px; box-shadow: 0 8px 30px rgba(0, 0, 0, .06); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 52px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--ink2); text-decoration: none; font-weight: 550; font-size: .97rem; }
.main-nav a:hover, .main-nav a.active { background: var(--paper2); color: var(--ink); }
.nav-cta { padding: 11px 20px; }
.nav-toggle { display: none; background: var(--paper2); border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; margin-left: auto; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; border-radius: 2px; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.nav-cta { display: none; }
	.main-nav { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); background: #fff; border-radius: var(--r); box-shadow: 0 20px 50px rgba(0, 0, 0, .14); padding: 10px; }
	.nav-open .main-nav { display: block; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: 14px 16px; font-size: 1.08rem; }
}

/* hero */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(255, 127, 42, .22) 0%, rgba(255, 127, 42, 0) 62%); z-index: -1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(#e4e4e8 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); letter-spacing: -.05em; line-height: .96; margin-bottom: 26px; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink2); max-width: 34em; margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof strong { display: block; font-size: 2.1rem; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.hero-proof span { font-size: .9rem; color: var(--mute); }
.stack { position: relative; aspect-ratio: 1 / .92; }
.stack figure { position: absolute; margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -12px rgba(20, 20, 30, .28), 0 0 0 1px rgba(0, 0, 0, .04); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.stack figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stack .s1 { width: 68%; aspect-ratio: 4 / 3; left: 0; top: 6%; transform: rotate(-6deg); }
.stack .s2 { width: 62%; aspect-ratio: 4 / 3; right: 0; top: 0; transform: rotate(5deg); }
.stack .s3 { width: 72%; aspect-ratio: 4 / 3; left: 16%; bottom: 0; transform: rotate(-1deg); z-index: 2; }
.stack:hover .s1 { transform: rotate(-9deg) translateX(-12px); }
.stack:hover .s2 { transform: rotate(8deg) translateX(12px); }
.stack .chip { position: absolute; z-index: 3; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 650; font-size: .9rem; color: var(--ink); box-shadow: 0 12px 30px rgba(0, 0, 0, .14); display: flex; align-items: center; gap: 8px; }
.stack .chip i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.stack .c1 { left: -4%; bottom: 14%; }
.stack .c2 { right: -2%; top: 46%; }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.stack { max-width: 520px; margin: 12px auto 0; width: 100%; }
}

/* pas klientu */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: #fff; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: #b4b4bb; white-space: nowrap; }
.marquee span::before { content: '✦'; color: var(--o); margin-right: 56px; font-size: .9rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* sekce */
.sec { padding: clamp(72px, 10vw, 136px) 0; }
.sec-alt { background: var(--paper2); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { max-width: 15em; }
.sec-head p { max-width: 30em; color: var(--mute); margin: 0; font-size: 1.08rem; }

/* bento sluzby */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--r); background: #fff; padding: 28px; overflow: hidden; text-decoration: none; color: var(--ink2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .18); border-color: transparent; color: var(--ink2); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--mute); font-size: .97rem; margin: 0; }
.tile .ico { width: 92px; height: 92px; margin: -6px 0 18px -6px; }
.tile .ico img { width: 100%; height: 100%; object-fit: contain; }
.tile .go { margin-top: auto; padding-top: 18px; font-weight: 650; color: var(--ink); font-size: .95rem; }
.tile .go::after { content: ' →'; color: var(--o); transition: margin .2s; }
.tile:hover .go::after { margin-left: 6px; }
.tile.big { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #c9c9cf; border: 0; padding: 40px; }
.tile.big h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; line-height: 1.05; }
.tile.big p { color: #b5b5bc; font-size: 1.05rem; max-width: 26em; }
.tile.big .go { color: #fff; }
.tile.big .go { position: relative; z-index: 1; }
.tile.big .shot { position: absolute; right: -10%; bottom: -16%; width: 64%; border-radius: 14px; transform: rotate(-6deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); opacity: .95; }
.tile.wide { grid-column: span 2; }
.tile.orange { background: linear-gradient(135deg, var(--o) 0%, var(--o2) 100%); color: #fff; border: 0; }
.tile.orange h3, .tile.orange .go { color: #fff; }
.tile.orange p { color: rgba(255, 255, 255, .88); }
.tile.orange .go::after { color: #fff; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
	.bento { grid-template-columns: 1fr; }
	.tile.big, .tile.wide { grid-column: auto; grid-row: auto; }
	.tile.big { min-height: 420px; }
}

/* vybrane prace */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips button { border: 1px solid #dcdce1; background: #fff; color: var(--ink2); padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; }
.chips button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips button:hover { border-color: var(--ink); }
.tab-panel[hidden] { display: none; }
.js .cat-title { display: none; }
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.work { grid-column: span 4; }
.work.feature { grid-column: span 8; grid-row: span 2; }
.work a { display: block; text-decoration: none; color: inherit; }
.work .img { border-radius: var(--r-sm); overflow: hidden; background: #eee; aspect-ratio: 4 / 3; }
.work.feature .img { aspect-ratio: auto; height: calc(100% - 64px); min-height: 340px; }
.work .img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.work a:hover .img img { transform: scale(1.04); }
.work .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; }
.work h3 { font-size: 1.15rem; }
.work .cap span { color: var(--mute); font-size: .9rem; white-space: nowrap; }
.works-more { display: flex; justify-content: center; margin-top: 44px; }
@media (max-width: 900px) { .work, .work.feature { grid-column: span 6; } .work.feature .img { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .work, .work.feature { grid-column: span 12; } }

/* cisla – tmavy pas */
.numbers { background: var(--ink); color: #b9b9c0; border-radius: 32px; margin: 0 16px; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.numbers::before { content: ''; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255, 127, 42, .35), transparent 65%); }
.numbers h2 { color: #fff; }
.numbers .eyebrow { color: #ffb77e; }
.num-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.num { border-top: 1px solid #333; padding-top: 22px; }
.num > strong { display: block; font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 750; letter-spacing: -.05em; color: #fff; line-height: 1; }
.num > strong em { font-style: normal; color: var(--o); }
.num b { display: block; color: #fff; font-weight: 650; margin: 10px 0 6px; }
.num p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .num-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .num-grid { grid-template-columns: 1fr; } }

/* srovnani */
.vs { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.vs-card { border-radius: var(--r); padding: clamp(28px, 4vw, 44px); }
.vs-card h3 { font-size: 1.6rem; margin-bottom: 22px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vs-card li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.vs-card li::before { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.vs-bad { background: #fff; border: 1px dashed #d5d5da; color: var(--mute); }
.vs-bad h3 { color: #8a8a90; }
.vs-bad li::before { content: '✕'; background: #f0f0f2; color: #a0a0a6; }
.vs-good { background: #fff; box-shadow: 0 30px 70px -20px rgba(255, 90, 31, .35), 0 0 0 2px var(--o); }
.vs-good li { color: var(--ink); }
.vs-good li::before { content: '✓'; background: var(--o); color: #fff; }
.vs-good .btn { margin-top: 28px; }
.vs-tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; } }


/* tym */
.team { display: flex; flex-wrap: wrap; gap: 12px; }
.team a { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1.05rem; transition: border-color .2s, transform .2s; }
.team a:hover { border-color: var(--o); transform: translateY(-2px); color: var(--ink); }
.team a i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--paper2); color: var(--o-text); font-weight: 800; font-size: .85rem; }

/* kontakt */
.contact { background: var(--ink); border-radius: 32px; margin: 0 16px; color: #b9b9c0; padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.contact::after { content: ''; position: absolute; left: -160px; bottom: -220px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(255, 127, 42, .3), transparent 65%); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.contact h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 20px; }
.contact .eyebrow { color: #ffb77e; }
.contact .lead { font-size: 1.12rem; margin-bottom: 36px; }
.direct { display: grid; gap: 10px; margin-bottom: 36px; }
.direct a { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; }
.direct a:hover { color: var(--o); }
.direct small { display: block; font-size: .8rem; font-weight: 600; color: #8b8b92; letter-spacing: .12em; text-transform: uppercase; }
.addr { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: .93rem; }
.addr b { color: #fff; display: block; margin-bottom: 4px; }
.form { background: #fff; border-radius: var(--r); padding: clamp(24px, 3.5vw, 40px); color: var(--ink2); }
.form h3 { font-size: 1.6rem; margin-bottom: 20px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: block; font-size: .85rem; font-weight: 650; color: var(--ink); margin: 0 0 6px; }
.form input, .form textarea { width: 100%; font: inherit; padding: 13px 15px; border: 1.5px solid #e2e2e6; border-radius: 12px; background: #fafafa; transition: border-color .15s, background .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--o); background: #fff; }
.form .f { margin-bottom: 14px; }
.form .note { font-size: .82rem; color: var(--mute); margin: 14px 0 0; }
.form .btn { width: 100%; justify-content: center; padding: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .two, .addr { grid-template-columns: 1fr; } }

/* paticka */
.site-footer { padding: 72px 0 32px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 14px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--o-text); }
.foot .about p { color: var(--mute); max-width: 22em; margin-top: 14px; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--mute); }
.bigword { font-size: clamp(4rem, 17vw, 15rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: var(--paper2); margin: 48px 0 -10px; user-select: none; white-space: nowrap; overflow: hidden; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } }

/* --- podstranky --- */
.phead { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.phead::before { content: ''; position: absolute; right: -10%; top: -60%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(255, 127, 42, .16), transparent 62%); z-index: -1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--mute); margin-bottom: 22px; }
.crumbs a { color: var(--ink2); text-decoration: none; }
.crumbs a:hover { color: var(--o-text); }
.crumbs span { color: #c4c4ca; }
.phead h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.05em; max-width: 16em; }
.phead .sub { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--mute); max-width: 40em; margin: 20px 0 0; }
.pbody { padding: 0 0 clamp(72px, 9vw, 120px); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); }
.prose { font-size: 1.1rem; line-height: 1.75; max-width: 46em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 1.6em 0 .6em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .65em; width: 10px; height: 10px; border-radius: 3px; background: var(--o); transform: rotate(45deg); }
.prose strong { color: var(--ink); }
.side { position: sticky; top: 110px; align-self: start; }
.side h4 { margin: 0 0 12px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.side ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.side a { display: block; padding: 8px 0 8px 18px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink2); text-decoration: none; font-weight: 550; }
.side a:hover { color: var(--ink); }
.side a.current { border-color: var(--o); color: var(--ink); font-weight: 700; }
.side .mini-cta { margin-top: 28px; padding: 22px; border-radius: var(--r-sm); background: var(--paper2); }
.side .mini-cta b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -.02em; }
.side .mini-cta p { font-size: .92rem; color: var(--mute); }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .side { position: static; } }

/* galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 28px; }
.gallery a { display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 12, 14, .94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox button:hover { background: var(--o); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #bbb; font-size: .92rem; }

/* detail reference */
.case-hero { border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .35); margin-bottom: clamp(40px, 6vw, 72px); background: #eee; }
.case-hero img { width: 100%; max-height: 640px; object-fit: cover; }
.case { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
.facts { position: sticky; top: 110px; align-self: start; display: grid; gap: 22px; }
.facts dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink); font-weight: 650; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.tags li { font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--paper2); color: var(--ink2); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #111 center / cover; margin-top: 12px; display: grid; place-items: center; color: #fff; cursor: pointer; }
.video::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .6)); }
.video .play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 26px; padding-left: 6px; box-shadow: 0 0 0 12px rgba(255, 255, 255, .2); transition: transform .2s; }
.video:hover .play { transform: scale(1.08); }
.video .vcap { position: absolute; left: 24px; bottom: 20px; font-weight: 650; }
.video .vnote { position: absolute; right: 24px; bottom: 20px; font-size: .8rem; opacity: .75; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.pager a { display: block; padding: 26px 28px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager small { display: block; color: var(--mute); font-size: .85rem; margin-bottom: 6px; }
.pager b { font-size: 1.25rem; letter-spacing: -.02em; }
.pager .next { text-align: right; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .facts { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pager { grid-template-columns: 1fr; } .pager .next { text-align: left; } }
.band-cta { margin-top: clamp(56px, 7vw, 88px); border-radius: var(--r); padding: clamp(32px, 5vw, 56px); background: linear-gradient(135deg, var(--o) 0%, var(--o2) 100%); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.band-cta p { margin: 8px 0 0; color: rgba(255, 255, 255, .9); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== doplnky pro realny obsah z administrace ===== */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }
.site-header.scrolled .nav-pill { box-shadow: 0 10px 34px rgba(0, 0, 0, .1); }
.brand span { font-size: .95rem; }

/* hlaseni (flash) */
.flash { padding: 14px 18px; border-radius: var(--r-sm); margin: 0 0 18px; background: #ecfdf3; border: 1px solid #86efac; color: #14532d; font-weight: 600; }
.flash.error { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }

/* sekce s HTML obsahem (prose na uvodu) */
.sec .rich p:last-child { margin-bottom: 0; }

/* cisla – pocet sloupcu podle poctu polozek */
.num-grid.n3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .num-grid.n3 { grid-template-columns: 1fr; } }
.num p { color: #b9b9c0; }
.num p strong { color: #fff; }

/* srovnani: obsah z administrace = h3 + odstavce -> polozky seznamu */
.vs-card > .vs-body h3 { font-size: 1.6rem; margin-bottom: 22px; }
.vs-card > .vs-body { display: grid; gap: 14px; }
.vs-card > .vs-body h3 { margin-bottom: 8px; }
.vs-card > .vs-body p { margin: 0; position: relative; padding-left: 38px; min-height: 26px; }
.vs-card > .vs-body p::before { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.vs-bad > .vs-body p::before { content: '✕'; background: #f0f0f2; color: #a0a0a6; }
.vs-good > .vs-body p { color: var(--ink); }
.vs-good > .vs-body p::before { content: '✓'; background: var(--o); color: #fff; }
.more-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; align-items: center; }
.more-links b { color: var(--ink); margin-right: 6px; }
.more-links a { padding: 9px 16px; border-radius: 999px; border: 1px solid #dcdce1; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.more-links a:hover { border-color: var(--ink); }

/* interaktivni / responzivni web – text + statistiky */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .rich { font-size: 1.1rem; line-height: 1.75; }
.split .rich h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 16px; }
.stat-cards { display: grid; gap: 16px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; }
.stat-card.dark { background: var(--ink); border: 0; color: #b9b9c0; }
.stat-card > strong { display: block; font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 750; letter-spacing: -.05em; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.stat-card.dark > strong { color: #fff; }
.stat-card > strong em { font-style: normal; color: var(--o); }
.stat-card p { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* tym */
.team a i { font-size: .8rem; }

/* kontakty */
.addr { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.addr p { margin: 0; }
.addr p:empty, .addr p:has(> br:only-child) { display: none; }
.contact .rich-lead p { margin: 0; }

/* kontaktni formular (Nette) */
.form .errors { list-style: none; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fef2f2; color: #991b1b; font-size: .95rem; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .req { color: var(--o-text); }
.form .recaptcha-note { margin-top: 6px; }
.form .recaptcha-note a { color: var(--mute); }
.pbody .form { border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .18); margin-top: 32px; max-width: 640px; }
.grecaptcha-badge { visibility: hidden; } /* povinny text o reCAPTCHA je primo u formulare */

/* paticka – sloupce z administrace */
.foot { grid-template-columns: 1.4fr repeat(auto-fit, minmax(150px, 1fr)); }
.foot h4::first-letter { text-transform: uppercase; }
@media (max-width: 1020px) { .foot { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } .foot .about { grid-column: 1 / -1; } }

/* podstranky */
.prose > div + div { margin-top: 1em; }
.prose h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 1.4em 0 .5em; }
.prose img { border-radius: var(--r-sm); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose iframe { max-width: 100%; border: 0; border-radius: var(--r-sm); }
.layout.solo { grid-template-columns: minmax(0, 1fr); }
.side .side-group + .side-group { margin-top: 28px; }
.works.grid3 .work { grid-column: span 4; }
@media (max-width: 900px) { .works.grid3 .work { grid-column: span 6; } }
@media (max-width: 560px) { .works.grid3 .work { grid-column: span 12; } }
.cat-nav { margin-bottom: 36px; }
.cat-nav a { display: inline-block; border: 1px solid #dcdce1; background: #fff; color: var(--ink2); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; }
.cat-nav a.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.sitemap-tree ul { margin: .3em 0 .6em; }
.empty { color: var(--mute); }

/* video – nahled, YouTube se nacte az po kliknuti */
.video { border: 0; width: 100%; font: inherit; padding: 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.videos h3 { margin: 28px 0 0; font-size: 1.15rem; }

/* chybove stranky */
.error-page .phead h1 { max-width: 14em; }
.error-page .code { font-size: clamp(5rem, 16vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: var(--paper2); margin-bottom: -10px; }
.error-page .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* vybrana reference: obrazek nesmi natahovat radek (screenshoty celych stranek jsou vysoke) */
.work.feature .img { position: relative; }
.work.feature .img img { position: absolute; inset: 0; }
@media (max-width: 900px) { .work.feature .img img { position: static; } }
.work .cap { flex-wrap: wrap; } .work .cap span { white-space: normal; }
