/* ============================================================
   SRDCEM PRO TEHOV — vizuální identita
   Barvy: teplá červená (srdce), krémová, zlatý akcent
   ============================================================ */

:root {
  --red: #ef1111;
  --red-dark: #c40d0d;
  --red-soft: #fdeaea;
  --rose: #f8c9c9;
  --green: #118e3a;
  --green-dark: #0c6b2b;
  --green-bright: #4eaf21;
  --green-soft: #e6f4ea;
  --orange: #f07000;
  --orange-dark: #c75c00;
  --orange-soft: #fdeedd;
  --cream: #f7f8f9;
  --cream-alt: #eef1f3;
  --card: #ffffff;
  --ink: #263238;
  --muted: #5f6b73;
  --gold: #f07000;
  --line: rgba(38, 50, 56, 0.12);
  --shadow-sm: 0 4px 14px rgba(25, 70, 45, 0.08);
  --shadow: 0 14px 40px rgba(25, 70, 45, 0.12);
  --radius: 20px;
  --font-head: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--red); }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* Přístupnost: přeskočit na obsah */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* Viditelný fokus pro ovládání klávesnicí (WCAG) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================ TLAČÍTKA ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(239, 17, 17, 0.32);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(239, 17, 17, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(38, 50, 56, 0.25);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ============================ HLAVIČKA ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 249, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(25, 70, 45, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--red);
}
.brand-img {
  height: 46px;
  width: auto;
  display: block;
}
.brand-napis {
  height: 22px;
}
.brand-emblem {
  width: 42px;
  height: auto;
  flex: none;
}

.site-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-list a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.3rem 0.1rem;
  position: relative;
  transition: color 0.2s ease;
}
.nav-list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}
.nav-list a:not(.btn):hover,
.nav-list a.active {
  color: var(--red-dark);
}
.nav-list a:not(.btn):hover::after,
.nav-list a.active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================ HERO ============================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(600px 340px at 85% 8%, rgba(78, 175, 33, 0.12), transparent 70%),
    radial-gradient(700px 420px at 8% 92%, rgba(239, 17, 17, 0.07), transparent 70%),
    var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red-soft);
  color: var(--red-dark);
  border: 1px solid var(--rose);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.hero h1 .accent {
  color: var(--red);
}

.hero-lead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

/* Vizuál v hero */
.hero-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}
.hero-logo {
  width: min(560px, 120%);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(25, 70, 45, 0.18));
}

.float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong {
  color: var(--red);
  font-size: 1.5rem;
  font-family: var(--font-head);
  font-weight: 800;
}
.fc-2 strong { color: var(--green); }
.fc-1 { top: 6%; left: 0; }
.fc-2 { bottom: 8%; right: 0; animation-delay: -3s; }
.fc-3 {
  top: 52%; left: -4%;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--orange-dark);
  animation-delay: -1.5s;
}
.fc-3 svg { flex: none; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================ SEKCE ============================ */

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--cream-alt); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}
.section-eyebrow {
  display: inline-block;
  color: var(--red-dark);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.section-lede {
  font-size: 1.06rem;
  color: var(--muted);
}

/* ============================ O NÁS / HODNOTY ============================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 1.1rem;
}
.value-card:nth-child(2) .value-icon { background: var(--green-soft); color: var(--green); }
.value-card:nth-child(3) .value-icon { background: var(--orange-soft); color: var(--orange); }
.value-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.value-card p { color: var(--muted); font-size: 0.98rem; }

/* ============================ PROGRAM ============================ */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.program-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.8rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.program-num {
  position: absolute;
  top: 0.7rem;
  right: 1.1rem;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.1;
  line-height: 1;
}
.program-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 18px rgba(239, 17, 17, 0.25);
}
.program-card:nth-child(3n+2) .program-icon { background: var(--green); box-shadow: 0 8px 18px rgba(17, 142, 58, 0.25); }
.program-card:nth-child(3n) .program-icon { background: var(--orange); box-shadow: 0 8px 18px rgba(240, 112, 0, 0.25); }
.program-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.program-card p { color: var(--muted); font-size: 0.98rem; }

.program-cta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--card);
  border: 1px dashed var(--rose);
  border-radius: var(--radius);
  padding: 1.4rem 1.7rem;
}
.program-cta p { color: var(--muted); font-weight: 600; }

/* ============================ KANDIDÁTI ============================ */

