/* base */
:root {
  --baza: #f5f3ef;
  --text: #1f2127;
  --tlmeny: #4b4d56;
  --rano: #3b5a9a;
  --den: #e9b64a;
  --vecer: #4a3f6b;
  --akcent: var(--rano);
  --akcent-text: #34508a;
  --ciara: rgba(31, 33, 39, .16);
  --chyba: #a3261d;
  --f-nadpis: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
  --f-text: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
  --okraj: clamp(16px, 4vw, 48px);
  --rezerva: var(--okraj);
  --stlpec: 720px;
  --medzera: clamp(24px, 4vw, 64px);
}

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--baza);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-nadpis);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin-bottom: 8px; }

p { margin: 0 0 1em; max-width: 68ch; }

a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--rano); outline-offset: 3px; }

.s0-skryte {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.s0-preskok {
  position: absolute;
  left: 12px; top: -64px;
  z-index: 70;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
  border-radius: 2px;
  text-decoration: none;
  transition: top .2s ease;
}
.s0-preskok:focus { top: 12px; }

/* buttons and links */
.s0-tlacidlo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 2px;
  background: var(--den);
  color: #1f1d1a;
  font-family: var(--f-nadpis);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.s0-tlacidlo:hover { background: #f1c768; }
.s0-tlacidlo:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18); }
.s0-tlacidlo:focus-visible { outline-color: var(--text); }
.s0-tlacidlo[disabled] { opacity: .7; cursor: progress; }

.s0-odkaz {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--akcent);
  text-decoration-thickness: 2px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.s0-odkaz:hover { color: var(--akcent-text); text-decoration-color: currentColor; }
.s0-odkaz:active { color: var(--text); }

/* header */
.s0-hlavicka {
  padding: 12px var(--rezerva) 8px var(--okraj);
  background: var(--baza);
  border-bottom: 1px solid var(--ciara);
}

.s0-znacka {
  display: flex;
  gap: clamp(28px, 10vw, 180px);
  color: var(--text);
  text-decoration: none;
  border-radius: 2px;
  transition: color .2s ease;
}
.s0-znacka:hover { color: var(--vecer); }
.s0-znacka:active { color: var(--rano); }

.s0-slovo {
  display: flex;
  justify-content: space-between;
  min-width: 0;
  font-family: var(--f-nadpis);
  font-size: clamp(1rem, 2.3vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}
.s0-slovo:first-child { flex: 7 1 0; }
.s0-slovo:last-child { flex: 6 1 0; }

.s0-ponuka ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 22px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: .84rem;
}

.s0-ponuka a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  color: var(--tlmeny);
  text-decoration: none;
  transition: color .2s ease;
}
.s0-ponuka a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}
.s0-ponuka a:hover, .s0-ponuka a:focus-visible, .s0-ponuka a[aria-current="page"] { color: var(--text); }
.s0-ponuka a:hover::after, .s0-ponuka a:focus-visible::after, .s0-ponuka a[aria-current="page"]::after { transform: scaleX(1); }
.s0-ponuka a:active { color: var(--rano); }

