/* =====================================================================
   DOMINIK SUMBAL — DEMOKRATI
   Farby, písmo a logo podľa Design Manuálu DEMOKRATI.
   Štruktúra/layout podľa mockupu a referenčných stránok.
   Mobile-first.
   ===================================================================== */

:root {
  /* --- Farby loga (Design Manual) --- */
  --purple:      #50168e;
  --pink:        #fd0c5c;
  --cyan:        #13e5da;
  --white:       #ffffff;

  /* --- Doplnkové farby (Design Manual) --- */
  --purple-deep: #280b47; /* tmavé pozadie */
  --mint-1:      #d3efed;
  --mint-2:      #e5f5f4;
  --sand:        #efe1ca;
  --cream:       #f9f3ea; /* svetlé pozadie sekcií */

  /* --- Sémantické (odvodené) --- */
  --ink:         #1b1320; /* takmer čierna s nádychom fialovej */
  --ink-soft:    #5b5566;
  --gold:        #e6b53d; /* verdikt: čiastočne (text na tmavom) */

  /* --- Stavové odtiene (odvodené z brand farieb) --- */
  --pink-700:    #e10852; /* hover na ružovej */
  --pink-300:    #ff5e8f; /* ružová na tmavom pozadí (text/badge) */

  /* --- Layout --- */
  --maxw: 1160px;
  --pad: 1.25rem;
  --radius: 4px;
  --header-h: 64px;

  --shadow: 0 18px 50px -20px rgba(40, 11, 71, 0.45);
  --ease: cubic-bezier(.22, 1, .36, 1); /* ease-out-quint */

  --ff: "Montserrat", "Segoe UI", Arial, sans-serif;
  --ff-display: "Baloo 2", "Montserrat", "Segoe UI", Arial, sans-serif; /* teplý zaoblený rez podľa letáku (nadpis) */
}

/* ------------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important;
    transition-duration: .001ms !important;
  }
}

/* Globálny indikátor zamerania klávesnicou (a11y) */
:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 2px;
}

body {
  margin: 0;
  font-family: var(--ff);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: .5rem; left: .5rem; width: auto; height: auto;
  clip: auto; background: var(--pink); color: #fff; padding: .6rem 1rem;
  z-index: 1000; border-radius: var(--radius);
}

/* ------------------------------ Typografia ------------------------------ */
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; margin: 0 0 1rem;
}
.eyebrow-cyan { color: var(--cyan); }
.eyebrow-line { color: var(--pink); display: flex; align-items: center; gap: .8rem; }
.eyebrow-line::before { content: ""; width: 2.2rem; height: 2px; background: var(--pink); }

.section-title {
  font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 1.5rem;
  text-transform: none;
}
.section-title.light { color: var(--white); }

.accent-grad {
  background: linear-gradient(100deg, var(--pink) 0%, var(--purple) 55%, var(--cyan) 110%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ------------------------------ Tlačidlá ------------------------------ */
.btn {
  display: inline-block; font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: .9rem 1.6rem; min-height: 44px; border-radius: var(--radius); border: 0; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  line-height: 1.2;
}
.btn-accent { background: var(--pink); color: var(--white); }
.btn-accent:hover { background: var(--pink-700); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(253,12,92,.7); }
.btn-outline, .btn-outline-dark { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.btn-outline:hover, .btn-outline-dark:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }

/* =============================== HEADER =============================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--purple-deep);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.wordmark {
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  font-size: .9rem; color: var(--white); text-decoration: none; white-space: nowrap;
}
.wordmark span { color: var(--pink); }

.nav-desktop { display: none; gap: 1.6rem; }
.nav-desktop a {
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .82rem;
  letter-spacing: .05em; transition: color .15s ease;
}
.nav-desktop a:hover { color: var(--cyan); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
.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; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: flex; flex-direction: column; gap: .25rem; padding: .5rem var(--pad) 1.25rem; background: var(--purple-deep); }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { color: #fff; text-decoration: none; font-weight: 600; padding: .7rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-mobile .btn { margin-top: .75rem; text-align: center; border-bottom: 0; }

/* =============================== HERO =============================== */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(19,229,218,.18), transparent 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(253,12,92,.22), transparent 50%),
    linear-gradient(160deg, var(--purple-deep) 0%, var(--purple) 100%);
  padding: 1.75rem 0 3rem;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; }

