/* =========================================================
   REBIT — úvodná stránka, návrh 1
   Dizajnový jazyk: dlaždice zo zajačika „b" (sklon, bruško, oko)
   ========================================================= */

/* ---------- Písma (self-host, latin + latin-ext) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-italic.woff2") format("woff2");
  font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Adventor"; src: url("../fonts/adventor-bold.woff2") format("woff2");
  font-weight: 700; font-display: swap; }
@font-face { font-family: "Adventor"; src: url("../fonts/adventor-regular.woff2") format("woff2");
  font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans.woff2") format("woff2");
  font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("../fonts/dancingscript.woff2") format("woff2");
  font-weight: 400 700; font-display: swap; }

/* ---------- Tokeny ---------- */
:root {
  --blue: #55A8DD;
  --pink: #D9348C;
  --pink-d: #C42A7C;
  --navy: #0E1321;
  --purple: #3F1C53;
  --slate: #71A5BA;
  --mint: #6FBC9E;
  --yellow: #F7F192;
  --orange: #EB9E58;
  --bg: #F4F7FB;
  --white: #fff;
  --muted: #4A4560;

  --tilt: -13deg;                 /* sklon zajačika z loga */
  --untilt: calc(var(--tilt) * -1);
  --belly: 120px;                 /* veľký oblý roh „bruška" */

  --shadow:
    0 1px 2px rgb(27 20 64 / .06),
    0 10px 24px -8px rgb(27 20 64 / .20),
    0 34px 60px -24px rgb(27 20 64 / .30);
  --shadow-sm:
    0 1px 2px rgb(27 20 64 / .08),
    0 8px 18px -8px rgb(27 20 64 / .25);
  --drop: drop-shadow(0 10px 14px rgb(27 20 64 / .16)) drop-shadow(0 30px 40px rgb(27 20 64 / .18));

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-head: "Adventor", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --f-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Dancing Script", cursive;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 76px;
}
@media (max-width: 860px) {
  :root { --tilt: -6deg; --belly: 64px; --header-h: 64px; }  /* mobil: miernejší sklon */
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--navy);
  font: 400 1.0625rem/1.65 var(--f-body);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font: 700 clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem)/1.08 var(--f-head); letter-spacing: -.01em; text-wrap: balance; }
h3 { font: 700 1.35rem/1.2 var(--f-head); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.display {
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.2rem); line-height: .98; text-transform: uppercase;
  letter-spacing: -.01em; text-wrap: balance; margin-bottom: .35em;
}
.display__fit { display: block; font-size: .88em; }   /* anglický nadpis: tri riadky ako v slovenčine */
.eyebrow { font: 700 .82rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-d); margin-bottom: .9em; }
.script { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1 var(--f-script); color: var(--pink); margin-bottom: .2em; }
.script--light { color: var(--yellow); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 34ch; }

/* =========================================================
   DLAŽDICE — šikmý tvar bez obrysu, moderný tieň
   ========================================================= */
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  transform: skewX(var(--tilt));
  border-radius: 5px 8px 5px 5px;
  background: var(--fill, var(--white));
  box-shadow: var(--shadow);
}
/* fotka vnútri je narovnaná späť a zväčšená, aby pokryla šikmé rohy */
.tile > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: skewX(var(--untilt)) scale(var(--cover, 1.28));
}
.tile--brusko { border-radius: 5px 26px var(--belly) 5px; }    /* bruško: 1 veľký oblý roh vpravo dole */
.tile--ucho   { border-radius: 5px 8px 5px 5px; --cover: 1.55; } /* ucho: vysoký rovnobežník */