.s0-ponuka .s0-vyzva {
  padding: 4px 12px;
  background: var(--text);
  color: #fff;
  border-radius: 2px;
  transition: background-color .2s ease;
}
.s0-ponuka .s0-vyzva::after { display: none; }
.s0-ponuka .s0-vyzva:hover, .s0-ponuka .s0-vyzva:focus-visible { background: var(--vecer); color: #fff; }

/* side navigation */
.s0-stlpec {
  position: fixed;
  top: 50%;
  right: 14px;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translate(14px, -50%);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.s0-zbalene .s0-stlpec {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition: opacity .25s ease, transform .25s ease;
}

.s0-stlpec ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: rgba(245, 243, 239, .95);
  border: 1px solid var(--ciara);
  border-radius: 2px;
}

.s0-stlpec li { --farba: var(--rano); }
.s0-stlpec li:nth-child(3), .s0-stlpec li:nth-child(4) { --farba: #c4912a; }
.s0-stlpec li:nth-child(n+5) { --farba: var(--vecer); }

.s0-stlpec .s0-oddel { height: 1px; margin: 4px 10px; background: var(--ciara); }

.s0-znamka {
  position: relative;
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 9px;
  padding: 5px 12px 5px 10px;
  color: var(--tlmeny);
  font-family: var(--f-nadpis);
  font-size: .92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.s0-znamka:hover { color: var(--text); background: rgba(255, 255, 255, .8); }
.s0-znamka:active { background: #fff; }
.s0-znamka[aria-current="location"] { color: var(--text); background: #fff; }

.s0-plnenie { position: relative; overflow: hidden; background: var(--ciara); }
.s0-plnenie::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--farba);
  transform: scaleY(var(--plnenie, 0));
  transform-origin: top center;
}

.s0-nazov { font-size: .8rem; }

/* shared grid */
.s0-mriezka {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 var(--rezerva) 0 var(--okraj);
}
.s0-mriezka > * { min-width: 0; }

.s0-text { width: 100%; max-width: var(--stlpec); }

/* hero strip */
.s1-pas {
  position: relative;
  overflow: hidden;
  padding: 0 var(--rezerva) 0 var(--okraj);
  border-bottom: 2px solid var(--text);
}

.s1-os { position: relative; height: 76px; }
.s1-os::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 7px;
  background: repeating-linear-gradient(to right, var(--text) 0 1px, transparent 1px calc(100% / 26));
  opacity: .45;
}

.s1-delenie { margin: 0; padding: 0; list-style: none; }

.s1-ciarka {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--i) / 13 * 100%);
  width: 0;
}
.s1-ciarka::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 1px; height: 18px;
  background: var(--text);
}
.s1-ciarka span {
  position: absolute;
  top: 8px; left: 0;
  transform: translateX(-50%);
  font-family: var(--f-nadpis);
  font-size: .8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.s1-ciarka:first-child span { transform: none; }
.s1-ciarka:last-child span { transform: translateX(-100%); }

.s1-rozsah {
  position: absolute;
  left: calc(1.5 / 13 * 100%);
  width: calc(9 / 13 * 100%);
  bottom: 22px;
  height: 6px;
  background: var(--den);
}
.s1-hranica {
  position: absolute;
  bottom: 30px;
  font-family: var(--f-nadpis);
  font-size: .72rem;
  font-weight: 700;
  color: #6b4f10;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.s1-hranica { left: calc(1.5 / 13 * 100%); }
.s1-hranica + .s1-hranica { left: calc(10.5 / 13 * 100%); transform: translateX(-100%); }

.s1-sipka {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(calc(var(--poz, .0769) * 100%));
}
.s1-sipka::before {
  content: "";
  position: absolute;
  left: -1px; bottom: 0;
  width: 2px; height: 30px;
  background: var(--rano);
}
.s1-sipka::after {
  content: "";
  position: absolute;
  left: -7px; bottom: 28px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--rano);
}

.s1-beh .s1-sipka { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.s1-plynule .s1-sipka { transition: transform .3s ease; }
.s1-nabeh .s1-ciarka { animation: s1-zjav .3s ease both; animation-delay: calc(var(--i) * 28ms); }

@keyframes s1-zjav {
  from { opacity: .15; }
  to { opacity: 1; }
}

/* hero body */
.s1-telo { padding-top: clamp(20px, 4vh, 44px); padding-bottom: 56px; }

.s1-okraj {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: 18px;
}

.s1-cas { display: flex; flex-direction: column; margin: 0; }
.s1-cislo {
  font-family: var(--f-nadpis);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--rano);
}
.s1-cas + .s1-cas .s1-cislo { color: var(--vecer); }
.s1-popis { color: var(--tlmeny); font-size: .95rem; }

.s1-titul {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.01em;
}
.s1-riadok { display: block; }

.s1-uvodtext { font-size: 1.12rem; }

.s1-posun {
  margin: 24px 0 22px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ciara);
  border-left: 4px solid var(--rano);
  border-radius: 2px;
}

