/* GEN – Generace odpovědnosti | gen2025.cz
   Jeden stylopis pro celý web. Verzování přes ?v=N v HTML. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-standard-normal.woff2) format('woff2-variations'), url(../fonts/archivo-latin-ext-standard-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-standard-normal.woff2) format('woff2-variations'), url(../fonts/archivo-latin-standard-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #69509C;
  --brand-dark: #4A3672;
  --accent: #C21F2E;
  --accent-dark: #9E1824;
  --ink: #16121F;
  --muted: #4D4759;
  --line: #E4E2E8;
  --line-strong: #CFCBD8;
  --soft: #F2F1F4;
  --on-dark: #CFC9DA;
  --dark-line: #3D3650;
  --wrap: 1280px;
  --pad: clamp(20px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Typografie ---------- */
.display, .h-sec, .h-page {
  font-weight: 800;
  font-stretch: 80%;
  text-transform: uppercase;
  line-height: 0.95;
}
.h-page { font-size: clamp(44px, 6.4vw, 92px); }
.h-sec { font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.kicker { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); }
.muted { color: var(--muted); }
.sec-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 16px 24px; border-bottom: 3px solid var(--ink); padding-bottom: 16px; margin-bottom: 36px;
}
.sec-head.no-rule { border: 0; padding-bottom: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose h2 { font-size: 28px; font-weight: 800; font-stretch: 88%; margin: 1.6em 0 .5em; }
.prose ul { padding-left: 1.2em; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0; white-space: nowrap;
}
.btn-lg { min-height: 52px; padding: 0 26px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand); color: #fff; }
.btn-red { background: var(--accent); color: #fff; }
.btn-red:hover { background: var(--accent-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-line-white { border-color: #fff; color: #fff; }
.btn-line-white:hover { background: #fff; color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; }

/* ---------- Hlavička ---------- */
.topbar { background: var(--brand); color: #fff; font-size: 13px; }
.topbar .wrap { min-height: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar nav { display: flex; gap: 20px; align-items: center; }

.header { background: #fff; position: relative; z-index: 20; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { width: 68px; height: 68px; }
.mainnav { display: flex; align-items: center; gap: 28px; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.mainnav ul a { text-decoration: none; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; padding: 6px 0; border-bottom: 3px solid transparent; }
.mainnav ul a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.header-cta { display: flex; gap: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.tricolor { display: flex; height: 6px; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--brand); }
.tricolor span:nth-child(2) { background: var(--accent); }
.tricolor span:nth-child(3) { background: var(--ink); }
.footer .tricolor span:nth-child(3) { background: #fff; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .mainnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(22,18,31,.12);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px;
  }
  .mainnav.open { display: flex; }
  .mainnav ul { flex-direction: column; gap: 0; }
  .mainnav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .mainnav ul a[aria-current="page"] { border-bottom-color: var(--line); }
  .header-cta { margin-top: 18px; flex-wrap: wrap; }
  .header-cta .btn { flex: 1 1 160px; }
  .header-right { display: flex; gap: 10px; align-items: center; }
}
@media (min-width: 1081px) { .header-right .mobile-donate { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: #2B2536; color: #fff; overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero picture img, .hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero-shade { position: relative; background: linear-gradient(90deg, rgba(22,18,31,.92) 0%, rgba(22,18,31,.72) 40%, rgba(22,18,31,.15) 75%, rgba(22,18,31,0) 100%); }
.hero-inner { padding-top: clamp(88px, 10vw, 120px); padding-bottom: clamp(120px, 12vw, 150px); display: flex; flex-direction: column; gap: 24px; }
.hero .kicker { color: #D9CFF0; }
.hero h1 { max-width: 14ch; font-size: clamp(52px, 7vw, 104px); }
.hero p { max-width: 46ch; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; }
@media (max-width: 720px) {
  .hero picture img { object-position: 68% 20%; }
  .hero-shade { background: linear-gradient(0deg, rgba(22,18,31,.95) 0%, rgba(22,18,31,.75) 45%, rgba(22,18,31,0) 85%); }
  .hero-inner { padding-top: 220px; padding-bottom: 96px; }
}

.cta-strip { position: relative; margin-top: -56px; }
.cta-strip .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; box-shadow: 0 10px 30px rgba(22,18,31,.12); }
.cta-strip a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 112px; padding: 0 28px;
  border-right: 1px solid var(--line); text-decoration: none;
  font-weight: 800; font-stretch: 85%; font-size: 22px; text-transform: uppercase;
}
.cta-strip a:last-child { background: var(--accent); color: #fff; border-right: 0; }
.cta-strip a:last-child:hover { background: var(--accent-dark); color: #fff; }
.cta-strip svg { flex-shrink: 0; color: var(--accent); }
.cta-strip a:last-child svg { color: #fff; }
@media (max-width: 980px) { .cta-strip .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cta-strip a { min-height: 80px; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .cta-strip { margin-top: 0; padding: 0; } .cta-strip .grid { grid-template-columns: 1fr; box-shadow: none; } .cta-strip a { min-height: 64px; font-size: 20px; padding: 0 20px; border-right: 0; } }

/* ---------- Sekce ---------- */
.section { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.bg-soft { background: var(--soft); }
.bg-dark { background: var(--ink); color: #fff; }
.bg-brand { background: var(--brand); color: #fff; }
.split { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.split > * { min-width: 0; }

/* Aktuality */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 600; font-size: 15px; list-style: none; margin: 0; padding: 0; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 4px 0; font: inherit; color: var(--muted); cursor: pointer; min-height: 40px; }
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.news { display: flex; flex-wrap: wrap; gap: 40px; }
.news-feature { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.news-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-feature h3 { font-weight: 800; font-stretch: 88%; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.news-list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; }
.news-item { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.news-item h3 { font-weight: 700; font-size: 20px; line-height: 1.3; }
.meta { font-size: 14px; color: var(--muted); }
.meta .cat { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.meta .cat.red { color: var(--accent); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 32px; }
.news-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.news-card img, .news-card .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card h3 { font-weight: 800; font-stretch: 90%; font-size: 23px; line-height: 1.15; }
.ph { background: #3A3448; }

/* Program */
.program-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: 40px; }
.program-list a { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line-strong); text-decoration: none; }
.program-list .num { min-width: 44px; font-weight: 800; font-size: 15px; color: var(--accent); }
.program-list .t { font-weight: 700; font-size: 19px; line-height: 1.3; }

.chapter { padding: 56px 0; border-top: 3px solid var(--ink); scroll-margin-top: 20px; }
.chapter-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; margin-bottom: 20px; }
.chapter-head .num { font-weight: 800; font-size: 16px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.chapter-head h2 { font-weight: 800; font-stretch: 82%; font-size: clamp(32px, 3.6vw, 52px); text-transform: uppercase; }
.chapter .lead-line { font-weight: 700; font-size: clamp(21px, 2vw, 26px); line-height: 1.3; color: var(--brand); margin-bottom: 20px; max-width: 46ch; }
.chapter-body { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.chapter-body .prose { flex: 1 1 520px; min-width: 0; color: #2A2533; }
.points { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.points li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.points li::before { content: ""; flex-shrink: 0; width: 11px; height: 11px; margin-top: 8px; background: var(--brand); }
.toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 32px; }
.toc a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; font-weight: 700; }
.toc .num { min-width: 40px; color: var(--accent); }
.slogans { display: flex; flex-wrap: wrap; gap: 10px; }
.slogans span { padding: 10px 16px; border: 2px solid #fff; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }

/* Citát */
.quote-block { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.quote-block picture, .quote-block > img { flex: 1 1 360px; max-width: 480px; min-width: 0; }
.quote-block img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.quote-block blockquote { flex: 1 1 520px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 24px; }
.quote-block blockquote p { font-weight: 800; font-stretch: 85%; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.quote-block footer { border-left: 4px solid var(--brand); padding-left: 16px; }
.quote-block cite { font-style: normal; font-weight: 700; font-size: 19px; display: block; }

/* Lidé */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 28px; }
.person { display: flex; flex-direction: column; gap: 14px; }
.person .photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; background: #3A3448; }
.person .ph-initials { display: flex; align-items: flex-end; padding: 16px; color: rgba(255,255,255,.85); font-weight: 800; font-stretch: 80%; font-size: 64px; line-height: .9; }
.person h3 { font-weight: 800; font-size: 20px; line-height: 1.25; }
.person .role { font-size: 15px; color: var(--muted); }
.person .mail { font-size: 15px; }

/* Kraje */
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.regions a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 20px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.regions a:hover { background: var(--brand); color: #fff; }
.regions svg { color: var(--accent); flex-shrink: 0; }
.region-card { padding: 28px 0; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; gap: 16px 40px; scroll-margin-top: 20px; }
.region-card h3 { flex: 1 1 260px; font-weight: 800; font-stretch: 85%; font-size: 26px; text-transform: uppercase; }
.region-card .roles { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 28px; }
.region-card .who { display: flex; gap: 14px; align-items: center; }
.region-card .who img, .region-card .who .ph { width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; }
.region-card .who .ph { display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--muted); font-weight: 800; font-size: 15px; }
.region-card .who strong { display: block; font-size: 17px; }
.region-card .who span { font-size: 14px; color: var(--muted); }

/* Zapojte se */
.join { display: flex; flex-wrap: wrap; }
.join-text { flex: 1 1 560px; min-width: 0; padding: clamp(64px, 8vw, 96px) var(--pad); display: flex; flex-direction: column; gap: 22px; }
.join-text h2 { font-size: clamp(48px, 6vw, 84px); }
.join-text .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.join-photo { flex: 1 1 420px; min-height: 420px; position: relative; }
.join-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ways { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.way { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.way h3 { font-weight: 800; font-stretch: 85%; font-size: 28px; text-transform: uppercase; }
.way p { color: var(--muted); flex-grow: 1; }
.account { display: inline-block; padding: 14px 18px; background: var(--soft); font-weight: 700; font-size: 20px; letter-spacing: .02em; }

/* Formuláře */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select {
  min-height: 52px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 0;
  font: inherit; color: var(--ink); background: #fff; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row > .field { flex: 1 1 220px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #E7F4EA; color: #14532D; }
.form-msg.err { display: block; background: #FBE9EB; color: #7F1420; }
.bg-brand .form-msg.ok, .bg-dark .form-msg.ok { color: #14532D; }

.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.contacts h3 { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.contacts p { color: var(--muted); }

/* Stránková hlavička */
.page-head { background: var(--soft); padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.page-head .lead { margin-top: 18px; max-width: 62ch; }

/* Článek */
.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-weight: 800; font-stretch: 85%; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; margin: 12px 0 20px; }
.article .perex { font-size: 21px; line-height: 1.5; font-weight: 500; margin-bottom: 28px; }
.article figure { margin: 0 0 32px; }
.article figure img { width: 100%; }
.article figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.article .prose { font-size: 18px; line-height: 1.7; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Patička */
.footer { background: var(--ink); color: var(--on-dark); font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer h2 { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .legal { border-top: 1px solid var(--dark-line); padding-top: 20px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer .legal nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* Utility */
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.notice { padding: 16px 18px; background: var(--soft); border-left: 4px solid var(--brand); }
.noscript-hide { }
@media print { .topbar, .header, .footer, .cta-strip, .share { display: none; } }