.candidate-lead {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.6rem;
}
.candidate-tag {
  display: inline-block;
  background: var(--orange-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.candidate-lead-body h3 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  margin-bottom: 0.15rem;
}
.candidate-meta {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.candidate-quote {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 40rem;
}

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.candidate-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.candidate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.candidate-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin: 0.9rem 0 0.15rem;
}
.candidate-card .candidate-meta { font-size: 0.85rem; margin-bottom: 0.6rem; }
.candidate-card p:last-child { color: var(--muted); font-size: 0.9rem; }

/* Fotografie kandidátů */
.candidate-photo {
  width: 96px;
  height: 96px;
  margin-inline: auto;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 18px rgba(25, 70, 45, 0.25);
}
.candidate-lead .candidate-photo { width: 160px; height: 160px; font-size: 2.6rem; }

.av-1 { background: linear-gradient(135deg, #f0433a, #c40d0d); }
.av-2 { background: linear-gradient(135deg, #f79037, #c75c00); }
.av-3 { background: linear-gradient(135deg, #6cc433, #2f8a12); }
.av-4 { background: linear-gradient(135deg, #23a04c, #0c6b2b); }
.av-5 { background: linear-gradient(135deg, #ef6a62, #b30f0f); }
.av-6 { background: linear-gradient(135deg, #ffb057, #e07000); }
.av-7 { background: linear-gradient(135deg, #8ed36a, #4eaf21); }
.av-8 { background: linear-gradient(135deg, #f0433a, #d31616); }
.av-9 { background: linear-gradient(135deg, #35b264, #118e3a); }

/* ============================ KONTAKT ============================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.contact-info h3:not(:first-child) { margin-top: 2rem; }

.support-list { list-style: none; display: grid; gap: 0.9rem; }
.support-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.support-list svg { flex: none; color: var(--red); margin-top: 0.15rem; }
.support-list div { color: var(--muted); font-size: 0.96rem; }
.support-list strong { color: var(--ink); }

.contact-list { list-style: none; display: grid; gap: 0.6rem; }
.contact-list li { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); }
.contact-list svg { flex: none; color: var(--red); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--red); }

.socials { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-btn:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* Formulář */
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.contact-form-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}
.form-note { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4rem; }

.form-row { margin-bottom: 1.05rem; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 17, 17, 0.15);
}
.form-row input.invalid,
.form-row textarea.invalid { border-color: #d9534f; }

.form-check label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.form-check input { margin-top: 0.25rem; accent-color: var(--red); }

.form-success {
  margin-top: 1rem;
  background: #eef6ec;
  border: 1px solid #cbe3c4;
  color: #3c6b34;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

/* ============================ PATIČKA ============================ */

.site-footer {
  background: var(--green-dark);
  color: #d9e6dc;
  padding: 3.2rem 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
}
.footer-logo-chip {
  display: inline-block;
  background: #fff;
  border-radius: 14px;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.footer-logo-chip .brand-img { height: 40px; }
.footer-brand p { margin-top: 0.9rem; color: #c4dcc9; max-width: 20rem; }

.footer-nav h4,
.footer-legal h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.footer-nav ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-nav a { color: #d9e6dc; text-decoration: none; }
.footer-nav a:hover { color: #fff; }

.footer-legal p { color: #c4dcc9; margin-bottom: 0.7rem; font-size: 0.9rem; }
.footer-legal a { color: #ffcf99; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
  font-size: 0.85rem;
  color: #c4dcc9;
}

/* ============================ ANIMACE PŘI SCROLLU ============================ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  .btn { transition: none; }
}

/* ============================ RESPONZIVITA ============================ */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; order: -1; }
  .hero-logo { width: min(300px, 70%); }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .values-grid,
  .program-grid { grid-template-columns: repeat(2, 1fr); }

  .candidates-grid { grid-template-columns: repeat(2, 1fr); }

  .candidate-lead { grid-template-columns: 1fr; text-align: center; }
  .candidate-quote { margin-inline: auto; }

  .contact-grid { grid-template-columns: 1fr; }

  /* Mobilní menu */
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(25, 70, 45, 0.14);
    padding: 0.6rem 1.2rem 1.2rem;
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: none; padding-top: 0.8rem; }
  .nav-list a:not(.btn) { display: block; padding: 0.8rem 0.2rem; }
  .nav-list a:not(.btn)::after { display: none; }
}

@media (max-width: 620px) {
  .values-grid,
  .program-grid,
  .candidates-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .brand-img { height: 38px; }
  .brand-napis { height: 22px; }
  .footer-logo-chip .brand-img { height: 34px; }

  .hero-visual { min-height: 260px; }
  .fc-1 { left: 2%; }
  .fc-3 { display: none; }

  .candidate-lead { padding: 1.6rem 1.2rem; }
  .candidate-lead .candidate-photo { width: 130px; height: 130px; font-size: 2.2rem; }

  .program-cta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   NOVÁ STRUKTURA WEBU (dle připomínek 09/2026)
   ============================================================ */

/* ---- Hero ---- */
.hero-new {
  background:
    radial-gradient(600px 340px at 85% 8%, rgba(78, 175, 33, 0.10), transparent 70%),
    radial-gradient(700px 420px at 8% 92%, rgba(239, 17, 17, 0.06), transparent 70%),
    var(--cream);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.hero-copy p { color: var(--muted); margin-bottom: 1rem; }
.hero-lead { font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.hero-principle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  border-left: 4px solid var(--red);
  padding-left: 1rem;
  margin-top: 1.4rem;
}
.hero-principle strong { color: var(--red); }

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem;
  text-align: center;
}
.service-logo { width: min(210px, 70%); height: auto; margin: 0 auto 1rem; }
.service-title {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  margin-bottom: 0.9rem;
}
.service-card .service-links { margin-top: auto; }
.service-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.2rem;
}
.service-links a {
  font-weight: 700;
  color: var(--red-dark);
  text-decoration: none;
}
.service-links a:hover { text-decoration: underline; }

/* ---- Citový pruh ---- */
.quote-band {
  background: var(--green-dark);
  color: #fff;
  padding: 2.2rem 0;
}
.quote-band p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1.35;
  margin: 0;
}
.quote-band strong { color: #ffcf99; }

/* ---- Timeline ---- */
.timeline {
  list-style: none;
  margin: 0.5rem 0 0 2.3rem;
}
.timeline li {
  position: relative;
  padding-left: 6rem;
  padding-bottom: 1.7rem;
  border-left: 3px solid var(--green-soft);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.tl-year {
  position: absolute;
  left: 0;
  top: 0;
  width: 4.4rem;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--red);
}
.tl-year-na {
  font-size: 0.85rem;
  font-weight: 400;
  width: 4.8rem;
  letter-spacing: 0;
  top: 2px;
  color: var(--red);
}
.timeline p { color: var(--muted); }
.timeline strong { color: var(--ink); }
.tl-photo-item img {
  margin-top: 1.2rem;
  border-radius: 14px;
  width: calc(100% + 6rem);
  max-width: none;
  margin-left: -6rem;
  height: auto;
  display: block;
  box-shadow: var(--shadow-sm);
}

.verse-block {
  margin-top: 2.6rem;
  padding: 1.6rem 1.8rem;
  background: var(--green-soft);
  border-radius: 16px;
}
.verse-block h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.verse-block p { color: var(--green-dark); margin: 0; }

/* ---- Programové osy ---- */
.axis {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.8rem;
  margin-bottom: 1.4rem;
}
.axis-num {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--red);
  opacity: 0.12;
  line-height: 1;
}
.axis h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  padding-right: 3rem;
}
.axis p { color: var(--muted); margin-bottom: 0.8rem; }
.axis-tags { font-weight: 700; color: var(--green-dark); }
.axis-toggle { display: none; margin-top: 0.2rem; }

/* ---- Lidé ---- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.person-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.4rem 1.4rem calc(150px + 2.8rem);
  min-height: 224px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person-photo {
  position: absolute;
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: 180px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 12px rgba(25, 70, 45, 0.16);
}
.person-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}
.person-meta { color: var(--green-dark); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.35rem; }
.person-agenda {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red-dark);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}
.person-card > p:last-child { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }
.person-tag {
  display: inline-block;
  background: var(--orange-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.26rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.person-lead {
  grid-column: 1 / -1;
  padding: 1.8rem 1.8rem 1.8rem calc(260px + 3.4rem);
  min-height: 378px;
}
.person-lead .person-photo { left: 1.8rem; width: 260px; height: 320px; }
.person-lead h3 { font-size: 1.6rem; }
.person-lead .person-meta { font-size: 0.95rem; }
.person-lead .person-agenda { font-size: 0.8rem; }
.person-lead > p:last-child { font-size: 0.98rem; }

/* ---- Responzivita nové struktury ---- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .person-card { padding-left: calc(140px + 2.4rem); min-height: 214px; }
  .person-photo { width: 140px; height: 170px; }
  .person-lead { padding-left: calc(220px + 3rem); min-height: 326px; }
  .person-lead .person-photo { width: 220px; height: 270px; }
}

@media (max-width: 700px) {
  .axis-more { display: none; }
  .axis.open .axis-more { display: block; }
  .axis-toggle { display: inline-flex; }
  .person-lead { padding-left: 1.8rem; min-height: 0; }
  .person-lead .person-photo { position: static; transform: none; width: 200px; height: 240px; margin-bottom: 1.2rem; }
  .timeline { margin-left: 1.2rem; }
  .timeline li { padding-left: 4.8rem; }
  .tl-year { width: 3.6rem; font-size: 1rem; }
  .tl-year-na { width: 4.4rem; font-size: 0.85rem; }
  .tl-photo-item img {
    width: 100vw;
    margin-left: calc(50% - 50vw - 2.4rem);
    border-radius: 0;
    box-shadow: none;
  }
}

/* ============================================================
   REDESIGN 09/2026 — hero foto, Proč, osy s grafikou, 2 sloupce
   ============================================================ */

/* ---- Fotka nad zeleným pruhem ---- */
.hero-photo-band { padding: 0 0 3.2rem; }
.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

/* ---- Sekce Proč ---- */
.proc-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 3rem;
}
.proc-item:nth-of-type(even) .proc-photo { order: 2; }
.proc-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.proc-text h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  margin-bottom: 0.8rem;
}
.proc-text p { color: var(--muted); }
.proc-text strong { color: var(--ink); }
.proc-closing { text-align: center; margin-top: 1rem; }
.proc-closing h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin-bottom: 0.5rem;
}
.proc-closing p { color: var(--muted); font-size: 1.05rem; }
.proc-closing strong { color: var(--red); }

/* ---- Osy: 2 sloupce + grafika ---- */
.axes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.axis {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.axis-img {
  width: 100%;
  height: auto;
  display: block;
}
.axis-body {
  position: relative;
  padding: 1.5rem 1.6rem 1.7rem;
}
.axis h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin: 1rem 0 0.4rem;
}
.axis ul {
  margin: 0 0 0.8rem 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.axis ul li { margin-bottom: 0.3rem; }

/* ---- Verš: nadpis jako H2 ---- */
.verse-block h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.15;
}

/* ---- Lídr: širší formát fotky ---- */
.person-lead { padding: 1.8rem 1.8rem 1.8rem calc(340px + 3.4rem); min-height: 300px; }
.person-lead .person-photo { left: 1.8rem; width: 340px; height: 255px; object-position: 62% 35%; }

@media (max-width: 980px) {
  .axes-grid { grid-template-columns: 1fr; }
  .person-lead { padding-left: calc(260px + 3rem); min-height: 240px; }
  .person-lead .person-photo { width: 260px; height: 195px; }
}

@media (max-width: 700px) {
  .proc-item { grid-template-columns: 1fr; margin-bottom: 2.2rem; }
  .proc-item:nth-of-type(even) .proc-photo { order: 0; }
  .person-lead { padding-left: 1.8rem; min-height: 0; }
  .person-lead .person-photo { position: static; transform: none; width: 260px; height: 195px; margin-bottom: 1.2rem; }
}

/* ---- Formulář: honeypot a chybový stav ---- */
.hp-row {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success.is-error {
  background: #fdeaea;
  border-color: #f8c9c9;
  color: #a62b36;
}

/* ---- Souhlasový proužek s cookies ---- */
.consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: rgba(38, 50, 56, 0.97);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}
.consent-inner {
  width: min(1140px, 92%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.consent-inner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e6ebee;
  max-width: 46rem;
}
.consent-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.consent-bar .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.consent-bar .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
@media (max-width: 700px) {
  .consent-inner { flex-direction: column; align-items: flex-start; }
}

/* ---- Kolotoč kampaní ---- */
.section-gallery { padding-bottom: clamp(3rem, 6vw, 5rem); }
.gallery { position: relative; }
.gallery-track {
  list-style: none;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem max(calc((100vw - 1140px) / 2), 4vw) 1.2rem;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { height: 8px; }
.gallery-track::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 4px; }
.gallery-track::-webkit-scrollbar-track { background: transparent; }
.gallery-item { flex: 0 0 auto; scroll-snap-align: start; }
.gallery-item img {
  width: 250px;
  height: 312px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--card);
  color: var(--red);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.gallery-prev { left: max(calc((100vw - 1140px) / 2 - 23px), 8px); }
.gallery-next { right: max(calc((100vw - 1140px) / 2 - 23px), 8px); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 26, 30, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 560px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 700px) {
  .gallery-nav { display: none; }
  .gallery-item img { width: 210px; height: 262px; }
}

/* ---- CTA pod kolotočem ---- */
.gallery-cta {
  text-align: center;
  margin-top: 1.8rem;
}

/* ---- Hover fotka přes celou kartu kandidáta ---- */
.person-card {
  position: relative;
  overflow: hidden;
}
.person-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.person-card:hover .person-hover,
.person-card:focus-within .person-hover {
  opacity: 1;
}

/* ---- Posun výřezu hover fotky (celá hlava + prostor nad ní) ---- */
.person-hover.hp-top { object-position: 50% 12%; }

/* ---- Maximální posun výřezu hover fotky k hornímu okraji ---- */
.person-hover.hp-max { object-position: 50% 0%; }

/* ---- Mobilní posun výřezu hover fotek do stran ---- */
@media (max-width: 700px) {
  .person-hover.hp-m-bobikova { object-position: 70% 50%; }
  .person-hover.hp-m-lufinkova { object-position: 85% 50%; }
  .person-hover.hp-m-hronova { object-position: 65% 0%; }
  .person-hover.hp-m-hawiger { object-position: 35% 12%; }
  .person-hover.hp-m-strnadova { object-position: 15% 50%; }
}

/* ============================================================
   POVOLEBNÍ PRVKY — výsledek, aktuality, video, zastupitelé
   ============================================================ */

/* ---- Výsledek voleb v hero ---- */
.hero-eyebrow {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}
.result-card { text-align: center; }
.result-big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.result-big strong {
  display: block;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: 0.2rem;
}
.result-reps {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.result-reps li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
}
.result-reps img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.result-reps strong { display: block; font-size: 0.95rem; color: var(--ink); }
.result-reps span { display: block; font-size: 0.8rem; color: var(--muted); }
.result-thanks {
  font-weight: 700;
  color: var(--red-dark);
  margin-bottom: 1rem;
}

/* ---- Aktuality ---- */
.section-news { background: var(--cream-alt); }
.page-head { padding-block: 3.2rem 1.2rem; }
.page-head h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}
.news-grid { display: grid; gap: 1.6rem; }
.news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}
.news-media { display: block; }
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-media img { transform: scale(1.02); }
.news-body { padding: 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.news-meta {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
}
.news-body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.25;
}
.news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a:hover { color: var(--red); }
.news-body p { color: var(--muted); font-size: 0.97rem; }
.news-tags {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--green-soft);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
}
.news-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: auto; }
.news-more { text-align: center; margin-top: 1.8rem; }
.news-detail { grid-template-columns: 1fr; }
.news-detail .news-media img { aspect-ratio: 16 / 9; max-height: 440px; }
.news-card.news-no-media { grid-template-columns: 1fr; }

/* ---- Seznam zápisů ze zastupitelstva ---- */
.zapisy-list { list-style: none; display: grid; gap: 1rem; }
.zapis-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.zapis-info h3 { font-family: var(--font-head); font-size: 1.15rem; margin: 0.2rem 0; }
.zapis-info p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.zapis-item .btn { flex: 0 0 auto; }
@media (max-width: 620px) {
  .zapis-item { flex-direction: column; align-items: flex-start; }
}

/* ---- Video jako odkaz ---- */
.section-video { padding-block: 2.4rem; }
.video-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 1.4rem;
  background: linear-gradient(135deg, #14401f, #0c6b2b);
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(12, 107, 43, 0.35); }
.video-card-poster { position: relative; display: block; border-radius: 12px; overflow: hidden; }
.video-card-poster img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.video-card-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease;
}
.video-card:hover .video-card-play { background: rgba(0, 0, 0, 0.4); }
.video-card-play svg {
  width: 46px;
  height: 46px;
  padding: 11px;
  background: var(--red);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.video-card-copy { display: flex; flex-direction: column; gap: 0.35rem; color: #cfe3d3; }
.video-card-eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #ffcf99;
}
.video-card-copy strong {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: #fff;
}
.video-card-copy span:last-child { font-size: 0.93rem; }

/* ---- Naši zastupitelé ---- */
.section-reps { background: var(--green-soft); }
.reps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.rep-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.rep-photo { width: 100%; height: 300px; object-fit: cover; object-position: center 30%; }
.rep-body { padding: 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; }
.rep-badge {
  align-self: flex-start;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}
.rep-body h3 { font-family: var(--font-head); font-size: 1.5rem; }
.rep-meta { font-size: 0.88rem; color: var(--muted); }
.rep-agenda {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
}
.rep-body p:last-child { color: var(--muted); font-size: 0.95rem; }
.reps-note {
  margin-top: 1.8rem;
  background: var(--card);
  border: 1px dashed var(--green-dark);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.reps-note p { color: var(--muted); margin: 0; }

/* Badge zastupitele v mřížce lidí */
.person-tag-rep { background: var(--red); color: #fff; }

@media (max-width: 860px) {
  .news-card { grid-template-columns: 1fr; }
  .news-media img { aspect-ratio: 16 / 9; }
  .reps-grid { grid-template-columns: 1fr; }
  .video-card { grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; }
}
