/*
Theme Name: Močáryová – Employer Branding
Theme URI: https://mocaryova.cz
Author: Kateřina Močáryová
Author URI: https://mocaryova.cz
Description: One-page šablona pro employer branding & HR marketing: rem-based adaptivní mřížka, úvodní loader, hero s „liquid“ odkrýváním fotky, animace po řádcích a slovech, výsledky, služby, reference, FAQ a poptávkový formulář (wp_mail). Barvy, fotky a odkazy se mění v Customizeru, texty v inc/content.php.
Version: 1.5.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mocaryova
Tags: one-column, custom-colors, custom-logo, custom-menu, translation-ready
*/

/* =========================================================================
   0. Tokeny (výchozí hodnoty – Customizer je přepisuje inline v <head>)
   ========================================================================= */
:root {
	--background: #ffffff;
	--foreground: #111111;
	--ink: #0a0a0a;
	--muted: #8d8d8d;
	--subtle: #b6b6b6;
	--line: #ebeae7;
	--surface: #f7f6f4;
	--surface-2: #eeedea;
	--accent: #f26b5e;
	--accent-from: #ff8a7a;
	--accent-to: #d94f44;
	--hero-from: #ffffff;
	--hero-to: #f1f0ed;

	--radius-pill: 9999px;
	--radius-card: 0.375rem;   /* minimální zaoblení: 6 px */
	--radius-card-sm: 0.25rem;
	--radius-control: 0.25rem;
	--radius-btn: 0.25rem;
	--frame-gap: 0px;
	--text-watermark: 13rem;
	--container-shell: 78rem; /* užší obsah, pozadí sekcí přes celou šířku */

	--fg-80: color-mix(in srgb, var(--foreground) 80%, transparent);
	--fg-70: color-mix(in srgb, var(--foreground) 70%, transparent);
	--fg-60: color-mix(in srgb, var(--foreground) 60%, transparent);
	--fg-50: color-mix(in srgb, var(--foreground) 50%, transparent);
	--fg-45: color-mix(in srgb, var(--foreground) 45%, transparent);
	--fg-30: color-mix(in srgb, var(--foreground) 30%, transparent);
	--fg-25: color-mix(in srgb, var(--foreground) 25%, transparent);
	--fg-20: color-mix(in srgb, var(--foreground) 20%, transparent);
	--fg-10: color-mix(in srgb, var(--foreground) 10%, transparent);
	--line-80: color-mix(in srgb, var(--line) 80%, transparent);
	--bg-40: color-mix(in srgb, var(--background) 40%, transparent);
	--bg-70: color-mix(in srgb, var(--background) 70%, transparent);
	--ink-soft: color-mix(in srgb, var(--ink) 88%, white);
	--white-2: #fbfaf8;
	--white-3: #f6f4f1;
	--coral-1: color-mix(in srgb, var(--accent) 5%, #ffffff);
	--coral-2: color-mix(in srgb, var(--accent) 10%, #ffffff);
	--coral-3: color-mix(in srgb, var(--accent) 18%, #ffffff);
	--accent-ink: color-mix(in srgb, var(--accent) 66%, #111111); /* korálová pro malý text – kontrast ≥ 4.5:1 */
	--error: #b3261e;

	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
	--ease-out-quart: cubic-bezier(.165, .84, .44, 1);
	--ease-snappy: cubic-bezier(.2, .8, .2, 1);
}

/* =========================================================================
   1. Reset / base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; background-color: var(--background); scroll-padding-top: 5rem; }
body { background: var(--background); color: var(--foreground); font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; overflow-x: hidden; line-height: 1.4; }
main { display: block; background: var(--background); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
img, svg, video, canvas { display: block; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* rem-based adaptivní mřížka: 16 * 100 / baseWidth vw (nad 1920 px řídí JS) */
@media (max-width: 1920px) { html { font-size: 0.833333vw; } }   /* base 1920 */
@media (max-width: 1440px) { html { font-size: max(1.111111vw, 13px); } }   /* base 1440, min. 13 px */
@media (max-width: 1024px) { html { font-size: max(1.5625vw, 14px); } }     /* base 1024, min. 14 px (tablety, telefony na šířku) */
@media (max-width: 767px)  { html { font-size: clamp(14px, 4.444444vw, 20px); } }   /* base 360: 14–20 px pro všechny telefony */

/* Zalamování textu: vyvážené nadpisy, odstavce bez osamocených slov, žádné přetékání */
h1, h2, h3, h4, .h2, .line__inner, .line-group, .service__title, .faq__question, .post-card__title, .result__value { text-wrap: balance; }
p, li, dt, dd, blockquote, figcaption, .faq__a, .quote__text { text-wrap: pretty; }
h1, h2, h3, h4, p, li, dt, dd, blockquote, a, button { overflow-wrap: break-word; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================================
   2. Utility
   ========================================================================= */
.shell { max-width: var(--container-shell); margin-inline: auto; padding-inline: 1.25rem; width: 100%; }
@media (min-width: 640px) { .shell { padding-inline: clamp(2rem, 5vw, 4rem); } }

.icon { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: -0.125em; }
.icon--flip { transform: rotate(180deg); }

.skip { position: absolute; left: -9999px; top: auto; }
.skip:focus { position: fixed; left: 1rem; top: 1rem; z-index: 60; border-radius: var(--radius-control); background: var(--ink); padding: .5rem 1rem; font-size: .875rem; color: #fff; outline: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--fg-70); }
.eyebrow::before { content: ''; width: 1.25rem; height: 2px; background: var(--accent); flex: none; transform-origin: left; transition: transform .4s var(--ease-out) .1s; }
.js .eyebrow[data-reveal]:not(.is-revealed)::before, .js [data-reveal]:not(.is-revealed) .eyebrow::before { transform: scaleX(0); }
.eyebrow--light { color: rgba(255, 255, 255, .7); }
.eyebrow--light::before { background: var(--accent); }

.h2 { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
@media (min-width: 640px) { .h2 { font-size: 3rem; } }

.section-head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.section-head__text { max-width: 40ch; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.section-head__side { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
@media (min-width: 1024px) {
	.section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2.5rem; margin-bottom: 4rem; }
	.section-head__side { align-items: flex-end; text-align: right; }
}

.text-link { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 500; color: var(--foreground); border-bottom: 1px solid var(--fg-25); padding-bottom: .125rem; transition: border-color .3s, color .3s; }
.text-link:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.text-link { padding-block: .25rem .125rem; }
.text-link .icon { transition: transform .35s var(--ease-snappy); }
.text-link:hover .icon { transform: translate(.125rem, -.125rem); }

/* Text reveal – řádky */
.line { display: block; overflow: hidden; padding: .2em 0 .22em; margin: -.2em 0 -.22em; }
.line-group { display: block; }
.line--kicker { margin-bottom: 1.25rem; }
.line--kicker .line__inner { display: inline-flex; align-items: flex-start; gap: .625rem; font-size: .875rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; color: var(--fg-70); }
.line--kicker .line__inner::before { content: ''; width: 1.25rem; height: 2px; margin-top: .6em; background: var(--accent); flex: none; transform-origin: left; transition: transform .45s var(--ease-out) .2s; }
.js [data-reveal="lines"]:not(.is-in) .line--kicker .line__inner::before { transform: scaleX(0); }

.mono { display: inline-grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: var(--foreground); font-size: .625rem; font-weight: 700; letter-spacing: .06em; line-height: 1; flex: none; }

.line__inner { display: block; transition: transform .6s var(--ease-out-cubic), opacity .6s var(--ease-out-cubic); }
.js [data-reveal="lines"]:not(.is-in) .line__inner { transform: translate3d(0, 130%, 0); opacity: 0; }
/* Mobil a menší tablet: řádky jedné věty se spojí a zalomí podle šířky displeje (žádné „schody“) */
@media (max-width: 767px) {
	.line-group > .line { display: inline; overflow: visible; padding: 0; margin: 0; }
	.line-group > .line > .line__inner { display: inline; }
	.js [data-reveal="lines"] .line-group > .line > .line__inner { transform: none; opacity: 1; transition: none; }
	.line-group { transition: opacity .5s var(--ease-out-cubic), transform .5s var(--ease-out-cubic); }
	.js [data-reveal="lines"]:not(.is-in) .line-group { opacity: 0; transform: translate3d(0, .35em, 0); }
}
/* Pojistka: když se skripty nenačtou, obsah se zobrazí (třída no-anim z hlavičky) */
.no-anim .loader { display: none !important; }
.no-anim [data-reveal], .no-anim .line__inner, .no-anim .line-group, .no-anim .word { opacity: 1 !important; transform: none !important; }
.no-anim .eyebrow::before, .no-anim .line--kicker .line__inner::before { transform: none !important; }
/* Text reveal – slova */
.word { display: inline-block; transition: transform .45s var(--ease-out-quart), opacity .45s var(--ease-out-quart); }
.js [data-reveal="words"]:not(.is-in) .word { transform: translate3d(0, 24px, 0); opacity: 0; }

/* =========================================================================
   3. Tlačítka
   ========================================================================= */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: var(--radius-btn); padding: .9375rem 1.5rem; min-height: 2.75rem; font-size: .875rem; font-weight: 500; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: background-color .2s var(--ease-snappy), color .2s var(--ease-snappy), border-color .2s var(--ease-snappy), opacity .2s; }
.btn .icon { transition: transform .25s var(--ease-snappy); }
.btn:hover .icon { transform: translateX(.125rem); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--outline { border-color: var(--fg-25); color: var(--foreground); background: var(--background); }
.btn--outline:hover { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--coral-3); border-color: var(--coral-3); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn:disabled { opacity: .6; cursor: progress; }

/* =========================================================================
   4. Loader
   ========================================================================= */
.loader { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; background: var(--ink); color: #fff; border-radius: 0 0 var(--radius-card) var(--radius-card); will-change: transform; }
.loader__center { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; opacity: 1; }
.loader__brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; }
.loader__mark { width: 3rem; height: 3rem; font-size: 1rem; color: #fff; border-width: 2px; }
@media (min-width: 640px) { .loader__brand { font-size: 1.875rem; } }
.loader__tag { max-width: 24ch; font-size: .875rem; color: rgba(255, 255, 255, .55); }
.loader__progress { display: flex; flex-direction: column; gap: .75rem; width: min(22rem, 72vw); }
.loader__track { height: 1px; background: rgba(255, 255, 255, .15); }
.loader__fill { height: 100%; width: 0%; background: var(--accent); transition: width .1s ease-out; }
.loader__meta { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .45); }
.loader__count { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .8); }

/* =========================================================================
   5. Header
   ========================================================================= */
.header { position: absolute; inset-inline: 0; top: 0; z-index: 50; }
/* Sticky lišta na desktopu (JS přidá .header--fixed po odscrollování z úvodu) */
.header--fixed { position: fixed; top: 0; inset-inline: 0; background: color-mix(in srgb, var(--background) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translate3d(0, calc(-100% - 1rem), 0); transition: transform .35s var(--ease-out), box-shadow .2s; will-change: transform; }
.header--fixed.header--show { transform: translate3d(0, 0, 0); box-shadow: 0 .75rem 2rem -1.25rem rgba(10, 10, 10, .2); }
.header--fixed .header__inner { padding-block: .875rem; }
@media (max-width: 767px) { .header--fixed .header__inner { padding-block: .625rem; } }
.header--fixed .brand__inner { font-size: 1rem; }
.header--fixed .brand__mark { width: 1.875rem; height: 1.875rem; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; }
@media (min-width: 640px) { .header__inner { padding-block: 1.5rem; } }

.brand { display: inline-flex; }
.brand__inner { display: flex; align-items: center; gap: .5rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand__mark { width: 2.125rem; height: 2.125rem; font-size: .6875rem; }
.brand__inner--light { color: #fff; }
.brand__inner--light .mono { color: #fff; }
.brand__logo { height: 2rem; width: auto; }
@media (max-width: 640px) { .brand__inner { font-size: 1rem; } .menu-btn__inner { padding: .5rem .75rem; } }

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav ul { display: flex; align-items: center; gap: 1.25rem; font-size: .875rem; font-weight: 500; }
.nav li { white-space: nowrap; }
@media (min-width: 1280px) { .nav ul { gap: 2rem; } }
.nav a, .nav button { display: inline-block; padding: .5rem .125rem; }
.nav__label { display: inline-flex; align-items: center; gap: .25rem; }
.nav__caret { font-size: .75rem; opacity: .6; }

.header__right { display: flex; align-items: center; gap: .75rem; }
.header__cta { display: none; }
@media (min-width: 768px) and (max-width: 1023px) { .header__cta { display: block; } }
@media (min-width: 1280px) { .header__cta { display: block; } }
.btn--sm { padding: .6875rem 1rem; font-size: .75rem; min-height: 2.25rem; }

.menu-btn { border: 1px solid var(--line); background: var(--background); border-radius: var(--radius-btn); transition: background .3s, border-color .3s; }
.menu-btn:hover { border-color: var(--foreground); }
.menu-btn__inner { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.menu-btn__inner .icon { font-size: .875rem; }
.menu-btn__text { display: none; }
@media (min-width: 640px) { .menu-btn__text { display: inline; } }

/* =========================================================================
   6. Hero
   ========================================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 0 0 var(--radius-card) var(--radius-card); background: var(--hero-to); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 30%; transition: opacity .6s; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, .66)); pointer-events: none; }
.hero__img.is-broken { opacity: 0; }
.hero:has(.hero__img.is-broken) { background: linear-gradient(180deg, var(--hero-from), var(--hero-to)); }
.hero__canvas { pointer-events: none; }
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(255, 255, 255, .45), transparent 40%, transparent 70%, rgba(255, 255, 255, .55)); }
.hero__watermark { pointer-events: none; position: absolute; inset-inline: 0; bottom: 7rem; z-index: 1; text-align: center; user-select: none; font-weight: 700; line-height: 1; font-size: var(--text-watermark); letter-spacing: -.02em; color: rgba(255, 255, 255, .7); opacity: .3; white-space: nowrap; }
@media (max-width: 640px) { .hero__watermark { font-size: min(var(--text-watermark), 26vw); bottom: 4rem; } }

.hero__grid { position: relative; z-index: 20; display: flex; flex-direction: column; gap: 2.5rem; padding-block: 6rem 4.5rem; }
@media (min-width: 1024px) {
	.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem; padding-block: 8rem 6rem; align-items: center; }
}
.hero__left { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.hero__right { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
@media (min-width: 1024px) {
	.hero__left { grid-column: span 8; }
	.hero__right { grid-column: span 4; align-items: flex-end; }
}

.hero__title { max-width: 24ch; font-size: 2.25rem; font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.hero__title em { font-style: italic; color: var(--accent); }
@media (min-width: 640px) { .hero__title { font-size: 3rem; } }
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
.hero__lead { max-width: 46ch; font-size: 1rem; line-height: 1.5; color: var(--fg-80); }
@media (min-width: 640px) { .hero__lead { font-size: 1.125rem; } }

.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; font-weight: 500; color: var(--fg-70); }
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust li::before { content: ''; width: .375rem; height: .375rem; background: var(--accent); flex: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__note { font-size: .8125rem; color: var(--muted); margin-top: -.75rem; }

/* Hero – portrét / výřez (contain) */
.hero--portrait { background: linear-gradient(180deg, var(--hero-from), var(--hero-to)); display: flex; flex-direction: column; }
.hero--portrait .hero__grid { order: 1; }
.hero--portrait .hero__media { order: 2; position: relative; height: 72vw; max-height: 34rem; }
.hero--portrait .hero__img { object-fit: contain; object-position: 50% 100%; }
@media (min-width: 1024px) {
	.hero--portrait { display: block; }
	.hero--portrait .hero__media { position: absolute; inset: 0 0 0 50%; height: auto; max-height: none; }
	.hero--portrait .hero__img { object-position: 100% 100%; }
	.hero--portrait .hero__right { display: none; }
	.hero--portrait .hero__left { grid-column: span 6; }
}

/* Hero – fotka (karta) */
.hero-photo { position: relative; width: 100%; max-width: 24rem; aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; background: var(--white-3); border: 1px solid var(--coral-3); box-shadow: 0 1.5rem 3rem -1.5rem rgba(10, 10, 10, .25); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1.03) translate3d(0, .3%, 0); } 50% { transform: scale(1.06) translate3d(0, -.5%, 0); } }
.hero__glow { position: absolute; z-index: 1; pointer-events: none; width: 36rem; height: 36rem; right: -6rem; top: 10%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 0%, color-mix(in srgb, var(--accent) 8%, transparent) 40%, transparent 70%); animation: glow 8s ease-in-out infinite; }
@media (max-width: 1023px) { .hero__glow { width: 24rem; height: 24rem; right: -8rem; top: auto; bottom: 4rem; } }
@keyframes glow { 0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: .75; } 50% { transform: scale(1.12) translate3d(-2rem, 1.5rem, 0); opacity: 1; } }
.hero-photo img.is-broken { opacity: 0; }
.hero-photo__caption { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; display: flex; flex-direction: column; gap: .125rem; background: var(--background); border-radius: var(--radius-card-sm); padding: .75rem 1rem; font-size: .75rem; line-height: 1.35; color: var(--muted); }
.hero-photo__caption strong { font-size: .875rem; font-weight: 600; color: var(--foreground); }
.hero-photo__caption::before { content: ''; position: absolute; left: 0; top: .875rem; bottom: .875rem; width: 2px; background: var(--accent); border-radius: 0 1px 1px 0; }

/* Hero bez fotky na pozadí */
.hero--plain { background: linear-gradient(180deg, #ffffff 0%, var(--coral-1) 50%, var(--coral-2) 100%); }
.hero--plain .hero__watermark { color: var(--accent); opacity: .09; }

/* Partneři */
.partners { width: 100%; max-width: 26rem; display: flex; flex-direction: column; gap: .75rem; }
.partners__label { display: flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-60); }
@media (min-width: 1024px) { .partners__label { justify-content: flex-end; } }
.marquee__pause { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: .25rem; border: 1px solid var(--fg-25); color: var(--fg-60); transition: border-color .3s, color .3s; }
.marquee__pause:hover { border-color: var(--foreground); color: var(--foreground); }
.marquee__pause-icon { width: .5rem; height: .5rem; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.marquee__pause[aria-pressed="true"] .marquee__pause-icon { width: 0; height: 0; border: 0; border-left: .5rem solid currentColor; border-top: .3rem solid transparent; border-bottom: .3rem solid transparent; margin-left: .125rem; }
.marquee--paused .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-60); white-space: nowrap; padding: 0 1.25rem; border-right: 1px solid var(--coral-3); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (min-width: 1024px) { .partners { align-items: flex-end; } }

/* =========================================================================
   8. Band – pilulky
   ========================================================================= */
.band { padding-block: 5rem; background: var(--white-2); }
@media (min-width: 1024px) { .band { padding-block: 6rem; } }
.band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
@media (min-width: 1024px) { .band__row { flex-wrap: nowrap; justify-content: space-between; gap: 1rem; } }
.pill { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-card); padding: .55em 1.1em; font-size: 2.25rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
@media (min-width: 640px) { .pill { font-size: 3rem; } }
@media (min-width: 768px) { .pill { font-size: 3.75rem; } }
@media (min-width: 1024px) { .pill { font-size: 3.25rem; flex: 1 1 auto; } }
@media (min-width: 1280px) { .pill { font-size: 4.5rem; } }
.pill--surface { background: var(--coral-1); color: var(--foreground); border: 1px solid var(--coral-3); }
.pill--ink { background: var(--ink); color: #fff; }
.pill--accent { background: var(--accent); color: #fff; flex: 0 0 auto !important; width: 2.1em; height: 2.1em; padding: 0; }
.pill--accent .icon { transition: transform .5s var(--ease-out); }
.pill--accent:not(:hover) .icon { animation: nudge 2.6s ease-in-out infinite; }
.pill--accent:hover .icon { transform: rotate(-45deg); }
@keyframes nudge { 0%, 100% { transform: translateX(-.06em); } 50% { transform: translateX(.08em); } }
.pill--outline { border: 1px solid var(--line); color: var(--foreground); background: #fff; }

/* =========================================================================
   9. Služby
   ========================================================================= */
.services { padding-block: 5rem; background: #ffffff; }
.services__list li:last-child .service { border-bottom: 1px solid var(--line); }
.service { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; gap: .75rem; width: 100%; text-align: left; padding: 2rem 1.25rem; border-top: 1px solid var(--line); overflow: hidden; color: var(--foreground); cursor: pointer; transition: color .3s var(--ease-out); }
.service::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease-out); }
@media (min-width: 1024px) {
	.service { grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1.4fr) auto; align-items: center; gap: 2rem; padding: 2.5rem 1.5rem; }
}
.service__index { font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--muted); transition: color .3s; }
.service__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.18; }
@media (min-width: 1024px) { .service__title { font-size: 1.5rem; } }
@media (min-width: 1280px) { .service__title { font-size: 1.875rem; } }
.service__text { font-size: .875rem; line-height: 1.5; color: var(--muted); max-width: 44ch; transition: color .3s; }
.service__end { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 1024px) { .service__end { justify-content: flex-end; } }
.service__price { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); white-space: nowrap; background: var(--coral-1); border: 1px solid var(--coral-3); border-radius: var(--radius-btn); padding: .375rem .625rem; transition: color .3s, background .3s, border-color .3s; }
.service__arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-btn); border: 1px solid var(--line); font-size: 1rem; transition: background .25s, color .25s, border-color .25s; }
.service__arrow .icon { transition: transform .35s var(--ease-out); }
@media (hover: hover) {
	.service:hover { color: #fff; }
	.service:hover::before { transform: scaleY(1); }
	.service:hover .service__text { color: rgba(255, 255, 255, .65); }
	.service:hover .service__index { color: rgba(255, 255, 255, .5); }
	.service:hover .service__price { color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
	.service:hover .service__arrow { background: #fff; color: var(--ink); border-color: #fff; }
	.service:hover .service__arrow .icon { transform: rotate(45deg); }
}

/* =========================================================================
   10. Výsledky – minimalistická mřížka čísel
   ========================================================================= */
.works { padding-block: 5rem; background: var(--coral-2); }
.results { display: grid; background: #ffffff; border: 1px solid var(--coral-3); border-radius: var(--radius-card); overflow: hidden; }
.result { display: flex; flex-direction: column; gap: .75rem; padding: 2rem 1.75rem 2.25rem; border-top: 1px solid var(--line); }
.result:first-child { border-top: 0; }
@media (min-width: 640px) {
	.results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.result { border-top: 0; border-left: 1px solid var(--line); }
	.result:nth-child(odd) { border-left: 0; }
	.result:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1024px) {
	.results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.result { padding: 2.5rem 2rem 2.75rem; }
	.result:nth-child(n+3) { border-top: 0; }
	.result:nth-child(odd) { border-left: 1px solid var(--line); }
	.result:first-child { border-left: 0; }
}
.result__meta { display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 600; }
.result__index { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.result__client { text-transform: uppercase; letter-spacing: .08em; color: var(--fg-60); }
.result__value { font-size: 3.25rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-top: .75rem; font-variant-numeric: tabular-nums; color: var(--foreground); }
@media (min-width: 1280px) { .result__value { font-size: 3.75rem; } }
.result__text { font-size: .9375rem; line-height: 1.5; color: var(--fg-70); flex: 1; }
.result__tags { font-size: .75rem; color: var(--muted); }
.result__link { align-self: flex-start; display: inline-flex; align-items: center; gap: .375rem; margin-top: .5rem; font-size: .8125rem; font-weight: 600; color: var(--foreground); border-bottom: 1px solid var(--fg-25); padding-bottom: .125rem; transition: color .3s, border-color .3s; }
.result__link:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.result__link { padding-block: .25rem .125rem; }
.result__link .icon { transition: transform .35s var(--ease-snappy); }
.result__link:hover .icon { transform: translateX(.125rem); }

/* =========================================================================
   11. O mně
   ========================================================================= */
.about { padding-block: 5rem; background: var(--white-3); }
.about__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } .about--noimage .about__grid { grid-template-columns: minmax(0, 1fr); } .about--noimage .about__main { max-width: 64rem; } }
.about__media { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 1 / 1; background: var(--coral-2); }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__media img.is-broken { opacity: 0; }
.about__badge { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; border-radius: var(--radius-btn); background: var(--background); padding: .5rem .875rem; font-size: .75rem; font-weight: 600; color: var(--foreground); }
.about__badge::before { content: ''; width: .375rem; height: .375rem; background: var(--accent); }
@media (min-width: 1024px) { .about__media { position: sticky; top: 6rem; } }
.about__main { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.about__text { display: flex; flex-direction: column; gap: 1rem; font-size: 1rem; line-height: 1.6; color: var(--fg-80); max-width: 60ch; }
.about__summary { font-weight: 500; color: var(--foreground); }
@media (min-width: 640px) { .about__text { font-size: 1.125rem; } }
.about__cols { display: grid; gap: 2rem; width: 100%; }
@media (min-width: 768px) { .about__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.about__h3 { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-60); margin-bottom: 1rem; }
.about__list { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; line-height: 1.5; }
.about__list li, .about__where { display: flex; gap: .625rem; align-items: flex-start; font-size: .875rem; line-height: 1.5; }
.about__list .icon, .about__where .icon { flex: none; margin-top: .2em; color: var(--accent); }
.about__edu { font-size: .8125rem; line-height: 1.5; color: var(--muted); max-width: 60ch; }

/* =========================================================================
   12. Statistiky – černý panel
   ========================================================================= */
.stats { padding-block: 4rem; background: var(--coral-1); }
.stats__panel { background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 3rem 1.5rem; display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 1024px) { .stats__panel { padding: 5rem 4rem; gap: 4rem; } }
.stats__head { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .stats__head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.stats__text { max-width: 40ch; font-size: 1rem; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.stat { display: flex; flex-direction: column-reverse; gap: .75rem; }
@media (min-width: 1024px) { .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: 2rem; } }
.stat dd { display: flex; align-items: flex-start; gap: .125rem; font-size: 3rem; white-space: nowrap; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .stat dd { font-size: 4.5rem; } }
.stat__prefix { color: var(--accent-from); }
.stat__suffix { font-size: .45em; margin-top: .12em; color: var(--accent-from); font-weight: 500; letter-spacing: 0; }
.stat dt { font-size: .875rem; line-height: 1.4; color: rgba(255, 255, 255, .55); max-width: 24ch; }
@media (min-width: 640px) and (max-width: 1023px) { .stat dd { font-size: 3rem; } }
/* Telefony: čísla jako přehledný seznam – číslo vlevo, popis vpravo */
@media (max-width: 639px) {
	.stats { padding-block: 3rem; }
	.stats__panel { padding: 1.75rem 1.25rem .75rem; gap: 1rem; }
	.stats__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.stat { display: grid; grid-template-columns: 42% minmax(0, 1fr); grid-template-areas: "num label"; align-items: center; gap: 1rem; padding-block: 1.125rem; border-top: 1px solid rgba(255, 255, 255, .12); }
	.stat dd { grid-area: num; font-size: 2.25rem; }
	.stat dt { grid-area: label; max-width: none; font-size: .875rem; }
}
@media (max-width: 359px) {
	.stat { grid-template-columns: minmax(0, 1fr); grid-template-areas: "num" "label"; gap: .375rem; }
}

/* =========================================================================
   13. Reference
   ========================================================================= */
.testimonials { padding-block: 5rem; background: #ffffff; }
.quote { display: flex; flex-direction: column; gap: 1rem; }
.quote__mark { font-size: 3rem; line-height: .4; font-weight: 600; color: var(--accent); height: 1.25rem; }
.quote__text { font-size: 1rem; font-weight: 500; letter-spacing: -.005em; line-height: 1.55; }
.quote__text::before { content: '„'; }
.quote__text::after { content: '“'; }
.quote__author { display: flex; flex-direction: column; gap: .125rem; font-size: .8125rem; margin-top: auto; }
.quote__name { font-weight: 600; }
.quote__role { color: var(--muted); }

/* Vertikální carousel referencí. Bez JS: citace pod sebou, ovládání skryté. */
.tcar__track { position: relative; display: grid; gap: 1rem; }
.tcar__slide { gap: 1.25rem; padding: 1.75rem 1.5rem 1.5rem; background: var(--coral-1); border: 1px solid var(--coral-2); border-radius: var(--radius-card); }
@media (min-width: 640px) { .tcar__slide { padding: 2.25rem 2.25rem 2rem; } .tcar__slide .quote__text { font-size: 1.125rem; } }
@media (min-width: 1024px) {
	.tcar__slide { padding: 2.5rem 2.75rem 2.25rem; }
	.tcar__slide .quote__text { font-size: 1.25rem; line-height: 1.5; letter-spacing: -.01em; }
	.tcar__slide .quote__author { font-size: .875rem; }
}
.tcar__aside { display: none; }

.tcar.is-ready { --tcar-peek: 3rem; --tcar-gap: .875rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.tcar.is-ready .tcar__aside { display: flex; flex-direction: column; gap: 2rem; order: 2; }
.tcar.is-ready .tcar__viewport {
	position: relative; overflow: hidden; padding-block: var(--tcar-peek);
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .08) 0, #000 var(--tcar-peek), #000 calc(100% - var(--tcar-peek)), rgba(0, 0, 0, .08) 100%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .08) 0, #000 var(--tcar-peek), #000 calc(100% - var(--tcar-peek)), rgba(0, 0, 0, .08) 100%);
}
.tcar.is-ready .tcar__track { display: flex; flex-direction: column; gap: var(--tcar-gap); will-change: transform; }
.tcar.is-ready .tcar__slide { opacity: .5; transform: scale(.965); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), border-color .6s; }
.tcar.is-ready .tcar__slide.is-active { opacity: 1; transform: none; border-color: var(--coral-3); }
.tcar.is-instant .tcar__slide { transition: none; }

.tcar__names { display: none; }
.tcar__name { position: relative; display: flex; flex-direction: column; gap: .125rem; width: 100%; padding: .75rem 0 .75rem 1.25rem; text-align: left; }
.tcar__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); overflow: hidden; }
.tcar__bar > span { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: 50% 0; }
.tcar__who { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--fg-60); transition: color .3s; }
.tcar__role { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.tcar__name:hover .tcar__who, .tcar__name:focus-visible .tcar__who { color: var(--fg-80); }
.tcar__name.is-active .tcar__who { color: var(--foreground); }

.tcar__controls { display: flex; align-items: center; gap: 1rem; }
.tcar__count { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.tcar__total { color: var(--muted); font-weight: 500; }
.tcar__progress { position: relative; flex: 1 1 auto; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tcar__progress > span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.tcar__btns { display: flex; gap: .5rem; flex: none; }
.tcar__btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; color: var(--foreground); transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out); }
.tcar__btn .icon { width: 1.125rem; height: 1.125rem; }
.tcar__btn:active { transform: scale(.94); }
@media (hover: hover) { .tcar__btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; } }
.tcar__btn .icon--play { display: none; }
.tcar.is-stopped .tcar__btn .icon--play { display: block; }
.tcar.is-stopped .tcar__btn .icon--pause { display: none; }
@media (max-width: 359px) { .tcar__btn { width: 2.5rem; height: 2.5rem; } .tcar__controls { gap: .75rem; } }
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1023px) { .tcar.is-ready { --tcar-peek: 1.5rem; } }
@media (min-width: 1024px) {
	.tcar.is-ready { --tcar-peek: 5rem; --tcar-gap: 1.25rem; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: center; }
	.tcar.is-ready .tcar__aside { order: 0; }
	.tcar__names { display: grid; }
	.tcar__controls { justify-content: space-between; padding-left: 1.25rem; }
	.tcar__progress { display: none; }
}

/* =========================================================================
   14. FAQ
   ========================================================================= */
.faq { padding-block: 5rem 6rem; background: var(--coral-1); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
@media (min-width: 1024px) { .faq__aside { position: sticky; top: 6rem; } }
.faq__list { background: #ffffff; border: 1px solid var(--coral-3); border-radius: var(--radius-card); padding: 0 1rem; min-width: 0; }
@media (min-width: 640px) { .faq__list { padding: 0 1.5rem; } }
.faq__question { overflow-wrap: break-word; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.5rem 0; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.32; }
.faq__q::-webkit-details-marker { display: none; }
@media (min-width: 640px) { .faq__q { font-size: 1.25rem; padding: 1.75rem 0; } }
.faq__index { font-size: .75rem; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .faq__q { grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; padding: 1.25rem 0; } .faq__index { display: none; } }
@media (max-width: 359px) { .faq__q { font-size: 1rem; gap: .625rem; } .faq__list { padding: 0 .875rem; } .faq__toggle { width: 2rem; height: 2rem; } }
.faq__toggle { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-btn); border: 1px solid var(--line); font-size: .875rem; transition: background .2s, color .2s, border-color .2s; }
.faq__item[open] .faq__toggle { background: var(--accent); color: #fff; border-color: var(--accent); }
.faq__toggle .icon { transition: transform .3s var(--ease-out); }
.faq__item[open] .faq__toggle .icon { transform: rotate(45deg); }
.faq__q:hover .faq__toggle { border-color: var(--foreground); }
.faq__a { padding: 0 0 1.75rem 3.5rem; font-size: 1rem; line-height: 1.6; color: var(--fg-70); max-width: 60ch; }
@media (max-width: 639px) { .faq__a { padding-left: 0; } }
.faq__a p { animation: faq-in .5s var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq__a p { animation-duration: .3s; }

/* =========================================================================
   15. Patička
   ========================================================================= */
.footer { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 0; box-shadow: 0 100vh 0 100vh var(--ink); }
/* Stín patičky natažený dolů: cokoli pod patičkou (kratší stránka, výstup pluginů) je tmavé; horní část stránky zůstává bílá. Stín nezvětšuje stránku ani nepřidává posuvník. */
.footer__cta { display: grid; gap: 2rem; padding-block: 6rem 4rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 1024px) { .footer__cta { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: end; padding-block: 8rem 5rem; } }
.footer__title { margin-top: 1.25rem; font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
@media (min-width: 640px) { .footer__title { font-size: 3rem; } }
@media (min-width: 1024px) { .footer__title { font-size: 3.25rem; } }
@media (min-width: 1280px) { .footer__title { font-size: 3.5rem; } }
.footer__cta-right { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.footer__cta-right p { font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, .65); max-width: 40ch; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer__mail { font-size: 1.125rem; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: .125rem; transition: border-color .3s, color .3s; }
.footer__mail:hover { color: var(--accent-from); border-color: var(--accent-from); }
.footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; padding-block: 3rem; }
@media (min-width: 1024px) { .footer__links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: 4rem; } }
.footer__col h4 { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); margin-bottom: 1rem; }
.footer__col li { font-size: .875rem; line-height: 1.5; color: rgba(255, 255, 255, .8); padding-block: .25rem; overflow-wrap: break-word; }
.footer__col a, .footer__col button { text-align: left; transition: color .3s; }
.footer__col a:hover, .footer__col button:hover { color: var(--accent-from); }
.footer__billing li { color: rgba(255, 255, 255, .6); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.5rem 2rem; font-size: .75rem; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
@media (max-width: 639px) { .footer__bottom { flex-direction: column; align-items: flex-start; } }
.footer__legal a:hover, .footer__top:hover { color: #fff; }
.footer__top { font: inherit; color: inherit; padding: .25rem 0; }
.footer__loc { display: inline-flex; align-items: center; gap: .375rem; }
.footer__watermark { pointer-events: none; user-select: none; will-change: transform; text-align: center; font-weight: 700; line-height: .75; font-size: min(var(--text-watermark), 16vw); letter-spacing: -.02em; color: color-mix(in srgb, var(--accent) 16%, transparent); margin-top: 1rem; margin-bottom: -.14em; white-space: nowrap; }

/* Běžné stránky */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding-block: 7.5rem 4rem; border-radius: 0 0 var(--radius-card) var(--radius-card); }
.page-hero__title { margin-top: 1rem; font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
@media (min-width: 640px) { .page-hero__title { font-size: 3rem; } }
.entry { padding-block: 4rem 6rem; }
.entry__content { max-width: 68ch; font-size: 1.0625rem; line-height: 1.65; color: var(--fg-80); }
.entry__content > * + * { margin-top: 1.25rem; }
.entry__content h2, .entry__content h3 { color: var(--foreground); letter-spacing: -.02em; line-height: 1.25; margin-top: 2.5rem; }
.entry__content h2 { font-size: 1.75rem; }
.entry__content h3 { font-size: 1.25rem; }
.entry__content a:where(:not(.btn, .text-link)) { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; } /* tlačítka a odkazy se šipkou si drží vlastní vzhled */
.entry__content ul, .entry__content ol { padding-left: 1.5rem; }
.entry__content ul { list-style: disc; }
.entry__content ol { list-style: decimal; }
.entry__content li + li { margin-top: .5rem; }
.entry__post + .entry__post { margin-top: 3rem; }
.entry__post-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: .75rem; }
.page-hero .page-hero__title, .entry__content { word-wrap: break-word; }

/* =========================================================================
   15b. Blog
   ========================================================================= */
.page-hero--light { background: linear-gradient(180deg, #ffffff 0%, var(--coral-1) 60%, var(--coral-2) 100%); color: var(--foreground); padding-block: 7.5rem 3.5rem; }
.page-hero--light .eyebrow { color: var(--fg-70); }
.page-hero > .shell { position: relative; z-index: 2; }
.page-hero .hero__glow { z-index: 0; top: -8rem; right: -8rem; }
.page-hero__title { text-wrap: balance; }
.page-hero__text { margin-top: 1rem; max-width: 56ch; font-size: 1.0625rem; line-height: 1.55; color: var(--fg-70); }
.topics { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.topic { display: inline-flex; align-items: center; gap: .375rem; border: 1px solid var(--coral-3); background: #fff; border-radius: var(--radius-btn); padding: .5rem .875rem; font-size: .8125rem; font-weight: 500; min-height: 2.25rem; transition: border-color .3s, background .3s, color .3s; }
.topic span { font-size: .75rem; color: var(--muted); }
.topic:hover { border-color: var(--foreground); }
.topic.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic.is-active span { color: rgba(255, 255, 255, .6); }

.blog { padding-block: 3rem 6rem; }
.blog-teaser { padding-block: 5rem 6rem; background: #ffffff; }
.blog-teaser--related { background: var(--coral-1); }
.post-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .3s var(--ease-out); }
.post-card:hover { border-color: var(--coral-3); box-shadow: 0 1.5rem 3rem -1.75rem rgba(10, 10, 10, .25); transform: translateY(-2px); }
.post-card__media { display: block; aspect-ratio: 40 / 21; overflow: hidden; background: var(--coral-2); } /* 1200 × 630 – stejný poměr jako náhled pro sítě */
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--coral-1), var(--coral-3)); }
.post-card__placeholder .mono { width: 3rem; height: 3rem; font-size: 1rem; color: var(--accent-ink); }
.post-card__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.5rem 1.75rem; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .75rem; font-size: .75rem; color: var(--muted); }
.post-card__cat { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
.post-card__cat:hover { text-decoration: underline; }
.post-card__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.28; }
.post-card__title a { transition: color .3s; }
.post-card__title a:hover { color: var(--accent-ink); }
.post-card__excerpt { font-size: .9375rem; line-height: 1.5; color: var(--fg-70); flex: 1; }
.post-card__link { align-self: flex-start; display: inline-flex; align-items: center; gap: .375rem; font-size: .8125rem; font-weight: 600; padding-block: .25rem .125rem; border-bottom: 1px solid var(--fg-25); transition: color .3s, border-color .3s; }
.post-card__link:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.post-card__link .icon { transition: transform .35s var(--ease-snappy); }
.post-card__link:hover .icon { transform: translateX(.125rem); }
.blog__empty { text-align: center; padding: 4rem 1rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .875rem; border: 1px solid var(--line); border-radius: var(--radius-btn); font-size: .875rem; font-weight: 500; transition: border-color .3s, background .3s, color .3s; }
.pagination .page-numbers:hover { border-color: var(--foreground); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .page-numbers.dots { border: 0; }

/* Článek */
.post__hero { padding-block: 7.5rem 3rem; }
@media (max-width: 767px) { .page-hero, .page-hero--light, .post__hero { padding-top: 6rem; } }
.post__hero-inner { max-width: 50rem; margin-inline: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.post__back { font-size: .875rem; font-weight: 500; color: var(--fg-70); padding-block: .25rem; }
.post__back:hover { color: var(--foreground); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem 1rem; font-size: .8125rem; color: var(--muted); }
.post__title { font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.14; }
@media (min-width: 640px) { .post__title { font-size: 3rem; } }
.post__lead { font-size: 1.125rem; line-height: 1.55; color: var(--fg-70); max-width: 60ch; }
.post__figure { position: relative; z-index: 1; max-width: 60rem; margin-inline: auto; margin-top: -1.5rem; } /* obrázek přesahuje přes spodní okraj záhlaví */
.post__figure img { width: 100%; height: auto; max-height: 80vh; object-fit: cover; border-radius: var(--radius-card); border: 1px solid var(--line); }
.post__layout { padding-block: 3rem 5rem; }
.post__layout .entry__content { margin-inline: auto; }
.entry__content img { border-radius: var(--radius-card-sm); height: auto; }
.entry__content figure { margin: 2rem 0; }
.entry__content figcaption { font-size: .8125rem; color: var(--muted); margin-top: .5rem; }
.entry__content blockquote { border-left: 3px solid var(--accent); padding: .25rem 0 .25rem 1.25rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; color: var(--foreground); }
.entry__content blockquote cite { display: block; margin-top: .5rem; font-size: .875rem; font-weight: 400; color: var(--muted); font-style: normal; }
.entry__content pre { background: var(--white-3); border: 1px solid var(--line); border-radius: var(--radius-card-sm); padding: 1rem 1.25rem; overflow: auto; font-size: .875rem; }
.entry__content code { background: var(--white-3); padding: .125rem .375rem; border-radius: .25rem; font-size: .9em; }
.entry__content table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.entry__content th, .entry__content td { text-align: left; padding: .75rem .5rem; border-bottom: 1px solid var(--line); }
.entry__content th { font-weight: 600; }
.entry__content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.entry__content .wp-block-button__link { display: inline-flex; border-radius: var(--radius-btn); background: var(--ink); color: #fff; padding: .875rem 1.5rem; text-decoration: none; font-weight: 500; }
.entry__content .alignwide, .entry__content .alignfull { max-width: none; }
.post__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.post__tags a { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: .375rem .75rem; font-size: .8125rem; color: var(--fg-70); text-decoration: none; transition: border-color .3s, color .3s; }
.post__tags a:hover { border-color: var(--foreground); color: var(--foreground); }
.post__share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .875rem; }
.post__share span { color: var(--muted); }
.post__share a, .post__copy { font-weight: 500; text-decoration: none; padding: .375rem 0; border-bottom: 1px solid var(--fg-25); transition: color .3s, border-color .3s; }
.post__share a:hover, .post__copy:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.post__cta { background: var(--coral-1); border: 1px solid var(--coral-3); border-radius: var(--radius-card); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.post__cta-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.22; color: var(--foreground); margin: 0; }
.post__cta p { color: var(--fg-70); }
.post__cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.post__author { display: flex; gap: 1.25rem; align-items: flex-start; padding-block: 2rem; border-top: 1px solid var(--line); }
.post__author-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1rem; }
.post__author img { width: 5rem; height: 5rem; border-radius: var(--radius-card); object-fit: cover; object-position: 50% 15%; flex: none; border: 1px solid var(--line); }
.post__author-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-60); }
.post__author-name { font-size: 1.125rem; font-weight: 600; margin-top: .25rem; }
.post__author-text { font-size: .9375rem; line-height: 1.5; color: var(--fg-70); margin: .375rem 0 .75rem; }

.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments__title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.comments__list { list-style: none; padding: 0; }
.comments__list .comment { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.comments__list .children { margin-left: 2rem; list-style: none; }
.comment-form label { display: block; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-60); margin: 1rem 0 .375rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--coral-3); background: var(--coral-1); border-radius: var(--radius-control); padding: .875rem 1rem; font: inherit; font-size: max(.9375rem, 16px); }
.comment-form .form-submit { margin-top: 1.25rem; }

/* =========================================================================
   16. Menu overlay
   ========================================================================= */
.menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--ink); color: #fff; overflow: auto; visibility: hidden; clip-path: inset(0 0 100% 0 round 0 0 var(--radius-card) var(--radius-card)); transition: clip-path .45s var(--ease-out), visibility 0s linear .45s; }
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0 round 0); transition: clip-path .45s var(--ease-out), visibility 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; flex: none; }
@media (min-width: 640px) { .menu__top { padding-block: 1.5rem; } }
.menu__close { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-btn); padding: .5rem 1rem; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; transition: background .3s; }
.menu__close:hover { background: rgba(255, 255, 255, .1); }
.menu__nav { flex: 1; display: flex; align-items: center; padding-block: 2rem; }
.menu__nav ul { display: flex; flex-direction: column; gap: .25rem; }
.menu__link { --d: 0s; display: flex; align-items: baseline; gap: 1rem; font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.18; text-align: left; opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), color .2s; transition-delay: var(--d), var(--d), 0s; }
@media (min-width: 640px) { .menu__link { font-size: 3rem; } }
@media (min-width: 1024px) { .menu__link { font-size: 4.5rem; } }
.menu.is-open .menu__link { --d: calc(.15s + var(--i, 0) * 40ms); opacity: 1; transform: none; }
.menu__link:hover { color: var(--accent-from); }
.menu__num { font-size: .75rem; font-weight: 500; letter-spacing: .05em; color: rgba(255, 255, 255, .4); font-variant-numeric: tabular-nums; min-width: 1.5rem; }
.menu__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem 2rem; font-size: .875rem; color: rgba(255, 255, 255, .6); border-top: 1px solid rgba(255, 255, 255, .1); flex: none; }
.menu__mail { color: #fff; font-weight: 500; }
.menu__mail:hover, .menu__social a:hover { color: var(--accent-from); }
.menu__social { display: flex; gap: 1.5rem; }
.menu__end { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* =========================================================================
   17. Modal – poptávka
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; transition: visibility 0s linear .3s; }
.modal.is-open { visibility: visible; transition-delay: 0s; }
@media (min-width: 640px) { .modal { align-items: center; padding: 1.5rem; } }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s ease; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: 100%; max-width: 36rem; max-height: calc(100dvh - 1rem); overflow: auto; background: var(--background); color: var(--foreground); border-radius: var(--radius-card) var(--radius-card) 0 0; padding: 1.5rem; box-shadow: 0 2.5rem 5rem -2rem rgba(10, 10, 10, .5); opacity: 0; transform: translate3d(0, 24px, 0) scale(.96); transition: opacity .18s ease, transform .18s ease; }
@media (min-width: 640px) { .modal__panel { border-radius: var(--radius-card); padding: 2rem; max-height: calc(100dvh - 3rem); } }
.modal.is-open .modal__panel { opacity: 1; transform: none; transition: none; }
.modal__close { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-btn); background: var(--coral-1); font-size: 1rem; transition: background .3s; }
.modal__close:hover { background: var(--coral-3); }
.modal__title { margin-top: .75rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.modal__lead { margin-top: .75rem; font-size: .9375rem; line-height: 1.5; color: var(--muted); max-width: 44ch; }
.modal__fields { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .modal__fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .375rem; min-width: 0; }
.field label { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-60); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid var(--coral-3); background: var(--coral-1); border-radius: var(--radius-control); padding: .875rem 1rem; font: inherit; font-size: max(.9375rem, 16px); color: var(--foreground); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--background); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.field textarea { resize: vertical; min-height: 6rem; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: .875rem; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__hint { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); background: #fff; }
.field__error { display: block; font-size: .75rem; line-height: 1.4; color: var(--error); }
.modal__error { margin-top: 1rem; font-size: .875rem; color: var(--error); }
.modal__gdpr { margin-top: 1rem; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.modal__gdpr a { text-decoration: underline; text-underline-offset: .15em; }
.modal__gdpr a:hover { color: var(--foreground); }
.modal__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.modal__note { font-size: .75rem; color: var(--muted); }
.modal__alt { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; }
.modal__success { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: .5rem 0; }
.modal__success-icon { width: 3rem; height: 3rem; font-size: 1rem; border-width: 2px; }
.modal__success .btn { margin-top: .5rem; }

/* =========================================================================
   18. Mobilní CTA lišta (do 1023 px, objeví se po odscrollování z úvodu)
   ========================================================================= */
.cta-bar { position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; gap: .5rem; padding: .5rem; background: color-mix(in srgb, var(--background) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 1rem 2.5rem -1.25rem rgba(10, 10, 10, .3); transform: translate3d(0, calc(100% + 3rem), 0); transition: transform .35s var(--ease-out); }
.cta-bar.is-visible { transform: none; }
html.is-locked .cta-bar { transform: translate3d(0, calc(100% + 3rem), 0); }
.cta-bar .btn { flex: 1 1 auto; justify-content: center; padding-inline: 1rem; }
.cta-bar .btn--outline { flex: 0 0 auto; }
.lbl-short { display: none; }
@media (max-width: 359px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
@media (min-width: 1024px) { .cta-bar { display: none; } }

/* Viditelný focus na tmavých plochách */
.footer :focus-visible, .menu :focus-visible, .stats__panel :focus-visible, .service:hover :focus-visible { outline-color: #fff; }

/* Tisk */
@media print {
	.loader, .menu, .modal, .cta-bar, .hero__glow, .hero__watermark, .footer__watermark, .menu-btn, .header__cta, .skip { display: none !important; }
	[data-reveal], .line__inner, .word { opacity: 1 !important; transform: none !important; }
	.header { position: static; }
	.service::before { display: none; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #666; }
}

/* =========================================================================
   19. Video (Vimeo) – vyskakovací okno přes ztmavenou stránku
   ========================================================================= */
.btn--video .icon { font-size: .875em; }
.video-modal { position: fixed; inset: 0; z-index: 115; display: grid; place-items: center; padding: 3.75rem 1rem 1.5rem; visibility: hidden; transition: visibility 0s linear .25s; }
.video-modal.is-open { visibility: visible; transition-delay: 0s; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.video-modal.is-open .video-modal__backdrop { opacity: 1; }
.video-modal__box { position: relative; display: flex; flex-direction: column; align-items: center; gap: .75rem; transform: translate3d(0, 1rem, 0) scale(.97); opacity: 0; transition: transform .3s var(--ease-out), opacity .25s ease; }
.video-modal.is-open .video-modal__box { transform: none; opacity: 1; }
.video-modal__stage { position: relative; width: min(92vw, 72rem, calc((100dvh - 7rem) * var(--ratio-num, 1.7778))); aspect-ratio: var(--ratio, 16 / 9); background: #000; border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 2rem 4rem -1.5rem rgba(0, 0, 0, .6); }
.video-modal__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__note { max-width: 24rem; font-size: .75rem; line-height: 1.4; text-align: center; color: rgba(255, 255, 255, .75); }
.video-modal__close { position: absolute; top: max(.75rem, env(safe-area-inset-top, 0px)); right: .75rem; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-btn); background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.125rem; transition: background .2s; }
.video-modal__close:hover { background: rgba(255, 255, 255, .28); }
@media (min-width: 768px) { .video-modal { padding: 4rem 2rem 2rem; } .video-modal__close { top: 1.25rem; right: 1.25rem; } }

/* Video na mobilu: vložené přímo v sekci O mně (desktop: tlačítko + okno) */
.about__video { display: none; }
@media (max-width: 767px) {
	.about--video .about__cta { display: none; }
	.about__video { display: block; width: 100%; max-width: 26rem; margin: 0; }
	.about__video-stage { position: relative; aspect-ratio: var(--ratio, 9 / 16); background: #111; border-radius: var(--radius-card); overflow: hidden; }
	.about__video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
	.about__video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; width: 100%; color: #fff; text-align: center; background: radial-gradient(120% 80% at 50% 30%, #2b3038 0%, #111 70%); }
	.about__video-icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--accent); font-size: 1.375rem; padding-left: .2rem; transition: transform .25s var(--ease-out); }
	.about__video-play:active .about__video-icon { transform: scale(.94); }
	.about__video-title { max-width: 16ch; font-size: 1.125rem; font-weight: 600; line-height: 1.25; text-wrap: balance; }
	.about__video-note { margin-top: .625rem; font-size: .75rem; line-height: 1.4; color: var(--muted); }
}

/* Mobil: trochu víc vzduchu mezi sekcemi */
@media (max-width: 767px) {
	.services, .works, .about, .testimonials, .blog-teaser { padding-block: 6rem; }
	.faq { padding-block: 6rem 6.5rem; }
	.band { padding-block: 5.5rem; }
	.stats { padding-block: 4.5rem; }
	.hero__grid { padding-bottom: 5.5rem; }
	.section-head { margin-bottom: 3.25rem; }
}

/* Přihlášený správce (lišta WordPressu nahoře) */
.admin-bar .header--fixed { top: 32px; }
@media (max-width: 782px) { .admin-bar .header--fixed { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header--fixed { top: 0; } }
html.is-locked #wpadminbar { display: none; }

/* Patička na mobilu: sekce pod sebou, oddělené jemnou čarou */
@media (max-width: 767px) {
	.footer__links { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: .5rem 1rem; }
	.footer__col { padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
	.footer__col:first-child { border-top: 0; }
	.footer__col h4 { margin-bottom: .75rem; }
	.footer__col ul { display: flex; flex-direction: column; gap: .125rem; }
	.footer__col li { padding-block: .3rem; font-size: .9375rem; }
	.footer__bottom { padding-top: 1.5rem; }
}

/* Řádkování nadpisů na mobilu (zalomené věty) */
@media (max-width: 767px) {
	.hero__title { line-height: 1.1; }
	.h2, .footer__title, .page-hero__title, .post__title { line-height: 1.15; }
}

/* ---------------------------------------------------------------- Cookie lišta (Google Consent Mode v2) */
.consent { position: fixed; z-index: 90; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - 1.5rem); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; background: var(--background); color: var(--foreground); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 1.5rem 3rem -1.25rem rgba(10, 10, 10, .35); }
.consent[hidden] { display: none; }
.consent__title { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.consent__text { margin-top: .375rem; font-size: .875rem; line-height: 1.55; color: var(--fg-70); }
.consent__text a { color: var(--foreground); text-decoration: underline; text-underline-offset: .15em; }
.consent__text a:hover { color: var(--accent-ink); }
.consent__prefs { margin: 1rem 0 0; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--line); display: grid; gap: .875rem; min-width: 0; }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: start; font-size: .875rem; font-weight: 500; cursor: pointer; }
.consent__opt input { grid-row: span 2; width: 1.125rem; height: 1.125rem; margin: .125rem 0 0; accent-color: var(--ink); cursor: pointer; }
.consent__opt input:disabled { cursor: not-allowed; }
.consent__opt small { grid-column: 2; font-size: .8125rem; font-weight: 400; line-height: 1.45; color: var(--fg-70); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.consent__actions .btn { flex: 1 1 7.5rem; }
.consent__more { flex: 1 0 100%; order: 3; padding: .5rem 0 0; font: inherit; font-size: .8125rem; font-weight: 500; color: var(--foreground); text-decoration: underline; text-underline-offset: .15em; }
.consent__more:hover { color: var(--accent-ink); }
.consent__more[aria-expanded="true"] { display: none; }
html.consent-open .cta-bar { transform: translate3d(0, calc(100% + 3rem), 0); }
@media (min-width: 640px) {
	.consent { left: auto; right: 1.5rem; bottom: 1.5rem; width: 26rem; }
	.consent__more { flex: 0 0 auto; order: 0; margin-right: auto; padding: .5rem 0; }
}
@media (prefers-reduced-motion: no-preference) {
	.consent:not([hidden]) { animation: consent-in .45s var(--ease-out) both; }
	@keyframes consent-in { from { opacity: 0; transform: translate3d(0, 1rem, 0); } to { opacity: 1; transform: none; } }
}
@media print { .consent { display: none !important; } }

/* Calendly v okně přímo na webu */
a[aria-busy="true"] { cursor: progress; }
.calendly-overlay { z-index: 130 !important; }

/* Děkovací stránka po rezervaci */
.thanks { min-height: min(100svh, 52rem); }
.thanks__prep { margin-top: 2.5rem; max-width: 40rem; padding: 1.25rem 1.5rem; background: color-mix(in srgb, var(--background) 70%, transparent); border: 1px solid var(--line); border-radius: var(--radius-card); }
.thanks__prep-title { font-size: 1rem; font-weight: 600; }
.thanks__list { margin-top: .75rem; display: grid; gap: .5rem; padding-left: 1.25rem; list-style: disc; font-size: .9375rem; line-height: 1.5; color: var(--fg-70); }
.thanks__list li::marker { color: var(--accent); }
.thanks__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
