/* ==========================================================================
   KOCMAN envimonitoring – nový web
   Světlý vzdušný styl: velké video 16:9 přes celou šířku bloku, karty oblastí,
   modrý přechod „voda“. HTML generuje build/novy.py, tento soubor se udržuje ručně.
   ========================================================================== */

/* --- Písmo (lokálně, OFL) --- */
@font-face { font-family: "Rubik"; font-weight: 300 900; font-display: swap; src: url(../fonts/rubik-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Rubik"; font-weight: 300 900; font-display: swap; src: url(../fonts/rubik-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* --- Barvy a míry --- */
:root {
  --bg: #f6f7fb; --card: #fff; --ink: #0d1424; --muted: #5a6478; --line: rgba(13, 20, 36, .08);
  /* hlavní firemní modrá #5C9AD3; pro text a odkazy tmavší odstín kvůli čitelnosti (kontrast na bílé 5,4:1) */
  --brand: #5c9ad3;
  --b1: #2c6aa6; --b2: #5c9ad3; --b3: #8fc4ee;                    /* modrý přechod „voda“ */
  --grad: linear-gradient(100deg, var(--b1) 0%, var(--b2) 45%, var(--b3) 100%);
  --shadow: 0 22px 50px -24px rgba(44, 106, 166, .35), 0 6px 18px -10px rgba(13, 20, 36, .12);
  --wrap: 1320px; --gut: clamp(20px, 4vw, 56px); --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--b2); outline-offset: 3px; border-radius: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* jemné barevné mlhy v pozadí */
.glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.glow--a { width: 620px; height: 620px; left: -220px; top: -260px; background: radial-gradient(circle, #b9d4ff, transparent 70%); }
.glow--b { width: 700px; height: 700px; right: -260px; top: 220px; background: radial-gradient(circle, #c8f0fb, transparent 70%); }

/* --- Tlačítka --- */
.pill { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 0; transition: transform .2s, background .2s, color .2s; }
.pill:hover { transform: translateY(-2px); background: var(--b1); }
.pill--big { font-size: 16px; padding: 14px 24px; }
.pill--light { background: #fff; color: var(--ink); }
.pill--light:hover { background: var(--b2); color: #fff; }
.pill--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill--line:hover { background: var(--ink); color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Upozornění „spouštíme“ a cookie lišta --- */
.spoust { position: relative; z-index: 61; background: var(--ink); color: #fff; font-size: 14px; }
.spoust .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; }
.spoust p { margin: 0; text-align: center; }
.spoust button { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.spoust button:hover { background: rgba(255, 255, 255, .28); }
.cookies { position: fixed; z-index: 70; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(760px, calc(100vw - 24px)); }
.cookies__in { background: #fff; border-radius: var(--r); box-shadow: 0 24px 60px -20px rgba(13, 20, 36, .45); padding: 18px 20px; display: flex; gap: 16px 20px; align-items: center; flex-wrap: wrap; }
.cookies__in p { margin: 0; flex: 1 1 320px; font-size: 14.5px; color: #2d3548; }
.cookies__in .pill { font-size: 14px; padding: 9px 16px; }
.foot__legal { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.foot__legal a, .foot__cookies { color: inherit; text-decoration: none; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot__legal a:hover, .foot__cookies:hover { text-decoration: underline; }
.legal h3 { font-size: 20px; margin: 26px 0 8px; } .legal h3:first-child { margin-top: 0; }

/* --- Hlavička --- */
/* připnutá nahoře na všech stránkách */
.topbar { position: sticky; top: 0; z-index: 50; background: transparent; transition: box-shadow .25s, background .25s; }
/* nad hlavičkou (výřez displeje, průsvitná lišta Safari, odskok při posunu) je vždy plné pozadí, obsah tam nikdy neprosvítá */
.topbar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 240px; background: var(--bg); pointer-events: none; }
/* po posunu: nahoře plné pozadí, směrem dolů přechází do frosted skla */
.topbar.is-scrolled { background: linear-gradient(180deg, var(--bg) 0%, rgba(246, 247, 251, .94) 30%, rgba(246, 247, 251, .62) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .7), 0 1px 0 rgba(13, 20, 36, .06), 0 12px 32px -20px rgba(13, 20, 36, .3); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .topbar.is-scrolled { background: linear-gradient(180deg, var(--bg) 60%, rgba(246, 247, 251, .96)); } }
[id] { scroll-margin-top: 110px; }
.bar { position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 52px; width: auto; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu > a:not(.pill), .menu__sub > a { text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 14px; border-radius: 999px; }
.menu > a:not(.pill):hover, .menu__sub > a:hover, .menu a[aria-current="page"] { background: rgba(13, 20, 36, .06); }
.menu .pill { margin-left: 8px; }
.menu__sub { position: relative; }
.menu__sub ul { position: absolute; top: calc(100% + 6px); left: 0; list-style: none; margin: 0; padding: 8px; min-width: 330px; display: none; z-index: 20;
  background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(13, 20, 36, .12); }
.menu__sub:hover ul, .menu__sub:focus-within ul { display: block; }
.menu__sub li a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.menu__sub li a:hover { background: var(--bg); }
.menu-btn { display: none; font: inherit; font-weight: 500; font-size: 15px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }

/* --- Úvod: video 16:9 přes celou šířku bloku, název oblasti vlevo dole, pod ním karty oblastí --- */
.stage { padding-top: 6px; padding-bottom: 70px; }
.hero-h1 { margin: 14px 0 26px; max-width: 21em; font-size: clamp(28px, 3.4vw, 50px); font-weight: 700; line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }
@media (max-width: 760px) { .hero-h1 { margin: 6px 0 18px; font-size: 27px; } }
.screen { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe6f3;
  box-shadow: 0 40px 90px -30px rgba(44, 106, 166, .35), 0 12px 30px -12px rgba(13, 20, 36, .25); }
.screen video, .screen > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
/* video o 1 px přesahuje na všech stranách – zakryje subpixelový tmavý proužek u okraje přehrávače */
.screen video { position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.screen.is-fading video { opacity: 0; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(35deg, rgba(6, 14, 34, .74) 0%, rgba(6, 14, 34, .36) 30%, rgba(6, 14, 34, 0) 56%); }
.screen__info { position: absolute; z-index: 3; left: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 40px); max-width: min(560px, 62%); color: #fff; }
.screen__name { margin: 0 0 8px; font-size: clamp(26px, 3vw, 46px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.screen__txt { margin: 0 0 18px; font-size: clamp(15px, 1.25vw, 18px); opacity: .92; }
.screen__claim { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 12.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.screen__info.is-swap > * { animation: in .6s cubic-bezier(.2, .8, .2, 1) both; }
.screen__info.is-swap > :nth-child(2) { animation-delay: .06s; }
.screen__info.is-swap > :nth-child(3) { animation-delay: .12s; }
@keyframes in { from { opacity: 0; transform: translateY(14px); } }
.screen__ctrl { position: absolute; z-index: 3; right: 20px; bottom: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: rgba(255, 255, 255, .82); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgba(13, 20, 36, .2); }
.screen__ctrl svg { width: 18px; height: 18px; }
.screen__ctrl .i-play, .screen.is-paused .screen__ctrl .i-pause { display: none; }
.screen.is-paused .screen__ctrl .i-play { display: block; }

.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.acard { font: inherit; color: inherit; text-align: left; cursor: pointer; border: 1px solid var(--line); background: rgba(255, 255, 255, .55); text-decoration: none;
  border-radius: var(--r); padding: 10px 10px 18px; display: flex; flex-direction: column; gap: 4px; opacity: .55; position: relative;
  transition: opacity .3s, background .3s, box-shadow .3s, transform .3s, border-color .3s; }
.acard:hover { opacity: .85; transform: translateY(-3px); }
.acard[aria-pressed="true"], .acard--on { opacity: 1; background: #fff; border-color: transparent; box-shadow: 0 22px 50px -20px rgba(44, 106, 166, .45); }
.acard[aria-pressed="true"]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.acard__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-bottom: 10px; background: #dfe6f3; }
.acard__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.35); transition: filter .3s, transform .6s; }
.acard[aria-pressed="true"] .acard__thumb img, .acard:hover .acard__thumb img, .acard--on .acard__thumb img { filter: none; }
.acard__bar { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .45); opacity: 0; }
.acard__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #fff; }
.acard[aria-pressed="true"] .acard__bar { opacity: 1; }
.acard__name { padding: 0 6px; font-size: 17px; font-weight: 600; line-height: 1.2; }
.acard__txt { padding: 0 6px; font-size: 14px; color: var(--muted); line-height: 1.4; }
/* karty jako odkazy (další oblasti, O nás): plně viditelné */
a.acard { opacity: 1; background: #fff; }
a.acard .acard__thumb img { filter: none; }
a.acard:hover { box-shadow: var(--shadow); }
a.acard:hover .acard__thumb img { transform: scale(1.04); }
.acard__go { padding: 6px 6px 0; font-size: 14px; font-weight: 600; color: var(--b1); }

/* ukazatel načítání: kapka z loga se plní vodou (vkládá js/web.js) */
.vload { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .35s; z-index: 2; }
.vload.is-on { opacity: 1; }
.vload svg { width: 62px; height: auto; overflow: visible; filter: drop-shadow(0 6px 22px rgba(4, 22, 90, .45)); }
.vload__o { fill: rgba(255, 255, 255, .16); stroke: #fff; stroke-width: 3.2; }
.vload__w { fill: #fff; opacity: .92; }
.vload__x { animation: vl-x 1.3s linear infinite; }
.vload__y { transform: translateY(132px); }
.vload.is-on .vload__y { animation: vl-y 3s ease-out forwards; }   /* kapka se při načítání jen plní a zůstane plná */
@keyframes vl-x { to { transform: translateX(-99.54px); } }
@keyframes vl-y { from { transform: translateY(132px); } to { transform: translateY(-6px); } }

/* --- Podstránky --- */
.crumbs { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.eyebrow { display: block; margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--b1); }
.h1 { margin: 0 0 18px; font-size: clamp(36px, 4.6vw, 68px); font-weight: 700; line-height: 1.03; letter-spacing: -.025em; }
.h2 { margin: 0 0 22px; font-size: clamp(30px, 3.4vw, 50px); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
.lead { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #2d3548; max-width: 40em; }
.intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; padding-top: 50px; }
.page-head { padding-top: 30px; padding-bottom: 20px; }
.page-head .lead { margin-top: 4px; }
.lead--more + .lead--more, .lead + .lead--more { margin-top: 14px; }
.lead-btns { margin-top: 18px; gap: 8px; }
.lead-btns .pill { font-size: 14px; padding: 8px 15px; }
.lead-doc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.lead-doc p { margin: 0; }
.lead-doc .pill { flex: none; }
.lead-doc b { color: var(--ink); font-weight: 600; }
.page-head .actions { margin-top: 28px; }

.sec { padding-top: 90px; }
.sec:last-of-type { padding-bottom: 100px; }
.sec__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.sec__head .h2 { margin: 0; }
.sec__head p { margin: 0; max-width: 30em; color: var(--muted); }
.sec__head--full p { max-width: none; flex-basis: 100%; }   /* text pod nadpisem přes celou šíři */

.box { background: var(--card); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.prose { font-size: 17.5px; line-height: 1.7; color: #2d3548; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose--cols { columns: 2; column-gap: 56px; }
.prose--cols p { break-inside: avoid; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps--6 { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: s; background: var(--card); border-radius: var(--r); padding: 26px 24px 28px; box-shadow: var(--shadow); }
.steps li::before { content: "0" counter(s); display: block; font-size: 15px; font-weight: 700; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.steps p { margin: 0; font-size: 15.5px; color: var(--muted); }

.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.topic { background: var(--card); border-radius: var(--r); padding: 30px 30px 26px; box-shadow: var(--shadow); }
.topic h3 { margin: 0 0 12px; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.2; }
.topic p { margin: 0 0 .9em; color: #3a4357; font-size: 16px; }
/* témata oblasti (úřední měření): nadpis nad kartou, text + fotky s přepínáním */
.tema + .tema { padding-top: 56px; }
.tema .h2 { margin-bottom: 22px; }
.tema__card { grid-template-columns: 1.15fr 1fr; }
.tema__body p { margin: 0 0 .9em; color: #3a4357; font-size: 16px; }
.tema__body > :last-child { margin-bottom: 0; }
.topic__who { margin-top: 24px; }
.topic__who small { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.slides { position: relative; min-height: 340px; background: #dfe6f3; overflow: hidden; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slides img[hidden] { display: block; opacity: 0; pointer-events: none; }
.slides img { transition: opacity .45s; }
.slides__btn { position: absolute; top: 50%; margin-top: -22px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: rgba(255, 255, 255, .9); color: var(--ink); font: inherit; font-size: 18px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); transition: background .2s, transform .2s; }
.slides__btn:hover { background: #fff; transform: scale(1.06); }
.slides__btn:focus-visible { outline: 2px solid var(--b1); outline-offset: 2px; }
.slides__btn--prev { left: 16px; }
.slides__btn--next { right: 16px; }
.slides__dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 2px; }
.slides__dots button { width: 14px; height: 16px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.slides__dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .65; transition: all .25s; }
.slides__dots button:hover::before { opacity: 1; }
.slides__dots button[aria-current="true"]::before { width: 9px; height: 12.4px; border-radius: 0; background: #fff; opacity: 1; box-shadow: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='203.21 128.26 99.54 137.45'%3E%3Cpath d='M298.97,197.65c-7.48-16.98-21.12-38.12-31.86-52.42-12.6-16.78-12.69-16.97-14.13-16.97s-1.53.19-14.13,16.97c-10.74,14.3-24.38,35.44-31.86,52.42-12.72,28.86,7.68,68.06,45.99,68.06s58.7-39.19,45.99-68.06Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='203.21 128.26 99.54 137.45'%3E%3Cpath d='M298.97,197.65c-7.48-16.98-21.12-38.12-31.86-52.42-12.6-16.78-12.69-16.97-14.13-16.97s-1.53.19-14.13,16.97c-10.74,14.3-24.38,35.44-31.86,52.42-12.72,28.86,7.68,68.06,45.99,68.06s58.7-39.19,45.99-68.06Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.slides__dots button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-radius: 4px; }
@media (max-width: 860px) { .tema__card { grid-template-columns: 1fr; } .slides { order: -1; min-height: 0; aspect-ratio: 4 / 3; } }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
.checks--certs li b { display: block; font-size: 16.5px; }
.checks--certs li span { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.checks--certs li a { font-size: 14px; font-weight: 600; color: var(--b1); text-decoration: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.bignums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.bignums div { border-radius: 16px; padding: 18px 20px; background: var(--bg); font-size: 15px; color: var(--muted); }
.bignums b { display: block; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; font-weight: 700; margin-bottom: 6px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* dokument u oblasti (např. rozhodnutí o autorizaci): text vlevo, náhled listiny vpravo */
.docrow { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.doc { display: block; background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); transform: rotate(1.2deg); transition: transform .3s; }
.doc:hover { transform: rotate(0) translateY(-4px); }
.doc img { width: 100%; height: auto; border-radius: 8px; }
.doc__meta { margin-top: 1.2em; padding-top: 1em; border-top: 1px solid var(--line); font-size: 15.5px; }
@media (max-width: 860px) { .docrow { grid-template-columns: 1fr; } .doc { max-width: 420px; } }
.partner-logo { width: 220px; height: auto; margin: 0 0 18px -6px; }
/* partner (Pomáháme): text a obrázek jako jedna karta */
.partner { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.partner__body { padding: clamp(24px, 3vw, 44px); }
.partner__pic { position: relative; display: block; overflow: hidden; min-height: 280px; background: #c10c16; }
.partner__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s; }   /* srdce Korunky vyplní celý prostor vedle textu */
.partner__pic:hover img { transform: scale(1.03); }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } .partner__pic { order: -1; aspect-ratio: 1; min-height: 0; max-height: 420px; } }
.note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* gestor oblasti a kontakty na lidi */
.person { display: flex; gap: 16px; align-items: center; }
.person__mono { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 19px; }
.person__img { flex: none; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(160deg, #e9f1fb, #d4e4f5); object-fit: contain; padding: 3px; }
.person b { display: block; font-size: 18px; line-height: 1.25; }
.person span { display: block; font-size: 14px; color: var(--muted); margin: 2px 0 6px; }
.person__note { display: block; font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--ink); margin: -2px 0 6px; }
.person a { display: inline-block; margin-right: 14px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--b1); white-space: nowrap; }
.person a:hover { text-decoration: underline; }
.area-top { padding-top: 20px; }
.intro > * { min-width: 0; }
.area-top .intro { padding-top: 0; align-items: start; grid-template-columns: 1.2fr 1fr; }
.slogan { margin: 0 0 18px; font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
/* video a gestoři jako jeden blok: nahoře video se zaoblenými rohy, pod ním rovně navazující blok gestorů */
.vcard { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.screen--card { border-radius: var(--r) var(--r) 0 0; box-shadow: none; }
.screen--card::after { display: none; }
.screen--card .screen__ctrl { width: 40px; height: 40px; right: 14px; bottom: 14px; }
.vcard__body { padding: 24px 26px 26px; }
.gestor small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.gestor__main { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; color: var(--b1); text-decoration: none; }
.gestor__main::after { content: "→"; font-weight: 500; transition: transform .2s; }
.gestor__main:hover::after { transform: translateX(4px); }
.gestor__main + .gestor__role { padding-top: 16px; border-top: 1px solid var(--line); }
.gestor__role { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--b1); }
.gestor .person + .gestor__role { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--card); border-radius: var(--r); padding: 24px 24px 22px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

.mails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mailbox { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); text-decoration: none;
  transition: transform .2s; }
.mailbox:hover { transform: translateY(-3px); }
.mailbox b { font-size: 19px; line-height: 1.2; }
.mailbox span { font-size: 14.5px; color: var(--muted); flex: 1; }
.mailbox em { font-style: normal; font-weight: 600; color: var(--b1); margin-top: 12px; }
.team__group + .team__group { margin-top: 36px; }
.team__group h3 { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team .person { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); align-items: flex-start; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 26px; margin: 0; font-size: 16px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.cta { margin-top: 90px; border-radius: 28px; padding: clamp(30px, 4vw, 56px); background: var(--ink); color: #fff; display: flex; justify-content: space-between;
  align-items: center; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(92, 154, 211, .55), transparent 70%); }
.cta .grad { background: linear-gradient(100deg, var(--b3) 0%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta h2 { position: relative; margin: 0; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; max-width: 18em; }
.cta .actions { position: relative; }

/* --- Patička --- */
.foot { margin-top: 100px; padding-top: 50px; padding-bottom: 36px; border-top: 1px solid var(--line); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.foot__logo img { height: 125px; width: auto; }
/* první sloupec patičky: logo na středu, text pod ním zarovnaný vlevo */
.foot__brand { display: flex; flex-direction: column; align-items: flex-start; }
.foot__brand .foot__logo { align-self: center; }
.foot p { margin: 14px 0 0; color: var(--muted); max-width: 22em; }
.foot h3 { margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--b1); }
.foot__bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted); }

/* --- Odhalování při posunu --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

/* --- Responzivita --- */
/* ---------- Reference na úvodu: jeden řádek, sám se posouvá zprava doleva ---------- */
.stage:has(.screen[data-rotate]) { padding-bottom: 0; }
.sec--hpref { padding-top: 34px; }
/* jeden řádek přes šířku stránky: počítač 4 karty, tablet 3, mobil posun prstem */
.rrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 14px; padding: 8px 0 20px; }
.rrow > :nth-child(n+5) { display: none; }
@media (max-width: 1100px) { .rrow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rrow > :nth-child(n+4) { display: none; } }
@media (max-width: 760px) {
  .rrow { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 4px calc(-1 * var(--gut)) 0; padding: 8px var(--gut) 16px; }
  .rrow::-webkit-scrollbar { display: none; }
  .rrow > * { display: flex !important; flex: 0 0 72%; }
  .sec--hpref { padding-top: 26px; }
  .sec--hpref .sec__head { margin-bottom: 8px; gap: 8px; }
  .sec--hpref + #o-nas { padding-top: 22px !important; }
}
/* kompaktní karty: jen úvodní fotka a název na bílé kartě; v „Barevných plochách“ na ploše v barvě oblasti */
.rrow .rcard { --nb: #fff; background: var(--nb); border-color: transparent; padding: 0; gap: 0; opacity: 1; box-shadow: 0 16px 34px -22px rgba(13, 20, 36, .45);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }

.rrow .rcard .acard__thumb { margin-bottom: 0; box-shadow: none; }
.rrow .rcard .acard__thumb img { border-bottom: 0; filter: none; }
.rrow .rcard__meta, .rrow .acard__txt, .rrow .rcard__chips { display: none; }
.rrow .rcard .acard__name { color: var(--ink); font-size: 15.5px; padding: 12px 14px 14px; min-height: 3.6em; }

/* po najetí se karta lehce zvětší a „vyjede“ dopředu */
/* jednotně na celém webu: karty referencí, aktualit a oblastí po najetí lehce „vyjedou“ dopředu */
.rcard, .acard--link { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, opacity .8s ease; }
.rcard:hover, .rcard:focus-visible, .acard--link:hover, .acard--link:focus-visible { opacity: 1; transform: scale(1.04); z-index: 2; box-shadow: 0 24px 44px -20px rgba(13, 20, 36, .5); }
   /* plná barva oblasti (silnější než tónované karty výpisu) */

/* ---------- Povodně: animovaná ukázka LVS (srážky nad hladinou se SPA, alarmové SMS v mobilu) ---------- */
.steps--shrnuti { margin-top: 18px; }
.lvsdemo { margin-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: stretch; }
.lvsdemo__main { min-width: 0; }
.lvsdemo__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lvsdemo__kick { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--b1); }
.lvsdemo__h { margin: 14px 0 4px; font-size: 18px; line-height: 1.2; }
.lvsdemo__ctrl { display: flex; gap: 6px; }
.lvsdemo__ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.lvsdemo__ctrl button:hover { background: var(--ink); color: #fff; }
.lvsdemo__ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lvsdemo__ctrl [data-a="play"] { background: var(--ink); color: #fff; }
.lvsdemo__ctrl [data-a="prev"] path:last-child, .lvsdemo__ctrl [data-a="next"] path:last-child, .lvsdemo__ctrl .i-play { fill: currentColor; }
.lvsdemo .i-play { display: none; } .lvsdemo.is-paused .i-play { display: block; } .lvsdemo.is-paused .i-pause { display: none; }
.lvsdemo__val { display: flex; gap: 6px 18px; flex-wrap: wrap; margin: 10px 0 4px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lvsdemo__val b { color: var(--ink); }
/* pevné šířky, aby se řádek při změně číslic neposouval */
.lvsdemo__val span { white-space: nowrap; }
.lvsdemo__val span:first-child { display: inline-block; min-width: 3.1em; text-align: right; color: var(--ink); font-weight: 600; }
.lvsdemo__val b { display: inline-block; min-width: 4.6em; text-align: right; }
.lvsdemo__svg { display: block; width: 100%; height: auto; -webkit-user-select: none; user-select: none; }
.lvsdemo.is-drag, .lvsdemo.is-drag * { -webkit-user-select: none; user-select: none; }
.lvsdemo__note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.ld__bg { fill: #fff; } .ld__night { fill: #f1f4f9; }
.ld__grid { stroke: #e3e8f0; stroke-width: 1; } .ld__axis, .ld__tick { stroke: #b7c0cf; stroke-width: 1; }
.ld__lab { font-size: 13px; fill: #6b7487; font-variant-numeric: tabular-nums; } .ld__unit { font-size: 13.5px; fill: #0d1424; font-weight: 600; }
.ld__bars { stroke: #2c6aa6; stroke-width: 1.4; } .ld__cum { fill: none; stroke: #0d1424; stroke-width: 2; }
.ld__spa1 { fill: #3fae4f; opacity: .5; } .ld__spa2 { fill: #f0d43a; opacity: .55; } .ld__spa3 { fill: #e2483d; opacity: .5; }
.ld__spalab { font-weight: 600; }
.ld__area { fill: #8fc4ee; opacity: .75; } .ld__line { fill: none; stroke: #2c6aa6; stroke-width: 2.4; stroke-linejoin: round; }
.ld__cur { stroke: #0d1424; stroke-width: 1; stroke-dasharray: 3 3; }
/* odstupy po doběhnutí animace */
.ld__ann { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.ld__ann.is-on { opacity: 1; }
.ld__annv { stroke: #0d1424; stroke-width: 1.2; stroke-dasharray: 2 4; opacity: .55; }
.ld__annb { fill: none; stroke: #0d1424; stroke-width: 1.8; }
.ld__annt { font-size: 14.5px; font-weight: 600; fill: #0d1424; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.ld__annt--s { font-size: 12.5px; font-weight: 500; fill: #5a6478; }
.ld__mark circle { fill: #0d1424; stroke: #fff; stroke-width: 2; } .ld__mark.is-warn circle { fill: #e2483d; }
.ld__mark .ld__pulse { fill: none; stroke: #e2483d; stroke-width: 2; opacity: 0; }
.ld__mark:not(.is-warn) .ld__pulse { stroke: #0d1424; }
.ld__mark.is-last .ld__pulse { animation: ldpulse 1.1s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ldpulse { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } }
/* mobil */
.lvsdemo__phone { justify-self: center; width: 100%; max-width: 310px; background: #0d1424; border-radius: 44px; padding: 11px; box-shadow: 0 30px 60px -30px rgba(13, 20, 36, .7), inset 0 0 0 2px #2d3548;
  height: 0; min-height: 100%; display: flex; }
.lvsdemo__screen { position: relative; flex: 1; min-height: 0; background: #f2f4f8; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; }
.lvsdemo__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 6px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lvsdemo__sig { font-size: 11.5px; }
.lvsdemo__contact { display: grid; justify-items: center; gap: 2px; padding: 4px 12px 10px; border-bottom: 1px solid rgba(13, 20, 36, .08); background: rgba(255, 255, 255, .7); }
.lvsdemo__contact i { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #5c9ad3, #2c6aa6); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.lvsdemo__contact b { font-size: 13.5px; } .lvsdemo__contact small { font-size: 11px; color: var(--muted); }
.lvsdemo__sms { list-style: none; margin: 0; padding: 10px 14px 6px; display: grid; align-content: start; gap: 7px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; scroll-behavior: smooth; }
.lvsdemo__sms::-webkit-scrollbar { display: none; }
.lvsdemo__msg { justify-self: stretch; max-width: none; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 5px; padding: 6px 11px; font-size: 13px; line-height: 1.3; box-shadow: 0 1px 2px rgba(13, 20, 36, .08); }
.lvsdemo__msg small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.lvsdemo__msg.is-warn { font-weight: 600; box-shadow: inset 3px 0 0 #e2483d, 0 1px 2px rgba(13, 20, 36, .08); }
.lvsdemo__msg.is-enter { opacity: 0; transform: translateY(12px) scale(.96); }
/* barva proužku u SMS a bodu v grafu: déšť a III. SPA červená, II. SPA žlutá, I. SPA zelená */
.lvsdemo__msg { --sc: #e2483d; box-shadow: inset 3px 0 0 var(--sc), 0 1px 2px rgba(13, 20, 36, .08) !important; }
.lvsdemo__msg.is-pop { box-shadow: inset 3px 0 0 var(--sc), 0 16px 30px -14px rgba(13, 20, 36, .45) !important; }
.lvsdemo__msg:not(.is-warn) { box-shadow: 0 1px 2px rgba(13, 20, 36, .08) !important; }   /* informativní zprávy bez proužku */
.lvsdemo__msg:not(.is-warn).is-pop { box-shadow: 0 16px 30px -14px rgba(13, 20, 36, .45) !important; }
.lvsdemo__msg--c1 { --sc: #3fae4f; } .lvsdemo__msg--c2 { --sc: #e6c02a; } .lvsdemo__msg--c3 { --sc: #e2483d; }
.ld__mark--c1 circle:not(.ld__pulse) { fill: #3fae4f !important; } .ld__mark--c2 circle:not(.ld__pulse) { fill: #e6c02a !important; } .ld__mark--c3 circle:not(.ld__pulse) { fill: #e2483d !important; }
.ld__mark--c1 .ld__pulse { stroke: #3fae4f !important; } .ld__mark--c2 .ld__pulse { stroke: #e6c02a !important; } .ld__mark--c3 .ld__pulse { stroke: #e2483d !important; }
.lvsdemo__msg { position: relative; transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, opacity .35s ease; will-change: transform; }
.lvsdemo__msg { transform-origin: center; }
.lvsdemo__msg.is-pop { transform: scale(1.1); z-index: 2; box-shadow: 0 16px 30px -14px rgba(13, 20, 36, .45); }
.lvsdemo__msg.is-warn.is-pop { box-shadow: inset 3px 0 0 #e2483d, 0 16px 30px -14px rgba(13, 20, 36, .45); }
.lvsdemo.is-paused .lvsdemo__svg { cursor: ew-resize; touch-action: none; }
.ld__mark { cursor: pointer; }
.ld__mark.is-hover circle:not(.ld__pulse) { r: 8; }
@keyframes ldin { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.lvsdemo__home { display: block; width: 110px; height: 5px; border-radius: 3px; background: #0d1424; margin: 6px auto 8px; opacity: .8; }
@media (max-width: 960px) { .lvsdemo { grid-template-columns: 1fr; } .lvsdemo__phone { height: 600px; min-height: 0; } }

/* ---------- Seznam klientů oblasti (balneologie) ---------- */
.klist { list-style: none; margin: 0; padding: 0; columns: 3 230px; column-gap: 32px; }
.klist li { break-inside: avoid; padding: 7px 0 7px 18px; position: relative; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.klist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--b2); }

/* ---------- Cyklovýlety: mapa tras, legenda ročníků, výškový profil ---------- */
.cyk { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.cyk__map { min-width: 0; }
.cyk__leg { border-left: 1px solid var(--line); padding-left: 24px; }
@media (max-width: 960px) { .cyk__leg { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } }
.cmap { display: block; width: 100%; height: auto; max-height: min(58vh, 520px); }
.cmap__brno { fill: #eef4fb; stroke: #8fc4ee; stroke-width: 1.5; stroke-linejoin: round; }
.cmap__brnot { font-size: 26px; font-weight: 700; fill: rgba(44, 106, 166, .35); letter-spacing: .08em; }
.cmap__obec circle { fill: #fff; stroke: #6b7487; stroke-width: 1.5; }
.cmap__obec text { font-size: 13px; fill: #5a6478; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.cmap__r { cursor: pointer; }
.cmap__hit { fill: none; stroke: transparent; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.cmap__line { fill: none; stroke: #5c9ad3; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: opacity .2s, stroke-width .2s, stroke .2s; }
.cmap__start, .cmap__end { stroke: #fff; stroke-width: 2.5; opacity: 0; transition: opacity .2s; }
.cmap__start { fill: #5c9ad3; } .cmap__end { fill: #0d1424; }
.cyk.has-on .cmap__line { stroke: #8fc4ee; opacity: .7; }
.cyk.has-on .cmap__r.is-on .cmap__line { stroke: #2c6aa6; opacity: 1; stroke-width: 6.5; }
.cmap__r.is-on .cmap__start, .cmap__r.is-on .cmap__end { opacity: 1; }
.cyk__note { margin: 8px 4px 0; font-size: 13px; color: var(--muted); }
.cdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin-left: 3px; }
.cdot--s { background: #5c9ad3; } .cdot--e { background: #0d1424; }
.h3c { margin: 0 0 12px; font-size: 19px; line-height: 1.2; }
.cleg { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cleg__b { width: 100%; font: inherit; cursor: pointer; display: grid; grid-template-columns: 14px auto 1fr; grid-template-areas: "c y k" "c d d"; column-gap: 10px; align-items: center;
  text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, border-color .2s, box-shadow .2s; }
.cleg__b i { grid-area: c; width: 14px; height: 14px; border-radius: 50%; background: #8fc4ee; }
.cleg__b[aria-pressed="true"] i, .cleg__b.is-hover i { background: #2c6aa6; }
.cleg__b b { grid-area: y; font-size: 17px; }
.cleg__b span { grid-area: d; font-size: 13px; color: var(--muted); }
.cleg__b em { grid-area: k; justify-self: end; font-style: normal; font-size: 13.5px; color: var(--muted); }
.cleg__b:hover, .cleg__b.is-hover { border-color: var(--c); }
.cleg__b[aria-pressed="true"] { border-color: var(--c); box-shadow: inset 4px 0 0 var(--c), 0 10px 24px -16px rgba(13, 20, 36, .4); }
.cyk__prof { margin-top: 18px; }
.cprof__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cprof__head .h3c { margin: 0; }
.cprof__stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.cprof__stats div { background: #f3f6fb; border-radius: 12px; padding: 10px 12px; }
.cprof__stats dt { font-size: 12.5px; color: var(--muted); }
.cprof__stats dd { margin: 2px 0 0; font-size: 19px; font-weight: 700; }
.cprof__svg { display: block; width: 100%; height: auto; }
.cprof__area { fill: var(--c); opacity: .14; }
.cprof__line { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; }
.cprof__axis, .cprof__ticks line { stroke: #b7c0cf; stroke-width: 1; }
.cprof__ticks text, .cprof__ele { font-size: 13px; fill: #6b7487; }
@media (max-width: 960px) { .cyk { grid-template-columns: 1fr; } .cleg { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .cprof__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cprof__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Poptávkový formulář (dole na stránkách) ---------- */
.poptavka { padding-top: 90px; }
.poptavka__box { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 4vw, 60px); background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(24px, 3.5vw, 48px); }
.poptavka__intro .h2 { margin: 0 0 14px; }
.poptavka__intro p { margin: 0 0 12px; color: var(--muted); }
.poptavka__prime { margin: 6px 0 18px; }
.poptavka__komu { padding: 12px 14px; border-radius: 14px; background: #eef4fb; color: var(--ink) !important; font-size: 15px; }
.poptavka__komu b { color: var(--b1); }
.pform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
.pform__f { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.pform__f--full { grid-column: 1 / -1; }
.pform input, .pform select, .pform textarea { font: inherit; font-size: 16px; width: 100%; padding: 11px 14px; border: 1px solid rgba(13, 20, 36, .14); border-radius: 12px; background: #fff; color: var(--ink); }
.pform textarea { resize: vertical; min-height: 120px; }
.pform input:focus, .pform select:focus, .pform textarea:focus { outline: 2px solid var(--b2); outline-offset: 1px; border-color: transparent; }
.pform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pform__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.pform__note { margin: 0; font-size: 13px; color: var(--muted); max-width: 26em; }
.pform__msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: #e7f5ec; color: #1f5e37; font-weight: 500; }
.pform__msg.is-err { background: #fbecea; color: #8c2a23; }
.pform.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.fab__form { width: 100%; justify-content: center; margin-top: 14px; }
/* tmavý blok (jako dřívější výzva „Chcete to probrat?“) */
.poptavka__box { position: relative; overflow: hidden; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(13, 20, 36, .55); }
.poptavka__box::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 154, 211, .5), transparent 70%); pointer-events: none; }
.poptavka__box > * { position: relative; }
.poptavka__box .eyebrow { color: var(--b3); }
.poptavka__box .grad { background: linear-gradient(100deg, var(--b3) 0%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.poptavka__intro p { color: rgba(255, 255, 255, .72); }
.poptavka__komu { background: rgba(255, 255, 255, .08) !important; color: rgba(255, 255, 255, .85) !important; }
.poptavka__komu b { color: #fff; }
.poptavka__prime .pill { background: #fff; color: var(--ink); }
.poptavka__prime .pill:hover { background: var(--b2); color: #fff; }
.poptavka__prime .pill--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.pform__f { color: rgba(255, 255, 255, .85); }
.pform input, .pform select, .pform textarea { border-color: transparent; }
.pform__note { color: rgba(255, 255, 255, .6); }
.pform button[type="submit"] { background: #fff; color: var(--ink); }
.pform button[type="submit"]:hover { background: var(--b2); color: #fff; }

@media (max-width: 860px) { .poptavka__box { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pform { grid-template-columns: 1fr; } .poptavka { padding-top: 60px; } }

/* ---------- Partneři: loga volně na pozadí, bez dlaždic ---------- */
.partners__t { margin: 34px 0 0; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.partners { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px 56px; }
.partners li { display: flex; }
.partners a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: inherit; text-decoration: none; transition: transform .2s ease, opacity .2s ease; }
.partners a:hover { transform: translateY(-2px); opacity: .8; }
.partners img { display: block; height: 44px; width: auto; max-width: 190px; object-fit: contain; }
.partners img.sq { height: 68px; }
.partners b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); line-height: 1.15; }
.partners span { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.35; }
@media (max-width: 600px) { .partners { gap: 26px 34px; } .partners img { max-width: 140px; height: 36px; } .partners img.sq { height: 54px; } }

/* ---------- Klientská sekce a plovoucí kontakt ---------- */
.pill--klient { display: inline-flex; align-items: center; gap: 8px; }
.pill--off { opacity: .55; cursor: default; }
.fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .25s; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab__btn { width: 60px; height: 78px; padding: 0; border: 0; background: none; cursor: pointer; display: block; margin-left: auto; color: #fff;
  filter: drop-shadow(0 12px 18px rgba(13, 20, 36, .4)); transition: transform .2s; }
.fab__drop { fill: var(--ink); transition: fill .2s; }
.fab__btn:hover .fab__drop { fill: #1d2a44; }
.fab__btn:hover { transform: scale(1.06); }
.fab__btn:focus-visible { outline: 3px solid var(--b2); outline-offset: 3px; border-radius: 8px; }
.fab__i2 { display: none; }
.fab.is-open .fab__i1 { display: none; }
.fab.is-open .fab__i2 { display: inline; }
.fab__pop { position: absolute; right: 0; bottom: 88px; width: min(330px, calc(100vw - 36px)); background: #fff; border-radius: var(--r);
  padding: 18px 18px 14px; box-shadow: 0 24px 60px -18px rgba(13, 20, 36, .4); }
.fab__pop[hidden] { display: none; }
.fab__t { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fab__mail { display: block; margin: 0 0 10px; font-weight: 600; font-size: 17px; color: var(--b1); text-decoration: none; }
.fab__pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fab__pop li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.fab__pop li img, .fab__mono { width: 44px; height: 44px; border-radius: 50%; background: #e6eef8; display: grid; place-items: center; font-weight: 700; color: var(--b1); }
.fab__pop li small { display: block; font-size: 11.5px; color: var(--b1); font-weight: 600; }
.fab__pop li b { display: block; font-size: 15px; }
.fab__pop li a { display: block; font-size: 14px; color: var(--ink); text-decoration: none; }
.fab__pop li a:hover, .fab__mail:hover { text-decoration: underline; }
.fab__all { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--b1); text-decoration: none; }

/* ---------- Mapa LVS ---------- */
.lvsmap-box { margin: 26px 0 0; padding: clamp(16px, 3vw, 40px); }
.lvsmap { display: block; width: 100%; height: auto; }
.lvsmap__cr { fill: #eef4fb; stroke: #8fc4ee; stroke-width: 2; stroke-linejoin: round; }
.lvsmap__k { fill: #2c6aa6; stroke: #fff; stroke-width: 1; opacity: .9; }
.lvsmap-box figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

.sumap__bg { fill: #eef4fb; }
.sumap__town { fill: #fff; stroke: #5a6478; stroke-width: 1.5; }
.sumap__tl { font-size: 13px; fill: #5a6478; }
.sumap__loc { font-size: 20px; font-weight: 700; fill: #0d1424; paint-order: stroke; stroke: #eef4fb; stroke-width: 5px; stroke-linejoin: round; }
.sumap__drop { fill: #2c6aa6; stroke: #fff; stroke-width: 3; }
.sumap__cr { fill: #fff; stroke: #8fc4ee; stroke-width: 1.5; }
.sumap__box { fill: rgba(44, 106, 166, .15); stroke: #2c6aa6; stroke-width: 1.5; }

.bvkmap { max-height: 860px; }
.bvk__mc { fill: none; stroke: #9fb8d6; stroke-width: 1.2; stroke-dasharray: 4 3; }
.bvk__mcn { font-size: 11.5px; fill: #6b7487; font-weight: 500; paint-order: stroke; stroke: #eef4fb; stroke-width: 3px; }
.bvk__sl rect { fill: #5c9ad3; stroke: #fff; stroke-width: 2; }
.bvk__sl text { font-size: 12px; font-weight: 700; fill: #fff; }
.bvk__stoka { fill: none; stroke: #5c9ad3; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.bvk__sp { fill: #2a9d8f; stroke: #fff; stroke-width: 2; }
.bvk__ok { fill: #2c6aa6; stroke: #fff; stroke-width: 2; }
.bvk__k { fill: #8fc4ee; stroke: #fff; stroke-width: 2; }
.bvk__k--n { fill: #8fc4ee; }

/* ---------- Aktuality ---------- */
.rss-btn { display: inline-flex; align-items: center; gap: 8px; }
.rss-btn svg { color: #e8772e; }
.akard .acard__thumb img { filter: none; }

/* ---------- Reference ---------- */
.rtop { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.rtop > .reveal { min-width: 0; }
.slides--ref { border-radius: var(--r); aspect-ratio: 3 / 2; min-height: 0; box-shadow: var(--shadow); }
.slides-fig { margin: 0; }
.tema__card .slides-fig { display: flex; flex-direction: column; min-height: 340px; }
.tema__card .slides-fig .slides { flex: 1; }
.tema__card .slides__cap { margin: 0; padding: 10px 16px 12px; background: #fff; }
.slides__cap { margin: 10px 4px 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.rnums { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.rnums b { display: block; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--b1); line-height: 1.1; }
.rnums span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.rcharts { display: grid; gap: 18px; margin-top: 26px; }
.rchart { margin: 0; }
.rchart h3 { margin: 0 0 6px; font-size: clamp(18px, 1.5vw, 22px); }
.rchart figcaption p { margin: 0 0 14px; font-size: 15px; color: var(--muted); max-width: 60em; }
.rchart__svg { overflow-x: auto; }
.chart { display: block; width: 100%; min-width: 640px; height: auto; font-family: inherit; }
.rcharts, .rcharts > *, .rchart, .rchart figcaption, .rchart__svg { min-width: 0; max-width: 100%; }
.chart.lvsmap, .chart.sumap { min-width: 0; }      /* mapy se vždy vejdou na šířku displeje, grafy se případně posouvají uvnitř karty */
.lvsmap-box { min-width: 0; max-width: 100%; overflow: hidden; }
.chart__grid { stroke: #e3e9f2; stroke-width: 1; }
.chart__sep { stroke: #c9d4e3; stroke-width: 1; stroke-dasharray: 3 4; }
.chart__ax { font-size: 13px; fill: #6b7487; }
.chart__m { font-size: 14px; fill: #2d3548; font-weight: 500; }
.chart__b0 { fill: #e2ecf7; }
.chart__b1 { fill: #8fc4ee; }
.chart__b2 { fill: #2c6aa6; }
.chart__b3 { fill: #d0453a; }
.chart rect:hover { opacity: .75; }
.chart__mzp { stroke: #2c6aa6; stroke-width: 1.6; stroke-dasharray: 7 5; }
.chart__krit { stroke: #d0453a; stroke-width: 1.6; stroke-dasharray: 7 5; }
.chart__lab { font-size: 13px; font-weight: 600; }
.chart__lab--mzp { fill: #2c6aa6; }
.chart__lab--krit { fill: #d0453a; }
.chart__leg text { font-size: 13px; fill: #3a4357; }
.chart__c1 { fill: none; stroke: #8fc4ee; stroke-width: 3; stroke-dasharray: 8 6; }
.chart__c2 { fill: none; stroke: #2c6aa6; stroke-width: 3; }
.chart__pt { fill: #fff; stroke: #0d1424; stroke-width: 2.4; }
.chart__pt--b { fill: #8fc4ee; stroke: #2c6aa6; }
.map__r { fill: none; stroke: #8fc4ee; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map__r--main { stroke: #5c9ad3; stroke-width: 12; }
.map__t { fill: none; stroke: #b9d7f2; stroke-width: 3.5; stroke-linecap: round; }
.map__arr { fill: #5c9ad3; stroke: #5c9ad3; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.map__river { font-size: 15px; font-style: italic; fill: #2c6aa6; font-weight: 500; }
.map__river--main { font-size: 18px; }
.map__lab { font-size: 13px; fill: #6b7487; font-style: italic; }
.map__st { fill: #fff; stroke: #0d1424; stroke-width: 3; }
.map__conf { fill: #2c6aa6; }
.map__drop { fill: #2c6aa6; stroke: #fff; stroke-width: 2.5; }
.map__aff { stroke: none; }
/* schéma přesunu výusti: kóta vzdálenosti se ukáže po najetí myší / fokusu */
.map__hit { fill: transparent; }
.map__row { cursor: default; outline: none; }
.map__st--zal { stroke: #8a93a6; stroke-dasharray: 4 3; }
.map__flow--zal { stroke: #8fc4ee; stroke-dasharray: 5 5; }
.map__dist { opacity: 0; transition: opacity .25s; }
.map__dist path { fill: none; stroke: #0d1424; stroke-width: 2; }
.map__dist text { font-size: 17px; font-weight: 700; fill: #0d1424; }
.map__row:hover .map__dist, .map__row:focus .map__dist { opacity: 1; }
@media (hover: none) { .map__dist { opacity: 1; } }
.map__aff--old { fill: rgba(208, 69, 58, .28); }
.map__aff--new { fill: rgba(208, 69, 58, .28); }
.map__jez { stroke: #0d1424; stroke-width: 5; stroke-linecap: round; }
.map__obj { fill: #fff; stroke: #0d1424; stroke-width: 2.5; }
.map__flow { fill: none; stroke: #2c6aa6; stroke-width: 3; stroke-linecap: round; }
.map__name { font-size: 16px; font-weight: 600; fill: #0d1424; }
.map__name--main { fill: #2c6aa6; font-size: 17px; }
.map__sub { font-size: 13.5px; fill: #5a6478; }
.chart__val { font-size: 12px; fill: #2d3548; font-weight: 500; }
@media (max-width: 860px) { .rtop { grid-template-columns: 1fr; } }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.rgrid > * { min-width: 0; }
/* karty dalších oblastí: fotka nahoře od kraje ke kraji, text dole (jako reference) */
.acard--link { padding: 0 0 18px; overflow: hidden; background: #fff; border-color: transparent; opacity: 1; }
.acard--link .acard__thumb { border-radius: 0; margin-bottom: 12px; }
.acard--link .acard__thumb img { filter: none; }
.acard--link .acard__go { margin-top: auto; }
.acard--link .acard__name, .acard--link .acard__txt, .acard--link .acard__go { padding-left: 16px; padding-right: 16px; }
.rcard[hidden] { display: none; }
/* karty referencí: fotka nahoře od kraje ke kraji bez rámečku, text dole na ploše karty */
.rcard { padding: 0 0 16px; overflow: hidden; background: #fff; border-color: transparent; opacity: 1; }
.rcard .acard__thumb { border-radius: 0; margin-bottom: 12px; }
.rcard .acard__name, .rcard .acard__txt { padding-left: 16px; padding-right: 16px; }
.rcard__meta { padding: 0 16px; font-size: 13.5px; color: var(--b1); font-weight: 500; }
.rcard__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 0; margin-top: auto; }
.rcard__chips i { font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #eef3fa; color: var(--muted); }
.rcard__play { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 12px; font-weight: 400; }
.rempty { margin: 26px 0 0; font-size: 17px; color: var(--muted); }
.rempty[hidden] { display: none; }
.rfilter__t { margin: 18px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rfilter__t:first-child { margin-top: 0; }
.topic__go { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--b1); text-decoration: none; }
.topic__go:hover { text-decoration: underline; }
.rfilter { display: flex; flex-wrap: wrap; gap: 8px; }
.rfilter button { font: inherit; font-size: 14.5px; cursor: pointer; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, color .2s; }
.rfilter button:hover { border-color: var(--b2); }
.rfilter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rhero { display: block; border-radius: var(--r); overflow: hidden; }
.rhero img { display: block; width: 100%; height: auto; }
.rgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 16px; }
.rgal a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #dfe6f3; }
.rgal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rgal a:hover img { transform: scale(1.05); }
.facts--ref { grid-template-columns: 1fr; gap: 2px; }
.facts--ref dd { margin-bottom: 12px; font-weight: 500; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .cards--4 { grid-template-columns: repeat(4, minmax(200px, 1fr)); }
  .acard { scroll-snap-align: start; }
  .intro, .area-top .intro { grid-template-columns: 1fr; gap: 30px; }
  .vcard { max-width: 640px; }
  .gestor { position: static; }
  .steps, .stats, .mails { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: var(--gut); right: var(--gut); flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-radius: 20px; padding: 12px; box-shadow: 0 24px 60px rgba(13, 20, 36, .18); }
  .bar.is-open .menu { display: flex; }
  .menu > a:not(.pill), .menu__sub > a { font-size: 18px; padding: 12px 14px; }
  .menu__sub ul { position: static; display: block; box-shadow: none; padding: 0 0 6px 10px; min-width: 0; }
  .menu .pill { margin: 8px 0 0; justify-content: center; }
  .topics, .two, .prose--cols { grid-template-columns: 1fr; columns: 1; }
}
@media (max-width: 760px) {
  .logo img { height: 42px; }
  .screen:not(.screen--card) { overflow: visible; aspect-ratio: auto; background: none; box-shadow: none; }
  .screen:not(.screen--card) video, .screen:not(.screen--card) > img { position: static; width: 100%; aspect-ratio: 16 / 9; height: auto; box-shadow: 0 20px 40px -20px rgba(44, 106, 166, .4); }
  .screen:not(.screen--card)::after { display: none; }
  .screen__info { position: static; max-width: none; color: var(--ink); padding: 18px 0 0; }
  .screen__name { text-shadow: none; }
  .screen__txt { opacity: .8; }
  .screen__info .pill--light { background: var(--ink); color: #fff; }
  .screen__claim { border-top-color: var(--line); color: var(--muted); }
  .screen:not(.screen--card) .screen__ctrl { top: calc((100vw - 2 * var(--gut)) * 9 / 16 - 60px); bottom: auto; right: 12px; }
  .cards { grid-template-columns: repeat(5, 72%); }
  .cards--4 { grid-template-columns: repeat(4, 72%); }
  .steps, .stats, .mails, .team, .bignums, .foot__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}
/* úvod: šipky ve videu pro přepínání oblastí, bez karet oblastí pod videem (mobil i počítač) */
.screen__nav { display: none; }
.screen[data-rotate] .screen__nav { display: grid; z-index: 4; }
/* šipky vedle tlačítka pauzy vpravo dole, aby nezasahovaly do textu */
.screen[data-rotate] .screen__nav { top: auto; bottom: 22px; margin-top: 0; }
.screen[data-rotate] .screen__nav--prev { left: auto; right: 130px; }
.screen[data-rotate] .screen__nav--next { right: 78px; }
.stage .cards[role="group"] { display: none !important; }
@media (max-width: 760px) {
  .screen[data-rotate] .screen__nav { display: grid; width: 36px; height: 36px; margin-top: 0; bottom: auto; top: calc((100vw - 2 * var(--gut)) * 9 / 16 - 44px); }
  .screen[data-rotate] .screen__nav--prev { left: auto; right: 92px; }
  .screen[data-rotate] .screen__nav--next { right: 50px; }
  .screen[data-rotate] .screen__ctrl { width: 36px; height: 36px; right: 8px; top: calc((100vw - 2 * var(--gut)) * 9 / 16 - 44px); }
  .stage .cards[role="group"] { display: none !important; }   /* bez tlačítek oblastí pod videem */
  .stage:has(.screen[data-rotate]) { padding-bottom: 0; }      /* menší mezera mezi videem a sekcí O nás */
  .stage:has(.screen[data-rotate]) + #o-nas { padding-top: 34px !important; }
}
/* úvod na mobilu: přepínač oblastí jen jako malá tlačítka s názvem, bez náhledů a popisků */
@media (max-width: 760px) {
  .cards[role="group"] { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; padding: 0; margin-top: 18px; }
  .cards[role="group"] .acard { flex-direction: row; padding: 9px 15px; border-radius: 999px; opacity: .65; background: #fff; transform: none; box-shadow: none; }
  .cards[role="group"] .acard__thumb, .cards[role="group"] .acard__txt { display: none; }
  .cards[role="group"] .acard__name { padding: 0; font-size: 14px; font-weight: 500; }
  .cards[role="group"] .acard[aria-pressed="true"] { opacity: 1; background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(44, 106, 166, .6); }
  .cards[role="group"] .acard[aria-pressed="true"]::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* stránka oblasti / reference: zabarvené mlhy v pozadí */

/* úvod: video a karty oblastí */

/* reference: barevný proužek a štítky oblastí */

/* hlavička drží barvu oblasti i při posunu stránky */

/* záhlaví oblasti: tónovaná plocha přes celou šířku */

/* karty kroků a témat: barevný horní okraj */

/* výzva v barvě oblasti */

/* úvod: tónované karty oblastí, tlačítko na videu v barvě oblasti */

/* reference: celá karta tónovaná */

/* menu: tónované položky oblastí */

/* patička: pětibarevný pruh místo linky */

/* tmavá tlačítka (Klientská sekce, plovoucí kontakt, tlačítka v obsahu, filtry): v barvě oblasti, mimo oblasti firemní modrá */

