/* Podstránky (ochrana osobných údajov, cookies, 404).
   Hlavička, pätička a mobilné menu sú prevzaté 1:1 z index.html (riadky 56-147 a 825-916).
   Pri zmene hlavičky alebo pätičky v index.html uprav aj tento súbor. */

@font-face { font-family: 'Noka'; src: url('../font/noka-light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Noka'; src: url('../font/noka-medium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Noka'; src: url('../font/noka-semibold.otf') format('opentype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Noka'; src: url('../font/noka-bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Noka'; src: url('../font/noka-black.otf') format('opentype'); font-weight: 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: 'Noka', 'Nunito', sans-serif; color: #1a2a1a; overflow-x: hidden; }
p, .o-mne-text, .aktuality-text, .podporte-desc, .card-overlay p,
.footer-tagline, .program-intro, .footer-copy, .stat-desc { font-family: 'Nunito', sans-serif; }

h1, h2, h3, h4, h5, h6,
.hero-name, .hero-subtitle,
.section-heading, .vysledky-title, .vysledky-eyebrow,
.pilier-badge, .aktuality-badge,
.podporte-title, .cta-card-title,
.stat-num, .logo-zkr, .logo-sub,
nav li > a,
.btn-pride, .btn-odoslat, .card-viac,
.footer-col h4 {
  font-family: 'Noka', 'Nunito', sans-serif;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

:root {
  --sage:       #dde8cb;
  --teal:       #28887a;
  --teal-dark:  #1a5a50;
  --green-mid:  #82b44a;
  --golden:     #e5b85a;
  --btn-red:    #d04428;
  --slg-orange: #e5a030;
  --slg-green:  #58aa38;
}

/* ─── HEADER ──────────────────────────────────────────── */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  height: 76px;
  display: flex;
  align-items: center;
}

.logo { display: flex; flex-direction: row; align-items: center; gap: 12px; line-height: 1; flex-shrink: 0; }
.logo-zkr-img { height: 38px; width: auto; display: block; }
.logo-sub { font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #999; line-height: 1.55; max-width: 90px; }

nav { margin-left: auto; margin-right: 28px; }
nav ul { list-style: none; display: flex; align-items: stretch; }
nav li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
  height: 76px;
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
  transition: background .15s;
}
nav li > a:hover { background: rgba(40,136,122,.07); }
nav li.nav-cta > a {
  background: var(--golden);
  color: #fff;
  padding: 0 20px;
}
nav li.nav-cta > a:hover { background: #d4a840; }

.header-social { display: flex; gap: 10px; }
.soc-btn {
  width: 40px; height: 40px;
  border: 2px solid #222;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
}
.soc-btn:hover { border-color: var(--teal); }


/* ─── FOOTER ──────────────────────────────────────────── */
footer { background: var(--teal-dark); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 80px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .logo-zkr-img { height: 46px; }
.footer-brand .logo-sub { color: rgba(255,255,255,.35); }
.footer-tagline { color: rgba(255,255,255,.42); font-size: 13px; line-height: 1.65; }
.footer-col h4 {
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.48); font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: rgba(255,255,255,.28); font-size: 12.5px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.28); font-size: 12.5px; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* ─── HAMBURGER ──────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0;
  background: #fff;
  z-index: 199;
  flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Noka', sans-serif;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.mobile-menu a.mobile-cta {
  margin-top: 16px;
  background: var(--golden);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  border-bottom: none;
  padding: 16px;
}


/* ─── PODSTRÁNKA: DOKUMENT ───────────────────────────── */
.doc {
  background: var(--sage);
  padding: 72px 28px 96px;
}
.doc-inner {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 56px 64px;
}
.doc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.doc h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.doc-date { font-size: 14px; color: #6b7b6b; margin-bottom: 40px; }
.doc h2 {
  font-size: 20px;
  color: var(--teal-dark);
  margin: 40px 0 14px;
}
.doc p, .doc li, .doc td, .doc th {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--teal-dark); }
.doc-table { width: 100%; overflow-x: auto; margin-top: 8px; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(26,90,80,.12); font-size: 15px; }
.doc th { font-family: 'Noka', 'Nunito', sans-serif; font-weight: 700; color: var(--teal-dark); background: rgba(221,232,203,.45); }
.doc-back {
  display: inline-block;
  margin-top: 48px;
  padding: 14px 26px;
  border-radius: 8px;
  background: var(--golden);
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Noka', 'Nunito', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 14px;
}
.doc-back:hover { background: #d4a840; }

/* ─── RESPONZIVITA (z index.html, len časti hlavičky a pätičky) ─── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  nav { display: none; }
  .header-social { display: none; }
  .nav-hamburger { display: flex; }
  .doc-inner { padding: 40px 32px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 0 20px; }
  .footer-inner { padding: 48px 20px 28px; }
  .footer-top { gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .doc { padding: 24px 12px 56px; }
  .doc-inner { padding: 32px 20px; border-radius: 16px; }
}