.s1-volba { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.s1-volba label { font-family: var(--f-nadpis); font-size: 1.1rem; font-weight: 700; }

.s1-vyber, .s9-pole select {
  min-height: 44px;
  padding: 8px 36px 8px 12px;
  border: 1px solid #85828c;
  border-radius: 2px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2127' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text);
  font: inherit;
  appearance: none;
  cursor: pointer;
  transition: border-color .2s ease;
}
.s1-vyber { font-family: var(--f-nadpis); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.s1-vyber:hover, .s9-pole select:hover { border-color: var(--text); }

.s1-rad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 16px 0 12px;
  padding: 0;
  list-style: none;
}
.s1-rad li { min-width: 0; padding-top: 6px; border-top: 1px solid var(--ciara); }
.s1-rad li:nth-child(n+3) { border-top-color: rgba(233, 182, 74, .8); }
.s1-rad li:nth-child(n+5) { border-top-color: rgba(74, 63, 107, .6); }

.s1-krok { display: block; color: var(--tlmeny); font-size: .88rem; }
.s1-hodnota { display: inline-block; overflow: hidden; vertical-align: bottom; }
.s1-cifry {
  display: inline-block;
  font-family: var(--f-nadpis);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.s1-dalsi { display: block; font-size: .78rem; color: var(--vecer); font-weight: 600; }

.s1-koniec { margin: 0; }
.s1-koniec .s1-cifry { font-size: 1.15rem; }
.s1-presah {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #faf2e0;
  border-left: 3px solid var(--den);
  font-size: .96rem;
}

.s1-akcia { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }

.s1-foto { position: relative; margin: 30px 0 0; border-top: 2px solid var(--text); }
.s1-foto::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1;
  height: 8px;
  background: repeating-linear-gradient(to right, var(--text) 0 1px, transparent 1px calc(100% / 13));
  pointer-events: none;
}
.s1-foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(1.03) saturate(.95); }

/* day segments */
.s0-usek {
  position: relative;
  padding: var(--hore, 72px) 0 var(--dole, 72px);
  background: var(--tonus, var(--baza));
  scroll-margin-top: 8px;
}
.s0-usek::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: clamp(40px, calc(100% - var(--stlpec) - var(--rezerva) - var(--medzera) - 24px), 100%);
  height: 2px;
  background: var(--akcent);
}

