/* ============================================================
   ostudasumic.cz — Hlavní stylesheet
   ============================================================ */

/* ─── 1. CSS PROMĚNNÉ ─── */
:root {
  /* Barvy — odvozeno z vizuální identity obce Viničné Šumice */
  --clr-accent:     #a0cd00;   /* primární šumičská limetková/zelená */
  --clr-accent-dk:  #85aa00;   /* hover stav pro akcentní plochy */
  --clr-accent-dark:#384700;   /* tmavý tón pro textové odkazy s vysokým kontrastem */
  --clr-accent-viv: #a0cd00;   /* živá limetková */
  --clr-bg:         #FFFFFF;
  --clr-bg-muted:   #F4F4F4;
  --clr-bg-blue:    #F5FAE8;   /* velmi jemný limetkový tón pro info boxy a podkresy */
  --clr-text:       #1A1A1A;
  --clr-muted:      #4A4A4A;
  --clr-border:     #D0E699;   /* jemně akcentovaný border */
  --clr-border-lt:  #E8F5CC;
  --clr-error-bg:   #F3E8E8;   /* pozadí pro zrušená/zamítnutá rozhodnutí */
  --clr-error:      #8B4049;   /* text pro zrušená/zamítnutá rozhodnutí */

  /* Premium — glassmorphic systém (limetkový header) */
  --clr-glass:        rgba(160, 205, 0, 0.90);
  --clr-glass-solid:  rgba(160, 205, 0, 0.97);
  --clr-hairline:     rgba(20, 28, 4, 0.08);
  --clr-hairline-st:  rgba(20, 28, 4, 0.14);
  --clr-footer-bg:    #F7FAEE;
  --shadow-sm:    0 1px 2px rgba(20, 28, 4, 0.04), 0 4px 12px rgba(20, 28, 4, 0.05);
  --shadow-md:    0 2px 8px rgba(20, 28, 4, 0.06), 0 12px 32px rgba(20, 28, 4, 0.08);
  --shadow-glow:  0 8px 18px rgba(20, 28, 4, 0.08), 0 22px 48px rgba(160, 205, 0, 0.20);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typografie */
  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  --fs: 17px;
  --lh: 1.7;

  /* Prostory */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2rem;
  --sp-xl:  3rem;
  --sp-2xl: 4rem;

  /* Layout */
  --max-w:   720px;
  --max-w-lg: 960px;
  --hdr-h:   64px;
  --r:       4px;
  --t:       0.18s ease;
}

/* ─── SELECTION ─── */
::selection {
  background: var(--clr-accent);
  color: var(--clr-text);
}

/* ─── 2. RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--fs);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff);
  line-height: var(--lh);
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


img { display: block; max-width: 100%; }
ul, ol { padding-left: 1.5em; }

/* ─── 3. TYPOGRAFIE ─── */
h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--clr-text);
  text-wrap: balance;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: var(--sp-xl);
  padding-bottom: 0.625rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--clr-accent);
  border-radius: 2px;
}

h3 { font-size: 1.25rem; font-weight: 600; }

p { max-width: 68ch; text-align: justify; }
p + p { margin-top: 1em; }

/* ─── 4. LINKY ─── */
a {
  color: var(--clr-accent-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--t), text-decoration-color var(--t);
}

a:hover {
  color: var(--clr-accent);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ─── 5. SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--clr-accent);
  color: var(--clr-text);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--r);
}
.skip-link:focus { top: 1rem; left: 1rem; }

/* ─── 6. HEADER (premium frosted glass) ─── */
.site-header {
  position: sticky;
  top: 0;
  min-height: var(--hdr-h);
  background: linear-gradient(180deg, #aedc00, #a0cd00);
  border-bottom: 1px solid rgba(56, 71, 0, 0.20);
  box-shadow: 0 2px 12px rgba(56, 71, 0, 0.12);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header--scrolled {
  background:
    linear-gradient(105deg,
      transparent 38%,
      rgba(255, 255, 255, 0.16) 50%,
      transparent 62%),
    linear-gradient(180deg,
      rgba(180, 220, 36, 0.82),
      rgba(146, 188, 0, 0.74));
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border-bottom-color: rgba(56, 71, 0, 0.26);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.60),
    inset 0 -1px 0 rgba(56, 71, 0, 0.14),
    0 10px 36px rgba(56, 71, 0, 0.22);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem var(--sp-md);
  min-height: var(--hdr-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem var(--sp-md);
  flex-wrap: wrap;
}

.site-brand {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--clr-text);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  opacity: 1;
  padding: 0.25rem 0;
}
.site-brand:hover { color: var(--clr-accent-dark); opacity: 0.85; text-decoration: none; }

/* ─── 7. NAVIGACE ─── */
.site-nav { display: flex; }

.nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(20, 28, 4, 0.72);
  background: transparent;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background var(--t), color var(--t), transform var(--t);
}