.hero-title {
  font-family: var(--ff-display);
  font-weight: 600; font-size: clamp(2.1rem, 7.2vw, 3.5rem); line-height: 1.08;
  letter-spacing: -.01em; margin: 0 0 1.5rem; display: flex; flex-direction: column; color: var(--white);
  overflow-wrap: break-word;
}
.hero-title .hl-strong { font-weight: 800; }
.hero-title .struck { color: rgba(255,255,255,.32); text-decoration: line-through; text-decoration-thickness: .04em; }
.hero-sub { font-size: 1.05rem; max-width: 32rem; color: rgba(255,255,255,.85); margin: 0 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
/* Vstupná animácia hero sekcie (iba opacity/transform, ease-out) */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy .eyebrow,
.hero-title span,
.hero-sub,
.hero-photo { animation: heroRise .7s var(--ease) both; }
.hero-copy .eyebrow              { animation-delay: .05s; }
.hero-title span:nth-child(1)    { animation-delay: .15s; }
.hero-title span:nth-child(2)    { animation-delay: .25s; }
.hero-title span:nth-child(3)    { animation-delay: .35s; }
.hero-sub                        { animation-delay: .50s; }
.hero-photo                      { animation-delay: .20s; animation-duration: .9s; }

/* "Zdravý rozum." sa každých ~10s jemne strasie (po dobehnutí vstupnej animácie) */
@keyframes shakeRozum {
  0%, 86%, 100% { transform: translateX(0) rotate(0deg); }
  88% { transform: translateX(-4px) rotate(-2deg); }
  90% { transform: translateX(4px)  rotate(2deg); }
  92% { transform: translateX(-3px) rotate(-1.5deg); }
  94% { transform: translateX(3px)  rotate(1.5deg); }
  96% { transform: translateX(-2px) rotate(-1deg); }
  98% { transform: translateX(0)    rotate(0deg); }
}
.hero-title span.hl-strong {
  transform-origin: left center;
  animation: heroRise .7s var(--ease) .35s both,
             shakeRozum 10s ease-in-out 2.5s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-title span.hl-strong { animation: heroRise .7s var(--ease) .35s both; }
}

.hero-photo { margin: 0; container-type: inline-size; position: relative; }
/* Číslo kandidáta (ako na letáku) — kruh v rohu fotky */
.hero-num {
  position: absolute; top: -0.9rem; right: -0.9rem; z-index: 2;
  width: 27cqw; height: 27cqw; min-width: 96px; min-height: 96px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--purple-deep);
  border: 4px solid transparent;
  background-image:
    linear-gradient(var(--purple-deep), var(--purple-deep)),
    linear-gradient(135deg, var(--pink), var(--cyan));
  background-origin: border-box; background-clip: padding-box, border-box;
  color: var(--white); font-weight: 800; font-size: 13cqw; line-height: 1;
  letter-spacing: -.02em; box-shadow: 0 14px 30px -12px rgba(0,0,0,.7);
}
.hero-img {
  width: 100%; height: auto; aspect-ratio: 681 / 1024; max-height: 50vh;
  object-fit: cover; object-position: 50% 16%;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
}
/* Meno = rovnako široké ako fotka (škáluje sa s jej šírkou) */
.hero-name {
  margin: .6rem 0 0; font-weight: 800; font-size: 11.6cqw; line-height: 1.04;
  letter-spacing: -.02em; white-space: nowrap; text-align: center;
}

/* =============================== KOALIČNÝ PRUH =============================== */
.coalition-bar { background: var(--pink); color: var(--white); padding: .85rem 0; }
.coalition-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .4rem 1.4rem; text-align: center;
}
.coalition-bar-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.coalition-lockup { height: 24px; width: auto; display: block; }
@media (min-width: 720px) {
  .coalition-bar { padding: 1.5rem 0; }
  .coalition-bar-inner { flex-wrap: nowrap; justify-content: center; gap: 2rem; }
  .coalition-bar-label { font-size: .74rem; }
  .coalition-lockup { height: 36px; }
}

