
.page-top { display: block; width: 1px; height: 0; overflow: hidden; }
:root {
  --green-950: #06320d;
  --green-900: #0b4a17;
  --green-800: #136120;
  --green-700: #22712d;
  --green-100: #e7f2e8;
  --yellow: #ffb400;
  --yellow-dark: #e59f00;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --white: #fff;
  --ink: #17321d;
  --muted: #5e6f61;
  --border: #d8e1d9;
  --shadow: 0 22px 55px rgba(6, 50, 13, .13);
  --radius: 26px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.section { padding: 96px 0; }
section[id] { scroll-margin-top: 96px; }
.section-light { background: var(--cream); }

.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: var(--white); color: var(--green-900); padding: 12px 18px; border-radius: 12px; font-weight: 800; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(6,50,13,.94); color: var(--white); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.13); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; }
.brand img { width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(255,180,0,.85); box-shadow: 0 4px 15px rgba(0,0,0,.2); }
.brand span { display: grid; gap: 3px; }
.brand strong { text-transform: uppercase; letter-spacing: .06em; font-size: 1.03rem; }
.brand small { color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 23px; }
.main-nav a { text-decoration: none; font-weight: 760; font-size: .93rem; opacity: .92; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; color: var(--yellow); }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(255,180,0,.72); border-radius: 999px; color: var(--yellow); }
.nav-toggle { display: none; background: transparent; border: 0; width: 48px; height: 48px; padding: 11px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--white); margin: 6px 0; border-radius: 2px; transition: .2s ease; }

.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, var(--green-950), var(--green-900) 58%, #0f5b1c); padding: 146px 0 78px; }
.hero::before { content: ''; position: absolute; inset: auto -8% -34% auto; width: 620px; aspect-ratio: 1; border-radius: 50%; border: 95px solid rgba(255,180,0,.08); }
.hero-glow { position: absolute; width: 460px; height: 460px; left: -220px; top: -210px; border-radius: 50%; background: rgba(255,180,0,.1); filter: blur(10px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .87fr 1.13fr; gap: 54px; align-items: center; }
.hero-copy { padding: 28px 0; }
.eyebrow, .section-kicker { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 900; color: var(--yellow-dark); }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { margin: 0; font-size: clamp(3.2rem, 6.2vw, 6.2rem); line-height: .92; letter-spacing: -.058em; text-transform: uppercase; }
.hero h1 .hero-question { font-size: .9em; color: var(--white); }
.hero h1 span { display: block; margin-top: 18px; color: var(--yellow); font-size: .52em; line-height: 1.08; letter-spacing: -.025em; }
.hero-lead { max-width: 650px; margin: 28px 0 0; font-size: clamp(1.08rem, 1.9vw, 1.35rem); color: rgba(255,255,255,.86); font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 13px 24px; border-radius: 999px; text-decoration: none; font-weight: 850; border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--green-950); box-shadow: 0 12px 28px rgba(255,180,0,.22); }
.button-primary:hover { background: #ffc12b; }
.button-secondary { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.36); backdrop-filter: blur(8px); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.48); }
.election-badge { margin-top: 46px; display: inline-flex; align-items: center; gap: 20px; padding: 15px 19px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.election-badge strong { text-transform: uppercase; letter-spacing: .04em; }
.election-badge span { color: var(--yellow); font-weight: 800; }
.hero-team { margin: 0; padding: 13px; border-radius: 32px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 34px 80px rgba(0,0,0,.3); transform: rotate(1.2deg); }
.hero-team img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 22px; background: #e7e3d6; }
.hero-team figcaption { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 13px 8px 2px; color: rgba(255,255,255,.82); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: .77rem; }
.hero-team figcaption span:last-child { color: var(--yellow); }

.intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 82px; align-items: start; }
h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.047em; color: var(--green-900); }
.intro-copy { font-size: 1.12rem; }
.intro-copy p:first-child { margin-top: 4px; }
.highlight-line { font-size: 1.4rem; font-weight: 900; color: var(--green-800); padding-left: 18px; border-left: 5px solid var(--yellow); }
.section-heading { max-width: 820px; margin: 0 auto 54px; text-align: center; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-heading-left { margin-inline: 0; text-align: left; }

.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; counter-reset: cards; }
.program-card { position: relative; min-height: 310px; padding: 37px 34px 34px 42px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); box-shadow: 0 9px 30px rgba(6,50,13,.06); overflow: hidden; }
.program-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 9px; background: var(--yellow); }
.program-card:nth-child(even)::before { background: var(--green-700); }
.program-card h3 { margin: 5px 0 18px; padding-right: 62px; color: var(--green-900); font-size: 1.54rem; line-height: 1.14; }
.program-card p { margin: 0; color: #314c35; }
.program-number { position: absolute; right: 26px; top: 24px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); color: var(--green-950); font-weight: 900; font-size: 1.25rem; }
.program-card:nth-child(even) .program-number { background: var(--green-800); color: var(--white); }
.program-card-wide { grid-column: 1 / -1; min-height: auto; }