/* ---------- Tlačidlá = „uško" ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  transform: skewX(var(--tilt)); border-radius: 4px 4px 16px 4px;
  padding: .85em 1.5em; min-height: 48px;
  font: italic 800 .95rem/1 var(--f-display); font-stretch: 112%; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  transition: translate .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn > span { display: block; transform: skewX(var(--untilt)); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 10px 22px -10px rgb(217 52 140 / .7); }
.btn--primary:hover { background: var(--pink-d); translate: 0 -2px; box-shadow: 0 16px 26px -12px rgb(217 52 140 / .8); }
.btn--ghost { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { translate: 0 -2px; }
.btn--lg { font-size: 1.05rem; padding: 1em 1.8em; }

/* ---------- Čipy / fakty = „okienka" ---------- */
.chips, .facts { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.chips li, .facts li {
  transform: skewX(var(--tilt)); border-radius: 3px 3px 10px 3px;
  padding: .35em .8em; font-size: .85rem; font-weight: 600; background: var(--white); box-shadow: var(--shadow-sm);
}
.chips li { color: var(--purple); }
.facts li { background: #E6F1FA; box-shadow: none; color: var(--navy); }
.facts li:nth-child(2) { background: #FCFAD9; }
.facts li:nth-child(3) { background: #E3F3EC; }

/* =========================================================
   HLAVIČKA
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(244 247 251 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { --lh: 34px; position: relative; display: block; flex: none; }
.logo img { height: var(--lh); width: auto; }
/* „Skischool“ pod logom: začína pod „e“, končí na predĺženej šikmej hrane „i“ (podiely šírky loga); písmo loga prevedené na krivky */
.logo .logo__sub { display: block; width: calc(var(--lh) * 1237 / 231 * .5659); height: auto; margin: calc(var(--lh) * .16) 0 0 calc(var(--lh) * 1237 / 231 * .2418); }
/* animované SVG logo: presne na mieste statického, nad ním miesto na poskok zajačika */
.logo-svg {
  position: absolute; pointer-events: none; overflow: visible;
  left: calc(var(--lh) * -42 / 224); top: calc(var(--lh) * -292 / 224);
  width: calc(var(--lh) * 1352 / 224); height: calc(var(--lh) * 594 / 224);
}
.logo--anim img:not(.logo__sub) { opacity: 0; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 6px; white-space: nowrap;
  font: 700 .95rem/1 var(--f-head); text-decoration: none; color: var(--navy);
}
.nav a:hover { color: var(--pink-d); }
.nav__pin svg { width: 16px; height: 16px; fill: var(--pink); }
.lang { display: flex; gap: 2px; font: 700 .8rem/1 var(--f-body); letter-spacing: .06em; }
.lang > * { padding: 6px 7px; text-decoration: none; }
.lang [aria-current] { color: var(--navy); }
.lang a:not([aria-current]) { color: #767C8E; }
.lang a:not([aria-current]):hover { color: var(--pink-d); }
.site-header__cta { font-size: .85rem; min-height: 42px; padding: .7em 1.2em; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer; }
.burger svg, .menu__close svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }

@media (max-width: 1100px) {
  .nav, .site-header__cta { display: none; }
  .lang { margin-left: auto; }
  .burger { display: grid; place-items: center; margin-left: 0; }
}

/* mobilné menu (popover) */
.menu {
  inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0;
  padding: 88px var(--gutter) 32px; background: var(--navy); color: #fff;
}
.menu::backdrop { background: rgb(14 19 33 / .5); }
.menu__close { position: absolute; top: 12px; right: var(--gutter); width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .1); cursor: pointer; display: grid; place-items: center; }
.menu__close svg { stroke: #fff; }
.menu ul { display: grid; gap: 6px; }
.menu nav a { display: block; padding: 10px 0; font: italic 900 1.9rem/1.1 var(--f-display); font-stretch: 120%; text-transform: uppercase; text-decoration: none; }
.menu nav a:hover { color: var(--blue); }
.menu__lang { margin-top: 32px; color: #A9AEBC; font-size: .9rem; }
.menu__lang a { color: inherit; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .menu { transition: opacity .25s, translate .25s, display .25s allow-discrete, overlay .25s allow-discrete; opacity: 0; translate: 0 -12px; }
  .menu:popover-open { opacity: 1; translate: 0 0; }
  @starting-style { .menu:popover-open { opacity: 0; translate: 0 -12px; } }
}

/* =========================================================
   1. HERO so zajačikom
   ========================================================= */
.hero { overflow-x: clip; padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 8vw, 110px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__text { order: -1; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 28px 0 30px; }

/* Rozmery celku v jednotkách šírky (cqw), aby fotka v páse sedela presne na fotke v zajačikovi:
   --pt/pr/pb/pl = okraje zajačika, --bt/bb/bl = poloha pásu (bt/bb v % výšky celku), --br = presah vpravo */
.hero__art {
  container-type: inline-size; position: relative;
  isolation: isolate;   /* modrý pás (z-index: -1) ostane nad pozadím stránky */
  --pt: 4; --pr: 6; --pb: 8; --pl: 4; --bt: 18; --bb: 20; --bl: 38; --br: -40vw;
  --bw: calc(100 - var(--pl) - var(--pr));        /* šírka zajačika */
  --bh: calc(var(--bw) * 228 / 211);              /* výška zajačika */
  --ah: calc(var(--pt) + var(--bh) + var(--pb));  /* výška celku */
  --iw: calc(var(--bh) * 4 / 3);                  /* šírka fotky 4:3 pri object-fit: cover */
  /* VÝREZ FOTKY (spoločný pre zajačika aj pás): --z priblíženie, --dx posun v cqw (+ = doprava),
     --dy posun dole ako podiel výšky zajačika — najviac (z − 1) / 2, inak hore vznikne medzera */
  --z: 1.17; --dx: -1; --dy: .082;
  --imw: calc(var(--iw) * var(--z));
  --imh: calc(var(--bh) * var(--z));
  --imx: calc((var(--bw) - var(--imw)) * .42 + var(--dx));   /* poloha fotky voči zajačikovi */
  --imy: calc((var(--bh) - var(--imh)) * .5 + var(--dy) * var(--bh));
}
/* modrý šikmý pás za zajačikom – presvitá cez oko; v ňom tá istá fotka v odtieňoch modrej */
.hero__band {
  position: absolute; z-index: -1; overflow: hidden; isolation: isolate;
  inset: calc(var(--bt) / 100 * var(--ah) * 1cqw) var(--br) calc(var(--bb) / 100 * var(--ah) * 1cqw) calc(var(--bl) * 1cqw);
  transform: skewX(var(--tilt)); border-radius: 6px 0 0 var(--belly);
  background: linear-gradient(100deg, var(--blue), #7CC0E8);
}
/* narovná súradnice späť; prelínanie musí byť tu (transform vytvára vlastnú vrstvu)
   multiply: biela (sneh) = presne modrá podkladu, tmavšie miesta = tmavšie modré */
.hero__ghost { position: absolute; inset: 0; transform: skewX(var(--untilt)); mix-blend-mode: multiply; opacity: .29; }
.hero__ghost img {
  position: absolute; max-width: none;
  left: calc((var(--pl) - var(--bl) + var(--imx)) * 1cqw);
  top: calc((var(--pt) - var(--bt) / 100 * var(--ah) + var(--imy)) * 1cqw);
  width: calc(var(--imw) * 1cqw); height: calc(var(--imh) * 1cqw);
  filter: grayscale(1) brightness(1.12) contrast(1.05);
}
.bunny {
  /* tieň vrhá aj doprava, na modrý pás s fotkou */
  position: relative; aspect-ratio: 211 / 228;
  filter: drop-shadow(14px 8px 10px rgb(14 19 33 / .30)) drop-shadow(30px 22px 34px rgb(14 19 33 / .26)) drop-shadow(0 30px 40px rgb(27 20 64 / .16));
  margin: calc(var(--pt) * 1cqw) calc(var(--pr) * 1cqw) calc(var(--pb) * 1cqw) calc(var(--pl) * 1cqw);
}
.bunny__body, .bunny__ear {
  position: absolute; inset: 0;
  -webkit-mask: url("../svg/zajac-body.svg") center / 100% 100% no-repeat;
          mask: url("../svg/zajac-body.svg") center / 100% 100% no-repeat;
}
.bunny__body { background: var(--blue); }
.bunny__body img {
  position: absolute; max-width: none;
  left: calc(var(--imx) * 1cqw); top: calc(var(--imy) * 1cqw);
  width: calc(var(--imw) * 1cqw); height: calc(var(--imh) * 1cqw);
}
.bunny__ear {
  -webkit-mask-image: url("../svg/zajac-ear.svg"); mask-image: url("../svg/zajac-ear.svg");
  background: var(--pink);
  transform-origin: 73% 44%;   /* koreň ucha */
}
@media (prefers-reduced-motion: no-preference) {
  .bunny__ear { animation: ear-twitch 1.6s 1s ease-in-out both; }
  .bunny:hover .bunny__ear { animation: ear-twitch .9s ease-in-out; }
}
@keyframes ear-twitch {
  0%, 100% { rotate: 0deg; }
  20% { rotate: 7deg; } 35% { rotate: -3deg; } 50% { rotate: 5deg; } 70% { rotate: 0deg; }
}

/* „20 rokov" – samostatný výrazný prvok (uško) */
.badge20 { position: absolute; left: 0; bottom: 4%; border-radius: 5px 5px 34px 5px; }
.badge20__in {
  transform: skewX(var(--untilt)); display: grid; justify-items: start;
  padding: 16px 30px 18px 34px; line-height: 1;
}
.badge20 strong { font: italic 900 4.2rem/.9 var(--f-display); font-stretch: 125%; color: var(--pink); }
.badge20 span { font: 700 1rem/1.2 var(--f-head); margin-top: 4px; }
.badge20 small { font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; color: var(--slate); margin-top: 8px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { order: 0; }
  .hero__art { width: min(100%, 340px); margin-inline: auto; --pt: 0; --pr: 8; --pb: 9; --pl: 6; --bt: 22; --bb: 24; --bl: 34; --br: -30vw; }
  .eyebrow { letter-spacing: .1em; font-size: .75rem; }
  .badge20 strong { font-size: 3rem; }
  .badge20__in { padding: 12px 22px 14px 24px; }
  .lead { max-width: none; }
}

/* =========================================================
   SEKCIE
   ========================================================= */
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section--tight { padding-block: clamp(24px, 4vw, 48px); }
.section__head { margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- 2. Lekcie ---------- */
.lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.lesson { position: relative; display: flex; flex-direction: column; transition: translate .25s ease; }
.lesson:hover { translate: 0 -4px; }
.lesson__body h3 { text-wrap: balance; }
.lesson .more::before { content: ""; position: absolute; inset: 0; }   /* celá karta otvára detail */
.lesson__media { aspect-ratio: 4 / 3.4; --belly: 90px; }
.price {
  position: absolute; top: 14px; right: 6px; z-index: 2; border-radius: 3px 3px 14px 3px;
  background: var(--yellow); box-shadow: var(--shadow-sm);
}
.price > span { display: block; transform: skewX(var(--untilt)); padding: .4em .9em; font: 600 .85rem/1 var(--f-body); }
.price b { font: italic 900 1.1rem/1 var(--f-display); font-stretch: 115%; }
.lesson__body { padding: 22px 4px 0; display: flex; flex-direction: column; flex: 1; }
.lesson__claim { font-weight: 700; color: var(--purple); margin-bottom: .5em; }
.lesson__text { font-size: .97rem; color: var(--muted); }
.lesson .facts { margin: 4px 0 18px; }
.more {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font: 700 .98rem/1.3 var(--f-head); color: var(--pink-d); text-decoration: none;
}
.more::after { content: "→"; transition: translate .2s; }
.more:hover::after { translate: 4px 0; }

@media (max-width: 1100px) { .lessons { grid-template-columns: repeat(2, 1fr); } }
/* mobil: kompaktný zoznam (okienko s fotkou + text) */
@media (max-width: 640px) {
  .lessons { grid-template-columns: 1fr; gap: 14px; }
  .lesson {
    display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; align-items: start;
    background: var(--white); border-radius: 14px 14px 36px 14px; padding: 12px; box-shadow: var(--shadow-sm);
  }
  .lesson__media { aspect-ratio: 1; --belly: 28px; box-shadow: none; }
  .lesson__body { padding: 0; }
  .lesson__body h3 { font-size: 1.08rem; padding-right: 0; margin-top: 26px; }
  .lesson__claim { font-size: .9rem; margin-bottom: .4em; }
  .lesson__text { display: none; }
  .lesson .facts { margin: 0 0 10px; gap: 6px; }
  .lesson .facts li { font-size: .75rem; }
  .more { font-size: .9rem; }
  .price { top: 12px; right: 12px; }
  .price > span { padding: .35em .6em; font-size: .75rem; }
  .price b { font-size: .9rem; }
}

/* ---------- 3. Neviete, čo si vybrať? (bruško s okom) ---------- */
.help { filter: var(--drop); }
.help__tile {
  --tilt: -7deg; --untilt: 7deg;
  /* oko: poloha a veľkosť; zoznam vpravo začína vždy až pod ním */
  --pad-top: clamp(40px, 5vw, 72px); --eye-top: 44px; --eye-w: 92px; --eye-h: 51px; --eye-right: 9%;
  transform: skewX(var(--tilt)); border-radius: 6px 30px 160px 6px;
  background: linear-gradient(115deg, var(--purple) 0%, #2A1340 100%); color: #fff;
  /* oko = dierka, cez ktorú vidno pozadie stránky */
  -webkit-mask: url("../svg/oko.svg") right var(--eye-right) top var(--eye-top) / var(--eye-w) var(--eye-h) no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: url("../svg/oko.svg") right var(--eye-right) top var(--eye-top) / var(--eye-w) var(--eye-h) no-repeat exclude, linear-gradient(#000 0 0);
}
.help__in {
  transform: skewX(var(--untilt));
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px 64px;
  padding: var(--pad-top) clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px);
}
.help__intro h2 { color: #fff; }
.help__intro { grid-column: 1 / -1; padding-right: 130px; }   /* nadpis neprekryje oko */
.help__step { min-width: 0; }
.help__step > p:first-child { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 700; }
.help__step > p:first-child span { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 700 .82rem/1 var(--f-head); }
.levels { display: flex; flex-wrap: wrap; gap: 8px; }
.levels button {
  transform: skewX(var(--tilt)); border: 0; border-radius: 3px 3px 12px 3px; cursor: pointer;
  padding: .55em 1em; font: 600 .9rem/1 var(--f-body); color: #fff; background: rgb(255 255 255 / .12);
  transition: background-color .2s, color .2s;
}
.levels button[aria-pressed="true"] { background: var(--yellow); color: var(--navy); }
.levels button > * { transform: none; }
.level-desc { margin: 12px 0 0; padding: 10px 16px; min-height: 7.6em; border-radius: 4px 4px 18px 4px; background: rgb(255 255 255 / .08); color: #DCD3E6; font-size: .92rem; line-height: 1.45; }
.level-desc b { color: var(--yellow); font-family: var(--f-head); }
.help__result { grid-column: 1 / -1; min-height: 118px; display: grid; gap: 8px; align-content: center; padding: 12px 16px; border-radius: 4px 4px 22px 4px; background: rgb(255 255 255 / .08); }
.help__hint, .help__label { margin: 0; }
.help__hint { color: #DCD3E6; }
.help__label { color: var(--yellow); font: 700 .9rem/1.2 var(--f-head); }
.help__recs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.help__rec { display: grid; gap: 2px; padding: 9px 14px; border-radius: 4px 4px 16px 4px; background: rgb(255 255 255 / .12); color: #DCD3E6; font-size: .88rem; line-height: 1.35; text-decoration: none; transition: background-color .2s; }
.help__rec:hover { background: rgb(255 255 255 / .2); }
.help__rec b { color: #fff; font: 700 1rem/1.2 var(--f-head); }
.help__rec b::after { content: " →"; color: var(--yellow); }
.help__none { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.help__none p { flex: 1 1 320px; margin: 0; color: #DCD3E6; font-size: .92rem; line-height: 1.4; }
.help__none b { color: #fff; }
.help__call { grid-column: 1 / -1; margin: 0; color: #DCD3E6; font-size: .9rem; }
.help__call a { color: #fff; font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) {
  .help__tile {
    --tilt: -3deg; --untilt: 3deg; border-radius: 6px 22px 80px 6px;
    --pad-top: 40px; --eye-top: 34px; --eye-w: 64px; --eye-h: 35px; --eye-right: 28px;
  }
  .help__in { grid-template-columns: 1fr; padding: var(--pad-top) 28px 48px; }
  .help__intro { padding-right: 76px; }
}

/* ---------- 4. O nás ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__art { position: relative; aspect-ratio: 1 / 1.05; }
.about__art .tile--ucho { position: absolute; left: 10%; top: 0; width: 46%; height: 88%; }
.about__art .tile--brusko { position: absolute; right: 4%; bottom: 0; width: 50%; height: 58%; --cover: 1.4; }
.about__text p { color: var(--muted); }
.about__text h2 { margin-bottom: .6em; }
.facts--big { margin: 28px 0; }
.facts--big li { display: grid; padding: .7em 1.1em .8em; font-size: .85rem; font-weight: 600; }
.facts--big b { font: italic 900 1.35rem/1.1 var(--f-display); font-stretch: 115%; }
.about__values { font: 700 1.15rem/1.4 var(--f-head); color: var(--purple) !important; }

.sprite { position: absolute; }
.team__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(14px, 3vh, 32px); }
.team__head h2 { max-width: 24ch; }
.team__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.team__legend li { display: flex; align-items: center; gap: 6px; }
.team__sub { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-family: var(--f-body); margin: 0 0 10px; }
.team__leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; margin-bottom: clamp(14px, 3vh, 30px); }
.team__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px 16px; }
.person { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.person__ph { flex: none; width: 46px; height: 58px; margin-left: 6px; --fill: #D9EBF7; box-shadow: var(--shadow-sm); }
.person:nth-child(4n+2) .person__ph { --fill: #DCF0E7; }
.person:nth-child(4n+3) .person__ph { --fill: #FBF8CF; }
.person:nth-child(4n+4) .person__ph { --fill: #F9E4D0; }
.person__ph svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgb(14 19 33 / .42); transform: skewX(var(--untilt)); }
.person__txt { display: grid; gap: 2px; min-width: 0; }
.person__txt b { font: 700 .98rem/1.15 var(--f-head); }
.person__txt small { font-size: .74rem; line-height: 1.2; color: var(--muted); }
.person__meta { display: grid; justify-items: start; gap: 3px; margin-top: 2px; }   /* poradie riadkov: meno, detail, jazyky, typ inštruktora */
.person__flags, .person__sports { display: flex; align-items: center; gap: 3px; }
.flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(14 19 33 / .14); }
.sport { width: 18px; height: 18px; color: var(--navy); }
.person__meta .flag, .person__meta .sport { transition: transform .14s ease-out; }
.person__meta .is-tip { transform: scale(1.25); }
@media (hover: hover) { .person__meta .flag:hover, .person__meta .sport:hover { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .person__meta .flag, .person__meta .sport { transition: none; } }
.tip { position: fixed; z-index: 1000; left: 0; top: 0; padding: 4px 9px; border-radius: 4px 4px 10px 4px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-sm); }
/* ---------- Náš tím: karta s profilom (prvok v body, aby ju neorezal okraj pozície valca) ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.person[data-profil] { position: relative; cursor: pointer; }
.person__btn { position: absolute; inset: -6px -8px; z-index: 1; border: 0; padding: 0; background: transparent; border-radius: 8px 8px 18px 8px; cursor: pointer; }
.person__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.person[data-profil] .person__ph { transition: transform .2s cubic-bezier(.2, .8, .3, 1.3), box-shadow .2s; }
.person[data-profil] .person__txt b { background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 2px no-repeat; transition: background-size .25s ease-out; }
@media (hover: hover) {
  .person[data-profil]:hover .person__ph { transform: skewX(var(--tilt)) translateY(-3px); box-shadow: var(--shadow); }
  .person[data-profil]:hover .person__txt b { background-size: 100% 2px; }
}
.person.is-open .person__ph { transform: skewX(var(--tilt)) translateY(-3px); box-shadow: var(--shadow); }
.person.is-open .person__txt b { background-size: 100% 2px; }

.profil {
  position: fixed; z-index: 900; left: 0; top: 0; width: min(340px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain;
  border-radius: 6px 10px 34px 6px; background: var(--white); color: var(--navy); box-shadow: var(--shadow); font-size: .9rem; line-height: 1.5;
  opacity: 0; scale: .94; translate: var(--od, 0 8px); transform-origin: var(--orig, 50% 0); pointer-events: none;
  transition: opacity .18s ease-out, scale .26s cubic-bezier(.2, .8, .3, 1.25), translate .26s cubic-bezier(.2, .8, .3, 1.25), visibility 0s .26s; visibility: hidden;
}
.profil.is-on { opacity: 1; scale: 1; translate: 0 0; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.profil__telo { padding: 0 20px 18px; }
.profil__head { position: relative; display: flex; align-items: flex-end; gap: 14px; margin: 0 -20px 12px; padding: 18px 48px 14px 22px; background: linear-gradient(160deg, var(--fill, #D9EBF7), color-mix(in srgb, var(--fill, #D9EBF7) 45%, #fff)); }
.profil__ph { flex: none; width: 64px; height: 80px; margin-left: 4px; --fill: rgb(255 255 255 / .55); box-shadow: var(--shadow-sm); }
.profil__ph svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgb(14 19 33 / .42); transform: skewX(var(--untilt)); }
.profil__who { display: grid; gap: 2px; min-width: 0; }
.profil__meno { font: 700 1.35rem/1.1 var(--f-head); }
.profil__who small { font-size: .8rem; color: var(--muted); }
.profil__foto { display: none; margin: 0; }
.profil__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .8); color: var(--navy); font-size: 1.25rem; line-height: 1; cursor: pointer; opacity: 0; box-shadow: var(--shadow-sm); transition: opacity .15s, background .15s; }
.profil.is-pinned .profil__x, .profil__x:focus-visible, .profil:hover .profil__x { opacity: 1; }
.profil__x:hover { background: var(--white); }
.profil__fakty { display: grid; gap: 1.3em; margin: 0; }   /* medzi časťami karty jeden prázdny riadok */
.profil__fakty > div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; align-items: start; }
.profil__fakty dt, .profil h4 { font: 700 .7rem/1.9 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.profil__fakty dd { margin: 0; }
.profil__ikony { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.profil__ikony li { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.profil__ikony .flag { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(14 19 33 / .1); }
.profil__ikony .sport { width: 18px; height: 18px; }
.profil h4 { margin: 1.4em 0 2px; }
.profil p { margin: 0 0 .5em; }
.profil__tagy { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.profil__tagy li { padding: 3px 11px; border-radius: 4px 4px 12px 4px; background: #FDE7F2; color: var(--pink-d); font-weight: 700; font-size: .82rem; }
.profil.is-on .profil__tagy li { animation: profilTag .34s cubic-bezier(.2, .8, .3, 1.4) both; animation-delay: calc(.12s + var(--i, 0) * .05s); }
.profil__tagy li:nth-child(4n+2) { background: #DFF2E9; color: #2F7A5D; }
.profil__tagy li:nth-child(4n+3) { background: #E3F0FA; color: #2B6CB0; }
.profil__tagy li:nth-child(4n+4) { background: #FBEBDD; color: #A65A1C; }
@keyframes profilTag { from { opacity: 0; transform: translateY(6px) scale(.85); } }

/* po kliknutí: väčšie okno v strede obrazovky, s fotkou, ak ju človek má */
.profil-zaves { position: fixed; inset: 0; z-index: 899; background: rgb(14 19 33 / .38); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s ease-out, visibility 0s .3s; }
.profil-zaves.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
html.profil-open { overflow: hidden; }
.profil.is-pinned { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 8px 14px 56px 8px; font-size: .97rem; box-shadow: 0 0 0 3px var(--fill, #D9EBF7), var(--shadow); transform-origin: 50% 50%; }   /* okraj vo farbe podkladu ikony človeka, otáčanie okolo stredu */
.profil.is-pinned .profil__telo { padding: 0 28px 26px; }
.profil.is-pinned .profil__head { margin: 0 -28px 16px; padding: 26px 56px 20px 30px; }
.profil.is-pinned .profil__ph { width: 80px; height: 100px; }
.profil.is-pinned .profil__meno { font-size: 1.8rem; }
.profil.is-pinned .profil__who small { font-size: .9rem; }
.profil.is-pinned .profil__fakty > div { grid-template-columns: 90px 1fr; }
.profil.is-pinned.ma-foto { width: min(800px, calc(100vw - 32px)); display: grid; grid-template-columns: minmax(220px, 38%) 1fr; }
.profil.is-pinned.ma-foto .profil__foto { display: block; position: relative; overflow: hidden; background: var(--fill, #D9EBF7); }
.profil.is-pinned.ma-foto .profil__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profil.is-pinned.ma-foto .profil__ph { display: none; }
.profil.is-pinned.ma-foto .profil__head { padding-left: 28px; }
@media (max-width: 640px) {
  .profil:not(.is-pinned) { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 75dvh; --od: 0 40px; }
  .profil.is-pinned.ma-foto { display: block; }
  .profil.is-pinned.ma-foto .profil__foto { height: min(48vh, 340px); }
  .profil.is-pinned .profil__telo { padding: 0 20px 22px; }
  .profil.is-pinned .profil__head { margin: 0 -20px 14px; padding: 20px 52px 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .profil, .profil-zaves, .person[data-profil] .person__ph, .person[data-profil] .person__txt b { transition: none; }
  .profil { translate: 0 0; scale: 1; }
  .profil.is-on .profil__tagy li { animation: none; }
}
.sport--ski { color: #2B7FB8; }
.sport--snb { color: var(--pink-d); }
.sport--skialp { color: #2F8A68; }
.team__leaders .person__ph { width: 66px; height: 84px; }
.team__leaders .person__txt b { font-size: 1.12rem; }
.team__leaders .person__txt small { font-size: .8rem; }
.team__more { display: none; margin-top: 16px; }
@media (max-width: 1180px) { .team__grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 1040px) { .team__grid { grid-template-columns: repeat(5, 1fr); } .team__leaders { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(4, 1fr); }
  .team__grid:not(.is-open) .person:nth-child(n+9) { display: none; }   /* mobil: najprv 8, zvyšok na tlačidlo */
  .team__more { display: inline-flex; }
  .team__more[aria-expanded="true"] { display: none; }
}
@media (max-width: 640px) { .team__grid, .team__leaders { grid-template-columns: repeat(2, 1fr); } .person { gap: 10px; } }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__art { max-width: 460px; width: 100%; margin-inline: auto; }
}

/* ---------- 5. Kurzy pre školy ---------- */
.schools { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.schools__media { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 16 / 10; --cover: 1.2; --belly: 180px; }
.schools__card { --tilt: -7deg; --untilt: 7deg; grid-column: 7 / 13; grid-row: 1; z-index: 2; border-radius: 5px 8px 60px 5px; }
.schools__in { transform: skewX(var(--untilt)); padding: clamp(28px, 4vw, 52px) clamp(48px, 5vw, 72px); }
.schools__in .facts { margin: 6px 0 26px; }
.schools__ctas { display: flex; flex-wrap: wrap; gap: 12px 14px; }
@media (max-width: 860px) {
  .schools { grid-template-columns: 1fr; }
  .schools__media, .schools__card { grid-column: 1; }
  .schools__media { grid-row: 1; --belly: 70px; }
  .schools__card { --tilt: -3deg; --untilt: 3deg; grid-row: 2; margin: -48px 12px 0; }
  .schools__in { padding: 28px 30px 34px; }
}

/* ---------- 6. Telgárt + FAQ ---------- */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 96px); }
.info__head p { color: var(--muted); }
.info__links { display: grid; gap: 14px; margin-top: 26px; }
.tilelink { display: block; text-decoration: none; border-radius: 4px 4px 22px 4px; transition: translate .2s; }
.tilelink:hover { translate: 6px 0; }
.tilelink > span { display: grid; transform: skewX(var(--untilt)); padding: 16px 26px; }
.tilelink b { font: 700 1.05rem/1.3 var(--f-head); }
.tilelink b::after { content: " ↗"; color: var(--pink); }
.tilelink small { color: var(--slate); font-weight: 600; }
.info__photos { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-top: 30px; padding-inline: 4%; height: clamp(150px, 24vh, 260px); }
.info__photos .tile--brusko { --cover: 1.3; --belly: 70px; }
.faq { display: grid; gap: 12px; align-content: center; }
.faq details { background: var(--white); border-radius: 6px 6px 22px 6px; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 22px; font: 700 1.02rem/1.3 var(--f-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--f-body); color: var(--pink); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 12px; margin: 0; color: var(--muted); }
.faq details p:last-child { padding-bottom: 18px; }
.faq details a { color: var(--pink-d); font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) {
  .info, .faq { grid-template-columns: 1fr; }
  .info__photos { height: auto; aspect-ratio: 2 / 1; }
}

/* ---------- 7. Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
@media (max-width: 1180px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }   /* tlačidlá ostanú v jednom riadku */
.contact__info > p { color: var(--muted); }
.contact__info .hero__ctas { margin-bottom: 0; }
.contact__list { display: grid; gap: 12px; margin: 24px 0 8px; }
.contact__list .tile { border-radius: 4px 4px 18px 4px; }
.contact__list .tile > span { display: grid; transform: skewX(var(--untilt)); padding: 12px 24px; font-weight: 600; }
.contact__list small { color: var(--slate); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.contact__list a { text-decoration: none; font: 700 1.15rem/1.3 var(--f-head); }
.contact__list .tile:has(.wa) > span { position: relative; padding-right: 64px; }
.contact__phone { display: flex; }   /* rovnaká výška riadka ako v ostatných poliach */
.wa { position: absolute; top: 50%; right: 16px; display: flex; padding: 6px; color: #1DA851; transform: translateY(-50%); transition: transform .14s ease-out; }   /* vpravo, zvislo v strede poľa */
.wa svg { width: 24px; height: 24px; fill: currentColor; }
@media (hover: hover) { .wa:hover { transform: translateY(-50%) scale(1.15); } }
@media (pointer: coarse) { .wa { padding: 10px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .wa { transition: none; } }
.map { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 280px; text-align: center; border-radius: 8px; background: linear-gradient(135deg, #D9EBF7, #EEF6FB); box-shadow: var(--shadow); }   /* rovnaký tvar pred načítaním aj po ňom */
.map__in { display: grid; justify-items: center; gap: 8px; padding: 12px 24px; }
.map__in > a, .map__in small a { color: var(--pink-d); font-weight: 700; }
.map__in small { max-width: 38ch; font-size: .76rem; line-height: 1.35; color: var(--navy); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 230px; }
}

/* =========================================================
   PÄTIČKA
   ========================================================= */
.footer { position: relative; overflow: hidden; background: var(--navy); color: #C9CEDB; padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer__career p:not(.script) { max-width: 36ch; }
.footer__links ul { display: grid; gap: 8px; }
.footer__links a { text-decoration: none; font: 700 1rem/1.4 var(--f-head); color: #fff; }
.footer__links a:hover { color: var(--blue); }
.footer__company { font-style: normal; font-size: .9rem; line-height: 1.7; }
.footer__company b { color: #fff; }
.footer__bottom { position: relative; z-index: 1; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); }
/* veľký zajačik s okom ako vodoznak */
.footer__bunny {
  position: absolute; right: -40px; bottom: -60px; width: min(420px, 60vw); aspect-ratio: 211 / 228;
  background: var(--blue); opacity: .1;
  -webkit-mask: url("../svg/zajac-body.svg") center / 100% 100% no-repeat;
          mask: url("../svg/zajac-body.svg") center / 100% 100% no-repeat;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   MOBIL: spodná lišta s rezerváciou
   ========================================================= */
.bottombar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .bottombar {
    position: fixed; inset: auto 0 0; z-index: 50; display: flex; gap: 10px; align-items: center;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -8px 24px -12px rgb(27 20 64 / .25);
  }
  .bottombar .btn { flex: 1; }
  .bottombar__call {
    flex: none; width: 52px; height: 48px; display: grid; place-items: center;
    transform: skewX(var(--tilt)); border-radius: 4px 4px 14px 4px; background: var(--navy);
  }
  .bottombar__call svg { width: 22px; height: 22px; fill: #fff; transform: skewX(var(--untilt)); }
}

/* =========================================================
   VALEC S ARETÁCIOU — podľa source_info/zadaniaAretaciaStranky.md
   Všetko je podmienené triedou html.snap (nastavuje main.js podľa veľkosti okna):
   - šírka ≤ 900 alebo výška < 560: bežná stránka (trieda chýba)
   - šírka > 900, výška 560–1080: aretácia (html.snap)
   - výška > 1080: voľné rolovanie (html.snap.snap-free), výšky ako pri Full HD
   --slide-h / --hero-h nastavuje JS; --u = 1 % „výšky valca" (max. 10,8 px)
   ========================================================= */
.hero-next { display: none; }
html { background: var(--bg); }

html.snap { scroll-behavior: auto; }                 /* posun riadi JS */
html.snap.snap-free { scroll-behavior: smooth; }
html.snap {
  --u: calc(min(100vh, 1080px) / 100);
}
html.snap .snap-slide {
  height: var(--slide-h, auto); overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column; scrollbar-width: thin;
  padding-block: clamp(16px, calc(5 * var(--u)), 64px);
}
html.snap .hero-slide { height: var(--hero-h, auto); position: relative; }
html.snap .snap-slide > .wrap { margin-block: auto; width: min(100% - 2 * var(--gutter) - 104px, var(--maxw)); } /* zvislé centrovanie; miesto pre bodky */
html.snap .reveal { animation: none; }              /* pozície sú samostatné rolovacie oblasti */

/* úvod: šípka „Ďalej" */
html.snap .hero-next {
  display: inline-grid; place-items: center; position: absolute; left: 50%; bottom: clamp(10px, calc(3 * var(--u)), 28px);
  translate: -50% 0; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--white); box-shadow: var(--shadow-sm); animation: heroNudge 2.2s ease-in-out infinite;
}
html.snap .hero-next svg { width: 22px; height: 22px; fill: none; stroke: var(--pink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes heroNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { html.snap .hero-next { animation: none; } }

/* typografia podľa výšky valca */
html.snap .section__head { margin-bottom: clamp(16px, calc(3.5 * var(--u)), 48px); }
html.snap h2 { font-size: clamp(1.7rem, min(1.2rem + 2.6vw, calc(5.6 * var(--u))), 3.1rem); }
html.snap .display { font-size: clamp(2.2rem, min(1.2rem + 4.6vw, calc(10 * var(--u))), 5.2rem); }
html.snap .script { font-size: clamp(1.3rem, min(1.2rem + 1vw, calc(3.6 * var(--u))), 2.1rem); }

/* úvod: zajačik sa zmestí na výšku */
html.snap .hero__art { width: min(100%, calc(var(--hero-h, 80vh) * .74)); justify-self: center; }
html.snap .hero__ctas { margin: clamp(16px, calc(3 * var(--u)), 28px) 0 clamp(16px, calc(3 * var(--u)), 30px); }

/* lekcie, o nás, školy, tím: obrázky podľa výšky pozície */
html.snap .lessons { gap: clamp(10px, calc(2 * var(--u)), 26px) clamp(24px, 3vw, 44px); }
html.snap .lesson__media { aspect-ratio: auto; height: clamp(84px, calc(17 * var(--u)), 190px); --belly: 60px; --cover: 1.16; }
html.snap .lesson__body { padding-top: clamp(6px, calc(1.2 * var(--u)), 14px); }
html.snap .lesson__body h3 { font-size: clamp(1.02rem, calc(2.3 * var(--u)), 1.3rem); }
html.snap .lesson__claim { font-size: .9rem; line-height: 1.3; margin-bottom: .35em; }
html.snap .lesson__text { display: none; }
html.snap .lesson .facts { margin: 2px 0 6px; gap: 6px 8px; }
html.snap .lesson .facts li { font-size: .78rem; padding: .22em .7em; }
html.snap .lesson .more { font-size: .9rem; }
html.snap .about__art { aspect-ratio: auto; height: calc(var(--slide-h, 80vh) * .72); }
html.snap .facts--big { margin: clamp(14px, calc(3 * var(--u)), 28px) 0; }
html.snap .schools__media { aspect-ratio: auto; height: calc(var(--slide-h, 80vh) * .66); }
html.snap .team__grid { gap: clamp(6px, calc(1.5 * var(--u)), 18px) 16px; }
html.snap .team__grid .person__ph { height: clamp(40px, calc(6.2 * var(--u)), 66px); width: clamp(32px, calc(5 * var(--u)), 52px); }
html.snap .team__leaders .person__ph { height: clamp(52px, calc(9 * var(--u)), 96px); width: clamp(42px, calc(7 * var(--u)), 76px); }
html.snap .team__leaders { margin-bottom: clamp(8px, calc(2.2 * var(--u)), 28px); }
html.snap .team__head { margin-bottom: clamp(6px, calc(2 * var(--u)), 28px); }
html.snap .team__sub { margin-bottom: clamp(4px, calc(.9 * var(--u)), 10px); }
html.snap .team__more { display: none; }
html.snap .team__leaders { grid-template-columns: repeat(4, 1fr); gap: 10px 16px; }
html.snap .team__head h2 { max-width: none; }
html.snap .person { gap: 10px; }

/* posledná pozícia: kontakt + pätička sa zmestia; mapa vyplní zvyšok */
html.snap .snap-last { padding-block: 0; }
html.snap .snap-last > section {
  flex: 1 0 auto; display: flex; flex-direction: column;   /* nezmenší sa pod obsah → prípadné pretečenie sa doroluje vo vnútri pozície */
  padding-block: clamp(14px, calc(3.5 * var(--u)), 48px) clamp(12px, calc(2.5 * var(--u)), 32px);
}
html.snap .snap-last > section > .wrap { flex: 1 1 auto; margin: 0 auto; align-items: stretch; }
html.snap .snap-last .contact__info { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
html.snap .snap-last .contact__info > p:not(.script) { margin-bottom: 0; }
html.snap .snap-last .map { min-height: 0; }
html.snap .snap-last .contact { align-content: center; }   /* výšku riadka určuje ľavý stĺpec, mapa sa mu prispôsobí */
html.snap .snap-last .map__in { gap: 4px; padding-block: 6px; }
html.snap .snap-last .contact__list { margin: clamp(10px, calc(2 * var(--u)), 22px) 0 6px; gap: 8px; }
html.snap .snap-last .contact__list .tile > span { padding-block: 7px; }
html.snap .snap-last .hero__ctas { margin: clamp(10px, calc(2 * var(--u)), 22px) 0 0; }
/* formulár v 2 stĺpcoch: správa vedľa telefónu a tlačidla */

html.snap .snap-last > footer { flex-shrink: 0; padding-block: clamp(14px, calc(2.4 * var(--u)), 32px) 10px; }
/* pätička v poslednej pozícii: kompaktná, odkazy v riadku */
html.snap .snap-last .footer__grid { grid-template-columns: 1fr auto; grid-template-areas: "c f" "l l"; gap: 10px 32px; align-items: center; }
html.snap .snap-last .footer__career { grid-area: c; }
html.snap .snap-last .footer__company { grid-area: f; }
html.snap .snap-last .footer__links { grid-area: l; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / .1); }
html.snap .snap-last .footer__career { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
html.snap .snap-last .footer__career .script { margin: 0; font-size: clamp(1.2rem, calc(2.6 * var(--u)), 1.6rem); }
html.snap .snap-last .footer__career p:not(.script) { display: none; }
html.snap .snap-last .footer__career .btn { min-height: 40px; font-size: .8rem; padding: .6em 1.1em; }
html.snap .snap-last .footer__links ul { display: flex; flex-wrap: wrap; gap: 4px 26px; }
html.snap .snap-last .footer__links a { font-size: .92rem; }
html.snap .snap-last .footer__company { font-size: .8rem; line-height: 1.5; text-align: right; }
html.snap .snap-last .footer__bottom { margin-top: 6px; padding-top: 0; border-top: 0; }
html.snap .snap-last .footer__bunny { width: min(300px, 40vw); }

/* užšie okná: lekcie ako 2×3 vodorovné karty, cenovka v obrázku, kompaktnejší rozcestník */
@media (max-width: 1240px) {
  html.snap .help__in { padding-block: 26px 28px; padding-inline: 56px; gap: 14px 40px; }
  html.snap .level-desc { min-height: 9.4em; font-size: .86rem; padding: 7px 14px; }
  html.snap .help__result { min-height: 128px; padding: 8px 12px; }
  html.snap .help__rec { padding: 6px 12px; font-size: .84rem; }
  html.snap .lessons { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
  html.snap .lesson { display: grid; grid-template-columns: 38% 1fr; gap: 0 18px; align-items: start; }
  html.snap .lesson__media { height: clamp(96px, calc(18 * var(--u)), 190px); --belly: 44px; }
  html.snap .lesson__body { padding-top: 0; }
  html.snap .price { right: auto; left: 2px; top: 6px; }
  html.snap .price > span { font-size: .72rem; padding: .32em .6em; }
  html.snap .price b { font-size: .9rem; }
}
/* úzke okná: tím – nadpis v jednom riadku, vysvetlivky pod ním v tesnom riadku */
@media (max-width: 1040px) {
  html.snap .team .eyebrow { display: none; }
  html.snap .team__head { gap: 4px 20px; margin-bottom: 6px; }
  html.snap .team__head h2 { font-size: 1.5rem; }
  html.snap .team__grid { gap: 4px 12px; }
}
/* nízke okná: dlhé texty skryť, aby sa pozícia zmestila */
@media (max-height: 780px) {
  html.snap .snap-slide { padding-block: clamp(10px, calc(2.5 * var(--u)), 28px); }
  html.snap .lesson .facts { display: none; }
  html.snap .section__head .script { display: none; }
  html.snap .hero .chips { display: none; }
  html.snap .hero__ctas { flex-wrap: nowrap; }
  html.snap .btn--lg { font-size: .95rem; padding: .85em 1.4em; }
  html.snap .help__tile { --pad-top: 28px; --eye-top: 26px; --eye-w: 76px; --eye-h: 42px; }
  html.snap .help__in { padding-bottom: 32px; gap: 14px 48px; }
  html.snap .help__in { padding-block: 22px 26px; }
  html.snap .level-desc { min-height: 6.6em; margin-top: 8px; font-size: .84rem; padding: 7px 14px; }
  html.snap .help__step > p:first-child { margin-bottom: 6px; }
  html.snap .help__result { min-height: 108px; padding: 8px 12px; gap: 5px; }
  html.snap .help__rec { padding: 6px 12px; font-size: .84rem; }
  html.snap .info__photos { height: clamp(100px, calc(17 * var(--u)), 180px); margin-top: 18px; }
  html.snap .info__links { margin-top: 16px; gap: 10px; }
  html.snap .tilelink > span { padding: 10px 22px; }
  html.snap .faq { gap: 8px; }
  html.snap .faq summary { padding: 12px 18px; }
  html.snap .snap-last .contact__info > p:not(.script) { display: none; }
  html.snap .snap-last .contact__list { gap: 6px; }
  html.snap .snap-last .footer__links { padding-top: 6px; }
}
/* veľmi nízke okná (napr. 1366×600): ešte kompaktnejšia pätička */
@media (max-height: 660px) {
  html.snap .help .script { display: none; }
  html.snap .help__in { padding-block: 14px 16px; gap: 8px 40px; }
  html.snap .help__intro h2 { font-size: 1.5rem; }
  html.snap .levels { gap: 5px; }
  html.snap .levels button { padding: .42em .9em; font-size: .84rem; }
  html.snap .level-desc { min-height: 5.8em; margin-top: 6px; padding: 5px 12px; font-size: .8rem; line-height: 1.35; }
  html.snap .help__result { min-height: 92px; padding: 6px 12px; gap: 3px; }
  html.snap .help__label { font-size: .8rem; }
  html.snap .help__rec { padding: 4px 12px; font-size: .78rem; line-height: 1.25; }
  html.snap .help__rec b { font-size: .9rem; }
  html.snap .help__none p { font-size: .82rem; }
  html.snap .help__none .btn { min-height: 38px; font-size: .78rem; padding: .5em 1em; }
  html.snap .help__call { font-size: .8rem; }
  html.snap .schools__in { padding-block: 14px 18px; }
  html.snap .schools__in .facts { margin-bottom: 12px; }
  html.snap .snap-last > footer { padding-block: 10px 6px; }
  html.snap .snap-last .footer__bottom { display: none; }
  html.snap .snap-last .footer__career .btn { min-height: 34px; }
  html.snap .snap-last .footer__company { font-size: .74rem; line-height: 1.4; }
  html.snap .snap-last .contact__list .tile > span { padding-block: 5px; }
}

/* bodky aretačných polôh */
.dots { position: fixed; right: clamp(12px, 2vw, 28px); top: 50%; translate: 0 -50%; z-index: 30; display: grid; gap: 10px; }
.dots[hidden] { display: none; }
.dots button {
  position: relative; width: 12px; height: 18px; padding: 0; border: 0; cursor: pointer;
  transform: skewX(var(--tilt)); border-radius: 2px 2px 6px 2px;
  background: rgb(14 19 33 / .18); transition: background-color .2s, height .2s;
}
.dots button:hover { background: rgb(14 19 33 / .4); }
.dots button[aria-current="true"] { background: var(--pink); height: 30px; }
.dots button span {
  position: absolute; right: 22px; top: 50%; translate: 0 -50%; transform: skewX(var(--untilt));
  white-space: nowrap; font: 700 .78rem/1 var(--f-body); color: var(--navy);
  background: var(--white); padding: 6px 10px; border-radius: 4px; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.dots button:hover span, .dots button:focus-visible span { opacity: 1; }

/* =========================================================
   Jemné objavovanie pri scrollovaní (len dekoratívne)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal {
      animation: reveal-in linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes reveal-in { from { opacity: 0; translate: 0 40px; } }
  }
}

/* =========================================================
   NÁVRH: zvýraznenie údajov na doplnenie
   ========================================================= */
[data-todo] b, b[data-todo] { background: none; }
body.show-todo [data-todo] { outline: 2px dashed var(--orange); outline-offset: 4px; }

/* =========================================================
   LOGO (desktop): zajačik „b" ožíva na mieste — náhodne poskočí alebo
   mykne uchom (plánovač v main.js). Písmená sa nehýbu, intro je vypnuté.
   Keyframes generované z geometrie loga: pokoj = translate(0 230),
   päta (790,286), koreň ucha (842,160).
   ========================================================= */
.logo-svg .a { animation: none !important; }
.logo-svg #sh { display: none; }
@keyframes rebit-hop-body {
  0% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
  12% { transform: matrix(1.0600,0.0000,0.0000,0.9000,-47.40,258.60); }
  30% { transform: matrix(0.9577,-0.0670,0.0739,1.0574,12.30,196.48); }
  44% { transform: matrix(0.9787,0.0513,-0.0539,1.0286,32.28,93.31); }
  60% { transform: matrix(1.0600,0.0000,0.0000,0.9100,-47.40,255.74); }
  74% { transform: matrix(0.9800,0.0000,0.0000,1.0300,15.80,221.42); }
  88% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
  100% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
}
@keyframes rebit-hop-ear {
  0% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
  12% { transform: matrix(1.0574,0.0628,-0.0739,0.8978,-33.40,206.09); }
  30% { transform: matrix(0.9415,-0.1953,0.1901,1.0414,7.31,307.13); }
  44% { transform: matrix(0.9731,-0.1281,0.1169,1.0219,9.59,245.43); }
  60% { transform: matrix(1.0542,0.0951,-0.1108,0.9050,-24.78,176.45); }
  74% { transform: matrix(0.9787,-0.0539,0.0513,1.0286,8.72,267.03); }
  88% { transform: matrix(0.9976,0.0698,-0.0698,0.9976,13.21,171.65); }
  100% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
}
@keyframes rebit-hop-s-body {
  0% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
  18% { transform: matrix(1.0400,0.0000,0.0000,0.9300,-31.60,250.02); }
  40% { transform: matrix(0.9800,0.0000,0.0000,1.0300,15.80,183.42); }
  62% { transform: matrix(1.0400,0.0000,0.0000,0.9400,-31.60,247.16); }
  80% { transform: matrix(0.9900,0.0000,0.0000,1.0100,7.90,227.14); }
  100% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
}
@keyframes rebit-hop-s-ear {
  0% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
  18% { transform: matrix(1.0386,0.0487,-0.0544,0.9287,-21.69,209.24); }
  40% { transform: matrix(0.9746,-0.1077,0.1024,1.0244,3.93,274.98); }
  62% { transform: matrix(1.0375,0.0656,-0.0725,0.9377,-17.86,192.32); }
  80% { transform: matrix(0.9894,-0.0352,0.0346,1.0094,2.88,256.92); }
  100% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
}
@keyframes rebit-ear-1 {
  0% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
  25% { transform: matrix(0.9781,-0.2079,0.2079,0.9781,-14.87,408.56); }
  55% { transform: matrix(0.9962,0.0872,-0.0872,0.9962,17.15,157.22); }
  80% { transform: matrix(0.9994,-0.0349,0.0349,0.9994,-5.07,259.48); }
  100% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
}
@keyframes rebit-ear-2 {
  0% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
  14% { transform: matrix(0.9816,-0.1908,0.1908,0.9816,-15.06,393.60); }
  30% { transform: matrix(0.9986,0.0523,-0.0523,0.9986,9.53,186.15); }
  46% { transform: matrix(0.9816,-0.1908,0.1908,0.9816,-15.06,393.60); }
  64% { transform: matrix(0.9976,0.0698,-0.0698,0.9976,13.21,171.65); }
  84% { transform: matrix(0.9998,-0.0175,0.0175,0.9998,-2.66,244.72); }
  100% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
}
@keyframes rebit-ear-flop {
  0% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
  30% { transform: matrix(0.9703,0.2419,-0.2419,0.9703,63.72,31.05); }
  70% { transform: matrix(0.9703,0.2419,-0.2419,0.9703,63.72,31.05); }
  85% { transform: matrix(0.9976,-0.0698,0.0698,0.9976,-9.11,289.12); }
  100% { transform: matrix(1.0000,0.0000,0.0000,1.0000,0.00,230.00); }
}
.logo-svg.act-hop   #body { animation: rebit-hop-body   .95s cubic-bezier(.3,.7,.4,1) both !important; }
.logo-svg.act-hop   #ear  { animation: rebit-hop-ear    .95s cubic-bezier(.3,.7,.4,1) both !important; }
.logo-svg.act-hop-s #body { animation: rebit-hop-s-body .7s  cubic-bezier(.3,.7,.4,1) both !important; }
.logo-svg.act-hop-s #ear  { animation: rebit-hop-s-ear  .7s  cubic-bezier(.3,.7,.4,1) both !important; }
.logo-svg.act-ear-1 #ear  { animation: rebit-ear-1    .5s  ease-in-out both !important; }
.logo-svg.act-ear-2 #ear  { animation: rebit-ear-2    .8s  ease-in-out both !important; }
.logo-svg.act-ear-flop #ear { animation: rebit-ear-flop 1.4s ease-in-out both !important; }

/* tieň pod zajačikom pri poskoku (elipsa #sh zo SVG loga) — pri odraze/dopade plný, vo výške menší a svetlejší */
@keyframes rebit-sh {
  0% { transform: matrix(105.00,0,0,17.00,785,514); opacity: 0; }
  12% { transform: matrix(113.40,0,0,18.36,785,514); opacity: 0.45; }
  30% { transform: matrix(78.75,0,0,12.75,785,514); opacity: 0.3; }
  44% { transform: matrix(65.10,0,0,10.54,785,514); opacity: 0.24; }
  60% { transform: matrix(117.60,0,0,18.70,785,514); opacity: 0.55; }
  74% { transform: matrix(105.00,0,0,17.00,785,514); opacity: 0.35; }
  88% { transform: matrix(105.00,0,0,17.00,785,514); opacity: 0.15; }
  100% { transform: matrix(105.00,0,0,17.00,785,514); opacity: 0; }
}
@keyframes rebit-sh-s {
  0% { transform: matrix(105.00,0,0,17.00,785,514); opacity: 0; }
  18% { transform: matrix(110.25,0,0,17.85,785,514); opacity: 0.4; }
  40% { transform: matrix(84.00,0,0,13.60,785,514); opacity: 0.28; }
  62% { transform: matrix(113.40,0,0,18.36,785,514); opacity: 0.45; }
  80% { transform: matrix(105.00,0,0,17.00,785,514); opacity: 0.2; }
  100% { transform: matrix(105.00,0,0,17.00,785,514); opacity: 0; }
}
.logo-svg.act-hop   #sh { display: inline; animation: rebit-sh   .95s cubic-bezier(.3,.7,.4,1) both !important; }
.logo-svg.act-hop-s #sh { display: inline; animation: rebit-sh-s .7s  cubic-bezier(.3,.7,.4,1) both !important; }

/* =========================================================
   DETAIL PROGRAMU — kontextové okno, otvára sa zoomom z miesta kliknutia (main.js)
   ========================================================= */
html.ld-open { overflow: hidden; }
.ld {
  position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0;
  --ld-y: clamp(10px, 3vh, 32px);   /* hranica od vrchu a od spodu okna, vždy zachovaná */
  --ld-x: clamp(8px, 3vw, 48px);
  padding: max(var(--ld-y), env(safe-area-inset-top)) var(--ld-x) max(var(--ld-y), env(safe-area-inset-bottom));
  border: 0; background: transparent; overflow: hidden;
}
.ld[open] { display: grid; place-items: center; }
.ld::backdrop { background: rgb(14 19 33 / .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ld__panel {
  position: relative; width: min(1560px, 100%); height: 100%; transform-origin: 0 0;
  container: ld / size;   /* obsah sa prispôsobuje veľkosti okna detailu */
  display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden;
  background: var(--white); border-radius: 10px 10px 56px 10px; box-shadow: 0 30px 80px -20px rgb(14 19 33 / .6);
}
.ld__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  padding: 0 10px 0 14px; border: 0; border-radius: 6px 6px 14px 6px; cursor: pointer;
  font: 700 .85rem/1 var(--f-body); color: var(--navy); background: rgb(255 255 255 / .92); box-shadow: var(--shadow-sm);
}
.ld__close:hover { background: var(--navy); color: #fff; }
.ld__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ld__scroll { overflow-y: auto; overscroll-behavior: contain; outline: none; scrollbar-width: thin; }
.ldp { padding: clamp(18px, 4cqh, 36px) clamp(16px, 4cqw, 52px) 28px; }
.ldp[hidden] { display: none; }
.ldp__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 52px); align-items: center; margin-bottom: clamp(20px, 3vh, 32px); }
/* --h = výška fotky; sklon 13° posunie horný a dolný okraj o --h × 0,1155 na každú stranu.
   Okraje fotky tak ostanú v stĺpci a fotka je o rovnaký kus širšia, aby pokryla celú dlaždicu vrátane rohov. */
.ldp__media { --h: clamp(170px, 36cqh, 340px); --lean: calc(var(--h) * .1155); height: var(--h); margin-inline: calc(var(--lean) + 4px); --belly: 90px; }
.ldp__media img { left: calc(var(--lean) * -1); right: auto; width: calc(100% + 2 * var(--lean)); max-width: none; transform: skewX(var(--untilt)) scale(1.02); object-position: 50% 30%; }
.ldp__title { padding-right: 90px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ldp__title .price { position: static; }
.ldp__title .facts { margin: 0; }
.ldp__body > h2 { grid-column: 1 / -1; margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.6cqw, 2.4rem); }
.ldp__claim { flex: 0 0 100%; order: -1; font: 700 clamp(1.02rem, .95rem + .4vw, 1.2rem)/1.3 var(--f-head); color: var(--purple); margin: 0; }
.ldp__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px clamp(24px, 4cqw, 48px); align-items: start; }
.ldp__main p { color: var(--muted); }
.ldp__main h3, .ldp__side h3 { font-size: 1.1rem; margin: 1.1em 0 .5em; }
.ldp__main h3:first-child, .ldp__side h3:first-child { margin-top: 0; }
.ldp__main a, .ldp__side a { color: var(--pink-d); font-weight: 700; }
.ldp__lead { font: 700 1.1rem/1.35 var(--f-head); color: var(--purple) !important; }
.ldp__side { background: var(--bg); border-radius: 8px 8px 36px 8px; padding: 20px 22px 24px; font-size: .95rem; }
.ldp__side p { color: var(--muted); }
.ldp__list { display: grid; gap: 8px; margin-bottom: 14px; }
.ldp__list li { position: relative; padding-left: 20px; line-height: 1.45; }
.ldp__list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 11px; transform: skewX(var(--tilt)); border-radius: 1px 1px 4px 1px; background: var(--pink); }
.ldp__note { margin: 0; padding-top: 12px; border-top: 1px solid var(--line, #DDE3EC); font-size: .88rem; }
.ldp__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 22px; margin: 18px 0 8px 14px; }
.ldp__gallery .tile { height: clamp(120px, 22cqh, 240px); border-radius: 5px 8px 40px 5px; }
.ld__nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 10px clamp(14px, 2.4vw, 28px) calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -8px 20px -14px rgb(27 20 64 / .35);
}
.ld__step { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 8px; border: 0; border-radius: 6px; background: none; cursor: pointer; text-align: left; color: var(--navy); }
.ld__step:hover { color: var(--pink-d); }
.ld__step--next { justify-self: end; text-align: right; padding-right: 22px; }
.ld__step > span[aria-hidden] { font-size: 1.3rem; color: var(--pink); }
.ld__step small { display: block; font-size: .72rem; color: var(--muted); }
.ld__step b { font: 700 .95rem/1.2 var(--f-head); }
.ld__cta { white-space: nowrap; }
/* Široké okno detailu: fotka a názov vľavo, text a praktické informácie vedľa nich */
@container ld (min-width: 1120px) {
  /* názov a bočný panel začínajú v rovnakej výške pod tlačidlom Zavrieť; fotka začína spolu s textom */
  .ldp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.32fr) minmax(0, .88fr); grid-template-rows: auto 1fr; gap: 14px clamp(28px, 3.2cqw, 52px); align-items: start; padding-top: 72px; }
  .ldp__body { display: contents; }
  .ldp__head { grid-area: 2 / 1; display: block; position: sticky; top: 14px; margin: 0; }
  .ldp__body > h2 { grid-area: 1 / 2; }
  .ldp__main { grid-area: 2 / 2; }
  .ldp__side { grid-area: 1 / 3 / 3 / 4; }
  .ldp__media { --h: clamp(150px, min(34cqh, 24cqw), 380px); margin-bottom: 18px; }
  .ldp__title { padding-right: 0; }
}
/* Veľké okno detailu: väčšie písmo a fotka, aby krátky obsah nenechal prázdnu plochu */
@container ld (min-width: 1400px) and (min-height: 850px) {
  .ldp { font-size: 1.16rem; }
  .ldp__side { font-size: 1.06rem; }
  .ldp__main h3, .ldp__side h3 { font-size: 1.28rem; }
}
/* Úzke okno detailu: všetko pod sebou */
@container ld (max-width: 760px) {
  /* fotka, názov, cena a doplnkový text, potom text programu */
  .ldp { display: flex; flex-direction: column; gap: 14px; }
  .ldp__head, .ldp__body { display: contents; }
  .ldp__media { --h: 44cqw; --lean: calc(var(--h) * .053); order: 0; align-self: stretch; --belly: 56px; }
  .ldp__body > h2 { order: 1; }
  .ldp__title { order: 2; }
  .ldp__main { order: 3; }
  .ldp__side { order: 4; }
  .ldp__title { padding-right: 0; }
  .ldp__gallery { margin-left: 8px; }
  .ld__nav { grid-template-columns: auto 1fr auto; padding-inline: 8px; }
  .ld__step small, .ld__step b { display: none; }
  .ld__step { padding-inline: 12px; }
  .ld__step--next { padding-right: 12px; }
  .ld__cta { font-size: .85rem; padding-inline: .8em; }
}
@media (max-width: 860px) {
  .ld__panel { border-radius: 8px 8px 32px 8px; }
}

/* =========================================================
   PODSTRÁNKY: právne texty a kariéra
   ========================================================= */
.doc__back { display: inline-block; margin-bottom: 18px; font: 700 .92rem/1.3 var(--f-head); color: var(--pink-d); text-decoration: none; }
.doc__back:hover { text-decoration: underline; }
.doc { width: min(100% - 2 * var(--gutter), 820px); padding-block: clamp(24px, 5vh, 56px) clamp(48px, 8vh, 96px); color: var(--navy); }
.doc h1 { font: 700 clamp(2rem, 1.4rem + 2.4vw, 3.1rem)/1.08 var(--f-head); margin-bottom: 20px; }
.doc h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); margin: 1.7em 0 .55em; }
.doc h3 { font-size: 1.1rem; margin: 1.3em 0 .4em; }
.doc p, .doc li { color: #2C3145; }
.doc ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: .3em; }
.doc a:not(.btn) { color: var(--pink-d); font-weight: 600; }
.doc hr { border: 0; border-top: 1px solid #DDE3EC; margin: 2em 0; }
.doc__table { overflow-x: auto; margin: 0 0 1.2em; }
.doc table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .93rem; background: var(--white); box-shadow: var(--shadow-sm); border-radius: 8px; overflow: hidden; }
.doc th { text-align: left; background: #EAF2F9; font-family: var(--f-head); }
.doc th, .doc td { padding: 10px 14px; vertical-align: top; border-bottom: 1px solid #E8ECF2; }
.doc__note { padding: 10px 14px; margin: 0 0 1em; background: #EAF2F9; border-radius: 6px 6px 16px 6px; font-size: .9rem; }
.doc__draft { padding: 12px 16px; margin-bottom: 24px; background: #FCF6D9; border-radius: 6px 6px 18px 6px; font-size: .93rem; }
mark.todo { padding: 0 .3em; border-radius: 3px; background: var(--yellow); color: var(--navy); font-weight: 600; }

.career { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(24px, 5vh, 56px) clamp(48px, 8vh, 96px); }
.career h1 { font: 700 clamp(2rem, 1.4rem + 2.4vw, 3.1rem)/1.08 var(--f-head); margin-bottom: .4em; }
.career__intro h2 { font-size: 1.25rem; margin: 1.2em 0 .6em; }
.career__contact { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 14px; }
.career__intro .lead { max-width: 46ch; }
.career__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin-bottom: 18px; }
.career__list li { position: relative; z-index: 0; display: flex; align-items: center; padding: .55em .9em; font-weight: 600; line-height: 1.25; }
.career__list li::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--tilt)); border-radius: 4px 4px 14px 4px; background: var(--white); box-shadow: var(--shadow-sm); }
.career__note { color: var(--muted); max-width: 48ch; }
.career__art { position: relative; aspect-ratio: 1 / 1.02; }
.career__art .tile--ucho { position: absolute; left: 8%; top: 0; width: 50%; height: 84%; }
.career__art .tile--ucho img { object-position: 50% 100%; }
.career__art .tile--brusko { position: absolute; right: 0; bottom: 0; width: 42%; height: 54%; --cover: 1.35; }
.career__art .tile--brusko img { object-position: 70% 52%; }
@media (max-width: 860px) {
  .career { grid-template-columns: minmax(0, 1fr); }
  .career__art { max-width: 420px; width: 100%; justify-self: center; }
}

/* ============ KRÁTKE UPOZORNENIA (spravujú sa v administrácii) ============ */
.notice { font: 600 .95rem/1.35 var(--f-body); color: var(--navy); }
.notice > span { display: block; }
a.notice--odkaz { display: block; color: var(--navy); text-decoration: none; cursor: pointer; transition: filter .15s, translate .15s, box-shadow .15s; }
a.notice--akcia { color: #fff; }
a.notice--odkaz:hover, a.notice--odkaz:focus-visible { filter: brightness(.9) saturate(1.15); }
a.notice--uvod:hover, a.notice--lekcie:hover, a.notice--uvod:focus-visible, a.notice--lekcie:focus-visible { translate: 0 -2px; box-shadow: 0 8px 18px -8px rgb(27 20 64 / .45); }
.notice--info { background: #BBDDF3; }
.notice--akcia { background: var(--pink); color: #fff; }
.notice--upozornenie { background: #F7F192; }
.notice--lista { padding: 8px var(--gutter); text-align: center; }
.notice--uvod, .notice--lekcie { width: fit-content; max-width: 100%; padding: 10px 18px; border-radius: 5px 5px 18px 5px; transform: skewX(-6deg); }
.notice--uvod > span, .notice--lekcie > span { transform: skewX(6deg); }
.notice--uvod { margin: 18px 0 0; }
.notice--lekcie { margin: 12px 0 0; }
.section__head:has(.notice--lekcie) { position: relative; }
@media (min-width: 901px) {
  .notice--lekcie { position: absolute; right: 0; bottom: 6px; max-width: 48%; margin: 0; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .hero__text:has(.notice--uvod) .chips { display: none; }
}
@media (max-width: 600px) {
  .notice { font-size: .85rem; }
  .notice--lista { padding: 6px var(--gutter); }
}

/* ============ AKCIE A NOVINKY (generuje administrácia, len keď nejaké platia) ============ */
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.news__btn { width: 44px; height: 44px; border: 0; border-radius: 6px 6px 14px 6px; background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); font: 700 1rem/1 var(--f-body); cursor: pointer; }
.news__btn:hover { color: var(--pink-d); }
.news__okno { overflow: clip; padding-block: 8px 34px; margin-bottom: -18px; touch-action: pan-y; }
.news__pas { display: flex; transition: transform .55s cubic-bezier(.3, .7, .2, 1); }
.news__item { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3.5vw, 56px); align-items: center; padding-inline: 22px; }
.news__media { aspect-ratio: 16 / 10; max-height: min(58vh, 460px); width: 100%; }
.news__media img { width: 100%; height: 100%; object-fit: cover; }
.news__tag { display: inline-block; margin-bottom: 10px; padding: 3px 12px; border-radius: 3px 3px 10px 3px; font: 800 .74rem/1.5 var(--f-body); letter-spacing: .06em; text-transform: uppercase; background: #BBDDF3; color: var(--navy); }
.news__tag--akcia { background: var(--pink); color: #fff; }
.news__tag--info { background: #F7F192; }
.news__body h3 { font: 700 clamp(1.4rem, 1.1rem + 1.3vw, 2.2rem)/1.12 var(--f-head); margin: 0 0 10px; }
.news__perex { font-weight: 700; margin: 0 0 10px; }
.news__text { margin: 0 0 14px; }
.news__links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 14px 0 10px; }
.news__do { display: block; color: #5B6275; }
.news__body-dots { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.news__dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.news__dot::before { content: ""; width: 22px; height: 7px; border-radius: 2px 2px 5px 2px; transform: skewX(-13deg); background: #C9D3E2; }
.news__dot[aria-current="true"]::before { background: var(--pink); }
@media (min-width: 901px) { .news__item { padding-inline: 74px 66px; } }
.news__stage { position: relative; }
.news__sip { position: absolute; z-index: 2; top: calc(50% - 22px); width: 48px; height: 48px; background: var(--pink); color: #fff; font-size: 1.15rem; box-shadow: 0 10px 22px -10px rgb(217 52 140 / .8); }
.news__sip[hidden] { display: none; }
.news__sip:hover { background: var(--pink-d); color: #fff; }
.news__sip--prev { left: 0; animation: newsVlavo 1.8s ease-in-out infinite; }
.news__sip--next { right: 0; animation: newsVpravo 1.8s ease-in-out infinite; }
.news--pouzite .news__sip, .news__sip:hover, .news__sip:focus-visible { animation: none; }
@keyframes newsVlavo { 0%, 100% { transform: translateX(0) scale(1); box-shadow: 0 0 0 0 rgb(217 52 140 / .45); } 50% { transform: translateX(-5px) scale(1.08); box-shadow: 0 0 0 12px rgb(217 52 140 / 0); } }
@keyframes newsVpravo { 0%, 100% { transform: translateX(0) scale(1); box-shadow: 0 0 0 0 rgb(217 52 140 / .45); } 50% { transform: translateX(5px) scale(1.08); box-shadow: 0 0 0 12px rgb(217 52 140 / 0); } }
@media (prefers-reduced-motion: reduce) { .news__sip { animation: none !important; } }
@media (max-width: 900px) { .news__sip { top: 26vw; width: 42px; height: 42px; } }
@media (max-height: 700px) and (min-width: 901px) {
  .news .script { display: none; }
  .news__text { font-size: .92rem; }
  .news__media { max-height: 46vh; }
}
@media (max-width: 900px) {
  .news__item { grid-template-columns: 1fr; align-items: start; }
  .news__media { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .news__pas { transition: none; } }
html.snap .news .section__head { margin-bottom: calc(1.6 * var(--u, 10px)); }
html.snap .news__item { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
html.snap .news__media { max-height: calc(var(--slide-h, 80vh) * .5); }
html.snap .news__body h3 { font-size: clamp(1.25rem, min(1.1rem + 1vw, calc(3.4 * var(--u, 10px))), 2.1rem); margin-bottom: 6px; }
html.snap .news__perex { margin-bottom: 6px; font-size: .98rem; }
html.snap .news__text { margin-bottom: 8px; font-size: .92rem; line-height: 1.45; }
html.snap .news__links { margin: 8px 0 6px; }
html.snap .news__links .btn { min-height: 38px; padding-block: .4em; }
/* So šiestou položkou sa menu nezmestí tak skoro: skôr prejde na tlačidlo. */
@media (max-width: 1240px) {
  .site-header__in:has(a[href$="#akcie"]) .nav { display: none; }
  .site-header__in:has(a[href$="#akcie"]) .burger { display: grid; place-items: center; margin-left: 0; }
  .site-header__in:has(a[href$="#akcie"]) .lang { margin-left: auto; }
}
