/* base */
:root {
  --s1: #efe1ee;
  --s2: #c79cc4;
  --s3: #8a4a85;
  --s4: #4a1f48;
  --s5: #2f122d;
  --baza: #faf6f9;
  --biela: #ffffff;
  --pismo: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
  --mono: 'Nimbus Mono PS', 'Courier New', monospace;
  --vyska: 68px;
  --rast: 0;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--vyska) + 20px); }

body {
  margin: 0;
  font-family: var(--pismo);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--s4);
  background: var(--baza);
  overflow-x: clip;
}

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

a { color: var(--s3); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color 180ms ease, background-color 180ms ease; }
a:hover { color: var(--s4); text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--s4); outline-offset: 3px; border-radius: 2px; }
a:active { color: var(--s5); background: var(--s1); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; margin: 0 0 .6em; color: var(--s4); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }

.obal1x { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

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

.preskok1x {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--s4); color: var(--biela); padding: 10px 18px; font-weight: 700;
}
.preskok1x:focus { top: 12px; color: var(--biela); }

/* header */
.hlavicka1x {
  position: sticky; top: 0; z-index: 40;
  height: var(--vyska);
  background: var(--baza);
  border-bottom: 6px solid var(--s4);
  box-shadow: 0 4px 0 var(--s2);
}
.hlavicka1x .obal1x { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo3x {
  position: relative; display: block; flex: 0 0 auto;
  width: 250px; height: 100%;
  color: var(--s4); text-decoration: none;
}
.logo3x:hover { color: var(--s4); }
.logo3x:active { background: transparent; }
.logo3x:focus-visible { outline-offset: -4px; }
.ikona1x {
  position: absolute; left: 0; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  border: 2px solid var(--s4);
  transform-origin: left center;
  transform: scale(calc(1 + var(--rast) * .75));
}
.nazov1x {
  position: absolute; left: 38px; top: 50%;
  font-size: 1rem; font-weight: 700; white-space: nowrap; line-height: 1;
  transform-origin: left center;
  transform: translateY(-50%) scale(calc(1 + var(--rast) * .25));
  opacity: clamp(0, calc(1 - var(--rast) * 2.2), 1);
}
.nazov2x {
  position: absolute; left: 60px; top: 50%;
  display: flex; flex-direction: column; white-space: nowrap;
  transform-origin: left center;
  transform: translateY(-50%) scale(calc(.82 + var(--rast) * .18));
  opacity: clamp(0, calc((var(--rast) - .42) * 3), 1);
}
.meno2x { font-size: 1.45rem; font-weight: 700; line-height: 1.02; }
.podnazov1x { font-family: var(--mono); font-size: .74rem; line-height: 1.3; color: var(--s3); }

.navigacia1x ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.odkaz1x {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 10px; color: var(--s4); text-decoration: none; font-weight: 700; font-size: .95rem;
  border-bottom: 3px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}
.odkaz1x:hover { color: var(--s3); border-bottom-color: var(--s2); text-decoration: none; }
.odkaz1x:active { background: var(--s1); }
.stitok1x {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 21px; padding: 0 5px 0 11px;
  font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--s4);
  background: var(--s1); border: 2px solid var(--s3);
  clip-path: polygon(7px 0, 100% 0, 100% 100%, 7px 100%, 0 50%);
  transition: transform 200ms steps(2, end), background-color 200ms ease, color 200ms ease;
}
.stitok1x::before {
  content: ""; position: absolute; left: 5px; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: var(--s4);
}
.odkaz1x:hover .stitok1x { transform: scale(1.08); }
.aktivny1x .stitok1x { transform: scale(1.3); background: var(--s4); color: var(--biela); border-color: var(--s4); }
.aktivny1x .stitok1x::before { background: var(--baza); }
.aktivny1x { color: var(--s4); }
.odkaz1x.aktivny1x:hover .stitok1x { transform: scale(1.38); }

.prepinac1x {
  display: none; position: relative;
  font: 700 .95rem var(--pismo); color: var(--biela); background: var(--s4);
  border: 0; padding: 10px 18px; cursor: pointer;
  transition: background-color 200ms ease;
}
.prepinac1x::before, .prepinac1x::after {
  content: ""; position: absolute; pointer-events: none; border: 2px solid var(--s3); opacity: 0;
  transition: opacity 180ms ease, inset 180ms ease;
}
.prepinac1x::before { inset: -4px; }
.prepinac1x::after { inset: -8px; border-color: var(--s2); transition-delay: 80ms; }
.prepinac1x:hover::before, .prepinac1x:hover::after, .prepinac1x[aria-expanded="true"]::before { opacity: 1; }
.prepinac1x:focus-visible { outline: none; }
.prepinac1x:focus-visible::before { opacity: 1; inset: -6px; border: 4px solid var(--s4); }
.prepinac1x:focus-visible::after { opacity: 0; }
.prepinac1x:active { background: var(--s5); }
.prepinac1x:active::before, .prepinac1x:active::after { inset: 3px; opacity: .6; border-color: var(--baza); }