.nav-link:hover {
  color: var(--clr-accent-dark);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-link[aria-current="page"] {
  color: var(--clr-accent-dark);
  background: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(56, 71, 0, 0.18);
}

/* Hamburger tlačítko */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 9px 8px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color var(--t);
}
.nav-toggle:hover { border-color: rgba(0, 0, 0, 0.15); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 8. MOBILNÍ MENU ─── */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-glass-solid);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--clr-hairline-st);
    padding: 0.75rem var(--sp-md) var(--sp-sm);
    box-shadow: 0 12px 32px rgba(20, 28, 4, 0.12);
  }

  .site-nav.is-open { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    text-align: center;
    border-radius: 999px;
  }
}

/* ─── 9. HERO & INTERAKTIVNÍ PRVKY ─── */
.hero {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(244, 250, 230, 1.00) 0%,
      rgba(244, 250, 230, 0.90) 12%,
      rgba(244, 250, 230, 0.70) 32%,
      rgba(244, 250, 230, 0.45) 55%,
      rgba(244, 250, 230, 0.12) 80%,
      transparent 100%
    ),
    url('../uploads/skolka.png') center top / 100% auto no-repeat;
  min-height: 56.3vw;
  padding: var(--sp-2xl) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--clr-border-lt);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .container {
  max-width: var(--max-w-lg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
  justify-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--sp-xs);
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--clr-bg-blue);
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clr-accent-dark);
  margin-bottom: var(--sp-md);
  box-shadow: 0 2px 8px rgba(160, 205, 0, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--clr-accent-viv);
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px var(--clr-accent-viv); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: var(--sp-sm);
  color: var(--clr-text);
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.25rem;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero-underline {
  display: inline;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--clr-muted);
  max-width: 58ch;
  margin-bottom: var(--sp-lg);
  line-height: 1.6;
}

/* Naskakující číslo v hero textu — vizuálně splývá s okolním textem */
.hero-count {
  font-variant-numeric: tabular-nums;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r);
  transition: all var(--t);
  cursor: pointer;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-text);
  border: 2px solid var(--clr-accent);
  box-shadow: 0 4px 12px rgba(160, 205, 0, 0.25);
}

.btn--primary:hover {
  border-color: var(--clr-accent-dk);
  color: var(--clr-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(160, 205, 0, 0.35);
  text-decoration: none;
}

.btn--primary:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform var(--t);
  display: inline-block;
}

.btn--primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn--secondary {
  background: transparent;
  color: var(--clr-accent-dark);
  border: 2px solid var(--clr-border);
}

.btn--secondary:hover {
  background: var(--clr-bg-blue);
  color: var(--clr-accent-dark);
  border-color: var(--clr-accent);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Vizuální prvek s glassmorphismem */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.visual-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 80%;
  background: radial-gradient(circle, rgba(160, 205, 0, 0.25) 0%, rgba(160, 205, 0, 0.08) 50%, transparent 70%);
  filter: blur(35px);
  z-index: 0;
  animation: slowFloat 8s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes slowFloat {
  0% { transform: scale(0.9) translate(0, 0); }
  100% { transform: scale(1.1) translate(-10px, 10px); }
}

.glass-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
              0 1px 3px rgba(160, 205, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-frame--showcase {
  max-width: 720px;
  padding: 1.25rem;
  border-radius: 16px;
}

.glass-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12),
              0 2px 8px rgba(160, 205, 0, 0.2);
}

.glass-img-wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--clr-bg-muted);
  border: 1px solid var(--clr-border-lt);
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.glass-frame--showcase .hero-img {
  aspect-ratio: auto;
  max-height: 420px;
}

.glass-frame:hover .hero-img {
  transform: scale(1.03);
}

.glass-caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  color: var(--clr-muted);
  font-weight: 500;
}

.caption-icon {
  font-size: 1rem;
}