.program-download { display: flex; justify-content: center; margin-top: 38px; }
.button-download { background: var(--green-900); color: var(--white); box-shadow: 0 10px 25px rgba(11, 74, 23, .18); }
.button-download:hover { background: var(--green-800); }

.guarantors { color: var(--white); background: var(--green-900); position: relative; overflow: hidden; }
.guarantors::after { content: '7'; position: absolute; right: -35px; bottom: -220px; font-size: 42rem; line-height: 1; font-weight: 900; color: rgba(255,255,255,.035); pointer-events: none; }
.guarantors-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 74px; align-items: start; }
.guarantors h2 { color: var(--white); }
.section-kicker-light { color: var(--yellow); }
.guarantors-intro > p:last-child { color: rgba(255,255,255,.75); font-size: 1.08rem; }
.guarantors-steps { display: grid; gap: 16px; }
.guarantors-steps article { display: grid; grid-template-columns: 66px 1fr; gap: 20px; padding: 24px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); border-radius: 20px; }
.guarantors-steps article > span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--green-950); font-weight: 900; }
.guarantors-steps article:nth-child(2) > span { background: var(--white); color: var(--green-900); }
.guarantors-steps h3 { margin: 0 0 6px; font-size: 1.2rem; }
.guarantors-steps p { margin: 0; color: rgba(255,255,255,.72); }


.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  max-width: 1040px;
  margin-inline: auto;
}
.candidate {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 28px 24px 26px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(11, 74, 23, .12);
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(6, 50, 13, .075);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.candidate::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--green-800), var(--yellow));
}
.candidate:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 74, 23, .24);
  box-shadow: 0 20px 44px rgba(6, 50, 13, .11);
}
.candidate img {
  /* Pevná šířka i výška jsou důležité: HTML obrázky mají vlastní výšku 760 px. */
  width: 220px;
  height: 220px;
  max-width: 100%;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 4px auto 22px;
  background: var(--white);
  border: 8px solid #f1f4ec;
  box-shadow: 0 10px 26px rgba(6, 50, 13, .10);
}
.candidate-number {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-950);
  border: 3px solid var(--white);
  box-shadow: 0 7px 18px rgba(0,0,0,.12);
  font-weight: 900;
}
.candidate h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.38rem;
  line-height: 1.18;
  text-wrap: balance;
}
.candidate p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.4;
}
.candidate-lead {
  border: 2px solid rgba(255, 180, 0, .72);
  background: linear-gradient(180deg, rgba(255,180,0,.085), var(--white) 36%);
}
.candidate-lead::before {
  height: 9px;
  background: var(--yellow);
}
.candidate-lead strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--white);
  font-size: .76rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.voting { background: var(--white); }