.s2-potvrdenie { --tonus: #edf0f6; --akcent: var(--rano); --akcent-text: #34508a; --hore: 64px; --dole: 40px; }
.s3-cesta { --tonus: #f0f2f4; --akcent: var(--rano); --akcent-text: #34508a; --hore: 112px; --dole: 96px; }
.s4-diagnostika { --tonus: #f4f2ea; --akcent: var(--den); --akcent-text: #6f5210; --hore: 44px; --dole: 56px; }
.s5-oprava { --tonus: #f7f0e0; --akcent: var(--den); --akcent-text: #6f5210; --hore: 96px; --dole: 72px; }
.s6-skuska { --tonus: #f5ede3; --akcent: var(--vecer); --akcent-text: var(--vecer); --hore: 56px; --dole: 124px; }
.s7-odovzdanie { --tonus: #f2e7df; --akcent: var(--vecer); --akcent-text: var(--vecer); --hore: 84px; --dole: 84px; }
.s8-posuny { --tonus: #efe3dd; --akcent: var(--vecer); --akcent-text: var(--vecer); --hore: 136px; --dole: 96px; }
.s9-termin { --tonus: #ebdfdc; --akcent: var(--vecer); --akcent-text: var(--vecer); --hore: 72px; --dole: 128px; }

.s0-lavy { margin-bottom: 14px; }

.s0-mierka {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
  font-family: var(--f-nadpis);
}
.s0-cas {
  color: var(--akcent-text);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.s0-trvanie { color: var(--tlmeny); font-size: .92rem; font-weight: 400; }
.s0-dalsi { color: var(--vecer); font-size: .85rem; font-weight: 700; }

.s0-snimka { margin: 28px 0 0; max-width: 260px; }
.s0-snimka img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.s0-js .s0-snimka { opacity: 0; transform: translateX(-48px); transition: opacity .4s ease, transform .4s ease; }
.s0-js .s0-snimka.s0-videne { opacity: 1; transform: none; }
.s3-cesta .s0-snimka img { filter: brightness(1.08) saturate(.88) hue-rotate(-8deg); }
.s6-skuska .s0-snimka img { filter: brightness(.92) sepia(.18) saturate(1.1); }

.s0-rozpis {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 24px 0 0;
}
.s0-rozpis dt {
  padding-top: 12px;
  border-top: 1px solid var(--ciara);
  color: var(--akcent-text);
  font-family: var(--f-nadpis);
  font-weight: 700;
}
.s0-rozpis dd { margin: 4px 0 12px; }

.s2-autor {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px solid var(--rano);
}
.s2-monogram {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--rano);
  color: #fff;
  font-family: var(--f-nadpis);
  font-size: 1.35rem;
  font-weight: 700;
}
.s2-meno { margin: 0; font-family: var(--f-nadpis); font-weight: 700; overflow-wrap: anywhere; }
.s2-rola { margin: 0 0 8px; color: var(--tlmeny); font-size: .92rem; }
.s2-autor p:last-child { margin-bottom: 0; }

.s3-zoznam {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--ciara);
  border-radius: 2px;
}
.s3-zoznam li { position: relative; padding: 10px 14px 10px 38px; border-top: 1px solid var(--ciara); }
.s3-zoznam li:first-child { border-top: 0; }
.s3-zoznam li::before {
  content: "";
  position: absolute;
  left: 15px; top: 1.05em;
  width: 10px; height: 10px;
  border: 2px solid var(--rano);
}

.s4-diagnostika h2 { text-align: center; }
.s4-postup { margin: 8px 0 20px; padding-left: 1.4em; }
.s4-postup li { margin-bottom: 8px; padding-left: 4px; }
.s4-postup li::marker { color: var(--akcent-text); font-family: var(--f-nadpis); font-weight: 700; }
.s4-poznamka {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .65);
  border-left: 3px solid var(--den);
}

.s5-oprava h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.s5-obal { margin: 22px 0; overflow-x: auto; }
.s5-tabulka { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .98rem; }
.s5-tabulka th, .s5-tabulka td { padding: 12px 10px; border-bottom: 1px solid var(--ciara); text-align: left; vertical-align: top; }
.s5-tabulka thead th { color: var(--tlmeny); font-family: var(--f-nadpis); font-size: .9rem; border-bottom: 2px solid var(--text); }
.s5-tabulka tbody th { font-family: var(--f-nadpis); font-weight: 700; white-space: nowrap; }
.s5-tabulka td:last-child { color: var(--tlmeny); }

.s6-skuska h2 { text-align: right; }
.s6-dvojica { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; }
.s6-polovica { padding-top: 12px; border-top: 2px solid var(--vecer); }
.s6-polovica p:last-child { margin-bottom: 0; }

.s7-zoznam { margin: 0 0 32px; padding: 0; list-style: none; }
.s7-zoznam li { margin-bottom: 12px; max-width: 68ch; }
.s7-zoznam strong { font-family: var(--f-nadpis); }
.s7-sadzby { width: 100%; border-collapse: collapse; margin: 10px 0 16px; }
.s7-sadzby th, .s7-sadzby td { padding: 12px 10px; border-bottom: 1px solid var(--ciara); text-align: left; vertical-align: top; }
.s7-sadzby thead th { font-family: var(--f-nadpis); font-size: .9rem; color: var(--tlmeny); border-bottom: 2px solid var(--text); }
.s7-sadzby tbody th { font-family: var(--f-nadpis); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s7-sadzby tbody tr:nth-child(1) th { box-shadow: inset 4px 0 0 var(--den); padding-left: 14px; }
.s7-sadzby tbody tr:nth-child(2) th { box-shadow: inset 4px 0 0 var(--vecer); padding-left: 14px; }
.s7-sadzby tbody tr:nth-child(3) th { box-shadow: inset 4px 0 0 var(--text); padding-left: 14px; }
.s7-cena { font-family: var(--f-nadpis); font-weight: 700; font-variant-numeric: tabular-nums; }

.s8-posuny h2 { padding-left: clamp(0px, 8%, 72px); }
.s8-dovody { margin: 28px 0 0; padding: 0; list-style: none; }
.s8-dovod {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--ciara);
}
.s8-dovod:last-child { border-bottom: 1px solid var(--ciara); }
.s8-dovod p { margin-bottom: 0; }
.s8-vidlica {
  color: var(--akcent-text);
  font-family: var(--f-nadpis);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.s8-vidlica small { display: block; color: var(--tlmeny); font-family: var(--f-text); font-size: .85rem; font-weight: 400; }
.s8-foto { margin: 8px 0 28px; border-bottom: 2px solid var(--vecer); }
.s8-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: brightness(.9) sepia(.22) saturate(1.05); }

/* form */
.s9-ziadost {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px 20px;
  margin-top: 24px;
}
.s9-pole { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.s9-pole label { font-family: var(--f-nadpis); font-weight: 700; font-size: .98rem; }
.s9-pole label span { color: var(--tlmeny); font-family: var(--f-text); font-weight: 400; font-size: .88rem; }
.s9-pole input, .s9-pole textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #85828c;
  border-radius: 2px;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.s9-pole select { width: 100%; min-height: 48px; }
.s9-pole textarea { min-height: 120px; resize: vertical; }
.s9-pole input:hover, .s9-pole textarea:hover { border-color: var(--text); }
.s9-pole input:focus-visible, .s9-pole textarea:focus-visible, .s9-pole select:focus-visible {
  outline: 3px solid var(--vecer);
  outline-offset: 1px;
}
.s9-zle input, .s9-zle textarea, .s9-zle select { border-color: var(--chyba); box-shadow: inset 3px 0 0 var(--chyba); }
.s9-chyba { margin: 0; color: var(--chyba); font-size: .9rem; }
.s9-chyba:empty { display: none; }

.s9-suhlas { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.s9-suhlas input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--vecer); }
.s9-suhlas label { font-size: .95rem; }
.s9-suhlas .s9-chyba { grid-column: 2; }

.s9-odoslat { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.s9-stav { margin: 0; font-size: .95rem; }
.s9-stav:empty { display: none; }
.s9-stav.s9-zlyhanie { padding: 10px 12px; background: #fbe9e6; border-left: 3px solid var(--chyba); }

.s9-kontakt { margin-top: 36px; padding-top: 16px; border-top: 2px solid var(--vecer); font-size: .98rem; }
.s9-kontakt a { overflow-wrap: anywhere; }

/* footer */
.s0-pata {
  padding: 56px var(--rezerva) 28px var(--okraj);
  background: #24222b;
  color: #ece9f1;
  font-size: .96rem;
}
.s0-pata a { color: #ece9f1; transition: color .2s ease; }
.s0-pata a:hover { color: var(--den); }
.s0-pata a:active { color: #fff; }
.s0-pata h2 { margin-bottom: 10px; font-size: 1.1rem; }
.s0-stlpce { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.s0-stlpce > * { min-width: 0; }
.s0-udaje p { margin-bottom: .5em; }
.s0-meno { font-family: var(--f-nadpis); font-weight: 700; overflow-wrap: anywhere; }
.s0-odkazy { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.s0-odkazy li { margin-bottom: 6px; break-inside: avoid; }
.s0-odkazy.s0-jeden { columns: 1; }
.s0-pravo { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid rgba(236, 233, 241, .2); color: #bdb8c7; font-size: .88rem; max-width: none; }

/* cookie strip */
.s0-suhlas {
  position: fixed;
  left: 12px; bottom: 12px;
  z-index: 50;
  max-width: min(440px, calc(100% - 24px));
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ciara);
  border-top: 3px solid var(--rano);
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  font-size: .92rem;
}
.s0-suhlas[hidden] { display: none; }
.s0-suhlas p { margin: 0 0 10px; }
.s0-volby { display: flex; gap: 10px; }
.s0-volba {
  flex: 1 1 0;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--text);
  border-radius: 2px;
  background: #fff;
  color: var(--text);
  font-family: var(--f-nadpis);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.s0-volba:hover { background: var(--text); color: #fff; }
.s0-volba:active { transform: translateY(1px); }

/* inner pages */
.s1-hlava { padding: 48px var(--rezerva) 36px var(--okraj); border-bottom: 1px solid var(--ciara); }
.s1-hlava h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; }
.s1-hlava p { margin: 14px 0 0; color: var(--tlmeny); }
.s1-omrvinky ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .88rem; color: var(--tlmeny); }
.s1-omrvinky li + li::before { content: "/"; margin-right: 10px; color: var(--ciara); }
.s1-omrvinky a { color: var(--tlmeny); transition: color .2s ease; }
.s1-omrvinky a:hover { color: var(--text); }

.s2-clanok { padding-top: 40px; padding-bottom: 72px; }
.s2-oddiel { padding-top: 24px; padding-bottom: 24px; }
.s2-oddiel + .s2-oddiel .s0-text { padding-top: 22px; border-top: 1px solid var(--ciara); }
.s2-oddiel h2 { font-size: clamp(1.7rem, 2.6vw, 2rem); }
.s2-oddiel ul, .s2-oddiel ol { max-width: 68ch; padding-left: 1.3em; }
.s2-oddiel li { margin-bottom: 6px; }
.s2-cislo {
  overflow-wrap: anywhere;
  color: var(--akcent-text);
  font-family: var(--f-nadpis);
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.s2-obraz { margin: 26px 0; border-bottom: 2px solid var(--rano); }
.s2-obraz img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.s2-tabulka { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.s2-tabulka th, .s2-tabulka td { padding: 10px; border-bottom: 1px solid var(--ciara); text-align: left; vertical-align: top; }
.s2-tabulka th { font-family: var(--f-nadpis); }
.s2-box { margin: 20px 0; padding: 16px 18px; background: #fff; border: 1px solid var(--ciara); border-left: 4px solid var(--vecer); border-radius: 2px; }
.s2-box p:last-child { margin-bottom: 0; }

/* breakpoints */
@media (min-width: 480px) {
  .s1-okraj { gap: 12px 48px; }
  .s9-ziadost { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s9-siroke { grid-column: 1 / -1; }
}

@media (max-width: 479px) {
  .s1-rad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s1-ciarka span { display: none; }
  .s1-ciarka:nth-child(3n+1) span, .s1-ciarka:last-child span { display: block; }
  .s1-ciarka:nth-child(13) span { display: none; }
  .s0-suhlas { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 10px 12px; font-size: .85rem; }
  .s0-suhlas p { margin-bottom: 8px; }
  .s0-volba { min-height: 40px; }
}

@media (max-width: 639px) {
  .s1-ciarka:nth-child(even) span, .s1-ciarka:nth-child(13) span { display: none; }
  .s1-ciarka:last-child span { display: block; }
  .s0-ponuka ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .s0-ponuka li { flex: 0 0 auto; }
  .s1-hranica { font-size: .66rem; }
}

@media (min-width: 640px) {
  .s0-rozpis { grid-template-columns: minmax(0, 12em) minmax(0, 1fr); column-gap: 24px; }
  .s0-rozpis dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--ciara); }
  .s6-dvojica { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .s8-dovod { grid-template-columns: minmax(0, 9em) minmax(0, 1fr); }
  .s0-stlpce { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .s0-stlpec {
    top: 0; left: 0; right: 0;
    transform: translateY(-100%);
  }
  .s0-zbalene .s0-stlpec { transform: translateY(0); }
  .s0-stlpec ol {
    flex-direction: row;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    border-width: 0 0 1px;
    border-radius: 0;
    scrollbar-width: none;
  }
  .s0-stlpec li { flex: 1 0 auto; }
  .s0-stlpec .s0-oddel { width: 1px; height: auto; margin: 8px 2px; flex: 0 0 1px; }
  .s0-znamka {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 3px;
    gap: 4px;
    padding: 8px 10px 4px;
    font-size: .85rem;
    text-align: center;
  }
  .s0-plnenie { grid-row: 2; }
  .s0-plnenie::after { transform: scaleX(var(--plnenie, 0)); transform-origin: left center; }
  .s0-usek { scroll-margin-top: 56px; }
  .s0-snimka { max-width: 220px; }
}

@media (min-width: 768px) {
  .s0-denny { --rezerva: 112px; }
  .s0-text { margin-left: auto; }
  .s0-lavy, .s1-okraj, .s1-obsah { width: 100%; max-width: var(--stlpec); margin-left: auto; }
  .s0-snimka { margin-left: max(0px, calc(100% - var(--stlpec))); }
}

@media (max-width: 899px) {
  .s1-ciarka:nth-child(13) span { display: none; }
}

@media (min-width: 900px) {
  .s0-stlpce { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  .s1-posun { padding: 20px 24px; }
}

@media (min-width: 1100px) {
  .s0-mriezka {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--stlpec));
    column-gap: var(--medzera);
  }
  .s0-text { grid-column: 2; grid-row: 1 / span 2; margin-left: 0; }
  .s0-lavy { grid-column: 1; grid-row: 1; margin: 6px 0 0; max-width: none; justify-self: end; }
  .s0-mierka { flex-direction: column; align-items: flex-end; text-align: right; }
  .s0-snimka { grid-column: 1; grid-row: 2; justify-self: end; align-self: start; width: min(100%, 240px); margin: 28px 0 0; }
  .s1-okraj {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-end;
    gap: 28px;
    margin: 8px 0 0;
    max-width: none;
    text-align: right;
  }
  .s1-obsah { grid-column: 2; margin-left: 0; }
}

@media (min-width: 1280px) {
  .s0-cas { font-size: 3.2rem; }
  .s0-snimka { width: min(100%, 260px); }
  .s1-uvodtext { font-size: 1.18rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .s0-js .s0-snimka { opacity: 1; transform: none; }
}