/* ─── INTERAKTIVNÍ KARTY (CARDS GRID) ─── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: var(--sp-md);
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.interactive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--t);
  overflow: hidden;
  z-index: 1;
}

.interactive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, var(--clr-bg-blue) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--t);
  z-index: -1;
}

.interactive-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-accent);
  box-shadow: 0 12px 24px rgba(160, 205, 0, 0.15);
  text-decoration: none;
}

.interactive-card:hover::before {
  opacity: 1;
}

.card-icon-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-blue);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: transform var(--t), background var(--t);
}

.interactive-card:hover .card-icon-wrapper {
  transform: scale(1.08);
  background: var(--clr-accent);
}

.card-icon {
  font-size: 1.35rem;
}


.card-content {
  width: 100%;
}

.card-content h3 {
  font-size: 1.125rem;
  color: var(--clr-accent-dark);
  margin-bottom: 0.375rem;
  transition: color var(--t);
}

.interactive-card:hover .card-content h3 {
  color: var(--clr-text);
}

.card-content p {
  font-size: 0.9375rem;
  color: var(--clr-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.card-arrow {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  font-size: 1.125rem;
  color: var(--clr-border);
  font-weight: 700;
  transition: all var(--t);
}

.interactive-card:hover .card-arrow {
  color: var(--clr-accent-dark);
  transform: translateX(4px);
}

/* ─── 10. FOOTER ─── */
.site-footer {
  position: relative;
  background: var(--clr-footer-bg);
  border-top: 1px solid var(--clr-hairline);
  padding: var(--sp-2xl) var(--sp-md) var(--sp-lg);
  font-size: 0.9375rem;
  color: var(--clr-muted);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
  opacity: 0.55;
}

.footer-inner {
  max-width: var(--max-w-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-lg) var(--sp-2xl);
  align-items: start;
}

.footer-brand {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.015em;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-col--right {
  text-align: right;
  align-items: flex-end;
}

.footer-link {
  color: var(--clr-muted);
  text-decoration: none;
  transition: color var(--t), padding-right var(--t);
  font-size: 0.875rem;
}
.footer-col--right .footer-link:hover {
  color: var(--clr-accent-dark);
  padding-right: 0.25rem;
}
.footer-link:hover { color: var(--clr-accent-dark); }

.footer-divider {
  max-width: var(--max-w-lg);
  margin: var(--sp-lg) auto 0;
  border: none;
  border-top: 1px solid var(--clr-hairline);
}

.footer-bottom {
  max-width: var(--max-w-lg);
  margin: var(--sp-sm) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--clr-muted);
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col--right { text-align: left; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── 11. KONTEJNER & LAYOUT ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.container--wide { max-width: var(--max-w-lg); }

.page-body {
  padding: var(--sp-xl) 0 var(--sp-2xl);
  background: var(--clr-bg); /* zakrývá fixed pozadí budovy pod hero sekcí */
}

/* ─── 12. INFO BOX ─── */
.info-box {
  background: var(--clr-bg-blue);
  border-left: 3px solid var(--clr-accent-dark);
  border-radius: 0 var(--r) var(--r) 0;
  padding: var(--sp-md) var(--sp-lg);
  margin-top: var(--sp-lg);
}

.info-box h3 {
  color: var(--clr-accent-dark);
  margin-bottom: var(--sp-xs);
  font-size: 1rem;
}

.info-box p { max-width: none; }

/* ─── 13. SOURCE REF ─── */
.source-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--clr-bg-blue);
  border-radius: var(--r);
  padding: 0.1875rem 0.625rem;
  font-size: 0.8125rem;
  color: var(--clr-accent-dark);
  text-decoration: none;
  transition: background var(--t), color var(--t);
  margin-top: 0.375rem;
}

.source-ref::before { content: '↗'; font-style: normal; font-size: 0.75rem; }
.source-ref:hover { background: var(--clr-accent); color: var(--clr-text); text-decoration: none; }

/* ─── 14. TIMELINE ─── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: var(--sp-lg);
}

/* Svislá čára */
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 1rem;
  bottom: 0;
  width: 2px;
  background: var(--clr-border);
}

.timeline-entry {
  position: relative;
  margin-bottom: 0.5rem;
}

/* Kolečko na čáře */
.timeline-entry::before {
  content: '';
  position: absolute;
  left: -2.25rem;      /* dot center = 40-36+5 = 9px = střed čáry (8px+1px) */
  top: 1.0625rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-bg);
  border: 2px solid var(--clr-accent-dark);
  z-index: 1;
}