.panel1x {
  position: fixed; left: 0; right: 0; top: var(--vyska); bottom: 0; z-index: 39;
  background: var(--baza); visibility: hidden; overflow: auto;
  display: flex; align-items: flex-end; padding: 36px clamp(16px, 4vw, 40px);
  transition: visibility 0s linear 420ms;
}
.panel1x.otvoreny1x { visibility: visible; transition-delay: 0s; }
.vrstva1x {
  position: absolute; top: 0; right: 0; border-style: solid; pointer-events: none;
  transform-origin: top right; transform: scale(0);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1);
}
.vrstva1x:nth-child(1) { width: 26%; height: 22%; border-width: 14px; border-color: var(--s4); }
.vrstva1x:nth-child(2) { width: 50%; height: 44%; border-width: 16px; border-color: var(--s3); transition-delay: 60ms; }
.vrstva1x:nth-child(3) { width: 75%; height: 70%; border-width: 18px; border-color: var(--s2); transition-delay: 120ms; }
.vrstva1x:nth-child(4) { width: 100%; height: 100%; border-width: 22px; border-color: var(--s1); transition-delay: 180ms; }
.otvoreny1x .vrstva1x { transform: scale(1); }
.zoznam2x {
  position: relative; z-index: 2; list-style: none; margin: 0; padding: 18px 22px;
  width: min(100%, 440px); background: var(--baza);
  opacity: 0; transform: translateY(10px);
  transition: opacity 220ms ease 240ms, transform 220ms ease 240ms;
}
.otvoreny1x .zoznam2x { opacity: 1; transform: none; }
.zoznam2x .odkaz1x { font-size: 1.45rem; padding: 10px 4px; }
.zoznam2x .stitok1x { height: 26px; min-width: 38px; font-size: .9rem; }

/* buttons */
.tlacidlo1x, .tlacidlo2x {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font: 700 1.02rem/1.2 var(--pismo); text-decoration: none; cursor: pointer;
  padding: 15px 28px; border: 0;
  transition: background-color 200ms ease, color 200ms ease;
}
.tlacidlo1x { background: var(--s4); color: var(--biela); }
.tlacidlo2x { background: transparent; color: var(--s4); box-shadow: inset 0 0 0 2px var(--s3); padding: 11px 20px; font-size: .95rem; }
.tlacidlo1x::before, .tlacidlo1x::after, .tlacidlo2x::before, .tlacidlo2x::after {
  content: ""; position: absolute; pointer-events: none; border: 2px solid var(--s3); opacity: 0;
  transition: opacity 160ms ease, inset 200ms ease, border-color 200ms ease;
}
.tlacidlo1x::before, .tlacidlo2x::before { inset: -3px; }
.tlacidlo1x::after, .tlacidlo2x::after { inset: -6px; border-color: var(--s2); }
.tlacidlo2x::before, .tlacidlo2x::after { border-width: 1px; }
.tlacidlo1x:hover, .tlacidlo2x:hover { color: var(--biela); text-decoration: none; }
.tlacidlo2x:hover { color: var(--s4); background: var(--s1); }
.tlacidlo1x:hover::before, .tlacidlo2x:hover::before { opacity: 1; }
.tlacidlo1x:hover::after, .tlacidlo2x:hover::after { opacity: 1; transition-delay: 110ms; }
.tlacidlo1x:focus-visible, .tlacidlo2x:focus-visible { outline: none; }
.tlacidlo1x:focus-visible::before, .tlacidlo2x:focus-visible::before { opacity: 1; inset: -6px; border-width: 4px; border-color: var(--s4); }
.tlacidlo1x:focus-visible::after, .tlacidlo2x:focus-visible::after { opacity: 0; }
.tlacidlo1x:active { background: var(--s5); color: var(--biela); }
.tlacidlo2x:active { background: var(--s2); color: var(--s5); }
.tlacidlo1x:active::before, .tlacidlo1x:active::after, .tlacidlo2x:active::before, .tlacidlo2x:active::after {
  inset: 4px; opacity: .55; border-color: var(--baza); transition-delay: 0s;
}
.tlacidlo1x[disabled] { background: var(--s3); cursor: progress; }