/* =============================== PRÍBEH =============================== */
.story { background: var(--cream); padding: 4.5rem 0; }
.story-intro { max-width: 38rem; font-size: 1.15rem; margin-bottom: 3.5rem; }
.story-intro p { margin: 0 0 1.1rem; }
.story-intro strong { color: var(--purple); }
.story-intro .btn { margin-top: 1rem; }

.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
.chapter { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(40,11,71,.12); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter-num { font-weight: 800; font-size: clamp(2.5rem, 9vw, 4rem); color: rgba(80,22,142,.16); line-height: .9; }
.chapter-body h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin: .2rem 0 1rem; font-weight: 800; }
.chapter-body blockquote {
  margin: 0 0 1rem; font-size: clamp(1.3rem, 4.5vw, 1.9rem); font-weight: 600; font-style: italic;
  line-height: 1.25; letter-spacing: -.01em;
}
.chapter-body p { margin: 0; color: var(--ink-soft); max-width: 40rem; }

/* =============================== SĽUBY =============================== */
.promises {
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(80,22,142,.5), transparent 60%),
    var(--purple-deep);
  color: var(--white); padding: 4.5rem 0;
}
.promises-sub { max-width: 34rem; color: rgba(255,255,255,.7); margin: 0 0 2.5rem; }

.promise-table { width: 100%; border-collapse: collapse; }

/* Mobil (default): každý sľub ako čitateľná karta — žiadne horizontálne scrollovanie */
.promise-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.promise-table tbody tr {
  display: block; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.12);
}
.promise-table tbody tr:first-child { border-top: 0; padding-top: 0; }
.promise-table th[scope="row"] { display: block; text-align: left; font-weight: 800; font-size: 1.15rem; line-height: 1.2; padding: 0 0 .6rem; }
.promise-table td { display: block; padding: 0; color: rgba(255,255,255,.78); font-size: .98rem; }
.promise-table td:empty { display: none; } /* prázdny stĺpec Zdroj sa na mobile neukazuje */
.promise-table td:last-child { margin-top: .9rem; }

.badge { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .7rem; border-radius: var(--radius); white-space: nowrap; }
.badge-broken { background: rgba(253,12,92,.16); color: var(--pink-300); border: 1px solid rgba(253,12,92,.5); }
.badge-partial { background: rgba(184,134,11,.18); color: var(--gold); border: 1px solid rgba(184,134,11,.55); }
.badge-forgotten { background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.18); }

.promises-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; font-size: .8rem; color: rgba(255,255,255,.5); }
.promises-foot a { color: var(--cyan); }

/* =============================== VIDEÁ / OBSAH =============================== */
.content { background: var(--mint-2); padding: 4.5rem 0; }
.cards { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -24px rgba(40,11,71,.55); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--purple); color: #fff; border-radius: var(--radius); font-size: 1.4rem; margin-bottom: .75rem; }
.card:nth-child(2) .card-icon { background: var(--pink); }
.card:nth-child(3) .card-icon { background: #0f9f98; } /* tmavšia tyrkysová pre kontrast bielej ikony */
.card-label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin: 0; }
.card-title { font-size: 1.3rem; font-weight: 800; line-height: 1.15; margin: .25rem 0 .5rem; }
.card-text { margin: 0; color: var(--ink-soft); }
.card-note { margin: auto 0 0; padding-top: .9rem; font-style: italic; color: var(--ink-soft); font-size: .9rem; border-top: 1px solid rgba(40,11,71,.1); }

/* =============================== KTO SOM / ABOUT =============================== */
.about { background: var(--cream); padding: 4.5rem 0; }
.about-inner { max-width: 60rem; margin-inline: auto; }
.about-lead { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 600; color: var(--ink); line-height: 1.4; margin: 0 0 2rem; }
.about-body p { margin: 0 0 1.15rem; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.7; }
.about-body strong { color: var(--purple); }