/* Větší kolečko pro highlight */
.timeline-entry--highlight::before {
  width: 14px;
  height: 14px;
  left: calc(-2.25rem - 2px);
  top: 0.9375rem;
  background: var(--clr-accent-viv);
  border-color: var(--clr-accent-viv);
}

/* details obal */
.timeline-entry details {
  border: 1px solid var(--clr-border);
  border-radius: var(--r);
  background: var(--clr-bg);
}

.timeline-entry--highlight details {
  border-left: 3px solid var(--clr-accent-viv);
}

/* summary */
.timeline-entry details > summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6875rem var(--sp-sm);
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}

.timeline-entry details > summary::-webkit-details-marker { display: none; }
.timeline-entry details > summary::marker { content: ''; }

.timeline-entry details > summary:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: -2px;
  border-radius: var(--r);
}

.tl-date {
  font-weight: 700;
  color: var(--clr-accent-dark);
  font-size: 0.875rem;
  min-width: 110px;
  flex-shrink: 0;
}

.tl-title {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--clr-text);
}

.tl-arrow {
  color: var(--clr-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
  display: inline-block;
  transition: transform var(--t);
}

.timeline-entry details[open] > summary .tl-arrow { transform: rotate(90deg); }

.timeline-body {
  padding: 0.75rem var(--sp-sm) var(--sp-sm);
  border-top: 1px solid var(--clr-border-lt);
  font-size: 0.9375rem;
  color: var(--clr-muted);
}

.timeline-body p { max-width: none; color: var(--clr-muted); }

/* ─── 15. FILTRY A DOKUMENTY ─── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.filter-pill {
  display: inline-block;
  padding: 0.3125rem 0.875rem;
  font-size: 0.875rem;
  font-family: var(--ff);
  color: var(--clr-muted);
  background: var(--clr-bg-muted);
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  cursor: pointer;
  font-weight: 500;
  transition: background var(--t), color var(--t), border-color var(--t);
}

.filter-pill:hover { border-color: var(--clr-accent-dark); color: var(--clr-accent-dark); }

.filter-pill.is-active {
  background: var(--clr-accent);
  color: var(--clr-text);
  border-color: var(--clr-accent);
}

.doc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: 0.875rem var(--sp-md);
  border: 1px solid var(--clr-border);
  border-radius: var(--r);
  background: var(--clr-bg);
  transition: border-color var(--t), box-shadow var(--t);
}

.doc-item:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 2px 10px rgba(160, 205, 0, 0.2);
}

.doc-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-blue);
  border-radius: var(--r);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.doc-meta { flex: 1; min-width: 0; }

.doc-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--clr-accent-dark);
  text-decoration: none;
  display: block;
  line-height: 1.4;
}
.doc-name:hover { text-decoration: underline; color: var(--clr-text); }

.doc-info {
  font-size: 0.8125rem;
  color: var(--clr-muted);
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.875rem;
}

/* ─── 16. V MÉDIÍCH ─── */
.media-list {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-lg);
}

.media-item {
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--clr-border-lt);
}

.media-item:first-child { border-top: 1px solid var(--clr-border-lt); }

.media-source {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.media-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.media-item h3 a { color: var(--clr-text); text-decoration: none; }
.media-item h3 a:hover { color: var(--clr-accent-dark); text-decoration: underline; }

.media-date { font-size: 0.875rem; color: var(--clr-muted); }

/* ─── 17. PRÁVO NA ODPOVĚĎ ─── */
.reply-box {
  border: none;
  border-left: 4px solid var(--clr-accent-dark);
  border-radius: 0 var(--r) var(--r) 0;
  background: #FAFAF5;
  padding: 2rem;
  margin-top: var(--sp-lg);
}

.reply-box h3 {
  font-size: 1.0625rem;
  color: var(--clr-accent-dark);
  margin-bottom: var(--sp-sm);
}

.conditions-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}

.conditions-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
}

.conditions-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--clr-muted);
}

.reply-statement {
  border: none;
  border-radius: var(--r);
  padding: 1.5rem;
  font-style: normal;
  font-weight: 500;
  color: var(--clr-text);
  background: var(--clr-bg-muted);
  font-size: 1rem;
  margin-top: var(--sp-sm);
}

