/* Dobruška srdcem – web postavený z prezentace */
:root {
  --navy: #181c63;
  --navy-2: #22277a;
  --navy-deep: #10134a;
  --red: #da3833;
  --red-dark: #b92b27;
  --ink: #181c63;
  --text: #2c2f5c;
  --muted: #6b6e92;
  --tile: #f0f1f8;
  --line: #e1e2ee;
  --white: #fff;
  --radius: 4px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --shadow: 0 18px 40px -18px rgba(16, 19, 74, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(24px, 3vw, 34px); }
h4 { font-size: 19px; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tile { background: var(--tile); }
.section--navy { background: var(--navy); color: #d9dbf3; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }

/* štítky jako v prezentaci */
.tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px 4px;
  border-radius: 2px;
  margin-bottom: 18px;
}
.eyebrow { display: block; color: var(--red); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: 14px; margin-bottom: 10px; }
.lead { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--red); margin-bottom: 28px; }
.lead--navy { color: var(--ink); }
.note { font-size: 14px; color: var(--muted); }
.note strong { color: var(--red); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Hlavička ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s;
}
.header.is-solid { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { display: block; width: 150px; }
.header__logo img { width: 100%; }
.header__logo .logo-color { display: none; }
.header.is-solid .logo-color { display: block; }
.header.is-solid .logo-white { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: #fff;
  padding: 8px 12px; border-radius: 2px; transition: color .2s, background .2s; white-space: nowrap;
}
.header.is-solid .nav a { color: var(--ink); }
.nav a:hover { color: var(--red) !important; }
.nav .nav__cta { background: var(--red); color: #fff !important; margin-left: 8px; }
.nav .nav__cta:hover { background: var(--red-dark); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.header.is-solid .nav-toggle span { background: var(--ink); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px var(--gutter) 24px; gap: 0; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav a { color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .nav__cta { margin: 16px 0 0; text-align: center; border: 0; }
  .header.nav-open { background: #fff; }
  .header.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .header.nav-open .nav-toggle span { background: var(--ink); }
  .header.nav-open .logo-color { display: block; }
  .header.nav-open .logo-white { display: none; }
  .header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Úvod ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--navy); color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .28; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,28,99,.55) 0%, rgba(24,28,99,.35) 45%, var(--navy) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero__logo { width: min(520px, 90%); margin-bottom: 36px; }
.hero h1 { color: #fff; font-size: clamp(32px, 5.2vw, 64px); margin-bottom: 24px; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: #d9dbf3; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 14px 24px; border-radius: 2px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  font-family: inherit;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn svg { width: 18px; height: 18px; }

.vote-badge {
  width: 220px; height: 220px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-content: center; text-align: center; box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
  transform: rotate(-6deg);
}
.vote-badge small { display: block; font-size: 13px; letter-spacing: .28em; font-weight: 700; }
.vote-badge strong { display: block; font-size: 52px; line-height: 1.05; }
.vote-badge span { font-size: 17px; font-weight: 600; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .vote-badge { width: 150px; height: 150px; order: -1; justify-self: end; margin-bottom: -40px; }
  .vote-badge strong { font-size: 34px; }
  .vote-badge span { font-size: 13px; }
  .vote-badge small { font-size: 10px; }
}

/* ---------- Video ---------- */
.video-frame { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16,19,74,.25); border: 0; cursor: pointer; transition: background .2s;
}
.video-play:hover { background: rgba(16,19,74,.1); }
.video-play span { width: 88px; height: 88px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.video-play:hover span { transform: scale(1.06); }
.video-play svg { width: 34px; height: 34px; margin-left: 6px; fill: #fff; }
.video-frame.is-playing .video-play { display: none; }

/* ---------- Proč / tým ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev { grid-template-columns: 1fr 1.1fr; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kandidáti ---------- */
.candidates { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; margin-top: 48px; }
.cand { position: relative; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.cand__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #ececf1; border-radius: var(--radius); }
.cand__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform .5s ease; }
.cand:hover .cand__img img { transform: scale(1.04); }
.cand__num {
  position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 700; font-size: 15px; display: grid; place-items: center;
}
.cand__more { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 2px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.cand:hover .cand__more, .cand:focus-visible .cand__more { opacity: 1; transform: none; }
.cand h3 { font-size: 19px; margin: 14px 0 4px; }
.cand p { font-size: 14px; line-height: 1.45; color: var(--text); margin: 0; }
.cand p + p { color: var(--muted); margin-top: 4px; }
@media (max-width: 560px) {
  .candidates { grid-template-columns: 1fr 1fr; gap: 24px 12px; margin-top: 32px; }
  .cand h3 { font-size: 16px; margin-top: 10px; }
  .cand p { font-size: 13px; }
  .cand__num { width: 30px; height: 30px; font-size: 13px; top: 8px; left: 8px; }
}

/* dialog kandidáta a lightbox */
dialog { border: 0; padding: 0; max-width: min(1080px, calc(100vw - 32px)); max-height: calc(100svh - 32px); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(16, 19, 74, .8); backdrop-filter: blur(3px); }
.dlg-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.cand-dlg__body { display: grid; grid-template-columns: 320px 1fr; }
.cand-dlg__portrait img { width: 100%; height: 100%; object-fit: cover; }
.cand-dlg__info { padding: clamp(24px, 4vw, 44px); overflow: auto; }
.cand-dlg__info h3 { font-size: clamp(26px, 3vw, 34px); margin-top: 8px; }
.cand-dlg__info .role { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.cand-dlg__photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.cand-dlg__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
@media (max-width: 720px) {
  .cand-dlg__body { grid-template-columns: 1fr; }
  .cand-dlg__portrait img { aspect-ratio: 4 / 4; object-position: center 15%; }
}
.lightbox { background: transparent; box-shadow: none; overflow: visible; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100svh - 90px); width: auto; border-radius: 2px; }
.lightbox figcaption { color: #fff; font-size: 14px; margin-top: 10px; text-align: center; }
.lightbox .dlg-close { top: -8px; right: -8px; }

/* ---------- Průzkum ---------- */
.survey-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.survey-photos figure { margin: 0; }
.survey-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.survey-photos figcaption { font-weight: 700; color: var(--ink); margin-top: 10px; }
@media (max-width: 640px) { .survey-photos { grid-template-columns: 1fr; } }

.chart { margin-top: 64px; background: #fff; padding: clamp(20px, 4vw, 44px); border-radius: var(--radius); }
.chart__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; }
.chart__head h3 { margin: 0; font-size: clamp(19px, 2.2vw, 24px); }
.chart__count { background: var(--red); color: #fff; font-weight: 700; padding: 8px 16px; border-radius: 2px; white-space: nowrap; }
.bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 1.4vw, 18px); align-items: end; }
.bar { display: flex; flex-direction: column; align-items: stretch; height: 100%; }
.bar__col { height: 260px; display: flex; align-items: flex-end; }
.bar__fill { width: 100%; height: var(--h); background: var(--navy); transform-origin: bottom; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.bar--hot .bar__fill { background: var(--red); }
.chart:not(.is-in) .bar__fill { transform: scaleY(0); }
.bar__label { font-size: 13px; line-height: 1.3; text-align: center; margin-top: 12px; color: var(--ink); min-height: 3.9em; }
.bar--hot .bar__label { font-weight: 700; }
@media (max-width: 760px) {
  .bars { grid-template-columns: 1fr; gap: 10px; }
  .bar { flex-direction: row-reverse; align-items: center; gap: 12px; }
  .bar__col { height: 22px; flex: 1; align-items: stretch; }
  .bar__fill { width: var(--h); height: 100%; transform-origin: left; }
  .chart:not(.is-in) .bar__fill { transform: scaleX(0); }
  .bar__label { width: 132px; flex: none; text-align: right; margin: 0; min-height: 0; }
}

/* ---------- Přehled témat ---------- */
.plan-intro { background: var(--red); color: #fff; }
.plan-intro h2 { color: #fff; font-size: clamp(36px, 6vw, 72px); margin-bottom: 40px; }
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2px; background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.25); }
.themes a { background: var(--red); display: block; padding: 26px 24px 28px; text-decoration: none; transition: background .2s; }
.themes a:hover { background: var(--red-dark); }
.themes small { display: block; font-size: 12px; letter-spacing: .2em; font-weight: 700; opacity: .8; margin-bottom: 8px; }
.themes strong { display: block; font-size: 21px; line-height: 1.25; }
.themes span { display: block; margin-top: 10px; font-size: 14px; opacity: .85; }

/* ---------- Úvod tématu (fotka s překryvem) ---------- */
.theme-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.theme-hero__bg { position: absolute; inset: 0; }
.theme-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.theme-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(24, 28, 99, .72); }
.theme-hero .wrap { position: relative; min-height: min(78svh, 720px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding-top: 100px; padding-bottom: 100px; }
.theme-hero h2 { color: #fff; font-size: clamp(38px, 6vw, 76px); margin-bottom: 20px; }
.theme-hero p { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: #e3e5fa; max-width: 620px; }
.garant { background: #fff; color: var(--text); width: 230px; padding: 10px 10px 16px; box-shadow: var(--shadow); border-radius: 2px; }
.garant img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 12%; }
.garant .tag { font-size: 10px; padding: 3px 8px; margin: 12px 0 8px; }
.garant strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.garant span:not(.tag) { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
@media (max-width: 720px) {
  .theme-hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 88px; padding-bottom: 72px; }
  .garant { display: grid; grid-template-columns: 76px 1fr; gap: 0 14px; align-items: center; width: 100%; max-width: 360px; padding: 10px; }
  .garant img { grid-row: span 3; }
  .garant .tag { margin: 0 0 4px; justify-self: start; }
}

/* ---------- Dlaždice s body 01–04 ---------- */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; }
.points--3 { grid-template-columns: repeat(3, 1fr); }
.points--5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.points li { background: var(--tile); padding: 26px 26px; display: flex; gap: 18px; align-items: center; font-weight: 700; color: var(--ink); line-height: 1.35; border-radius: 2px; }
.points li b { color: var(--red); font-size: 22px; flex: none; }
.section--tile .points li { background: #fff; }
@media (max-width: 760px) { .points, .points--3 { grid-template-columns: 1fr; } .points li { padding: 20px; } }

.block { margin-top: clamp(72px, 10vw, 128px); }
.block:first-child { margin-top: 0; }
.block__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 32px; }
.block__head h3 { margin-bottom: 8px; }
.block__head .lead { margin-bottom: 0; }
@media (max-width: 860px) { .block__head { grid-template-columns: 1fr; } }

/* ---------- Před / po ---------- */
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; background: #ddd; --pos: 50%; box-shadow: var(--shadow); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.3); }
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.ba__label { position: absolute; top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; padding: 5px 14px; border-radius: 20px; color: #fff; pointer-events: none; }
.ba__label--before { left: 16px; background: var(--navy); }
.ba__label--after { right: 16px; background: var(--red); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.ba input:focus-visible + .ba__handle::after { outline: 3px solid #fff; outline-offset: 3px; }
.ba-caption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.ba-caption strong { color: var(--red); letter-spacing: .04em; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; } .ba { aspect-ratio: 4 / 3; } }

/* galerie vizualizací */
.visual { position: relative; margin: 24px 0 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.visual:hover img { transform: scale(1.02); }
.visual figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; background: linear-gradient(transparent, rgba(16,19,74,.85)); color: #fff; font-weight: 700; font-size: 17px; }
.visual figcaption small { display: block; font-size: 11px; letter-spacing: .14em; font-weight: 600; opacity: .8; }
.visual-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-grid > .visual img { aspect-ratio: 16 / 9; }
@media (min-width: 861px) { .ba-grid > .visual img, .ba-grid .ba { aspect-ratio: 3 / 2; } }
@media (max-width: 760px) { .visual-row { grid-template-columns: 1fr; } }

/* ---------- Proces ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; counter-reset: s; }
.process li { list-style: none; position: relative; text-align: center; }
.process li::before { content: ""; display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); margin: 0 auto 16px; position: relative; z-index: 1; }
.process li:first-child::before { background: var(--red); }
.process li::after { content: ""; position: absolute; top: 16px; left: 50%; width: calc(100% + 16px); height: 2px; background: var(--navy); }
.process li:last-child::after { display: none; }
.process strong { display: block; font-size: 14px; letter-spacing: .16em; color: var(--ink); margin-bottom: 16px; }
.process li:first-child strong { color: var(--red); }
.process span { display: block; background: var(--tile); padding: 14px 10px; font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.35; border-radius: 2px; }
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { display: grid; grid-template-columns: 34px 1fr; gap: 0 16px; text-align: left; padding-bottom: 20px; }
  .process li::before { margin: 0; grid-row: span 2; }
  .process li::after { top: 17px; left: 16px; width: 2px; height: 100%; }
  .process strong { margin: 6px 0 8px; }
}

/* pipeline (šipky) */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; list-style: none; margin: 0; }
.flow li { flex: 1 1 0; min-width: 120px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; display: grid; place-items: center; text-align: center; padding: 18px 14px; position: relative; border-radius: 2px; }
.flow li:last-child { background: var(--red); }
.flow li + li::before { content: ""; position: absolute; left: -9px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left: 8px solid var(--red); border-right: 0; }
.flow--v { flex-direction: column; }
.flow--v li { min-width: 0; }
.flow--v li + li::before { left: 50%; top: -9px; margin: 0 0 0 -7px; border: 7px solid transparent; border-top: 8px solid var(--red); border-bottom: 0; }
.flow-title { font-size: 12px; letter-spacing: .2em; font-weight: 700; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; }
@media (max-width: 640px) {
  .flow:not(.flow--v) { flex-direction: column; }
  .flow:not(.flow--v) li + li::before { left: 50%; top: -9px; margin: 0 0 0 -7px; border: 7px solid transparent; border-top: 8px solid var(--red); border-bottom: 0; }
}
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; margin-top: 16px; }
.steps li { background: var(--tile); padding: 18px 16px 22px; font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.35; border-radius: 2px; }
.steps b { display: block; color: var(--red); font-size: 22px; margin-bottom: 6px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }

.checklist { list-style: none; }
.checklist li { position: relative; padding: 8px 0 8px 34px; font-size: 18px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checklist li:last-child { border-bottom: 0; }
.section--navy .checklist li { border-color: rgba(255,255,255,.15); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Citace ---------- */
.quote { background: var(--red); color: #fff; text-align: center; padding: clamp(72px, 10vw, 130px) 0; }
.quote--navy { background: var(--navy); }
.quote p { margin: 0 auto; max-width: 900px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; opacity: .95; }
.quote blockquote { margin: 0; }
.quote blockquote > strong { display: block; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.2; margin: 12px auto; max-width: 980px; text-wrap: balance; }

/* ---------- Bydlení: pilíře, parkování ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.pillars li { background: var(--navy); color: #fff; padding: 22px 24px; display: flex; gap: 16px; align-items: center; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; border-radius: 2px; }
.pillars li:last-child { background: var(--red); }
.pillars svg { width: 28px; height: 28px; flex: none; fill: #fff; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.parking { display: grid; gap: 10px; max-width: 820px; }
.parking div { display: grid; grid-template-columns: 1fr 40px 1.4fr; align-items: stretch; }
.parking dt, .parking dd { margin: 0; padding: 16px 20px; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.parking dt { background: var(--navy); color: #fff; text-align: center; }
.parking dd { background: var(--tile); color: var(--ink); text-align: center; }
.parking div:last-child dd { color: var(--red); }
.parking i { display: grid; place-items: center; }
.parking i::before { content: ""; border: 8px solid transparent; border-left: 10px solid var(--red); border-right: 0; }
@media (max-width: 560px) { .parking div { grid-template-columns: 1fr; } .parking i { height: 26px; } .parking i::before { border: 8px solid transparent; border-top: 10px solid var(--red); border-bottom: 0; } }

/* ---------- Kočky ---------- */
.stat { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.stat strong { font-size: clamp(72px, 9vw, 110px); line-height: .9; color: var(--red); }
.stat span { font-weight: 700; color: var(--ink); font-size: 19px; line-height: 1.3; }
.stat small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.cats { display: grid; grid-template-columns: 1.1fr 1.3fr .7fr; gap: 16px; margin-top: 32px; }
.cats img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr 1fr; } .cats img { height: 200px; } .cats a:first-child { grid-column: span 2; } }

/* ---------- Telefon s hlášením závad ---------- */
.phone { width: 280px; margin: 0 auto; background: var(--navy); border-radius: 36px; padding: 16px; box-shadow: var(--shadow); }
.phone__screen { background: #fff; border-radius: 24px; padding: 26px 18px 34px; }
.phone__screen small { display: block; text-align: center; font-size: 11px; letter-spacing: .2em; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.phone__screen div { background: var(--tile); color: var(--ink); font-weight: 700; font-size: 14px; padding: 18px 14px; border-radius: 6px; margin-bottom: 12px; }
.phone__screen div:last-child { background: var(--red); color: #fff; margin-bottom: 0; }

/* ---------- Bazén ---------- */
.b-hero .theme-hero__bg::after { background: rgba(24, 28, 99, .66); }
.ask { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--navy); }
.ask img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ask::after { content: ""; position: absolute; inset: 0; background: rgba(24, 28, 99, .6); }
.ask .wrap { position: relative; z-index: 1; padding-top: clamp(100px, 14vw, 180px); padding-bottom: clamp(100px, 14vw, 180px); }
.ask h2 { color: #fff; max-width: 900px; margin: 0 auto; font-size: clamp(28px, 4.4vw, 52px); }

.year { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.year__num { font-size: clamp(90px, 14vw, 170px); font-weight: 700; color: #fff; line-height: .9; letter-spacing: -.03em; }
.year h3 { color: #fff; margin-top: 18px; }
.year dl { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 6px 40px; margin: 24px 0 0; }
.year dt { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.1; }
.year dd { margin: 0 0 12px; color: #c9cbed; font-size: 15px; }
.year dl div { display: block; }
.year__photo { position: relative; }
.year__photo img { width: 100%; border-radius: var(--radius); filter: grayscale(1); }
.year__photo .tag { position: absolute; top: 14px; right: 14px; margin: 0; }
.year__foot { margin-top: 40px; background: var(--red); color: #fff; font-weight: 700; padding: 16px 22px; display: inline-block; border-radius: 2px; }
@media (max-width: 860px) { .year { grid-template-columns: 1fr; } }

.memories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.memories figure { margin: 0; }
.memories img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.memories figcaption { margin-top: 12px; font-weight: 700; color: var(--ink); font-size: 19px; }
@media (max-width: 700px) { .memories { grid-template-columns: 1fr; } .memories img { aspect-ratio: 4 / 3; } }

.big-lines { text-align: center; }
.big-lines p { font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; margin: 0; color: #e0e2f8; }
.big-lines p.em { font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff; margin-top: 10px; }
.big-lines .sub { font-size: 17px; color: #b9bce4; margin-top: 16px; font-weight: 400; }

.today { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.today h2 { font-size: clamp(56px, 8vw, 96px); color: #fff; }
.today p { font-size: clamp(18px, 2vw, 22px); color: #e0e2f8; }
.today p em { font-weight: 700; color: #fff; }
.today video { width: 100%; max-width: 340px; margin: 0 auto; border-radius: var(--radius); aspect-ratio: 9 / 16; object-fit: cover; background: #000; box-shadow: var(--shadow); }
@media (max-width: 760px) { .today { grid-template-columns: 1fr; } }

.photo-band { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,28,99,.85), rgba(24,28,99,.45)); }
.photo-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: min(80svh, 680px); padding-top: 80px; padding-bottom: 80px; }
.photo-band h2 { color: #fff; font-size: clamp(48px, 7vw, 88px); margin: 0; }
.photo-band p { font-size: clamp(18px, 2vw, 23px); font-weight: 600; margin: 0 0 12px; }
.photo-band .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.photo-band .pills .tag { margin: 0; }
@media (max-width: 760px) { .photo-band .wrap { grid-template-columns: 1fr; min-height: 0; } }

.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; margin-top: 40px; }
.zones h4 { font-size: 12px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.zones ul { list-style: none; display: grid; gap: 12px; }
.zones li { background: var(--tile); padding: 18px 18px; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center; border-radius: 2px; }
.zones li::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--red); }
.zones strong { display: block; color: var(--ink); font-size: 17px; line-height: 1.3; }
.zones span { font-size: 14px; color: var(--text); }
@media (max-width: 860px) { .zones { grid-template-columns: 1fr; } }

.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0; }
.needs div { background: var(--tile); padding: 28px 26px; border-radius: 2px; }
.needs h4 { font-size: 21px; }
.needs p { margin: 0; }
@media (max-width: 760px) { .needs { grid-template-columns: 1fr; } }

.reveal { background: #111; color: #fff; text-align: center; padding: clamp(110px, 16vw, 200px) 0; }
.reveal small { display: block; letter-spacing: .4em; font-size: 14px; font-weight: 600; color: #bbb; margin-bottom: 18px; }
.reveal h2 { color: #fff; font-size: clamp(38px, 7.2vw, 96px); letter-spacing: .02em; margin: 0; text-transform: uppercase; }
.reveal p { color: var(--red); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; margin: 18px 0 0; }

.pristav-video { background: #111; padding-bottom: clamp(64px, 9vw, 120px); }
.pristav-video .video-frame video { aspect-ratio: 16 / 9; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: 2px; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .6s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:nth-child(1), .gallery a:nth-child(2) { grid-column: span 3; }
.gallery a:nth-child(n+3) { grid-column: span 2; }
.gallery a:nth-child(6), .gallery a:nth-child(7), .gallery a:nth-child(8) { grid-column: span 2; }
@media (max-width: 700px) { .gallery a:nth-child(n) { grid-column: span 3; } }
.gallery-note { color: #999; font-size: 13px; margin-top: 14px; }

.how { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; list-style: none; }
.how li { grid-column: span 2; background: var(--tile); padding: 26px 24px; font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.35; border-radius: 2px; }
.how li:nth-child(4), .how li:nth-child(5) { grid-column: span 3; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } .how li:nth-child(n) { grid-column: auto; } }

.numbered { list-style: none; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 14px 48px; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: center; font-weight: 600; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(n); width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.numbered li.hl { color: var(--red); font-weight: 700; }
@media (max-width: 760px) { .numbered { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }

.sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin-top: 16px; }
.sources li { background: #fff; padding: 18px 16px; font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.35; border-radius: 2px; display: flex; align-items: center; }
@media (max-width: 860px) { .sources { grid-template-columns: 1fr 1fr; } }
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin-top: 20px; }
.cities li { background: var(--navy); color: #fff; font-weight: 700; padding: 18px 20px; border-radius: 2px; }
@media (max-width: 640px) { .cities { grid-template-columns: 1fr 1fr; } }
.banner { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; padding: 14px 22px; border-radius: 2px; margin-bottom: 28px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.values li { background: var(--tile); padding: 30px 26px 34px; font-weight: 700; color: var(--ink); font-size: 18px; line-height: 1.4; border-radius: 2px; }
.values b { display: block; color: var(--red); font-size: 28px; margin-bottom: 12px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.warn { margin-top: 28px; color: var(--red); font-weight: 700; font-size: 18px; }

/* ---------- Vize ---------- */
.vision { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.vision > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vision::after { content: ""; position: absolute; inset: 0; background: rgba(24, 28, 99, .75); }
.vision .wrap { position: relative; z-index: 1; padding-top: clamp(110px, 15vw, 190px); padding-bottom: clamp(110px, 15vw, 190px); }
.vision h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.vision ul { list-style: none; display: flex; gap: 0; margin-top: 18px; }
.vision li { font-size: clamp(24px, 3.1vw, 44px); font-weight: 700; line-height: 1.1; padding: 0 .55em; }
.vision li:first-child { padding-left: 0; }
.vision li + li { border-left: 3px solid var(--red); }
@media (max-width: 760px) {
  .vision ul { flex-direction: column; gap: 6px; }
  .vision li, .vision li + li, .vision li:first-child { border: 0; padding: 0 0 0 22px; position: relative; font-size: 34px; }
  .vision li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
}

/* ---------- Patička ---------- */
.footer { background: var(--navy); color: #c9cbed; padding: clamp(72px, 10vw, 120px) 0 40px; text-align: center; }
.footer__logo { width: min(420px, 80%); margin: 0 auto 36px; }
.footer h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.footer .vote-badge { margin: 36px auto 0; transform: rotate(-4deg); }
.footer__small { margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: #9194c6; }

/* ---------- Animace ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fx { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .fx.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar__fill { transition: none; }
}

/* čitelnější červená na tmavém podkladu */
.theme-hero .eyebrow, .vision .eyebrow { color: #ff8078; }

/* ---------- Doladění pro telefony ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .block { margin-top: 64px; }
  .points { gap: 8px; }
  .points li { padding: 14px 16px; gap: 14px; font-size: 15px; }
  .points li b { font-size: 18px; min-width: 24px; }
  .pillars { gap: 8px; }
  .pillars li { padding: 14px 18px; font-size: 14px; }
  .survey-photos { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .survey-photos figure:first-child { grid-column: span 2; }
  .survey-photos figcaption { font-size: 15px; margin-top: 6px; }
  .garant span:not(.tag) { font-size: 13px; }
  .garant .tag { font-size: 11px; }
  .vote-badge small { font-size: 11px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
  .steps b { margin: 0; min-width: 18px; }
  .today video { max-width: 260px; }
  .flow li { padding: 14px 12px; }
  .memories { gap: 16px; }
  .checklist li { font-size: 16px; }
  .how li, .values li { padding: 18px 18px; font-size: 16px; }
  .values b { font-size: 22px; margin-bottom: 6px; }
  .quote { padding: 64px 0; }
  .theme-hero .wrap { padding-top: 72px; padding-bottom: 56px; }
  .theme-hero .wrap > * { min-width: 0; }
  .theme-hero h2 { font-size: clamp(30px, 10vw, 40px); hyphens: auto; }
}

/* ---------- Aktivní položka menu ---------- */
.nav a:not(.nav__cta) { position: relative; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transition: transform .25s ease;
}
.nav a.is-active:not(.nav__cta) { color: var(--red) !important; }
.nav a.is-active:not(.nav__cta)::after { transform: scaleX(1); }
.nav .nav__cta.is-active { box-shadow: 0 0 0 3px rgba(218, 56, 51, .3); }
@media (max-width: 1100px) {
  .nav a:not(.nav__cta)::after { left: -16px; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; transform: scaleY(0); }
  .nav a.is-active:not(.nav__cta)::after { transform: scaleY(1); }
}

/* ---------- Dlaždice s body: dlouhá slova se nesmí vylévat ---------- */
.points li { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.points--5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.points--5 li { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; padding: 22px 20px 24px; font-size: 16px; }
@media (max-width: 1100px) { .points--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .points--5 { grid-template-columns: 1fr; }
  .points--5 li { flex-direction: row; align-items: center; gap: 14px; }
}

/* ---------- Přístav: sekce se vrství přes sebe ---------- */
.stack { position: relative; background: #0b0d33; }
.stack > .panel { position: sticky; top: var(--stick, 0px); isolation: isolate; }
.stack > .panel + .panel {
  border-radius: 28px 28px 0 0; overflow: hidden;
  box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .55);
}
.panel__shade { position: absolute; inset: 0; background: #05061f; opacity: 0; pointer-events: none; z-index: 20; }
/* krátké sekce zaberou celou obrazovku, aby bylo co překrývat */
.stack > .quote.panel,
.stack > .big-lines.panel,
.stack > .reveal.panel { min-height: 100svh; display: flex; align-items: center; }
.stack > .quote.panel > .wrap, .stack > .big-lines.panel > .wrap, .stack > .reveal.panel > .wrap { width: 100%; }
.stack > .photo-band.panel .wrap { min-height: 100svh; }
.stack > .photo-band.panel > img { transform: scale(var(--img-scale, 1)); transform-origin: 50% 60%; }
.stack > .reveal.panel h2 { letter-spacing: calc(.02em + .22em * (1 - var(--enter, 1))); opacity: calc(.25 + .75 * var(--enter, 1)); }
.stack > .reveal.panel small, .stack > .reveal.panel p { opacity: var(--enter, 1); }
.stack .fx { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .stack > .panel + .panel { border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stack > .panel { position: relative; top: auto; }
  .stack > .panel + .panel { border-radius: 0; box-shadow: none; }
}
.stack > .quote.panel:last-child { min-height: 0; }
.stack > .section.panel:not(.section--navy) { background: var(--white); }

/* ---------- Kandidáti: karty zarovnané nahoru, fotky stejně vysoké ---------- */
.candidates { align-items: start; }
.cand { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; height: 100%; }
.cand__img { flex: none; width: 100%; }

/* ---------- Štítek voleb s číslem kandidátky ---------- */
.vote-badge { width: 250px; height: 250px; gap: 2px; }
.vote-badge em {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 0;
  background: #fff; color: var(--navy); font-style: normal; font-weight: 700; font-size: 15px;
  padding: 6px 8px 6px 14px; border-radius: 30px; white-space: nowrap;
}
.vote-badge em b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 22px; line-height: 1;
}
@media (max-width: 820px) {
  .hero .vote-badge {
    width: auto; height: auto; border-radius: 14px; order: -1; justify-self: start; margin: 0 0 4px;
    display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; gap: 0 16px;
    padding: 12px 12px 12px 18px; text-align: left; transform: rotate(-2deg);
  }
  .hero .vote-badge small { grid-column: 1; font-size: 11px; }
  .hero .vote-badge strong { grid-column: 1; font-size: 30px; }
  .hero .vote-badge span { grid-column: 1; font-size: 13px; }
  .hero .vote-badge em { grid-column: 2; grid-row: 1 / span 3; margin: 0; flex-direction: column; gap: 4px; border-radius: 12px; padding: 10px 14px; font-size: 13px; }
  .hero .vote-badge em b { width: 44px; height: 44px; font-size: 28px; }
}

/* ---------- Rychlá navigace v úvodu ---------- */
@media (max-width: 560px) {
  .hero__actions { gap: 8px; }
  .hero__actions .btn { padding: 12px 14px; font-size: 15px; }
}

/* ---------- Bazén: úvodní karty přes celou obrazovku ---------- */
.stack > .theme-hero.panel .wrap { min-height: 100svh; }
.stack > .ask.panel { min-height: 100svh; display: flex; align-items: center; }
.stack > .ask.panel > .wrap { width: 100%; }
@media (max-width: 560px) {
  .hero__actions { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__actions .btn { justify-content: center; padding: 12px 6px; font-size: 14px; white-space: nowrap; }
}

/* ---------- Videa se zvukem ---------- */
.sound-video { position: relative; }
.today__video { width: 100%; max-width: 340px; margin: 0 auto; }
.today__video video { max-width: 100%; }
.sound-btn {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border: 0; border-radius: 40px;
  background: var(--red); color: #fff; font: 700 15px/1 "Poppins", system-ui, sans-serif; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4); transition: background .2s, transform .2s;
  animation: sound-pulse 2s ease-in-out infinite;
}
.sound-btn[hidden] { display: none; }
.sound-btn:hover { background: var(--red-dark); }
.sound-btn svg { width: 22px; height: 22px; fill: currentColor; }
.sound-btn .ico-on { display: none; }
.sound-btn.is-on { background: rgba(16, 19, 74, .75); animation: none; padding: 10px 16px 10px 12px; font-size: 13px; }
.sound-btn.is-on .ico-on { display: block; }
.sound-btn.is-on .ico-off { display: none; }
.video-frame .sound-btn { bottom: auto; top: 18px; left: auto; right: 18px; transform: none; }
@keyframes sound-pulse { 0%, 100% { box-shadow: 0 10px 28px rgba(0,0,0,.4), 0 0 0 0 rgba(218,56,51,.6); } 50% { box-shadow: 0 10px 28px rgba(0,0,0,.4), 0 0 0 12px rgba(218,56,51,0); } }
@media (max-width: 560px) { .today__video { max-width: 260px; } }
@media (prefers-reduced-motion: reduce) { .sound-btn { animation: none; } }

/* ---------- Lightbox: fotka vždy celá a na středu ---------- */
dialog.lightbox {
  max-width: none; max-height: none; width: fit-content; height: fit-content;
  margin: auto; padding: 0; overflow: visible;
}
.lightbox figure { display: flex; flex-direction: column; align-items: center; }
.lightbox img {
  display: block; width: auto; height: auto;
  max-width: calc(100vw - 48px); max-height: calc(100vh - 110px); max-height: calc(100svh - 110px);
  object-fit: contain;
}
.lightbox .dlg-close { top: -14px; right: -14px; }
@media (max-width: 560px) {
  .lightbox img { max-width: calc(100vw - 24px); }
  .lightbox .dlg-close { top: -52px; right: 0; }
}

/* ---------- Úvod: promítání projektů a tým v popředí ---------- */
.hero { align-items: center; }
.hero-slides { overflow: hidden; }
.hero-slides::after {
  background:
    linear-gradient(90deg, rgba(24,28,99,.93) 0%, rgba(24,28,99,.78) 34%, rgba(24,28,99,.35) 64%, rgba(24,28,99,.2) 100%),
    linear-gradient(0deg, rgba(16,19,74,.9) 0%, rgba(16,19,74,0) 38%),
    linear-gradient(180deg, rgba(16,19,74,.55) 0%, rgba(16,19,74,0) 22%);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slides .hero-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: scale(1.04); }
.hero-slide:nth-child(odd) img { transform-origin: 70% 40%; }
.hero-slide:nth-child(even) img { transform-origin: 30% 60%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img { animation: hero-kenburns 5s linear forwards; }
}
@keyframes hero-kenburns { from { transform: scale(1.02); } to { transform: scale(1.09); } }

.hero .wrap { z-index: 2; align-items: center; }
.hero .wrap > div:first-child { max-width: 580px; }


.hero__caption {
  display: inline-grid; grid-template-columns: auto; margin-top: 44px; text-decoration: none; color: #fff;
  padding: 10px 16px 12px; border-left: 3px solid var(--red); background: rgba(16,19,74,.45); backdrop-filter: blur(6px);
  border-radius: 0 4px 4px 0; position: relative; overflow: hidden; min-width: 260px;
}
.hero__caption small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #ff8078; font-weight: 700; }
.hero__caption strong { font-size: 17px; line-height: 1.3; transition: opacity .4s; }
.hero__caption i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.7); transform-origin: left; transform: scaleX(0); }
.hero__caption.is-running i { animation: hero-progress var(--slide-ms, 6000ms) linear forwards; }
.hero__caption:hover strong { text-decoration: underline; }
@keyframes hero-progress { to { transform: scaleX(1); } }

@media (max-width: 820px) {
  .hero__caption { margin-top: 28px; min-width: 0; }
  .hero-slides::after {
    background: linear-gradient(180deg, rgba(24,28,99,.85) 0%, rgba(24,28,99,.72) 55%, rgba(16,19,74,.5) 80%, rgba(16,19,74,.85) 100%);
  }
}
@media (max-width: 820px) {
  .hero .wrap { order: 1; }
  .hero__logo { width: min(260px, 70%); margin-bottom: 20px; }
  .hero h1 { margin-bottom: 14px; }
  .hero .wrap { padding-top: 8px; gap: 20px; }
}

.hero-slide--team img { object-position: 70% 35%; }
@media (max-width: 820px) { .hero-slide--team img { object-position: 60% 30%; } }

/* ---------- Ochranná známka ® ---------- */
sup.tm { font-size: .5em; line-height: 0; vertical-align: .9em; margin-left: .06em; font-weight: 600; letter-spacing: 0; }
.reveal sup.tm { margin-left: -.14em; }
