:root {
  --blue: #0054CF;
  --blue-dark: #003E9C;
  --blue-soft: #EAF1FC;
  --red: #FD3307;
  --gray: #E6E6E6;
  --ink: #111318;
  --muted: #555B66;
  --line: #E3E6EC;
  --bg: #FFFFFF;
  --radius: 18px;
  --wrap: 1180px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- typografie ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--red); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.02em; margin: 0; }
h2 { font-weight: 900; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid var(--blue); cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0,84,207,.7); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--blue); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

/* ---------- hlavička ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 30px -18px rgba(0,0,0,.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: #2a2e36; position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--red); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--blue); color: #fff !important; padding: 10px 18px; border-radius: 999px; font-weight: 700 !important;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta b { background: #fff; color: var(--blue); border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 70px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.55) 62%, rgba(255,255,255,.15) 100%),
    linear-gradient(180deg, rgba(255,255,255,.4) 0%, transparent 30%);
}
.hero h1 {
  font-weight: 900; font-size: clamp(46px, 8vw, 104px); line-height: .98; letter-spacing: -.035em;
  max-width: 11ch; margin-bottom: 30px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.hero-byline strong { font-weight: 700; }
.hero-byline span { color: var(--muted); }
.hero-strip {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  background: var(--blue); color: #fff; padding: 12px 22px;
  border-left: 6px solid var(--red);
  font-family: var(--head); font-weight: 800; font-size: clamp(14px, 1.8vw, 20px); letter-spacing: .02em; text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.hero .lead { color: #333844; font-size: clamp(17px, 1.6vw, 20px); margin: 0 0 34px; max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(17,19,24,.35); border-radius: 20px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--blue); animation: scrolly 1.8s infinite;
}
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- sekce ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { margin-bottom: 56px; }
.section-head h2 { max-width: 18ch; }
.section-head .lead { margin-top: 20px; }

/* ---------- úvodní slovo ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.intro-text p { margin: 0 0 20px; color: #2c3039; }
.intro-text > p:first-of-type::first-letter {
  float: left; font-family: var(--head); font-weight: 900; font-size: 64px; line-height: .9; margin: 6px 12px 0 0; color: var(--blue);
}
.portrait-card {
  position: sticky; top: 110px;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0,40,110,.35), 0 0 0 1px var(--line);
}
.portrait-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.portrait-card figcaption { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.portrait-card figcaption b { display: block; font-family: var(--head); font-size: 20px; color: var(--blue); }
.portrait-card figcaption small { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

.vote-box {
  position: relative; overflow: hidden; margin: 36px 0 30px;
  background: var(--blue); color: #fff; border-radius: 14px; border-left: 7px solid var(--red);
  padding: 30px 34px; box-shadow: 0 24px 50px -24px rgba(0,84,207,.8);
}
.vote-box small { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.vote-box h3 { font-weight: 900; font-size: clamp(28px, 3.4vw, 38px); margin: 6px 0 10px; }
.vote-box p { margin: 0 0 14px; max-width: 42ch; font-size: 16px; color: rgba(255,255,255,.92); }
.vote-box strong.claim { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.vote-box::after {
  content: "8"; position: absolute; right: 18px; bottom: -70px;
  font-family: var(--head); font-weight: 900; font-size: 240px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.18); pointer-events: none;
}
.signature b { font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--blue); display: block; }
.signature small { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- program: karusel ---------- */
.program { background: linear-gradient(180deg, #fff 0%, #F5F8FD 100%); overflow: hidden; }
.carousel { position: relative; isolation: isolate; height: 620px; margin-top: 10px; user-select: none; touch-action: pan-y; }
.card {
  position: absolute; top: 0; left: 0; width: 380px; height: 580px;
  background: #fff; border-radius: 16px; padding: 30px 28px 26px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s, box-shadow .6s, filter .6s;
  will-change: transform, opacity;
  cursor: pointer;
}
.card.is-active { border: 1.5px solid var(--blue); box-shadow: 0 40px 70px -35px rgba(0,60,160,.45); cursor: default; }
.card-num { font-family: var(--head); font-weight: 800; font-size: 13px; color: var(--red); letter-spacing: .06em; }
.card-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 0 10px; }
.card h3 { font-weight: 900; font-size: 30px; line-height: 1.05; color: var(--blue); margin-bottom: 18px; }
.card .perex { border-left: 3px solid var(--red); padding-left: 14px; font-weight: 600; font-size: 15.5px; line-height: 1.5; margin: 0 0 22px; }
.card .steps-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.card ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; line-height: 1.4; color: #333844; }
.card li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 9px 0; border-top: 1px dashed var(--line); }
.card li::before { content: "✓"; color: var(--blue); font-weight: 800; }
.card-more {
  margin-top: auto; padding-top: 16px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: 8px;
}
.card-more:hover span { transform: translateX(4px); }
.card-more span { transition: transform .2s; }
.carousel-ui { display: flex; align-items: center; gap: 22px; margin-top: 10px; }
.arrow {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--blue); background: #fff; color: var(--blue);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.arrow:hover { background: var(--blue); color: #fff; }
.arrow:disabled { opacity: .3; pointer-events: none; }
.arrow svg { width: 20px; height: 20px; }
.progress-wrap { flex: 1; max-width: 340px; }
.progress-count { font-family: var(--head); font-weight: 800; font-size: 14px; letter-spacing: .08em; margin-bottom: 8px; }
.progress-count span { color: var(--muted); font-weight: 600; }
.progress { height: 4px; background: var(--gray); border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--blue)); transition: width .5s; }
.carousel-hint { color: var(--blue); font-weight: 600; font-size: 14px; }