/* ─── 18. NAVIGAČNÍ SEZNAM ─── */
.nav-sections {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.nav-sections li {
  position: relative;
  padding-left: 1.375rem;
  font-size: 0.9375rem;
}

.nav-sections li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-accent-dark);
  font-size: 0.8125rem;
  top: 0.1em;
}

/* ─── 19. PRÁVNÍ SEZNAM ─── */
.legal-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: var(--sp-sm);
}

.legal-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
}

.legal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-accent-dark);
  font-size: 0.8125rem;
  top: 0.15em;
}

/* ─── 20. STATS GRID ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(160, 205, 0, 0.15);
}

.stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--clr-accent-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--clr-muted);
  margin-top: 0.375rem;
  line-height: 1.4;
  font-weight: 500;
}

.stat-card--accent {
  background: var(--clr-accent);
  border-color: var(--clr-accent-dk);
}

.stat-card--accent .stat-number {
  color: var(--clr-text);
}

.stat-card--accent .stat-label {
  color: rgba(0, 0, 0, 0.65);
}

/* ─── 21. FAQ ACCORDION ─── */
.faq-list {
  margin-top: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--r);
  background: var(--clr-bg);
  transition: border-color var(--t);
}

.faq-item:hover {
  border-color: var(--clr-accent);
}

.faq-item[open] {
  border-color: var(--clr-accent);
  box-shadow: 0 2px 12px rgba(160, 205, 0, 0.1);
}

.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem var(--sp-md);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--clr-text);
  -webkit-user-select: none;
  user-select: none;
}

.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ''; }

.faq-item > summary::after {
  content: '▸';
  font-size: 0.75rem;
  color: var(--clr-muted);
  flex-shrink: 0;
  transition: transform var(--t);
}

.faq-item[open] > summary::after {
  transform: rotate(90deg);
}

.faq-item > summary:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: -2px;
  border-radius: var(--r);
}

.faq-answer {
  padding: 0 var(--sp-md) var(--sp-md);
  border-top: 1px solid var(--clr-border-lt);
  font-size: 0.9375rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

.faq-answer p { max-width: none; }
.faq-answer p + p { margin-top: 0.75em; }

.faq-source {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--clr-accent-dark);
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.5rem;
}

.faq-source::before { content: '📄'; }
.faq-source:hover { text-decoration: underline; }

/* ─── 22. PRÁVNÍ STATUS ─── */
.legal-status-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--sp-md);
}

.status-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem var(--sp-md);
  border: 1px solid var(--clr-border);
  border-radius: var(--r);
  background: var(--clr-bg);
  font-size: 0.9375rem;
}

.status-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
}

.status-icon--cancelled {
  background: var(--clr-error-bg);
  color: var(--clr-error);
}

.status-icon--pending {
  background: var(--clr-bg-blue);
  color: var(--clr-accent-dark);
}

.status-label {
  flex: 1;
}

.status-label strong {
  display: block;
  color: var(--clr-text);
  font-size: 0.9375rem;
}

.status-label span {
  font-size: 0.8125rem;
  color: var(--clr-muted);
}

/* ─── 23. PROHLÁŠENÍ ─── */
.statement-box {
  position: relative;
  border-left: 3px solid var(--clr-accent);
  background: var(--clr-bg-blue);
  border-radius: 0 var(--r) var(--r) 0;
  padding: var(--sp-md) var(--sp-lg);
  margin-top: var(--sp-lg);
}

.statement-box p {
  font-style: italic;
  color: var(--clr-muted);
  max-width: none;
  line-height: 1.7;
}

.statement-box .statement-author {
  font-style: normal;
  font-weight: 600;
  color: var(--clr-accent-dark);
  margin-top: var(--sp-sm);
  font-size: 0.875rem;
}

/* ─── 24. DEFENZIVNÍ RÁMCOVÁNÍ ─── */
.defense-box {
  background: var(--clr-bg-muted);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: var(--sp-lg);
  margin-top: var(--sp-lg);
}

.defense-box h3 {
  color: var(--clr-accent-dark);
  margin-bottom: var(--sp-sm);
  font-size: 1.125rem;
}

.defense-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.defense-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  color: var(--clr-muted);
}

.defense-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 1rem;
  top: 0;
}

/* ─── 25. HERO SHOWCASE ─── */
.hero-showcase {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.showcase-inner {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--clr-bg-blue);
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clr-accent-dark);
  margin-bottom: 0.75rem;
}

.showcase-badge-icon {
  font-size: 1rem;
}

.showcase-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--clr-border-lt);
}