.about-quote {
  margin: 2.25rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 4px solid var(--pink);
  font-family: var(--ff-display); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(1.6rem, 4.8vw, 2.4rem); line-height: 1.15; color: var(--purple);
}

.about-values {
  margin: 2.5rem 0; padding: 1.5rem 1.75rem; background: var(--white);
  border-radius: var(--radius); border-left: 4px solid var(--cyan);
  box-shadow: var(--shadow); font-size: 1.06rem; color: var(--ink-soft); line-height: 1.6;
}
.about-values strong { display: block; margin-top: .4rem; color: var(--purple); font-size: clamp(1.15rem, 3vw, 1.35rem); font-weight: 800; }

.about-steps { list-style: none; margin: 2.5rem 0; padding: 0; display: grid; gap: .85rem; }
.about-steps li {
  display: flex; align-items: center; gap: 1rem; background: var(--white);
  border-radius: var(--radius); padding: .95rem 1.2rem; box-shadow: var(--shadow);
  font-weight: 700; font-size: 1.1rem; color: var(--ink);
}
.about-steps li span {
  flex: none; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; font-weight: 800;
}

.about-close { margin: 2.5rem 0 0; font-size: clamp(1.15rem, 3vw, 1.3rem); font-weight: 600; color: var(--ink); line-height: 1.5; }

@media (min-width: 720px) {
  .about-steps { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* =============================== PRIORITY PRE PETRŽALKU =============================== */
.priorities { background: var(--mint-2); padding: 4.5rem 0; }
.card-num {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--purple); color: #fff; border-radius: var(--radius);
  font-size: 1.35rem; font-weight: 800; margin-bottom: .75rem;
}
.card:nth-child(2) .card-num { background: var(--pink); }
.card:nth-child(3) .card-num { background: #0f9f98; } /* tmavšia tyrkysová pre kontrast bielej */
.priorities-close {
  max-width: 44rem; margin: 2.75rem 0 0; font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 600; line-height: 1.35; letter-spacing: -.01em;
}
.priorities-close strong { color: var(--purple); }

/* =============================== PREČO TO ROBÍM =============================== */
.why {
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(253,12,92,.22), transparent 55%),
    linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white); padding: 4.5rem 0;
}
.why-lead { max-width: 40rem; margin-bottom: 3rem; }
.why-lead p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin: 0 0 1.1rem; }
.why-lead strong { color: var(--white); }
.why-lead .btn { margin-top: 1rem; }

.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.why-list li {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  padding: 1.75rem; border-radius: var(--radius);
}
.why-list h3 { margin: 0 0 .8rem; font-size: 1.15rem; font-weight: 800; }
.why-list h3::before {
  content: ""; display: block; width: 2rem; height: 3px; margin-bottom: .9rem;
  background: var(--pink); border-radius: 2px;
}
.why-list p { margin: 0; color: rgba(255,255,255,.72); }

