/* zacoplatim.cz – vzhled podle wireframu (Claude artefakt, stav 13. 11. 2026). */

:root {
  --pozadi: #ffffff;
  --text: #1a1a1a;
  --text-tlumeny: #3a3a36;
  --text-popis: #4a4a46;
  --cara: #d6d6d1;
  --modra: #1964ac;
  --modra-tmava: #0f4a82;
  --zelena: #dcebcb;
  --levandulova: #e2e6f4;
  --oranzova: #f4dec4;
  --sirka: 1120px;
  /* Písmo zatím systémové. Quicksand z wireframu by se musel nahrát přímo na web (bez Google Fonts). */
  --pismo: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pismo-nadpisy: Quicksand, var(--pismo);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--pozadi);
  color: var(--text);
  font-family: var(--pismo);
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--modra); }
a:hover { color: var(--modra-tmava); }
:focus-visible { outline: 3px solid var(--modra); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.2; margin: 0; }
h1, h2 { font-family: var(--pismo-nadpisy); font-weight: 700; }
p { margin: 0; }

.preskocit { position: absolute; left: -9999px; }
.preskocit:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Tlačítka */
.tlacitko {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0;
  background: #fff; color: var(--text);
  font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer;
}
.tlacitko:hover { background: #eef3f9; }
.tlacitko-obrys { background: transparent; border: 1.5px solid #fff; color: #fff; }
.tlacitko-obrys:hover { background: rgba(255, 255, 255, 0.12); }
.tlacitko[data-stav="hotovo"] { background: #fff; color: var(--text); }
.tlacitko-modre {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--modra); color: #fff !important;
  text-decoration: none; font-weight: 600;
}
.tlacitko-modre:hover { background: var(--modra-tmava); }

/* Horní lišta */
.lista {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e2de;
}
.lista-vnitrek {
  max-width: var(--sirka); margin: 0 auto; padding: 10px 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
}
.nazev { font-family: var(--pismo-nadpisy); font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; }
.menu a:not(.tlacitko-modre) { display: none; color: var(--text); text-decoration: none; }
.menu a:not(.tlacitko-modre):hover { text-decoration: underline; }
@media (min-width: 720px) { .menu { gap: 24px; } .menu a:not(.tlacitko-modre) { display: inline; } }

/* Hlavní obsah */
main {
  max-width: calc(var(--sirka) + 40px); margin: 0 auto;
  padding: 40px 16px 48px;
  display: flex; flex-direction: column; gap: 56px;
}
@media (min-width: 720px) { main { padding: 64px 20px 64px; gap: 72px; } }

.uvod { display: flex; flex-direction: column; gap: 20px; }
.uvod h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; }
.perex { font-size: 19px; color: #333330; max-width: 620px; }

.sekce { display: flex; flex-direction: column; gap: 24px; }
.sekce h2, .proc h2 { font-size: clamp(26px, 4vw, 34px); }
.text-sirka { max-width: 760px; }

/* Karty */
.karty { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }

.karta { border-radius: 22px; padding: 24px; background: var(--zelena); }
.karta:nth-child(even) { background: var(--levandulova); }
.karta summary {
  list-style: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px;
}
.karta summary::-webkit-details-marker { display: none; }
.karta h3 { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--text-tlumeny); }
.karta-perex { font-family: var(--pismo-nadpisy); font-size: 21px; font-weight: 700; line-height: 1.3; }

.vice { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-size: 16px; font-weight: 700; color: var(--modra); }
.vice-text::after { content: "Více"; }
.karta[open] .vice-text::after { content: "Méně"; }
.vice svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.karta[open] .vice svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .vice svg { transition: none; } }

.karta-obsah { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #262624; }
.karta-cislo { font-weight: 600; }
.karta-cislo strong { font-family: var(--pismo-nadpisy); font-size: 26px; font-weight: 700; }

.zdroj { font-size: 14px; color: var(--text-popis); }

/* Kolik platím */
.castky { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.castky > div { display: flex; flex-direction: column; gap: 4px; font-size: 16px; color: #333330; }
.castka { font-family: var(--pismo-nadpisy); font-size: 48px; font-weight: 700; line-height: 1.1; color: var(--text); }
.castka-modra { color: var(--modra); }
.odkazy { font-weight: 600; }

/* Proč poplatek */
.proc { background: var(--oranzova); border-radius: 28px; padding: 32px 22px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 720px) { .proc { padding: 44px 40px; } }

/* FAQ */
.faq-hlavicka { display: flex; flex-direction: column; gap: 6px; }
.aktualizace { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555550; }
.aktualizace svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq { display: flex; flex-direction: column; border-bottom: 1px solid var(--cara); }
.faq details { border-top: 1px solid var(--cara); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 40px 18px 0; min-height: 44px;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--modra);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; font-size: 16px; color: #262624; max-width: 820px; }

/* Sdílení */
.sdileni {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--modra); color: #fff; border-radius: 28px; padding: 32px 22px;
}
.sdileni h2 { font-family: var(--pismo-nadpisy); font-size: 30px; }
.sdileni p { margin-top: 6px; font-size: 17px; }
.sdileni-tlacitka { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 720px) { .sdileni { padding: 40px 36px; } }

/* Patička */
.paticka {
  max-width: calc(var(--sirka) + 40px); margin: 0 auto; padding: 0 16px 48px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; color: var(--text-popis);
}
@media (min-width: 720px) { .paticka { padding: 0 20px 64px; } }