/* ─── 26. CARD ICON IMG ─── */
.card-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* ─── 30. STRÁNKA 404 ─── */
.error-page {
  min-height: calc(100vh - var(--hdr-h) - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-2xl) var(--sp-md);
  gap: var(--sp-sm);
}

.error-code {
  font-size: 5rem;
  font-weight: 700;
  color: var(--clr-border);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ─── 21. RESPONZIVITA ─── */
@media (min-width: 768px) {
  h1 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero { padding: var(--sp-2xl) var(--sp-lg); }
}

/* ─── 22. TISK ─── */
@media print {
  @page { size: A4; margin: 2cm; }

  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  .skip-link,
  .site-header,
  .site-footer,
  .filter-bar,
  .nav-toggle { display: none !important; }

  body { font-size: 11pt; line-height: 1.5; }
  h1   { font-size: 18pt; }
  h2   { font-size: 14pt; margin-top: 1.5cm; }
  h3   { font-size: 12pt; }

  a[href]::after { content: " (" attr(href) ")"; font-size: 8pt; }
  a[href^="#"]::after,
  a[href^="mailto:"]::after { content: ''; }

  /* Otevřít všechny details při tisku */
  details > :not(summary) { display: block !important; }
  .timeline-body { display: block !important; }

  .timeline-entry { break-inside: avoid; page-break-inside: avoid; }
  .doc-item       { break-inside: avoid; }

  .timeline::before,
  .timeline-entry::before { display: none; }

  .info-box,
  .reply-box,
  .defense-box,
  .citizens-box { border: 1px solid #000 !important; }

  .dual-timeline { grid-template-columns: 1fr; border: none; }
  .dual-timeline__col + .dual-timeline__col { border-top: 1px solid #000; }

  .news-list__item { break-inside: avoid; }
  .defense-box,
  .citizens-box { break-inside: avoid; }
}

/* ─── DUAL TIMELINE ─── */
.dual-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.dual-timeline__col {
  padding: 0;
}

.dual-timeline__col:first-child {
  border-right: 2px solid var(--clr-accent);
}

.dual-timeline__header {
  background: var(--clr-accent);
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-text);
}

.dual-timeline__col:last-child .dual-timeline__header {
  background: var(--clr-bg-muted);
  color: var(--clr-muted);
}

.dual-timeline__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--clr-border-lt);
}

.dual-timeline__row:last-child {
  border-bottom: none;
}

.dual-timeline__cell {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.dual-timeline__cell:first-child {
  border-right: 2px solid var(--clr-accent);
  color: var(--clr-text);
}

.dual-timeline__cell:last-child {
  color: var(--clr-muted);
  font-style: italic;
}

.dual-timeline__cell time {
  display: block;
  font-size: 0.75rem;
  color: var(--clr-muted);
  margin-bottom: 0.125rem;
  font-style: normal;
}

.small-note {
  font-size: 0.875rem;
  color: var(--clr-muted);
  margin-top: 0.75rem;
}

@media (max-width: 540px) {
  .dual-timeline {
    grid-template-columns: 1fr;
  }
  .dual-timeline__col:first-child {
    border-right: none;
    border-bottom: 2px solid var(--clr-accent);
  }
  .dual-timeline__row {
    grid-template-columns: 1fr;
  }
  .dual-timeline__cell:first-child {
    border-right: none;
    border-bottom: 1px solid var(--clr-border-lt);
  }
}

/* ─── NEWS LIST ─── */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  border-left: 3px solid var(--clr-accent);
  padding-left: 1rem;
}

.news-list__item {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--clr-border-lt);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.news-list__item:last-child {
  border-bottom: none;
}

.news-list__date {
  flex-shrink: 0;
  color: var(--clr-muted);
  font-size: 0.8125rem;
  padding-top: 0.125rem;
  min-width: 7rem;
}

.news-list__text {
  color: var(--clr-text);
}

.news-list__text a {
  color: var(--clr-accent-dark);
}

/* ─── CITIZENS BOX ─── */
.citizens-box {
  background: var(--clr-bg-blue);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.citizens-box h3 {
  margin-top: 0;
  font-size: 1.0625rem;
}

.citizens-box p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--clr-text);
  line-height: 1.7;
}

/* ─── TIMELINE FILTER ─── */
.timeline-entry[hidden] {
  display: none;
}