/* =============================== PRIDAJ SA / FOOTER =============================== */
.join {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(19,229,218,.16), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(253,12,92,.2), transparent 55%),
    linear-gradient(200deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white); padding: 5rem 0 0;
}
.join-inner { text-align: center; }
.join-title { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.4rem, 9vw, 4.5rem); line-height: 1.05; letter-spacing: -.01em; margin: 0 auto 1.25rem; display: flex; flex-direction: column; }
/* "spolu." nech je hrdé a výrazné — jasný pink→cyan prechod, žiadne splývanie s pozadím */
.join-title .accent-grad {
  background: linear-gradient(96deg, var(--pink) 0%, #ff6aa0 42%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.join-lead { max-width: 32rem; margin: 0 auto 2rem; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.join-mail {
  display: inline-block; margin: 0 auto 2.5rem; max-width: 100%; overflow-wrap: normal;
  font-weight: 800; font-size: clamp(1.1rem, 3.6vw, 1.6rem); color: var(--white); text-decoration: none;
  padding: .8rem 1.5rem; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius);
  background: rgba(255,255,255,.06); transition: border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.join-mail:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.join-form { display: flex; flex-wrap: wrap; gap: .75rem; max-width: 30rem; margin: 0 auto 2.5rem; justify-content: center; }
.join-form input[type="email"] {
  flex: 1 1 14rem; min-width: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: .85rem 1.1rem; border-radius: var(--radius); font: inherit;
}
.join-form input::placeholder { color: rgba(255,255,255,.5); }
.join-form input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
.form-status { flex-basis: 100%; margin: .25rem 0 0; font-size: .85rem; min-height: 1.1em; }
.form-status.ok { color: var(--cyan); }
.form-status.err { color: var(--pink-300); }

.socials { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: center; padding: 0; margin: 0 0 3.5rem; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .5rem; color: rgba(255,255,255,.8); text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; transition: color .15s var(--ease); }
.socials a:hover { color: var(--cyan); }

.site-footer { border-top: 1px solid rgba(255,255,255,.12); padding: 2.5rem 0; }
.footer-inner { display: grid; gap: 2rem; text-align: center; }
.footer-logo { height: 38px; width: auto; margin: 0 auto .75rem; }
.footer-name { display: inline-block; font-weight: 800; font-size: 1.2rem; margin: 0; color: inherit; text-decoration: none; transition: color .15s var(--ease); }
.footer-name:hover { color: var(--cyan); }
.footer-tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: .35rem 0 0; }
.footer-socials { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; justify-content: center; padding: 0; margin: .9rem 0 0; }
.footer-socials a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255,255,255,.8); text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .15s var(--ease); }
.footer-socials a:hover { color: var(--cyan); }
@media (min-width: 720px) { .footer-socials { justify-content: flex-start; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; justify-content: center; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; transition: color .15s var(--ease); }
.footer-nav a:hover { color: var(--cyan); }
.footer-meta { font-size: .78rem; color: rgba(255,255,255,.45); }
.footer-meta p { margin: .25rem 0; }

/* Koalícia + povinné politické oznámenie */
.footer-legal { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.coalition { margin: 0 0 .6rem; font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.7); }
.coalition strong { color: rgba(255,255,255,.9); font-weight: 700; }
.disclosure { margin: 0; font-size: .72rem; line-height: 1.5; color: rgba(255,255,255,.4); }

/* =============================== BREAKPOINTS =============================== */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }

  /* Tablet/desktop: skutočná tabuľka */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .promise-table { min-width: 640px; }
  .promise-table thead { position: static; width: auto; height: auto; clip: auto; }
  .promise-table thead th {
    text-align: left; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
    color: rgba(255,255,255,.5); font-weight: 600; padding: 0 1rem 1rem 0; vertical-align: bottom;
  }
  .promise-table tbody tr { display: table-row; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .promise-table tbody tr:first-child { padding-top: 0; }
  .promise-table th[scope="row"] { display: table-cell; font-size: 1rem; padding: 1.4rem 1rem 1.4rem 0; vertical-align: top; width: 26%; }
  .promise-table td { display: table-cell; padding: 1.4rem 1rem 1.4rem 0; vertical-align: top; font-size: .95rem; }
  .promise-table td:empty { display: table-cell; }
  .promise-table td:last-child { margin-top: 0; }
  .footer-inner { grid-template-columns: 1fr auto 1fr; align-items: center; text-align: left; }
  .footer-brand { text-align: left; }
  .footer-logo { margin-inline: 0; }
  .footer-meta { text-align: right; }
}

@media (min-width: 920px) {
  :root { --pad: 2rem; }
  .nav-desktop { display: flex; }
  .header-cta { display: inline-block; }
  .nav-toggle, .nav-mobile { display: none; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-grid { grid-template-columns: clamp(260px, 26vw, 360px) 1.1fr; align-items: center; gap: 3rem; }
  /* Foto + meno sa musí zmestiť nad fold aj na desktope */
  .hero-img { max-height: 56vh; }
  .story, .promises, .content, .why, .priorities, .about { padding: 6rem 0; }
  .chapter { grid-template-columns: 6rem 1fr; gap: 1rem 2.5rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .why-list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