/* hero */
.uvod1x { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 60px) 0 clamp(70px, 9vw, 120px); }
.ramy1x { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ram1x, .ram2x, .ram3x, .ram4x { position: absolute; border-style: solid; transform-origin: left bottom; }
.ram4x { left: 0; bottom: 0; width: calc(100% + 60px); height: 94%; border-width: 24px; border-color: var(--s4); }
.ram3x { left: 34px; bottom: 34px; width: 74%; height: 72%; border-width: 20px; border-color: var(--s3); }
.ram2x { left: 64px; bottom: 64px; width: 50%; height: 48%; border-width: 18px; border-color: var(--s2); }
.ram1x { left: 90px; bottom: 90px; width: 28%; height: 26%; border-width: 14px; border-color: var(--s1); }
.vstup2x .ram1x, .vstup2x .ram2x, .vstup2x .ram3x, .vstup2x .ram4x { animation: rozvin1x 300ms cubic-bezier(.2,.7,.2,1) both; }
.vstup2x .ram2x { animation-delay: 100ms; }
.vstup2x .ram3x { animation-delay: 200ms; }
.vstup2x .ram4x { animation-delay: 300ms; }
@keyframes rozvin1x { from { transform: scale(.04); opacity: .3; } to { transform: none; opacity: 1; } }

.horny1x { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 56px); align-items: end; }
.horny1x > * { min-width: 0; }
.blok1x { background: rgba(250, 246, 249, .96); padding: clamp(16px, 2.6vw, 30px); box-shadow: inset 8px 0 0 var(--s3); }
.blok1x h1 { margin-bottom: .35em; }
.perex1x { font-size: clamp(1.05rem, 1.3vw, 1.18rem); }
.akcie1x { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 22px; }
.akcie1x a:not([class]) { font-weight: 700; }

.meradlo1x {
  position: relative; margin-top: clamp(28px, 4vw, 48px);
  background: var(--baza); border: 4px solid var(--s4);
  padding: 18px clamp(12px, 2.4vw, 32px) 14px;
}
.meradlo1x > h2 { font-size: 1rem; font-family: var(--mono); font-weight: 700; margin-bottom: 14px; color: var(--s3); }
.rozmery1x, .prahy1x, .pas1x, .popisy1x { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rozmer1x {
  display: flex; align-items: center; gap: 6px; margin: 0 1px;
  font-family: var(--mono); font-size: .82rem; font-weight: 700; white-space: nowrap; color: var(--s4);
  background:
    linear-gradient(var(--s4), var(--s4)) left center / 2px 16px no-repeat,
    linear-gradient(var(--s4), var(--s4)) right center / 2px 16px no-repeat;
  padding: 0 2px; min-width: 0;
}
.rozmer1x::before, .rozmer1x::after { content: ""; flex: 1; height: 2px; background: var(--s4); min-width: 6px; }
.prahy1x { margin-top: 10px; }
.prah1x {
  justify-self: start; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.prah1x::after { content: ""; width: 3px; height: 14px; background: var(--s4); margin-top: 2px; }
.cislo1x { font-family: var(--mono); font-weight: 700; font-size: clamp(1.9rem, 4.3vw, 4.1rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--s4); }
.jednotka1x { font-family: var(--mono); font-size: .74rem; line-height: 1.2; color: var(--s3); white-space: nowrap; }
.pas1x { position: relative; height: 36px; border: 3px solid var(--s4); }
.pas1x::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(74, 31, 72, .55) 0 2px, transparent 2px 14px);
}
.usek1x { min-width: 0; }
.ton1x { background: var(--s1); }
.ton2x { background: var(--s2); }
.ton3x { background: var(--s3); }
.ton4x { background: var(--s4); }
.pas1x .ton3x, .pas1x .ton4x { box-shadow: inset 0 9px 0 rgba(255,255,255,.12); }
.popisy1x { list-style: none; margin: 10px 0 0; padding: 0; text-align: center; }
.popisy1x li {
  justify-self: center; font-family: var(--mono); font-weight: 700; font-size: 1.25rem; line-height: 1;
  padding: 6px 12px 6px 18px; border: 2px solid var(--s4); background: var(--biela);
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
}

/* image frames */
.ramik1x { position: relative; margin: 0; padding: 26px 30px 0 0; }
.ramik1x img { width: 100%; border: 10px solid var(--s3); object-fit: cover; background: var(--s1); }
.vynaska1x, .vynaska2x { position: absolute; background: var(--s4); pointer-events: none; }
.vynaska1x { left: 0; right: 30px; top: 11px; height: 2px; }
.vynaska2x { top: 26px; bottom: 0; right: 11px; width: 2px; }
.vynaska1x::before, .vynaska1x::after, .vynaska2x::before, .vynaska2x::after {
  content: ""; position: absolute; background: var(--s4);
}
.vynaska1x::before, .vynaska1x::after { top: -7px; width: 2px; height: 16px; transform: rotate(35deg); }
.vynaska1x::before { left: 0; }
.vynaska1x::after { right: 0; }
.vynaska2x::before, .vynaska2x::after { left: -7px; width: 16px; height: 2px; transform: rotate(35deg); }
.vynaska2x::before { top: 0; }
.vynaska2x::after { bottom: 0; }
.vynaska1x span, .vynaska2x span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--mono); font-weight: 700; font-size: .8rem; line-height: 1;
  background: var(--baza); color: var(--s4); padding: 2px 6px;
}
.ramik1x figcaption { font-size: .9rem; color: var(--s3); margin-top: 8px; }