/* ─── STATUS NOTE (sub-line in legal status) ─── */
.status-note {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--clr-muted);
  font-style: italic;
  line-height: 1.5;
}

/* ─── EDITORIAL SECTION ─── */
.editorial-section {
  margin-top: 0;
}

.editorial-quote-band {
  background: #FAFAF5;
  border-top: 1px solid var(--clr-border-lt);
  border-bottom: 1px solid var(--clr-border-lt);
  padding: var(--sp-2xl) 0;
}

.editorial-quote {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.editorial-quote-mark {
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7rem;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--clr-border-lt);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.editorial-quote p {
  font-size: 1.1875rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--clr-text);
  text-align: center;
  max-width: none;
  margin: 0;
}

.editorial-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
}

.editorial-points {
  margin-top: var(--sp-lg);
  border-left: 4px solid var(--clr-accent);
  padding-left: var(--sp-lg);
}

.editorial-point {
  padding: var(--sp-sm) 0;
  transition: transform 0.3s ease, padding-left 0.3s ease;
}

.editorial-point:hover {
  transform: translateX(4px);
  padding-left: 0.5rem;
}

.editorial-point + .editorial-point {
  border-top: 1px solid var(--clr-border-lt);
}

.editorial-point p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-text);
  max-width: 62ch;
}

/* ─── MANIFESTO STRIP (číslované právní body) ─── */
.manifesto-strip {
  margin-top: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.manifesto-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--clr-border-lt);
  transition: background-color 0.25s ease;
}

.manifesto-item:first-child {
  padding-top: var(--sp-sm);
}

.manifesto-item:last-child {
  border-bottom: none;
}

.manifesto-num {
  flex-shrink: 0;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-accent);
  margin-top: 0.15rem;
  font-feature-settings: "tnum";
  user-select: none;
}

.manifesto-text {
  flex: 1;
  min-width: 0;
}

.manifesto-text p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--clr-text);
  max-width: none;
  margin: 0;
}

@media (max-width: 540px) {
  .manifesto-item {
    gap: 1rem;
  }
  .manifesto-num {
    font-size: 1.75rem;
  }
}

/* ─── FAQ SIMPLE (typografický seznam) ─── */
.faq-simple {
  margin-top: var(--sp-md);
}

.faq-simple__item {
  padding: var(--sp-md) 0.5rem;
  border-bottom: 1px solid var(--clr-border-lt);
  transition: background-color 0.3s ease, padding-left 0.3s ease;
  border-radius: 4px;
}

.faq-simple__item:hover {
  background-color: var(--clr-bg-muted);
  padding-left: 1rem;
}

.faq-simple__item:first-child {
  padding-top: 0;
}

.faq-simple__item:last-child {
  border-bottom: none;
}

.faq-simple__q {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.faq-simple__a {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--clr-muted);
  max-width: 62ch;
  margin: 0;
}

.faq-simple__a a {
  color: var(--clr-accent-dark);
}

/* ── Pokročilé zarovnání a dělení slov (Czech justification) ── */
.page-body p,
.hero-lead,
.timeline-body p,
.statement-box p,
.defense-list li,
.citizens-box p,
.faq-simple__a,
.reply-box li,
.editorial-point p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--clr-border-lt);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-color: var(--clr-border);
}

.faq-card-icon {
  font-size: 1.75rem;
  line-height: 1;
  align-self: start;
  background: var(--clr-bg-blue);
  padding: 0.5rem;
  border-radius: 6px;
}

.faq-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--clr-text);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.faq-card p {
  font-size: 0.9375rem;
  color: var(--clr-text);
  line-height: 1.6;
  margin: 0;
}

/* ─── OBJECTIONS SECTION (dvousloupcová sekce s citací) ─── */
.objections-section {
  padding: 4rem 0;
  background: var(--clr-bg-muted);
  border-bottom: 1px solid var(--clr-border-lt);
}

.objections-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--clr-text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.objections-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 12px 12px 0 0;
}

.quote-icon {
  font-size: 4rem;
  font-family: serif;
  color: var(--clr-accent-lt, #e2e8f0);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
  user-select: none;
  opacity: 0.15;
}

.quote-card blockquote {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.quote-card blockquote p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--clr-text);
  font-style: italic;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
}

.quote-card cite {
  display: block;
  font-size: 0.875rem;
  color: var(--clr-muted);
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.objections-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.objections-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--clr-text);
  margin-top: 0;
}