.voting-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: stretch; }
.ballot-card { display: flex; align-items: center; gap: 28px; padding: 36px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--border); }
.check-box { flex: 0 0 108px; height: 108px; display: grid; place-items: center; border: 5px solid var(--green-900); color: var(--green-900); font-size: 5rem; line-height: 1; font-weight: 700; background: var(--white); box-shadow: inset 0 0 0 8px rgba(255,180,0,.13); }
.ballot-card h3 { margin: 0 0 8px; color: var(--green-900); font-size: 1.65rem; text-transform: uppercase; }
.ballot-card p { margin: 0 0 18px; color: var(--muted); }
.ballot-number { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--yellow); color: var(--green-950); font-weight: 850; text-transform: uppercase; font-size: .82rem; }
.voting-steps { counter-reset: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.voting-steps li { counter-increment: steps; display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--paper); }
.voting-steps li::before { content: counter(steps); grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--green-950); font-weight: 900; }
.voting-steps li:nth-child(3)::before { background: var(--green-800); color: var(--white); }
.voting-steps strong { color: var(--green-900); text-transform: uppercase; }
.voting-steps span { color: var(--muted); }
.small-note { margin: 20px 0 0; color: var(--muted); font-size: .9rem; }

.contact { background: var(--green-950); color: var(--white); }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.contact-grid > div:first-child > p:not(.section-kicker) { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 620px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qr-grid a { text-decoration: none; background: var(--white); color: var(--green-900); padding: 18px; border-radius: 20px; text-align: center; font-weight: 850; border: 3px solid transparent; transition: transform .2s ease, border-color .2s ease; }
.qr-grid a:hover { transform: translateY(-3px); border-color: var(--yellow); }
.qr-grid img { width: 150px; height: 150px; margin: 0 auto 10px; }

.site-footer { background: #041f08; color: rgba(255,255,255,.76); padding: 30px 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,180,0,.55); }
.footer-wrap strong { color: var(--white); }
.footer-wrap p { margin: 4px 0 0; font-size: .84rem; }
.footer-wrap > a { color: var(--yellow); font-weight: 800; text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.footer-wrap > a:hover { background: rgba(255,255,255,.08); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: var(--green-950); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .nav-cta { border-radius: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: 850px; }
  .hero-team { transform: none; max-width: 860px; }
  .intro-grid, .guarantors-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .voting-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .section { padding: 72px 0; }
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: .91rem; }
  .brand small { font-size: .65rem; }
  .hero { padding: 124px 0 56px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.7rem); }
  .hero h1 span { font-size: .5em; }
  .hero-actions .button { width: 100%; }
  .election-badge { width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 32px; }
  .hero-team { padding: 8px; border-radius: 22px; }
  .hero-team img { border-radius: 16px; }
  .hero-team figcaption { flex-direction: column; align-items: flex-start; gap: 2px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card-wide { grid-column: auto; }
  .program-card { min-height: auto; padding: 30px 26px 28px 34px; }
  .program-number { position: static; width: 46px; height: 46px; margin-bottom: 16px; }
  .program-card h3 { padding-right: 0; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .candidate { padding: 24px 16px 26px; }
  .candidate img { width: 190px; height: 190px; }
  .candidate-number { width: 38px; height: 38px; top: 14px; right: 14px; }
  .candidate:last-child:nth-child(odd) { grid-column: 1 / -1; width: min(100%, 360px); justify-self: center; }
  .ballot-card { flex-direction: column; align-items: flex-start; padding: 26px; }
  .check-box { flex-basis: auto; width: 88px; height: 88px; font-size: 4rem; }
  .qr-grid { gap: 10px; }
  .qr-grid a { padding: 12px; }
  .qr-grid img { width: 116px; height: 116px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 490px) {
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
  .candidate:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
  .candidate { padding: 26px 20px 28px; }
  .candidate img { width: 220px; height: 220px; }
  .guarantors-steps article { grid-template-columns: 52px 1fr; padding: 18px; gap: 14px; }
  .guarantors-steps article > span { width: 48px; height: 48px; }
  .voting-steps li { grid-template-columns: 48px 1fr; padding: 16px; column-gap: 12px; }
  .voting-steps li::before { width: 44px; height: 44px; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-grid img { width: 170px; height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