/* ---------- modal ---------- */
dialog.program-modal {
  width: min(880px, 100% - 24px); max-height: min(88vh, 1000px); padding: 0; border: 0; border-radius: 20px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.5);
}
dialog.program-modal::backdrop { background: rgba(10,20,45,.55); backdrop-filter: blur(4px); }
.modal-head { position: sticky; top: 0; background: var(--blue); color: #fff; padding: 34px 44px 30px; border-left: 8px solid var(--red); }
.modal-head .card-num { color: #fff; opacity: .8; }
.modal-head h3 { font-weight: 900; font-size: clamp(30px, 4vw, 44px); margin: 6px 0 12px; }
.modal-head p { margin: 0; font-size: 17px; color: rgba(255,255,255,.92); max-width: 60ch; }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,.3); }
.modal-body { padding: 36px 44px 44px; }
.modal-body h4 { font-family: var(--head); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.modal-body > p { margin: 0 0 16px; color: #2c3039; }
.how { display: grid; gap: 14px; margin-top: 30px; }
.how article { background: var(--blue-soft); border-radius: 12px; padding: 20px 22px; }
.how b { display: block; font-family: var(--head); color: var(--blue); font-size: 17px; margin-bottom: 6px; }
.how p { margin: 0; font-size: 15.5px; color: #333844; }

/* ---------- tým ---------- */
.team-leader {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 44px;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 30px 22px; }
.person { text-align: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform .35s; }
.person:hover img { transform: translateY(-6px) scale(1.02); }
.person .no { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 12px; color: #fff; background: var(--blue); border-radius: 999px; padding: 2px 10px; margin: 12px 0 6px; }
.person b { display: block; font-family: var(--head); font-weight: 800; font-size: 16px; line-height: 1.25; }
.person small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.team-leader .person b { font-size: 20px; }
.team-leader .person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 26px; }
.team-leader .person img { width: 78%; margin: 0 auto; }
.placeholder-note {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 18px;
  font-size: 13px; background: #FFF4EF; color: #9A2A08; border: 1px dashed #F7A58C; padding: 8px 14px; border-radius: 8px;
}

/* ---------- jak volit ---------- */
.vote { background: var(--blue); color: #fff; overflow: hidden; }
.vote::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--gray) 0 33.3%, var(--red) 33.3% 66.6%, var(--blue-dark) 66.6%); }
.vote::after {
  content: "8"; position: absolute; right: -40px; top: -80px;
  font-family: var(--head); font-weight: 900; font-size: 620px; line-height: 1;
  color: transparent; -webkit-text-stroke: 3px rgba(255,255,255,.09); pointer-events: none;
}
.vote .eyebrow { color: rgba(255,255,255,.8); }
.vote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.vote h2 .accent { color: #FFD23F; }
.vote-steps { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: s; display: grid; gap: 18px; }
.vote-steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; color: rgba(255,255,255,.92); }
.vote-steps li::before {
  content: counter(s); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--blue); font-family: var(--head); font-weight: 900; font-size: 20px;
}
.vote-steps b { display: block; color: #fff; font-family: var(--head); font-size: 18px; }
.ballot {
  position: relative; background: #fff; color: var(--ink); border-radius: 6px; padding: 30px 30px 26px;
  transform: rotate(2.5deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
}
.ballot-head { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding-bottom: 18px; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.big-box { position: relative; width: 84px; height: 70px; border: 3px solid var(--ink); }
.big-box svg { position: absolute; inset: -18px -14px; width: calc(100% + 28px); height: calc(100% + 36px); }
.big-box svg path { stroke: var(--blue); stroke-width: 11; stroke-linecap: round; fill: none; stroke-dasharray: 120; stroke-dashoffset: 0; }
.js .big-box svg path { stroke-dashoffset: 120; }
.ballot.in-view .big-box svg path { animation: draw .45s ease-out forwards; }
.ballot.in-view .big-box svg path:nth-child(2) { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.party { font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1.2; }
.party-num { font-family: var(--head); font-weight: 900; font-size: 88px; line-height: .9; color: var(--blue); }
.cand { display: grid; grid-template-columns: 50px 26px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.35; padding: 8px 0; }
.cand .sb { width: 44px; height: 28px; border: 2px solid var(--ink); }
.cand .o { font-weight: 700; }
.cand.more { color: var(--muted); font-style: italic; }
.date-pill {
  display: inline-flex; gap: 12px; align-items: center; margin-top: 34px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 10px 20px 10px 12px;
  font-weight: 600;
}
.date-pill b { background: var(--red); color: #fff; border-radius: 999px; padding: 4px 12px; font-family: var(--head); font-weight: 800; }

/* ---------- senát teaser ---------- */
.senate-teaser {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  border: 1.5px solid var(--line); border-radius: 24px; padding: 48px 54px; background:
    radial-gradient(circle at 100% 0%, var(--blue-soft), transparent 55%), #fff;
}
.senate-teaser h2 { font-size: clamp(28px, 3.4vw, 42px); }
.senate-teaser p { color: var(--muted); margin: 14px 0 0; max-width: 58ch; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s, transform .2s;
}
.contact-item:hover { border-color: var(--blue); transform: translateX(4px); }
.contact-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; }
.contact-item b { font-size: 17px; }
.contact-photo { border-radius: var(--radius); overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

/* ---------- patička ---------- */
.site-footer { background: #0B1426; color: rgba(255,255,255,.7); padding: 60px 0 40px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: center; }
.site-footer img { height: 44px; filter: brightness(0) invert(1); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bar { height: 6px; background: linear-gradient(90deg, var(--gray) 0 33.3%, var(--red) 33.3% 66.6%, var(--blue) 66.6%); }

/* ---------- animace při scrollu ---------- */
.reveal { transition: opacity .8s ease, transform .8s ease; }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- podstránka senát ---------- */
.page-hero { padding: 170px 0 90px; background: linear-gradient(180deg, var(--blue-soft), #fff); }
.page-hero h1 { font-weight: 900; font-size: clamp(42px, 6.5vw, 84px); line-height: 1; letter-spacing: -.03em; max-width: 14ch; }
.page-hero h1 em { font-style: normal; color: var(--blue); }
.senate-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pillar { border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.pillar .card-num { font-size: 28px; font-weight: 900; }
.pillar h3 { font-size: 21px; color: var(--blue); margin: 8px 0 8px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--blue); font-weight: 600; margin-bottom: 26px; }

/* ---------- responzivita ---------- */
@media (max-width: 1000px) {
  .intro-grid, .vote-grid, .contact-grid, .senate-grid { grid-template-columns: 1fr; gap: 44px; }
  .portrait-card { position: static; max-width: 420px; }
  .team-leader { grid-template-columns: 1fr; }
  .senate-teaser { grid-template-columns: 1fr; padding: 36px 28px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 10px 16px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-cta { margin-top: 14px; justify-content: center; }
  .section { padding: 84px 0; }
  .hero { padding-top: 110px; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.86) 60%, rgba(255,255,255,.7) 100%); }
  .carousel { height: 600px; }
  .card { width: min(340px, calc(100vw - 48px)); height: 570px; padding: 26px 22px 22px; }
  .card h3 { font-size: 26px; }
  .modal-head { padding: 30px 24px 24px; }
  .modal-body { padding: 26px 24px 30px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .ballot { transform: none; padding: 22px 16px; }
  .ballot-head { grid-template-columns: 70px 1fr auto; gap: 12px; }
  .big-box { width: 64px; height: 54px; }
  .party { font-size: 16px; }
  .party-num { font-size: 64px; }
  .cand { grid-template-columns: 40px 22px 1fr; font-size: 13px; }
  .cand .sb { width: 36px; height: 24px; }
  .vote::after { font-size: 380px; right: -60px; }
  .carousel-hint { display: none; }
}
.person small.area { color: var(--blue); font-size: 12.5px; margin-top: 4px; }
.person small.area::before { content: "("; } .person small.area::after { content: ")"; }
.portrait-card img.leader-photo { aspect-ratio: 4/5; object-position: center top; background: #fff; }

/* ---------- senát ---------- */
.senate-hero { padding: 140px 0 100px; }
.senate-hero .senate-grid { align-items: center; }
.senate-hero .portrait-card { position: static; }
.senate-hero h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 18ch; line-height: 1.04; }
.senate-quote {
  margin: 28px 0 0; padding: 18px 22px; border-left: 4px solid var(--red); background: #fff; border-radius: 0 12px 12px 0;
  font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.45; color: var(--blue);
  box-shadow: 0 16px 40px -28px rgba(0,40,110,.4);
}
.senate-hero .steps-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 30px 0 12px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-weight: 600; }
.check-list li::before {
  content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center h2, .section-head.center .lead { margin-inline: auto; }
.survey { background: #F5F8FD; }
.survey-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.survey-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; }
.survey-top { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.survey-top .pct { font-family: var(--head); font-weight: 900; font-size: 44px; color: var(--blue); line-height: 1; flex: none; }
.survey-top h3 { font-size: 18px; line-height: 1.25; }
.survey-bar { height: 8px; background: var(--gray); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.survey-bar i { display: block; height: 100%; width: calc(var(--v) * 1%); background: linear-gradient(90deg, var(--blue), #2F7BFF); border-radius: 8px; transition: width 1.2s cubic-bezier(.2,.7,.2,1) .2s; }
.js .survey-item:not(.in-view) .survey-bar i { width: 0; }
.survey-item:first-child .survey-bar i { background: linear-gradient(90deg, var(--red), var(--blue)); }
.survey-item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.source-note { margin: 28px 0 0; font-size: 12.5px; color: var(--muted); max-width: 90ch; }

.debate h2 { font-size: clamp(30px, 3.6vw, 46px); }
.debate-text { color: rgba(255,255,255,.9); margin: 22px 0 32px; max-width: 48ch; }
.poll { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.poll-q { font-family: var(--head); font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.poll-row {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: 999px; background: #F1F3F7; margin-bottom: 10px; font-size: 15px;
}
.poll-row::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); background: rgba(0,84,207,.12);
  transition: width 1.2s cubic-bezier(.2,.7,.2,1) .3s;
}
.js .poll:not(.in-view) .poll-row::before { width: 0; }
.poll-row span, .poll-row b { position: relative; }
.poll-row.is-ours { background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 12px 26px -12px rgba(0,84,207,.8); }
.poll-row.is-ours::before { background: rgba(255,255,255,.18); }
.poll-src { font-size: 12px; color: var(--muted); margin-top: 12px; }

@media (max-width: 1000px) {
  .senate-hero .portrait-card { max-width: 320px; }
  .senate-hero { padding-top: 110px; }
  .survey-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .check-list { grid-template-columns: 1fr; }
  .survey-top { flex-direction: column; gap: 6px; }
  .poll { padding: 20px 14px; }
  .poll-row { font-size: 13.5px; padding: 12px 14px; }
}
.vote.debate::after { content: "2"; }

/* ---------- plakát ke stažení ---------- */
.poster { background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); overflow: hidden; }
.poster-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; max-width: 900px; margin: 0 auto; perspective: 1400px; }
.poster-page {
  position: relative; display: block; border-radius: 6px; overflow: hidden; background: #fff; text-decoration: none;
  box-shadow: 0 40px 70px -30px rgba(0,40,110,.5), 0 0 0 1px rgba(0,0,0,.04);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
}
.poster-page:nth-child(1) { transform: rotate(-2deg); }
.poster-page:nth-child(2) { transform: rotate(2deg) translateY(24px); }
.poster-page:hover { transform: rotate(0) translateY(-8px) scale(1.02); box-shadow: 0 50px 90px -30px rgba(0,40,110,.6); z-index: 2; }
.poster-page img { width: 100%; height: auto; }
.poster-label {
  position: absolute; left: 14px; bottom: 14px; background: rgba(17,19,24,.78); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: .3s;
}
.poster-page:hover .poster-label { opacity: 1; transform: none; }
.poster-download { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 70px; }
.poster-download small { color: var(--muted); font-size: 13px; }
.btn-lg { padding: 18px 34px; font-size: 18px; }
@media (max-width: 700px) {
  .poster-pages { grid-template-columns: 1fr; gap: 28px; max-width: 420px; }
  .poster-page:nth-child(n) { transform: none; }
  .poster-label { opacity: 1; transform: none; }
  .poster-download { margin-top: 40px; }
  .poster-download .btn { width: 100%; justify-content: center; }
}
.contact-item b { overflow-wrap: anywhere; }

/* ---------- bez JavaScriptu (např. náhled souboru v mobilu) ---------- */
.card-full { display: none; }
html:not(.js) .carousel {
  height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 20px; -webkit-overflow-scrolling: touch;
}
html:not(.js) .card { position: relative; flex: 0 0 auto; height: auto; min-height: 560px; scroll-snap-align: start; }
html:not(.js) .card:first-child { border: 1.5px solid var(--blue); }
html:not(.js) .carousel-ui, html:not(.js) .card-more, html:not(.js) .menu-toggle { display: none; }
html:not(.js) .card-full { display: block; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.card-full summary { cursor: pointer; font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.card-full p { font-size: 14.5px; color: #333844; margin: 10px 0 0; }
.card-full b { display: block; color: var(--blue); margin-top: 12px; font-size: 14.5px; }
@media (max-width: 860px) {
  html:not(.js) .nav { position: static; transform: none; flex-direction: row; overflow-x: auto; padding: 0; border: 0; background: none; gap: 14px; }
  html:not(.js) .nav a:not(.nav-cta) { display: none; }
  html:not(.js) .nav-cta { margin: 0; }
}

/* ---------- jeden soubor: přepínání na stránku Senát ---------- */
.page-senat:not(:target) { display: none; }
body:has(.page-senat:target) .page-home { display: none; }
.date-pill b { white-space: nowrap; flex: none; line-height: 1.2; }
@media (max-width: 600px) {
  .date-pill { border-radius: 20px; padding: 10px 16px 10px 10px; line-height: 1.35; }
}
.logo img { height: 50px; } @media (max-width: 860px) { .logo img { height: 42px; } }
.logo img { mix-blend-mode: multiply; }

/* ---------- videa / reels ---------- */
.reels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.reels-head h2 { max-width: 16ch; }
.reels-head .lead { margin: 18px 0 0; }
.reels-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.social-btn { color: #fff; border: 0; }
.social-btn svg { width: 20px; height: 20px; flex: none; }
.social-btn.fb { background: #1877F2; box-shadow: 0 10px 24px -12px rgba(24,119,242,.8); }
.social-btn.ig { background: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4); box-shadow: 0 10px 24px -12px rgba(221,42,123,.8); }
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.reels-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.reel { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 14; background: #0B1426; box-shadow: 0 24px 50px -28px rgba(0,40,110,.55); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,20,60,.45)); }
.reel .play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .3s;
}
.reel .play::before { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--blue); }
.reel:hover img { transform: scale(1.05); }
.reel:hover .play { transform: scale(1.1); }
@media (max-width: 860px) {
  .reels-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; margin: 0 -16px; padding: 4px 16px 18px; }
  .reel { flex: 0 0 58%; scroll-snap-align: start; }
  .reels-buttons { width: 100%; }
  .reels-buttons .btn { flex: 1 1 100%; justify-content: center; }
}

/* tým: poslední neúplná řada na střed (PC a tablet) */
@media (min-width: 861px) {
  .team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 22px; }
  .team-grid .person { flex: 0 0 calc((100% - 5 * 22px) / 6); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .team-grid .person { flex-basis: calc((100% - 3 * 22px) / 4); }
}