.objections-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.objections-list li {
  display: flex;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--clr-border-lt);
  padding: 1.25rem;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.objections-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.obj-icon {
  font-size: 1.5rem;
  line-height: 1;
  background: var(--clr-bg-blue);
  padding: 0.5rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.obj-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--clr-text);
}

@media (max-width: 768px) {
  .objections-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Pokročilé zarovnání a dělení slov (Czech justification) ── */
.page-body p,
.hero-lead,
.timeline-body p,
.statement-box p,
.defense-list li,
.citizens-box p,
.faq-card p,
.reply-box li,
blockquote p,
.obj-text,
.objections-intro {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* ─── READING PROGRESS BAR (spodní hrana headeru) ─── */
#reading-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #2f3d00, #556e00);
  border-radius: 0 2px 2px 0;
  z-index: 5;
  transition: width 0.12s linear;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.hero-text {
  animation: fadeUp 0.6s ease-out forwards;
}

.page-body {
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.2s forwards;
}

.editorial-section {
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.4s forwards;
}

/* ════════════════════════════════════════════════════
   PREMIUM — interaktivní vrstva
   ════════════════════════════════════════════════════ */

/* ── Hero — plovoucí gradientní blobs ── */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(70px);
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(160, 205, 0, 0.40), transparent 70%);
  animation: blobFloat1 16s ease-in-out infinite alternate;
}

.hero::after {
  width: 340px;
  height: 340px;
  bottom: -120px;
  right: -90px;
  background: radial-gradient(circle, rgba(160, 205, 0, 0.32), transparent 70%);
  animation: blobFloat2 20s ease-in-out infinite alternate;
}

@keyframes blobFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.18); }
}

@keyframes blobFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -30px) scale(1.22); }
}

/* ── Primary button — barevný přejezd zleva ── */
.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-accent-dk);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  pointer-events: none;
}

.btn--primary:hover::after { transform: scaleX(1); }

/* ── Karty — 3D tilt + spotlight ── */
.interactive-card,
.stat-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* interactive-card: stávající ::before přepnut na sledování kurzoru */
.interactive-card::before {
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%),
              rgba(160, 205, 0, 0.20), transparent 65%);
}

.stat-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%),
              rgba(160, 205, 0, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
}

.stat-card:hover::before { opacity: 1; }

.stat-card--accent::before {
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%),
              rgba(255, 255, 255, 0.45), transparent 60%);
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

/* ── Document items — akcentní lišta zleva ── */
.doc-item {
  position: relative;
  overflow: hidden;
}

.doc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--clr-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease-spring);
}

.doc-item:hover::before { transform: scaleY(1); }

.doc-item:hover {
  transform: translateX(4px);
}

/* ── Timeline — pop dot při odhalení ── */
.timeline-entry.reveal::before {
  transform: scale(0);
  transition: transform 0.45s var(--ease-spring) 0.15s;
}

.timeline-entry.reveal--visible::before {
  transform: scale(1);
}

.timeline-entry--highlight.reveal::before {
  box-shadow: 0 0 0 0 rgba(160, 205, 0, 0.5);
}

.timeline-entry--highlight.reveal--visible::before {
  animation: dotPulse 2.4s ease-out 0.6s;
}

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(160, 205, 0, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(160, 205, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(160, 205, 0, 0); }
}

/* ── Animovaný podtržený odkaz v obsahu ── */
.page-body p a,
.faq-simple__a a,
.editorial-point p a,
.timeline-body p a,
.citizens-box p a {
  text-decoration: none;
  background-image: linear-gradient(var(--clr-accent), var(--clr-accent));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease, color var(--t);
}

.page-body p a:hover,
.faq-simple__a a:hover,
.editorial-point p a:hover,
.timeline-body p a:hover,
.citizens-box p a:hover {
  background-size: 100% 2px;
  color: var(--clr-accent-dark);
}

/* ── Scroll-reveal: jemnější + stagger přes JS ── */
.reveal {
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-spring);
}

.reveal--visible {
  transform: translateY(0) scale(1);
}

/* ── Karty obecně — vyšší stíny ── */
.interactive-card { box-shadow: var(--shadow-sm); }
.interactive-card:hover { box-shadow: var(--shadow-glow); }
.stat-card:hover { box-shadow: var(--shadow-glow); }

/* ── Respekt k preferenci omezeného pohybu ── */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .visual-glow,
  .badge-dot { animation: none !important; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn--primary::after { transition: none; }
}