/* sections */
.sekcia1x { position: relative; isolation: isolate; overflow: hidden; }
.sekcia1x .obal1x { position: relative; z-index: 1; }
.mriezka1x { display: grid; gap: 0 clamp(18px, 2.4vw, 32px); }
.uzka35x .mriezka1x { grid-template-columns: minmax(0, 35fr) 64px minmax(0, 65fr); --os: 35%; }
.siroka65x .mriezka1x { grid-template-columns: minmax(0, 65fr) 64px minmax(0, 35fr); --os: 65%; }
.stlpec1x, .stlpec2x { min-width: 0; }

.os1x { position: relative; min-height: 240px; overflow: hidden; }
.os1x::before {
  content: ""; position: absolute; left: 50%; top: 16px; bottom: 16px; width: 8px; margin-left: -4px;
  background: linear-gradient(to top, var(--s1) 0 25%, var(--s2) 25% 50%, var(--s3) 50% 75%, var(--s4) 75% 100%);
}
.os1x::after {
  content: ""; position: absolute; left: 50%; top: 16px; bottom: 16px; width: 22px; margin-left: -11px;
  background: repeating-linear-gradient(to top, var(--s4) 0 2px, transparent 2px 22px);
  -webkit-mask: linear-gradient(90deg, #000 0 6px, transparent 6px 16px, #000 16px);
  mask: linear-gradient(90deg, #000 0 6px, transparent 6px 16px, #000 16px);
}
.ciarka1x {
  position: absolute; left: 0; bottom: calc(16px + var(--p) * (100% - 32px)); transform: translateY(50%);
  font-family: var(--mono); font-size: .72rem; font-weight: 700; color: var(--s3); background: var(--baza); padding: 0 2px; z-index: 1;
}
.kolaj1x { position: absolute; left: 50%; top: 16px; bottom: 16px; width: 0; }
.draha1x {
  position: absolute; inset: 0;
  transform: translateY(calc((1 - var(--poz, 0)) * 100%));
  transition: transform 700ms cubic-bezier(.3,.8,.25,1);
}
.bod1x {
  position: absolute; left: -12px; top: -12px; width: 24px; height: 24px;
  background: var(--s4); border: 4px solid var(--baza); box-shadow: 0 0 0 3px var(--s4);
}

.odhal1x .mriezka1x { transition: clip-path 420ms cubic-bezier(.4,0,.2,1); }
.skript1x .odhal1x:not(.videny1x) .mriezka1x {
  clip-path: inset(0 calc(100% - var(--os) - 32px) 0 calc(var(--os) - 32px));
}

.dekor1x, .dekor2x, .dekor3x { position: absolute; z-index: 0; pointer-events: none; }
.dekor1x {
  width: clamp(220px, 34vw, 520px); aspect-ratio: 1;
  box-shadow: inset 0 0 0 22px var(--s1), inset 0 0 0 44px var(--baza), inset 0 0 0 62px var(--s2), inset 0 0 0 86px var(--baza), inset 0 0 0 100px var(--s1);
}
.dekor2x {
  width: clamp(260px, 42vw, 680px); height: clamp(180px, 26vw, 420px);
  box-shadow: inset 0 0 0 24px var(--s2), inset 0 0 0 52px var(--baza), inset 0 0 0 68px var(--s1);
}
.dekor3x { width: clamp(160px, 22vw, 320px); aspect-ratio: 1; border: 18px solid var(--s1); }

.pozn1x { font-size: .92rem; color: var(--s3); }

/* section: stupen */
.urovne2x { padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.urovne2x .dekor1x { right: -14vw; top: -6vw; }

.urcenie1x { background: var(--biela); border: 4px solid var(--s4); padding: clamp(18px, 2.6vw, 32px); }
.pole2x { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 18px; }
.pole2x label { display: block; font-weight: 700; margin-bottom: 6px; }
.pole2x input {
  width: 180px; font: 700 1.6rem var(--mono); color: var(--s4); padding: 8px 12px;
  border: 3px solid var(--s3); background: var(--baza); font-variant-numeric: tabular-nums;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.pole2x input:hover { border-color: var(--s4); }
.pole2x input:focus-visible { outline: none; border-color: var(--s4); box-shadow: 0 0 0 4px var(--s2); }
.vysledok1x { margin-top: 22px; border-top: 4px solid var(--s1); padding-top: 20px; min-height: 120px; }
.vysledok1x[data-stav="prazdny"] .postup1x, .vysledok1x[data-stav="prazdny"] .prenos1x { display: none; }
.hlavicka2x { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.stupen1x {
  font-family: var(--mono); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1;
  min-width: 2.2ch; text-align: center; padding: 6px 12px; background: var(--s4); color: var(--biela);
}
.postup1x { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0 0 18px; }
.postup1x div { min-width: 0; border-left: 4px solid var(--s2); padding-left: 12px; }
.postup1x dt { font-size: .85rem; color: var(--s3); font-weight: 700; }
.postup1x dd { margin: 0; }

/* section: male */
.male2x { padding: clamp(40px, 5vw, 70px) 0 clamp(80px, 10vw, 140px); }
.male2x .dekor2x { left: -10vw; bottom: -4vw; }
.karty2x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 26px; align-items: start; }
.stupen3x {
  position: relative; min-width: 0; background: var(--biela); padding: 22px 22px 24px;
  border: 4px solid var(--s2);
  outline: 3px solid transparent; outline-offset: 0;
  transition: outline-offset 240ms ease, outline-color 240ms ease;
}
.stupen3x:hover { outline-color: var(--s3); outline-offset: 6px; }
.stupen3x + .stupen3x { border-color: var(--s3); }
.pismeno1x { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(3.6rem, 6.6vw, 5.6rem); line-height: .9; color: var(--s4); }
.rozsah1x { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .85rem; background: var(--s1); padding: 3px 8px; margin: 10px 0 14px; }
.udaje1x { margin: 16px 0 0; display: grid; gap: 10px; }
.udaje1x div { border-top: 2px solid var(--s1); padding-top: 8px; }
.udaje1x dt { font-weight: 700; font-size: .9rem; }
.udaje1x dd { margin: 0; }
.stupen3x ul { margin: 0; }

/* section: velke */
.velke2x { padding: clamp(90px, 11vw, 150px) 0 clamp(50px, 6vw, 80px); background: linear-gradient(180deg, var(--baza) 0 0, var(--s1) 0) top / 100% 14px no-repeat, var(--baza); }
.velke2x .dekor1x { right: -16vw; bottom: -10vw; }
.karty3x { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 30px; }
.tmavy1x { background: var(--s4); color: var(--biela); border-color: var(--s4); }
.tmavy1x .pismeno1x, .tmavy1x h3 { color: var(--biela); }
.tmavy1x .rozsah1x { background: var(--s3); color: var(--biela); }
.tmavy1x .udaje1x div { border-top-color: var(--s3); }
.stupen3x.tmavy1x:hover { outline-color: var(--s2); }
.pruh1x { margin: 0 0 18px; border-top: 14px solid var(--s3); padding-top: 14px; }

.autor1x { background: var(--biela); border: 4px solid var(--s4); padding: 22px; margin-top: 8px; }
.monogram1x {
  display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 14px;
  font-family: var(--mono); font-weight: 700; font-size: 1.9rem; color: var(--s4);
  background: var(--s1);
  box-shadow: inset 0 0 0 6px var(--s2), inset 0 0 0 12px var(--s1), inset 0 0 0 16px var(--s3);
}
.autor1x h3 { margin-bottom: .2em; }
.rola1x { font-size: .9rem; color: var(--s3); font-weight: 700; margin-bottom: 12px; }

/* section: narast */
.narast2x { padding: clamp(70px, 8vw, 110px) 0; background: var(--s4); color: var(--biela); }
.narast2x h2, .narast2x h3 { color: var(--biela); }
.narast2x a { color: var(--s1); }
.narast2x a:hover { color: var(--biela); }
.narast2x a:focus-visible { outline-color: var(--biela); }
.narast2x .os1x::before { background: linear-gradient(to top, var(--s3) 0 50%, var(--s2) 50%); }
.narast2x .os1x::after { background: repeating-linear-gradient(to top, var(--s1) 0 2px, transparent 2px 22px); }
.narast2x .ciarka1x { background: var(--s4); color: var(--s2); }
.narast2x .bod1x { background: var(--baza); border-color: var(--s4); box-shadow: 0 0 0 3px var(--baza); }
.narast2x .dekor3x { left: -6vw; top: -6vw; border-color: var(--s3); }
.nadpis3x { text-align: center; margin: 0 auto clamp(30px, 4vw, 50px); max-width: 26ch; }
.pravidla1x { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pravidlo1x { padding: 20px 0 22px 22px; border-left: 6px solid var(--s2); position: relative; }
.pravidlo1x + .pravidlo1x { border-top: 2px solid var(--s3); }
.pravidlo1x:nth-child(2) { border-left-color: var(--s3); margin-left: 18px; }
.pravidlo1x:nth-child(3) { border-left-color: var(--s1); }
.pravidlo1x:nth-child(4) { border-left-color: var(--baza); margin-left: 30px; }
.pravidlo1x h3 { margin-bottom: .3em; }
.pravidlo1x p { margin-bottom: .4em; }
.zhrnutie1x { border: 4px solid var(--s3); padding: 20px; box-shadow: inset 0 0 0 6px var(--s4), inset 0 0 0 9px var(--s3); }

/* section: dopyt */
.dopyt2x { padding: clamp(60px, 7vw, 100px) 0 clamp(70px, 8vw, 110px); }
.dopyt2x .dekor2x { right: -14vw; top: 10%; }
.kontakt1x { font-size: 1rem; }
.kontakt1x .velke1x { font-weight: 700; font-size: 1.15rem; word-break: break-word; }
.ramec6x {
  background: var(--biela); border: 18px solid var(--s4); padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 0 0 8px var(--s2), 0 0 0 16px var(--s1);
  margin: 16px;
}
.mriezka2x { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.mriezka2x > * { min-width: 0; }
.cela1x { grid-column: 1 / -1; }
.pole1x label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 5px; }
.pole1x input, .pole1x select, .pole1x textarea {
  width: 100%; font: 400 1rem var(--pismo); color: var(--s4); padding: 11px 12px;
  border: 2px solid var(--s3); background: var(--baza); border-radius: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.pole1x textarea { min-height: 120px; resize: vertical; }
.pole1x input:hover, .pole1x select:hover, .pole1x textarea:hover { border-color: var(--s4); }
.pole1x input:focus-visible, .pole1x select:focus-visible, .pole1x textarea:focus-visible { outline: none; border-color: var(--s4); box-shadow: 0 0 0 4px var(--s2); background: var(--biela); }
.zvyraz1x input { background: var(--s1); }
.napoveda1x { font-size: .85rem; color: var(--s3); margin: 4px 0 0; }
.chyba1x { display: block; font-size: .88rem; font-weight: 700; color: #8f1d3a; margin-top: 4px; }
.chyba1x:empty { display: none; }
.zle1x input, .zle1x select, .zle1x textarea { border-color: #8f1d3a; box-shadow: inset 4px 0 0 #8f1d3a; }
.suhlas2x { display: flex; gap: 10px; align-items: flex-start; }
.suhlas2x input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--s4); flex: 0 0 auto; }
.suhlas2x label { font-weight: 400; }
.suhrn1x { border: 3px solid #8f1d3a; background: #fbecef; color: #6d1630; padding: 12px 14px; margin: 18px 0 0; font-weight: 700; }
.suhrn1x:empty { display: none; }
.odoslat1x { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

/* section: cennik */
.cennik2x { padding: clamp(50px, 6vw, 80px) 0 clamp(80px, 9vw, 130px); border-top: 12px solid var(--s2); }
.cennik2x .dekor3x { right: -5vw; bottom: -5vw; border-color: var(--s1); border-width: 26px; }
.posuv1x { overflow-x: auto; border: 4px solid var(--s4); background: var(--biela); }
.tabulka7x { width: 100%; min-width: 600px; border-collapse: collapse; font-size: .95rem; }
.tabulka7x th, .tabulka7x td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--s1); }
.tabulka7x thead th { background: var(--s4); color: var(--biela); font-family: var(--mono); font-size: 1.3rem; line-height: 1; padding-top: 14px; padding-bottom: 14px; }
.tabulka7x thead th:first-child { font-family: var(--pismo); font-size: .9rem; }
.tabulka7x thead small { display: block; font-size: .72rem; font-weight: 400; margin-top: 4px; }
.tabulka7x tbody th { font-weight: 700; width: 30%; }
.tabulka7x td + td, .tabulka7x th + td { border-left: 2px solid var(--s1); }
.skupina1x th { background: var(--s1); font-size: .85rem; color: var(--s4); padding-top: 8px; padding-bottom: 8px; }
.prazdna1x { background: repeating-linear-gradient(135deg, transparent 0 7px, var(--s1) 7px 9px); }
.tabulka7x tbody tr { transition: transform 300ms ease, opacity 300ms ease; transition-delay: calc(var(--r, 0) * 45ms); }
.skript1x .odhal2x:not(.videny1x) .tabulka7x tbody tr { opacity: 0; transform: scale(.96); }
.odhal2x .stlpec2x { transition: opacity 360ms ease 200ms; }
.skript1x .odhal2x:not(.videny1x) .stlpec2x { opacity: 0; }
.tip1x { border-left: 8px solid var(--s3); background: var(--s1); padding: 14px 16px; margin: 0 0 16px; }
.tip1x p:last-child { margin-bottom: 0; }

/* floating tag */
.visacka1x {
  position: fixed; right: 14px; top: calc(var(--vyska) + 18px); z-index: 30;
  display: flex; align-items: center; gap: 10px;
  font: 700 .9rem var(--pismo); color: var(--biela); background: var(--s4);
  border: 0; padding: 9px 16px 9px 22px; cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  transition: background-color 200ms ease, transform 200ms ease;
}
.visacka1x[hidden] { display: none; }
.visacka1x::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--baza); margin-left: -8px; }
.visacka1x b { font-family: var(--mono); font-size: 1.3rem; }
.visacka1x:hover { background: var(--s3); transform: translateX(-3px); }
.visacka1x:focus-visible { outline: 4px solid var(--s2); outline-offset: 3px; }
.visacka1x:active { background: var(--s5); transform: none; }

/* cookie */
.suhlas1x {
  position: fixed; left: 14px; bottom: 14px; z-index: 50; max-width: min(420px, calc(100% - 28px));
  background: var(--biela); border: 4px solid var(--s4); box-shadow: 8px 8px 0 -4px var(--s1);
  padding: 16px 18px; font-size: .92rem;
}
.suhlas1x[hidden] { display: none; }
.suhlas1x p { margin-bottom: 12px; }
.volby1x { display: flex; gap: 12px; flex-wrap: wrap; }
.volby1x button { flex: 1 1 120px; padding: 10px 14px; }

/* footer */
.pata1x { background: var(--s4); color: var(--s1); padding: 56px 0 26px; border-top: 10px solid var(--s2); font-size: .95rem; }
.pata1x a { color: var(--biela); }
.pata1x a:hover { color: var(--s2); }
.pata1x a:focus-visible { outline-color: var(--biela); }
.pata1x a:active { background: var(--s3); }
.stlpce1x { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.stlpce1x > * { min-width: 0; }
.pata1x h2 { color: var(--biela); font-size: 1.1rem; margin-bottom: 10px; }
.vlastnik1x p { margin-bottom: 6px; }
.odkazy1x { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kopirajt1x { margin-top: 36px; padding-top: 16px; border-top: 2px solid var(--s3); font-family: var(--mono); font-size: .85rem; }

/* inner pages */
.titul1x { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(34px, 5vw, 60px); border-bottom: 6px solid var(--s4); }
.titul1x .ramy1x .ram4x { height: 90%; }
.titul1x .ram3x { width: 60%; height: 64%; }
.titul1x .ram2x { width: 38%; height: 42%; }
.titul1x .ram1x { width: 18%; height: 22%; }
.titul1x .blok1x { max-width: 820px; }
.titul1x h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.omrvinky1x ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 14px; font-family: var(--mono); font-size: .82rem; }
.omrvinky1x li + li::before { content: "/"; padding: 0 8px; color: var(--s3); }

.clanok1x { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); position: relative; isolation: isolate; overflow: hidden; }
.clanok1x .dekor2x { right: -18vw; top: 30%; opacity: .7; }
.rozlozenie1x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(26px, 4vw, 60px); align-items: start; }
.rozlozenie1x > * { min-width: 0; }
.text1x h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-top: 1.4em; }
.text1x h2:first-child { margin-top: 0; }
.text1x li { margin-bottom: .4em; max-width: 66ch; }
.bocny1x { background: var(--biela); border: 4px solid var(--s4); padding: 20px; box-shadow: 0 0 0 6px var(--baza), 0 0 0 10px var(--s2); margin: 10px; }
.bocny1x h2 { font-size: 1.15rem; }
.bocny1x ul { padding-left: 1.1em; margin: 0 0 12px; }

.oddiel2x { background: var(--biela); border: 4px solid var(--s3); padding: clamp(18px, 2.6vw, 30px); margin: 0 0 26px; }
.oddiel2x:nth-of-type(3n+2) { border-color: var(--s4); box-shadow: inset 0 0 0 5px var(--s1); }
.oddiel2x:nth-of-type(3n) { border-color: var(--s2); }
.oddiel2x h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-top: 0; }
.oddiel2x p:last-child, .oddiel2x ul:last-child { margin-bottom: 0; }
.sirka1x { max-width: 560px; }
.sirka2x { max-width: 780px; }
.sirka3x { max-width: 1000px; }
.obsah2x { border: 4px solid var(--s4); background: var(--s1); padding: 16px 20px; margin-bottom: 30px; max-width: 780px; }
.obsah2x h2 { font-size: 1.1rem; margin-bottom: 8px; }
.obsah2x ol { margin: 0; columns: 2; column-gap: 30px; }

.faq1x { border-top: 3px solid var(--s2); }
.faq1x details { border-bottom: 3px solid var(--s2); }
.faq1x summary { cursor: pointer; font-weight: 700; padding: 14px 4px; list-style-position: outside; transition: color 180ms ease, background-color 180ms ease; }
.faq1x summary:hover { color: var(--s3); background: var(--s1); }
.faq1x summary:focus-visible { outline: 3px solid var(--s4); outline-offset: 2px; }
.faq1x summary:active { background: var(--s2); }
.faq1x details p { padding: 0 4px 10px; }

.chyba404x { font-family: var(--mono); font-weight: 700; font-size: clamp(5rem, 16vw, 11rem); line-height: .9; color: var(--s2); margin: 0 0 10px; }

/* responsive */
@media (max-width: 1280px) {
  .uzka35x .mriezka1x { grid-template-columns: minmax(0, 36fr) 56px minmax(0, 64fr); }
  .siroka65x .mriezka1x { grid-template-columns: minmax(0, 63fr) 56px minmax(0, 37fr); }
}

@media (max-width: 1100px) {
  .navigacia1x { display: none; }
  .prepinac1x { display: inline-flex; }
  .karty2x, .karty3x { grid-template-columns: minmax(0, 1fr); }
  .stlpce1x { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stlpce1x > :first-child { grid-column: 1 / -1; }
  .postup1x { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .horny1x { grid-template-columns: minmax(0, 1fr); }
  .horny1x .ramik1x { max-width: 560px; }
  .uzka35x .mriezka1x, .siroka65x .mriezka1x { grid-template-columns: minmax(0, 1fr); --os: 0%; }
  .os1x { order: -1; min-height: 0; height: 46px; margin-bottom: 28px; }
  .os1x::before { left: 16px; right: 16px; top: 50%; bottom: auto; width: auto; height: 8px; margin: -4px 0 0; background: linear-gradient(to right, var(--s1) 0 25%, var(--s2) 25% 50%, var(--s3) 50% 75%, var(--s4) 75% 100%); }
  .os1x::after { left: 16px; right: 16px; top: 50%; bottom: auto; width: auto; height: 22px; margin: -11px 0 0; background: repeating-linear-gradient(to right, var(--s4) 0 2px, transparent 2px 22px); -webkit-mask: linear-gradient(#000 0 6px, transparent 6px 16px, #000 16px); mask: linear-gradient(#000 0 6px, transparent 6px 16px, #000 16px); }
  .narast2x .os1x::before { background: linear-gradient(to right, var(--s3) 0 50%, var(--s2) 50%); }
  .narast2x .os1x::after { background: repeating-linear-gradient(to right, var(--s1) 0 2px, transparent 2px 22px); }
  .ciarka1x { left: calc(16px + var(--p) * (100% - 32px)); bottom: auto; top: 0; transform: translateX(-50%); }
  .kolaj1x { left: 16px; right: 16px; top: 50%; bottom: auto; width: auto; height: 0; }
  .draha1x { transform: translateX(calc(var(--poz, 0) * 100%)); }
  .skript1x .odhal1x:not(.videny1x) .mriezka1x { clip-path: inset(0 0 calc(100% - 60px) 0); }
  .stlpec1x + .os1x + .stlpec2x, .os1x + .stlpec2x { margin-top: 26px; }
  .os1x + .stlpec1x + .stlpec2x { margin-top: 0; }
  .stlpec2x { margin-top: 26px; }
  .rozlozenie1x { grid-template-columns: minmax(0, 1fr); }
  .pravidlo1x:nth-child(2), .pravidlo1x:nth-child(4) { margin-left: 0; }
}

@media (max-width: 768px) {
  .dekor1x, .dekor2x, .dekor3x { opacity: .55; }
  .ram3x { width: 86%; }
  .ram2x { width: 62%; }
  .ram1x { width: 40%; }
  .obsah2x ol { columns: 1; }
}

@media (max-width: 640px) {
  :root { --vyska: 64px; }
  .logo3x { width: 196px; }
  .meno2x { font-size: 1.25rem; }
  .podnazov1x { font-size: .66rem; }
  .nazov2x { left: 54px; }
  .mriezka2x { grid-template-columns: minmax(0, 1fr); }
  .stlpce1x { grid-template-columns: minmax(0, 1fr); }
  .ramec6x { border-width: 12px; margin: 10px 8px; box-shadow: 0 0 0 5px var(--s2), 0 0 0 10px var(--s1); }
  .ram3x { left: 18px; bottom: 18px; }
  .ram2x { left: 34px; bottom: 34px; }
  .ram1x { left: 48px; bottom: 48px; }
  .ram4x { border-width: 16px; }
  .ram3x { border-width: 14px; }
  .ram2x { border-width: 12px; }
  .ram1x { border-width: 10px; }
  .popisy1x li { font-size: 1rem; padding: 5px 8px 5px 14px; }
  .rozmer1x { font-size: .7rem; gap: 3px; }
  .visacka1x { padding: 7px 12px 7px 20px; font-size: .82rem; }
}

@media (max-width: 480px) {
  .akcie1x .tlacidlo1x { width: 100%; }
  .meradlo1x { padding-left: 14px; padding-right: 14px; }
  .jednotka1x { font-size: .64rem; }
  .pole2x input { width: 100%; }
  .stupen3x { padding: 18px 16px; }
  .tabulka7x { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-property: color, background-color, border-color !important; transition-duration: 150ms !important; transition-delay: 0s !important; }
  .skript1x .odhal1x:not(.videny1x) .mriezka1x { clip-path: none; }
  .skript1x .odhal2x:not(.videny1x) .tabulka7x tbody tr, .skript1x .odhal2x:not(.videny1x) .stlpec2x { opacity: 1; transform: none; }
  .vrstva1x { transform: none; }
  .zoznam2x { opacity: 1; transform: none; }
}
