/* ============================================================
   AMBULANCIA.AI — štýly nového dizajnu (prestavba 2026, #176)
   Vychádza z prototypu „Patriora koncept“, varianta A „Kinematická“
   (vetva navrh/patriora-koncept). Záväzný popis dizajnu: docs/DESIGN-2026.md — odkazy „DIZAJN §…“
   nižšie mieria na jeho 2. časť (špecifikácia prototypu).

   Počas prestavby žije vedľa css/styles.css: stránky v novom dizajne načítajú len tento súbor,
   neprerobené stránky ostávajú na styles.css. Pri spustení nahradí styles.css.

   Obsah súboru:
     0  fonty (12 súborov, cesty od koreňa webu)      7  riadky s videom + sklenený čip
     1  tokeny (:root živého webu + 9 nových)         8  podnos (tray) so záložkami krokov
     2  reset, typografia, layout                     9  stĺpce s vlasovou čiarou, navy sekcia
     3  tlačidlá, odkazy                             10  karty ukážok, cenník, špecializácie
     4  lišta oznamov, hlavička, mobilné menu        11  o projekte, časová os, FAQ
     5  hero, slogan, posúvanie                       12  video pás, .cta-band, pätička
     6  statement, kroky s plnenou čiarou            13  podstránky (kapitoly, príbeh), reduced motion
    14  widgety z js/main.js (promo karta, cookies lišta, chat) — prevzaté zo styles.css
   ============================================================ */
/* ---------- 0. Fonty — prevzaté zo /css/styles.css; Hanken 700 sa tu nepoužíva ---------- */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/hanken-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/hanken-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/hanken-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/hanken-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/hanken-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/hanken-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/schibsted-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/schibsted-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/schibsted-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/schibsted-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/schibsted-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/schibsted-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/schibsted-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/schibsted-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokeny ---------- */
/* Doslovne :root živého webu (css/styles.css). DESIGN.md §2 ešte uvádza staré #4F46E5 — platí #57499C. */
:root {
  --navy:        #0D1536;
  --primary:     #57499C;
  --primary-700: #483C80;
  --primary-light:#968CC9;
  --icon:        #57499C;
  --lavender:    #F2F1F9;
  --lavender-2:  #FAFAFC;
  --line:        #E2DFF1;
  --muted:       #59607A;
  --green:       #25C66A;
  --white:       #FFFFFF;

  --ochre:       #977035;
  --ochre-bg:    #F6EDDF;
  --ochre-bg-2:  #FBF6EE;
  --ochre-line:  #EAD9BC;

  --shadow-sm: 0 4px 14px rgba(20, 18, 70, .05);
  --shadow:    0 16px 40px rgba(20, 18, 70, .10);
  --shadow-card: 0 20px 48px rgba(20, 18, 70, .14);

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 12px;

  --container: 1160px;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Schibsted Grotesk", var(--font-body);

  /* Nové tokeny varianty A (zdôvodnenie v DIZAJN.md §1.2) */
  --paper:         #F6F5F2;              /* teplý takmer-biely podklad sekcií */
  --ink-faint:     rgba(13,21,54,.16);   /* nerozsvietené slová statementu */
  --lilac-on-dark: #CFC8F2;              /* druhý riadok nadpisu a akcenty na tmavom/videu */
  --navy-2:        #161F45;              /* spodný riadok pätičky */
  --r-xl:          24px;                 /* video panely, obrazovka podnosu */
  --r-pill:        999px;
  --glass:         rgba(255,255,255,.74);
  --scrim:         13,21,54;             /* RGB --navy pre rgba(var(--scrim),a) */
  --ease:          cubic-bezier(.2,.7,.2,1);
  --sec:           clamp(80px, 6rem + 4vw, 160px);

  --gutter:   clamp(16px, 4vw, 32px);
  --edge:     max(var(--gutter), (100% - var(--container)) / 2); /* okraj kontajnera pre absolútne prvky hera (% = šírka hera) */
  --bar-h:    36px;                      /* lišta oznamov */
  --hdr-h:    76px;                      /* hlavička */
  --hdr-top:  var(--bar-h);              /* JS: max(0, bar − scrollY) */
  --panel-shadow: 0 30px 60px -20px rgba(13,21,54,.28);
}
@media (max-width: 760px) {
  :root { --bar-h: 40px; --hdr-h: 64px; }
}

/* ---------- 2. Reset, typografia, layout ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
[id] { scroll-margin-top: calc(var(--hdr-h) + 24px); }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--navy);
}
.h2, h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); line-height: 1.08; }
.h3, h3 { font-size: clamp(1.625rem, 1.15rem + 1.7vw, 2.5rem); line-height: 1.12; }
.h4, h4 { font-size: 1.25rem; line-height: 1.25; }
.lead { font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem); line-height: 1.55; color: var(--muted); }
.small { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.eyebrow {
  display: block;
  font: 700 .75rem/1.3 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--primary);
  margin-bottom: 20px;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--lilac-on-dark); }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible, .site-header.is-over :focus-visible,
.menu-sheet :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--lilac-on-dark); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.bg-paper { background: var(--paper); }
.bg-navy  { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.grid-12 > * { min-width: 0; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }

/* Odhalenie pri scrollovaní — skryté iba keď beží JS (html.js) a nie je reduced motion */
.js .rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- 3. Tlačidlá a odkazy ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font: 600 1rem/1.1 var(--font-display);
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .btn-text { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.btn .btn-text small { font: 500 .72rem/1.25 var(--font-body); opacity: .7; letter-spacing: .01em; }
.btn:has(.btn-text) { min-height: 56px; }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 12px 28px rgba(13,21,54,.18); }
.btn--light:hover { color: var(--primary-700); }
.btn--glass {
  background: rgba(13,21,54,.38); color: #fff; border-color: rgba(255,255,255,.32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(13,21,54,.55); border-color: rgba(255,255,255,.55); }
.btn--ink { background: var(--navy); color: #fff; }
.btn--ink:hover { background: var(--primary-700); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--line:hover { border-color: var(--primary-light); color: var(--primary); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* .btn-white / .btn-ghost — ako na živom webe, len ako pilulky (vnútri .cta-band) */
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 12px 28px rgba(13,21,54,.18); }
.btn-white:hover { color: var(--primary-700); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }

.icon-btn {
  width: 40px; height: 40px; min-height: 40px; padding: 0;
  display: inline-grid; place-items: center;
  border-radius: 50%;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .i-play { display: none; }
.icon-btn.is-paused .i-play { display: block; }
.icon-btn.is-paused .i-pause { display: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 1rem/1.3 var(--font-display);
  color: var(--primary);
  transition: transform .25s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
/* hover: odkaz sa posunie a zhrubne, šípka ešte o kúsok ďalej */
.link-arrow:hover { transform: translateX(4px); font-weight: 700; }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--lilac-on-dark); }
.more { margin-top: 48px; }

/* ---------- 4. Lišta oznamov, hlavička, mobilné menu ---------- */
.announce {
  position: absolute; top: 0; left: 0; right: 0; z-index: 70;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding-inline: 16px;
  background: var(--navy);
  color: rgba(255,255,255,.86);
  font-size: .8125rem; line-height: 1.3; text-align: center;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; white-space: nowrap; }
.announce .short { display: none; }
@media (max-width: 760px) {
  .announce .long { display: none; }
  .announce .short { display: inline; }
}

.site-header {
  position: fixed; left: 0; right: 0; top: var(--hdr-top); z-index: 60;
  height: var(--hdr-h);
  background: rgba(255,255,255,0);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  --sq-a: #57499C; --sq-b: #968CC9; --wordmark: var(--navy);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 24px); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark .sq-a { fill: var(--sq-a); transition: fill .35s; }
.brand-mark .sq-b { fill: var(--sq-b); transition: fill .35s; }
.brand-name {
  font: 800 1.12rem/1 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--wordmark);
  transition: color .35s;
}
.brand-dot {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* logo vo „svetlých“ farbách: nad videom, v mobilnom menu a v pätičke */
.is-over .brand, .menu-sheet .brand, .site-footer .brand { --sq-a: #FFFFFF; --sq-b: var(--lilac-on-dark); --wordmark: #fff; }
.is-over .brand-dot, .menu-sheet .brand-dot, .site-footer .brand-dot, .notfound-header .brand-dot { background: none; color: var(--lilac-on-dark); }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: clamp(16px, 1.6vw, 26px); }
.main-nav a {
  position: relative;
  font: 500 .9375rem/1 var(--font-body);
  color: var(--muted);
  white-space: nowrap;
  padding: 8px 0;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--navy); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--primary);
}
.header-cta { flex: none; display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 50px; padding-inline: clamp(16px, 1.5vw, 22px); }
/* ambasádorský program vedľa Objednať: rovnaký tvar a výška, len obrys; Objednať ostáva hlavné */
.btn--outline { background: transparent; color: var(--navy); border: 1px solid rgba(13,21,54,.28); }
.btn--outline:hover { color: var(--primary); border-color: var(--primary); }
.site-header.is-over .btn--outline { color: #fff; border-color: rgba(255,255,255,.55); }
.site-header.is-over .btn--outline:hover { color: #fff; background: rgba(255,255,255,.12); border-color: #fff; }
.menu-amb, .menu-alt { margin-top: 10px; }
.header-cta .btn--light { display: none; }

/* stav „nad videom“ */
.site-header.is-over { color: #fff; }
.site-header.is-over .main-nav a { color: rgba(255,255,255,.86); }
.site-header.is-over .main-nav a:hover, .site-header.is-over .main-nav a.is-active { color: #fff; }
.site-header.is-over .main-nav a.is-active::after { background: var(--lilac-on-dark); }
.site-header.is-over .header-cta .btn--light { display: inline-flex; }
.site-header.is-over .header-cta .btn--ink { display: none; }

/* jazykový prepínač SK | EN (docs/EN.md): malý, medzi menu a tlačidlami; aktuálny jazyk je text, druhý odkaz */
.lang-switch { flex: none; display: flex; align-items: center; font: 600 .75rem/1 var(--font-body); letter-spacing: .04em; }
.lang-switch > * { padding: 4px 6px; color: var(--muted); }
.lang-switch > * + * { border-left: 1px solid var(--line); }
.lang-switch a { transition: color .2s; }
.lang-switch a:hover { color: var(--primary); }
.lang-switch [aria-current] { color: var(--navy); }
.site-header.is-over .lang-switch > * { color: rgba(255,255,255,.72); }
.site-header.is-over .lang-switch > * + * { border-color: rgba(255,255,255,.4); }
.site-header.is-over .lang-switch a:hover, .site-header.is-over .lang-switch [aria-current] { color: #fff; }
.menu-sheet .lang-switch { font-size: .9375rem; margin-left: -8px; }
.menu-sheet .lang-switch > * { color: rgba(255,255,255,.7); }
.menu-sheet .lang-switch > * + * { border-color: rgba(255,255,255,.3); }
.menu-sheet .lang-switch [aria-current] { color: #fff; }
/* odkaz z anglickej stránky na slovenskú (právne stránky, otázky, novinky): malá značka SK */
.lang-tag { display: inline-block; margin-left: .35em; padding: 2px 5px; border: 1px solid currentColor; border-radius: 4px; font: 600 .625rem/1 var(--font-body); letter-spacing: .06em; vertical-align: .15em; opacity: .7; }

/* stav „plná“ (po prejdení hera; cennik.html od načítania) */
.site-header.is-solid {
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 24px -16px rgba(13,21,54,.25);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer;
  position: relative; z-index: 2;
}
.nav-toggle span {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s, background-color .35s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.is-over .nav-toggle span, .menu-open .nav-toggle span { background: #fff; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu-sheet {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column;
  padding: calc(var(--hdr-top) + var(--hdr-h) + 24px) var(--edge) 32px; /* položky zarovnané s logom */
  background: var(--navy);
  color: #fff;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu-sheet[hidden] { display: none; }
.menu-sheet.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.menu-sheet .cta-motif { top: 120px; right: -40px; transform: none; opacity: .27; }
.menu-sheet ul { display: grid; gap: 18px; position: relative; }
.menu-sheet li { opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.menu-sheet.is-open li { opacity: 1; transform: none; }
.menu-sheet ul a { font: 700 1.75rem/1.15 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.menu-sheet ul a.is-active { color: var(--lilac-on-dark); }
.menu-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 18px; position: relative; }
.menu-foot p { font-size: .875rem; color: rgba(255,255,255,.7); }
.menu-foot p a { color: rgba(255,255,255,.86); }
/* keď je menu otvorené, hlavička je priehľadná a toggle biely */
.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .brand { --sq-a: #FFFFFF; --sq-b: var(--lilac-on-dark); --wordmark: #fff; }
.menu-open .site-header .brand-dot { background: none; color: var(--lilac-on-dark); }
body.menu-open { overflow: hidden; }

/* logo, menu, SK | EN a dve dvojriadkové tlačidlá sa tesne nad 1100 px nezmestia v plnej veľkosti
   (tests/smoke.py check_header_cta_fits): menu a tlačidlá sa tu o kúsok zúžia */
@media (max-width: 1240px) {
  .main-nav a { font-size: .875rem; }
  .main-nav ul { gap: 14px; }
  .header-cta .btn { padding-inline: 14px; }
}
@media (max-width: 1100px) {
  .main-nav, .header-cta, .header-inner > .lang-switch { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- 5. Hero s videom ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 640px; max-height: 1100px;
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.hero-media, .hero-video, .hero-still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  z-index: -2;
}
.hero-video { opacity: 0; transition: opacity .6s var(--ease); filter: brightness(.92) saturate(.95); }
.hero-video.is-ready, .no-js .hero-video { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(130% 100% at 0% 100%, rgba(var(--scrim),.90) 0%, rgba(var(--scrim),.66) 48%, rgba(var(--scrim),0) 80%),
    linear-gradient(90deg, rgba(var(--scrim),.66) 0%, rgba(var(--scrim),.52) 50%, rgba(var(--scrim),0) 76%),
    linear-gradient(to top, rgba(var(--scrim),.60) 0%, rgba(var(--scrim),.16) 42%, rgba(var(--scrim),0) 66%, rgba(var(--scrim),.38) 100%);
}
.hero-inner { position: relative; width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; padding-bottom: clamp(56px, 9vh, 112px); }
.hero-copy { max-width: 900px; }
.hero-sub, .hero-copy .eyebrow { max-width: 760px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.375rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { color: var(--lilac-on-dark); }
.hero .eyebrow { color: var(--lilac-on-dark); }
.hero-sub { margin-top: 24px; max-width: 34em; color: rgba(255,255,255,.86); font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem); line-height: 1.55; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
/* nástup hera pri načítaní: eyebrow, H1 riadky, podnadpis, tlačidlá */
/* .01, nie 0: prvok s nulovou priehľadnosťou Google nepočíta do LCP, slogan by sa rátal až po naskočení (7–9 s) */
.js .hero-in { opacity: .01; transform: translateY(24px); animation: heroIn .9s var(--ease) forwards; animation-delay: calc(150ms + var(--i, 0) * 120ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-pause { position: absolute; right: calc(var(--edge) + 356px); bottom: clamp(56px, 9vh, 112px); z-index: 2; }
.hero--nochip .hero-pause { right: var(--edge); }

@media (max-width: 1080px) {
  .hero-pause { right: var(--gutter); bottom: 20px; }
}
@media (max-width: 760px) {
  .hero-media, .hero-video, .hero-still { object-position: 40% 30%; }
  .hero::after {
    background: linear-gradient(to top, rgba(var(--scrim),.94) 0%, rgba(var(--scrim),.84) 45%, rgba(var(--scrim),.62) 70%, rgba(var(--scrim),.5) 100%);
  }
  .hero-inner { padding-bottom: 76px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- 5b. Slogan v hero (IG video 02): slová naskočia po jednom, „píšete“ sa prečiarkne ---------- */
.hero h1 .l1 > span { display: inline-block; }
/* o 50 % pomalšie ako ostatné nástupy hera */
.hero h1 .hero-in, .hero-actions.hero-in { animation-duration: 1.35s; }
.h1-strike { position: relative; text-decoration: none; }
.h1-strike::after { content: ""; position: absolute; left: -3%; right: -3%; top: 54%; height: .09em; border-radius: .05em;
  background: var(--lilac-on-dark); transform: scaleX(0); transform-origin: left center; }
.js .h1-strike { animation: h1Dim .68s var(--ease) 3.1s forwards; }
.js .h1-strike::after { animation: h1Strike .68s var(--ease) 3.1s forwards; }
html:not(.js) .h1-strike { opacity: .6; }
html:not(.js) .h1-strike::after { transform: none; }
@keyframes h1Strike { to { transform: scaleX(1); } }
@keyframes h1Dim { to { opacity: .6; } }
@media (prefers-reduced-motion: reduce) {
  .js .h1-strike { animation: none; opacity: .6; }
  .js .h1-strike::after { animation: none; transform: none; }
}

/* ---------- 5c. Popisy riešenia pod sloganom: nadpis sa zmenší, texty sa striedajú ----------
   js/web.js (heroRotator) po dopísaní sloganu pridá .hero.is-compact, potom striedá .hr-item
   (.is-on vchádza, .is-out odchádza) a rozdelí ich na slová .w > i (--w = poradie slova):
   slová sa vynoria z rozmazania, staré sa rozplynú nahor (vybraný variant „blur“). */
.hero h1 { transition: font-size 1s var(--ease); }
.js .hero.is-compact:not(.hero--page) h1 { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.75rem); }
.hr-stack { display: grid; max-width: 36em; }
.hr-item { margin: 0; color: rgba(255,255,255,.88); font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem); line-height: 1.55; }
html:not(.js) .hero-rotator { margin-top: 24px; }
html:not(.js) .hr-item + .hr-item { margin-top: 12px; }
html:not(.js) .hr-dots { display: none; }
.js .hero-rotator { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 1s var(--ease), margin-top 1s var(--ease); }
.js .hero.is-compact .hero-rotator { grid-template-rows: 1fr; margin-top: 22px; }
.js .hr-clip { min-height: 0; overflow: hidden; }
.js .hr-item { grid-area: 1 / 1; pointer-events: none; }
.js .hr-item.is-on { pointer-events: auto; }
.hr-item .w { display: inline-block; }
.hr-item .w > i { display: inline-block; font-style: normal; }

/* priebeh: tri čiarky, aktívna sa plní počas zobrazenia textu (--dur) */
.hr-dots { display: flex; gap: 6px; margin-top: 18px; }
.hr-dots span { position: relative; width: 26px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.hr-dots span::after { content: ""; position: absolute; inset: 0; background: var(--lilac-on-dark); transform: scaleX(0); transform-origin: left center; }
.hr-dots span.is-done::after { transform: scaleX(1); }
.hr-dots span.is-on::after { animation: hrDot var(--dur, 9s) linear forwards; }
.hero.is-held .hr-dots span.is-on::after { animation-play-state: paused; }
@keyframes hrDot { to { transform: scaleX(1); } }

.hr-item .w > i { opacity: 0; filter: blur(12px); transform: translateY(.35em);
  transition: opacity .8s var(--ease), filter .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--w) * 28ms); }
.hr-item.is-on .w > i { opacity: 1; filter: none; transform: none; }
.hr-item.is-out .w > i { opacity: 0; filter: blur(10px); transform: translateY(-.35em);
  transition-duration: .5s; transition-delay: calc(var(--w) * 8ms); }

@media (prefers-reduced-motion: reduce) {
  .hr-item .w > i { opacity: 1 !important; filter: none !important; transform: none !important; }
  .js .hr-item { visibility: hidden; }
  .js .hr-item.is-on { visibility: visible; }
}

/* ---------- 5d. Posúvanie stránky: lišta kapitol, šípka „Ďalej“ (js/web.js, DESIGN-2026 §4) ---------- */
/* šípka „Ďalej“ dole v strede hera */
.hero-next { position: absolute; left: 50%; bottom: 22px; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, transform .2s; animation: heroNext 2.4s var(--ease) 6s infinite; }
.hero-next:hover { background: rgba(255,255,255,.2); }
.hero-next svg { width: 22px; height: 22px; }
@keyframes heroNext { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(6px); } }
@media (max-width: 760px) { .hero-next { display: none; } }
/* šípka „Ďalej“ sekcie, ktorú čítate (nextArrow): spodok obrazovky alebo spodok sekcie (top nastaví web.js),
   počas posúvania skrytá (.is-moving); na svetlej ploche tmavá */
.next-arrow { position: fixed; left: 50%; top: 0; z-index: 40; display: grid; place-items: center;
  width: 40px; height: 40px; min-height: 40px; margin-left: -20px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--navy); background: rgba(255,255,255,.72); border: 1px solid rgba(13,21,54,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), visibility 0s .3s, transform .3s var(--ease), background .2s, color .35s, border-color .35s; }
.next-arrow.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.next-arrow.is-on.is-moving { opacity: 0; transform: translateY(8px); pointer-events: none; transition-duration: .15s; }
.next-arrow:hover { background: #fff; }
.next-arrow.is-dark { color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.28); }
.next-arrow.is-dark:hover { background: rgba(255,255,255,.2); }
.next-arrow svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .next-arrow { display: none; } }
.menu-open .next-arrow { display: none; }

/* lišta kapitol vpravo (len v počítači) — body, názvy sa ukážu pri prejdení myšou */
.rail { position: fixed; right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; z-index: 50; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px; padding: 10px 6px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 22px; text-decoration: none; }
.rail-dot { flex: none; width: 8px; height: 8px; border-radius: 4px; background: rgba(13,21,54,.28);
  transition: height .35s var(--ease), background .35s, transform .25s var(--ease); }
.rail a:hover .rail-dot { background: rgba(13,21,54,.6); transform: scale(1.35); }
.rail a[aria-current] .rail-dot { height: 20px; background: var(--primary); transform: none; }
/* názvy sa pri prejdení myšou na lištu vysunú postupne zhora (--n = poradie, nastaví web.js);
   názov pod myšou sa posunie ďalej doľava a zafarbí */
.rail-label { font: 600 .8125rem/1 var(--font-body); color: color-mix(in srgb, var(--navy) 55%, transparent); white-space: nowrap; padding: 5px 0;
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease), color .35s, text-shadow .35s; transition-delay: 0s; }
.rail:hover .rail-label, .rail a:focus-visible .rail-label { opacity: 1; transform: none; transition-delay: calc(var(--n, 0) * 18ms), calc(var(--n, 0) * 18ms), 0s; }
.rail a:hover .rail-label, .rail a:focus-visible .rail-label { transform: translateX(-6px); color: var(--primary); transition-delay: 0s; }
.rail a[aria-current] .rail-label { color: var(--primary); font-weight: 700; }
.rail a.is-dark .rail-label { color: rgba(255,255,255,.6); text-shadow: 0 1px 8px rgba(13,21,54,.55); }   /* čitateľné aj nad svetlým miestom videa */
.rail a.is-dark:hover .rail-label, .rail a.is-dark[aria-current] .rail-label { color: var(--lilac-on-dark); }
.rail a.is-dark .rail-dot { background: rgba(255,255,255,.4); }
.rail a.is-dark:hover .rail-dot { background: rgba(255,255,255,.75); }
.rail a.is-dark[aria-current] .rail-dot { background: var(--lilac-on-dark); }
@media (max-width: 1100px) { .rail { display: none; } }
.menu-open .rail { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-next { animation: none; }
}

/* ---------- 7a. Sklenený čip (DIZAJN §1.6) ---------- */
.chip {
  position: absolute; z-index: 2;
  max-width: min(320px, calc(100% - 32px));
  padding: 14px 18px 15px;
  border-radius: 16px;
  background: var(--glass); color: var(--navy);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -12px rgba(13,21,54,.30);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .chip { background: rgba(255,255,255,.94); } }
.chip b { display: flex; align-items: center; gap: 8px; font: 600 .875rem/1.3 var(--font-display); }
.chip b::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--dot, var(--green)); flex: none;
}
.chip b + span { display: block; font-size: .8125rem; line-height: 1.45; color: var(--muted); margin-top: 4px; }
.chip--violet { --dot: var(--primary); }
.chip--violet b::before, .chip--pulse b::before { animation: dotPulse 1.6s ease-out infinite; }
.chip--amber { --dot: var(--ochre); }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(87,73,156,.45); } 100% { box-shadow: 0 0 0 8px rgba(87,73,156,0); } }
.chip .tnum { font-variant-numeric: tabular-nums; }
.chip--dark {
  background: rgba(13,21,54,.42); color: #fff;
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.35);
}
.chip--dark b + span { color: rgba(255,255,255,.72); }
.chip--dark.chip--violet { --dot: var(--lilac-on-dark); }
.chip-start { left: 24px; bottom: 24px; }
.chip-end   { right: 24px; bottom: 24px; }
.chip-top-end { right: 24px; top: 24px; }
.chip-top-start { left: 24px; top: 24px; }
@media (max-width: 760px) {
  .chip-start { left: 12px; bottom: 12px; }
  .chip-end   { right: 12px; bottom: 12px; }
  .chip-top-end { right: 12px; top: 12px; }
  .chip-top-start { left: 12px; top: 12px; }
  .chip { padding: 11px 14px 12px; }
}
/* nástup čipu: 0,35 s po paneli, rozostrenie → ostré */
.js .rv .chip { opacity: 0; transform: translateY(8px); filter: blur(6px); transition: opacity .6s var(--ease) .35s, transform .6s var(--ease) .35s, filter .6s var(--ease) .35s; }
.js .rv.is-in .chip { opacity: 1; transform: none; filter: none; }

/* hero čip s živým prepisom (len desktop ≥ 1080) */
.hero-chip {
  position: absolute; z-index: 2;
  right: var(--edge); bottom: clamp(56px, 9vh, 112px);
  width: 340px; max-width: none;
}
.hero-chip b { justify-content: flex-start; }
.hero-chip b .tnum { margin-left: auto; font-weight: 600; color: rgba(255,255,255,.72); }
.hero-chip .hc-line { min-height: 4.35em; transition: opacity .35s; }
.hero-chip .hc-line.is-fading { opacity: 0; }
.hero-chip .hc-who { font-weight: 600; color: #fff; }
.js .hero-chip { opacity: 0; transform: translateY(8px); animation: heroIn .8s var(--ease) 1.2s forwards; }
@media (max-width: 1080px) { .hero-chip { display: none; } }

/* ---------- 6a. Statement; vyfarbovanie textu pri posúvaní ([data-ink], js/web.js ink) ---------- */
.statement-sec { padding-block: calc(var(--sec) * 1.2); }
.statement {
  max-width: 22em;
  font: 600 clamp(1.625rem, 1rem + 2.6vw, 3.25rem)/1.22 var(--font-display);
  letter-spacing: -0.025em;
  text-wrap: pretty;
  color: var(--navy);
}
.on-dark, .vband, .cta-band { --ink-faint: rgba(255,255,255,.2); }
.js [data-ink] .w { color: var(--ink-faint); transition: color .3s linear; }
.js [data-ink] .w.on { color: inherit; }
/* Zvýraznené slovo (DESIGN-2026 §4c): kľúčový pojem fialovou a o dva stupne tučnejšie; v [data-ink] sa vyfarbí rovno do svojej farby */
.hl { color: var(--primary); font-weight: 800; }
h1 .hl, h2 .hl, h3 .hl { font-weight: 900; }
.on-dark .hl { color: var(--lilac-on-dark); }
.statement-after { margin-top: 40px; max-width: 34em; }

/* ---------- 6b. Kroky na čiare, ktorá sa plní (homepage C, časová os J, ako-funguje) ---------- */
.linefill {
  --n: 4;
  position: relative;
  display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 32px;
  margin-top: 72px;
}
.linefill::before, .linefill::after {
  content: ""; position: absolute; left: 0; right: 0; top: 5.5px; height: 1px;
  background: var(--line);
}
.linefill::after {
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease);
}
.linefill.is-in::after { transform: scaleX(1); }
.lf-item { position: relative; min-width: 0; padding-top: 40px; }
.lf-item::before {
  content: ""; position: absolute; left: 0; top: 0; z-index: 1;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 2px var(--primary);
  transition: background-color .3s var(--ease); transition-delay: calc(var(--i, 0) * .4s);
}
.bg-paper .lf-item::before { background: var(--paper); }
.linefill.is-in .lf-item::before { background: var(--primary); }
/* čiara plnená posúvaním: dĺžku a rozsvietené kroky nastavuje js/web.js (ink) */
.js .linefill[data-linefill="scroll"]::after { transform: scaleX(var(--lf, 0)); transition: transform .2s linear; }
.js .linefill[data-linefill="scroll"] .lf-item::before { transition-delay: 0s; }
.js .linefill[data-linefill="scroll"] .lf-item.is-on::before { background: var(--primary); }
.js .linefill[data-linefill="scroll"] .lf-item > * { opacity: .28; transition: opacity .45s var(--ease); }
.js .linefill[data-linefill="scroll"] .lf-item.is-on > * { opacity: 1; }
.lf-num { display: block; font: 600 .875rem/1 var(--font-display); color: var(--primary); letter-spacing: .02em; margin-bottom: 12px; }
.lf-item h4 { margin-bottom: 10px; }
.lf-item p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 760px) {
  .linefill { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .linefill::before, .linefill::after { left: 5.5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .linefill::after { transform: scaleY(0); transform-origin: top; }
  .linefill.is-in::after { transform: scaleY(1); }
  .js .linefill[data-linefill="scroll"]::after { transform: scaleY(var(--lf, 0)); }
  .lf-item { padding: 0 0 0 36px; }
}

/* ---------- 7b. Striedavé riadky s videom (homepage D) ---------- */
.rows { display: grid; gap: clamp(72px, 10vw, 140px); margin-top: clamp(56px, 7vw, 96px); }
.vrow {
  display: grid; grid-template-columns: 7fr 5fr; align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.vrow > * { min-width: 0; }
.vrow--flip { grid-template-columns: 5fr 7fr; }
.vrow--flip .vpanel { order: 2; }
.vpanel {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--panel-shadow);
  isolation: isolate;
}
.vpanel video, .vpanel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* nižší rám (Bezpečnosť): zariadenie je pod stredom záberu, orez ho drží v obraze */
.vpanel.vpanel--wide { aspect-ratio: 16 / 9; }
.vpanel--wide video { object-position: 50% 62%; }
.vrow-text { max-width: 30em; }
.vrow-text h3 { margin-bottom: 20px; }
.vrow-text > p { color: var(--muted); }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 22px; font-size: 1rem; color: var(--navy); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--primary); }
.vrow-text .link-arrow { margin-top: 28px; }
/* čip s výmenou stavu (riadok 3): dve vrstvy, prelínajú sa */
.chip-swap { display: grid; }
.chip-swap > * { grid-area: 1 / 1; transition: opacity .4s var(--ease); }
.chip-swap .is-after { opacity: 0; }
.chip-swap.is-done .is-before { opacity: 0; }
.chip-swap.is-done .is-after { opacity: 1; }
.chip-swap .is-after b { --dot: var(--green); }
@media (max-width: 1080px) {
  .vrow, .vrow--flip { grid-template-columns: 1fr; gap: 28px; }
  .vrow--flip .vpanel { order: 0; }
  .vpanel { aspect-ratio: 4 / 3; }
  .rows { gap: 72px; }
}

/* ---------- 8. Podnos (tray) so záložkami ---------- */
.tray {
  max-width: 1120px; margin: 56px auto 0;
  padding: 24px 24px 20px;
  background: var(--paper);
  border-radius: 32px;
}
.tray-stage { position: relative; }
.tray-screen {
  position: relative;
  aspect-ratio: 1600 / 842;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.tray-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.tray-layer.is-active { opacity: 1; }
.tray-layer > video, .tray-layer > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tray-layer--crop { background: #fff; }
.tray-layer--crop > img { object-position: center top; }
.tray-bar { margin-top: 20px; display: flex; align-items: center; gap: 8px; }
.tray-tabs { flex: 1; display: flex; justify-content: center; gap: 6px; min-width: 0; }
.tray-tab {
  position: relative; overflow: hidden;
  flex: 1 1 0; max-width: 168px;
  height: 44px; padding: 0 18px;
  border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--muted);
  font: 600 .9375rem/1 var(--font-display);
  cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s;
}
.tray-tab:hover { color: var(--navy); }
.tray-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.tray-tab .tp {
  position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--lilac-on-dark);
  transform: scaleX(var(--p, 0)); transform-origin: left;
  opacity: 0;
}
.tray-tab[aria-selected="true"] .tp { opacity: 1; }
.tray-arrow, .tray-pause {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--navy); cursor: pointer;
  display: grid; place-items: center;
}
.tray-arrow:hover, .tray-pause:hover { background: rgba(13,21,54,.06); }
.tray-arrow svg, .tray-pause svg { width: 18px; height: 18px; }
/* popis kroku priamo v okne aplikácie — polopriehľadný, na strane, ktorú krok nepotrebuje */
.tray-caption {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  width: min(44%, 480px); padding: 16px 20px 18px;
  border-radius: 16px;
  background: rgba(13,21,54,.68);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  color: #fff; font-size: 1rem; line-height: 1.5;
  pointer-events: none;
  transition: opacity .26s var(--ease), filter .26s var(--ease);
}
.tray-caption--end { left: auto; right: 24px; }
.tray-caption.is-swap { opacity: 0; filter: blur(8px); }
.tray-caption b { display: block; margin-bottom: 4px; font: 700 1.0625rem/1.3 var(--font-display); }
.tray-caption span { display: block; }
@media (max-width: 1080px) {
  .tray-caption { left: 14px; bottom: 14px; padding: 12px 14px 14px; font-size: .875rem; line-height: 1.45; }
  .tray-caption--end { left: auto; right: 14px; }
  .tray-caption b { font-size: .9375rem; }
  /* tablet: tabs as wide as their label ("Kontrola", English "Conversation") instead of five equal ones */
  .tray-tab { flex: 1 1 auto; padding-inline: 12px; }
  .tray-tab .tp { left: 12px; right: 12px; }
}
@media (max-width: 760px) {
  .tray { padding: 12px 12px 14px; border-radius: var(--r-xl); }
  /* na mobile štvorcový výrez — UI je čitateľnejšie; ľavý panel (transkript) / pravý (dekurz) */
  .tray-screen { border-radius: 16px; aspect-ratio: 1 / 1; }
  .tray-layer > video, .tray-layer > img { object-position: left top; }
  .tray-layer--end > video, .tray-layer--end > img { object-position: right top; }
  .tray-layer--crop > img { object-position: center top; }
  .tray-arrow { display: none; }
  .tray-tabs {
    justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .tray-tabs::-webkit-scrollbar { display: none; }
  .tray-tab { flex: none; scroll-snap-align: center; padding: 0 16px; }
  .tray .chip { display: none; }
  .tray .chip.chip--mobile { display: block; }
  /* štvorcový výrez nemá voľnú stranu — popis ide pod okno */
  .tray-caption {
    position: static; width: auto; min-height: 10.5em; padding: 14px 4px 0;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    color: var(--navy); font-size: .9375rem;
  }
}

/* ---------- Možnosti aplikácie — novinové stĺpce nad videom, o kúsok užšie než okno aplikácie ---------- */
.fcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: calc(100% - 64px); max-width: 1056px; margin: 56px auto 0; border-top: 3px solid var(--navy); position: relative; }
.fcols + .tray { margin-top: 72px; }
.fcols-col { display: grid; padding: 22px 28px 6px; border-right: 1px solid var(--line); }
.fcols-col:first-child { padding-left: 0; }
.fcols-col:nth-child(3) { padding-right: 0; border-right: 0; }
.fcols-art { grid-area: 1 / 1; min-width: 0; visibility: hidden; transition: visibility 0s .7s; }
.fcols-art.on { visibility: visible; transition: none; }
.fcols-kick { display: block; font: 700 .625rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.fcols-art h3 { margin: 10px 0 14px; font-family: var(--font-display); font-size: clamp(1.17rem, 1.615vw, 1.4875rem); line-height: 1.14; letter-spacing: -.02em; font-weight: 700; }
.fcols-art p { margin: 0; font: 400 .8rem/1.65 var(--font-body); color: var(--navy); }
/* slovo po slove, nadpis aj odsek: odchádzajúci článok sa rozplynie, nový nabehne až potom */
/* posledná položka je farba z posúvania (ink): tá nečaká na premenu článku */
.fcols-art .w, .js .fcols-art[data-ink] .w {
  display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(6px);
  transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease), color .3s linear;
}
.fcols-art.on .w, .js .fcols-art.on[data-ink] .w {
  opacity: 1; filter: none; transform: none;
  transition-duration: .95s, .95s, .95s, .3s;
  transition-delay: calc(.5s + var(--i, 0) * 20ms), calc(.5s + var(--i, 0) * 20ms), calc(.5s + var(--i, 0) * 20ms), 0s;
}
/* ikona visí pod pravým rohom, stĺpce nezvyšuje */
.fcols-pause {
  position: absolute; top: 100%; right: 0;
  width: 28px; height: 28px; min-height: 28px; margin-top: 2px; padding: 0; border: 0;
  background: none; color: var(--muted);
  opacity: .7;
  cursor: pointer;
}
.fcols-pause svg { width: 14px; height: 14px; }
.fcols-pause:hover { color: var(--navy); opacity: 1; }
@media (max-width: 880px) {
  .fcols { grid-template-columns: 1fr; }
  .fcols-col, .fcols-col:first-child, .fcols-col:nth-child(3) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) { .fcols { width: calc(100% - 40px); } }
/* bez pohybu sa nestrieda nič, všetkých šesť článkov je na stránke pod sebou */
@media (prefers-reduced-motion: reduce) {
  .fcols-col { row-gap: 22px; }
  .fcols-art { grid-area: auto; visibility: visible; }
  .fcols-pause { display: none; }
}

/* ---------- Obsah a článok (bezpečnosť) — vľavo očíslovaný obsah, vpravo článok, ktorý sa premení celý ----------
   js/web.js (tocart) striedá .tocart-art.on; slová idú ako vo .fcols. Bez JS sú všetky články pod sebou. */
.tocart { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 88px); margin-top: 72px; position: relative; }
.tocart-list { position: relative; list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy); align-self: start; }
.tocart-n {
  display: flex; gap: 14px; width: 100%; min-height: 0; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--muted); font: 500 1.0625rem/1.3 var(--font-display); text-align: left; cursor: pointer;
  transition: color .4s, padding-left .5s var(--ease);
}
.tocart-n:hover { color: var(--navy); }
.tocart-n[aria-selected="true"] { color: var(--navy); font-weight: 700; padding-left: 14px; }
.tocart-num { min-width: 1.6em; color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.tocart-stack { display: grid; align-content: start; }
.tocart-art { grid-area: 1 / 1; min-width: 0; visibility: hidden; transition: visibility 0s .7s; }
.tocart-art.on { visibility: visible; transition: none; }
.tocart-kick { display: block; font: 700 .8125rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.tocart-art h3 { margin: 14px 0 22px; font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
.tocart-art p { margin: 0; max-width: 36em; font-size: 1.1875rem; line-height: 1.65; color: var(--navy); }
.tocart-art .w, .js .tocart-art[data-ink] .w {
  display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(6px);
  transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease), color .3s linear;
}
.tocart-art.on .w, .js .tocart-art.on[data-ink] .w {
  opacity: 1; filter: none; transform: none;
  transition-duration: .95s, .95s, .95s, .3s;
  transition-delay: calc(.25s + var(--i, 0) * 16ms), calc(.25s + var(--i, 0) * 16ms), calc(.25s + var(--i, 0) * 16ms), 0s;
}
.tocart-pause {
  position: absolute; top: 100%; right: 0;
  width: 28px; height: 28px; min-height: 28px; margin-top: 2px; padding: 0; border: 0;
  background: none; color: var(--muted); opacity: .7; cursor: pointer;
}
.tocart-pause svg { width: 14px; height: 14px; }
.tocart-pause:hover { color: var(--navy); opacity: 1; }
/* na navy */
.on-dark .tocart-list { border-top-color: #fff; }
.on-dark .tocart-n { color: rgba(255,255,255,.55); border-bottom-color: rgba(255,255,255,.14); }
.on-dark .tocart-n:hover, .on-dark .tocart-n[aria-selected="true"] { color: #fff; }
.on-dark .tocart-num, .on-dark .tocart-kick { color: var(--lilac-on-dark); }
.on-dark .tocart-art p { color: rgba(255,255,255,.82); }
.on-dark .tocart-pause { color: rgba(255,255,255,.6); }
.on-dark .tocart-pause:hover { color: #fff; }
/* novinky (O projekte): v obsahu dátum a titulok na dva riadky, v článku náhľadová fotka a odkaz */
.tocart--news { align-items: center; }   /* bez fotky: článok stojí na strede obsahu */
.tocart--news .tocart-n { align-items: baseline; font-size: .9375rem; line-height: 1.35; }
.tocart--news .tocart-num { min-width: 4.2em; font-size: .8125rem; white-space: nowrap; }
.tocart-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tocart-img { display: block; width: 100%; max-width: 460px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 22px;
  opacity: 0; transition: opacity .7s var(--ease); }
.tocart-art.on .tocart-img { opacity: 1; transition-delay: .25s; }
.tocart--news .tocart-art h3 { font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.25rem); margin: 10px 0 14px; }
.tocart--news .tocart-art h3 a { color: inherit; text-decoration: none; }
.tocart--news .tocart-art h3 a:hover { color: var(--primary); }
.tocart--news .tocart-art p { max-width: none; font-size: 1.125rem; }
.tocart--news .tocart-art .link-arrow { margin-top: 18px; }
/* titulok a stĺpce (Riešenie, Možnosti aplikácie): obsah ako riadok hore, vľavo nadpis, vpravo text v dvoch stĺpcoch */
.tocart--top { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 48px; }
.tocart--top .tocart-list { display: flex; flex-wrap: wrap; row-gap: 4px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); }
.tocart--top .tocart-list li { position: relative; padding-right: 14px; margin-right: 14px; }
.tocart--top .tocart-list li:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 9px; bottom: 9px; width: 1px; background: var(--line); }
.tocart--top .tocart-n { padding: 4px 0; border: 0; font-size: .9375rem; }
.tocart--top .tocart-n[aria-selected="true"] { padding-left: 0; }
.tocart--top .tocart-stack { padding-top: 40px; }
.tocart--top .tocart-art { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.tocart--top .tocart-art h3 { margin: 12px 0 0; font-size: clamp(1.6rem, .96rem + 1.92vw, 2.6rem); }   /* o 20 % menší než .tocart */
.tocart--top .tocart-art p { max-width: none; columns: 2; column-gap: 44px; column-rule: 1px solid var(--line); font-size: 1.0625rem; }
html:not(.js) .tocart-list, html:not(.js) .tocart-pause { display: none; }
html:not(.js) .tocart { grid-template-columns: 1fr; }
html:not(.js) .tocart-stack { row-gap: 48px; }
html:not(.js) .tocart-art { grid-area: auto; visibility: visible; }
html:not(.js) .tocart-art .w { opacity: 1; filter: none; transform: none; }
/* na mobile je obsah vodorovný pás nad článkom */
@media (max-width: 880px) {
  .tocart { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .tocart-list { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .tocart-list::-webkit-scrollbar { display: none; }
  .tocart-list li { flex: none; }
  .tocart-n, .on-dark .tocart-n { padding: 12px 0; border: 0; white-space: nowrap; }
  .tocart-n[aria-selected="true"] { padding-left: 0; }
  .tocart-num { display: none; }
  .tocart--top .tocart-list { flex-wrap: nowrap; }
  .tocart--top .tocart-art { grid-template-columns: 1fr; gap: 20px; }
  .tocart--top .tocart-art p { columns: 1; }
  .tocart--news .tocart-num { display: inline; }
  .tocart--news .tocart-title { display: none; }
  .tocart-art p { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tocart-art .w, .js .tocart-art[data-ink] .w { opacity: 1; filter: none; transform: none; transition: color .3s linear; }
  .tocart-n { transition: none; }
  .tocart-pause { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tray-caption { transition: none; filter: none; } }
/* videá nabiehajú s posúvaním (scrollFade) — pri reduce platí pravidlo .rv s !important */
.js .rv[data-fade], .js .rv.is-in[data-fade] {
  opacity: calc(.12 + .88 * var(--fade, 0));
  transform: none;
  filter: saturate(calc(.35 + .65 * var(--fade, 0)));
  transition: none;
}

/* ---------- 9a. Stĺpce s vlasovou čiarou (features, bezpečnosť, čo potrebujete …) ---------- */
.cols { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 32px; }
.cols > * { min-width: 0; border-top: 1px solid var(--line); padding-top: 28px; }
.bg-paper .cols > * { border-top-color: rgba(13,21,54,.10); }
.cols .ico { width: 24px; height: 24px; }
.cols h4 { margin-top: 20px; margin-bottom: 10px; }
.cols p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.cols .link-arrow { margin-top: 18px; font-size: .9375rem; }
@media (max-width: 1080px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 560px)  { .cols { grid-template-columns: 1fr; } }

/* ---------- 9b. Navy sekcia Bezpečnosť ---------- */
.sec-navy { background: var(--navy); color: #fff; }
.sec-navy h2, .sec-navy h3, .sec-navy h4 { color: #fff; }
.sec-navy .lead { color: rgba(255,255,255,.72); }
.sec-split { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sec-split > * { min-width: 0; }
.sec-split .lead { margin-top: 20px; }
.sec-navy .photo-fade img { filter: brightness(.92); }
.sec-navy .cols { margin-top: 72px; }
.sec-navy .cols > * { border-top-color: rgba(255,255,255,.14); }
.sec-navy .cols .ico { filter: brightness(0) invert(1); opacity: .9; }
.sec-navy .cols p { color: rgba(255,255,255,.7); }
.local-split { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 80px); }
.local-split > * { min-width: 0; }
.local-split h4 { font-size: 1.0625rem; margin-bottom: 16px; }
.local-split ul { display: grid; gap: 10px; }
.local-split li { position: relative; padding-left: 28px; color: rgba(255,255,255,.86); font-size: .9375rem; }
.local-split .is-local li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230D1536' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.local-split .is-tech li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac-on-dark); }
.local-note { margin-top: 18px; font-size: .875rem; color: rgba(255,255,255,.6); }
.sec-navy .more .link-arrow { color: var(--lilac-on-dark); }
@media (max-width: 1080px) {
  .sec-split { grid-template-columns: 1fr; }
  .sec-split .sec-media { order: -1; }
  .sec-split .sec-media img { max-height: 420px; object-fit: cover; }
}
@media (max-width: 760px) { .local-split { grid-template-columns: 1fr; } }

/* .photo-fade — doslovne zo živého webu (DESIGN §6): fotky sa strácajú do pozadia na všetkých okrajoch */
.photo-fade {
  display: block; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.photo-fade img { width: 100%; display: block; }

/* ---------- 10a. Karty ukážok ---------- */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.head-row > * { min-width: 0; }
.note-sm { margin-top: 14px; font-size: .8125rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.cases {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px;
}
.case { display: block; min-width: 0; }
.case-thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line); background: var(--lavender-2);
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.case-thumb::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%230D1536'/%3E%3C/svg%3E") 55% 50% / 20px no-repeat;
  box-shadow: 0 8px 20px rgba(13,21,54,.18);
  transition: transform .3s var(--ease);
}
.case:hover .case-thumb::after { transform: scale(1.08); }
.case:hover .case-thumb img { transform: scale(1.03); }
.case h4 { margin-top: 16px; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.015em; }
.case .meta { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.pill {
  display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--lavender); color: var(--primary);
  font: 600 .75rem/1.3 var(--font-display); letter-spacing: .02em;
}
@media (max-width: 1080px) {
  .ukazky-sec { overflow: clip; }
  .cases {
    display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .cases::-webkit-scrollbar { display: none; }
  .case { flex: none; width: 260px; scroll-snap-align: start; }
}
@media (max-width: 760px) { .head-row { flex-direction: column; align-items: flex-start; } }

/* ---------- 10b. Cenník (teaser a karty plánov) ---------- */
.plans {
  max-width: 960px; margin: 56px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.plan {
  position: relative; min-width: 0;
  display: flex; flex-direction: column;
  padding: 40px;
  border-radius: var(--r-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan--featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow-card); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-name { font: 800 1.25rem/1.2 var(--font-display); letter-spacing: .02em; }
.plan-badge { padding: 5px 12px; border-radius: var(--r-pill); background: var(--lilac-on-dark); color: var(--navy); font: 600 .75rem/1.3 var(--font-display); }
.plan-cond { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.plan--featured .plan-cond { color: rgba(255,255,255,.7); }
.plan-price { margin-top: 28px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan-price strong { font: 800 clamp(2.75rem, 2rem + 3vw, 4rem)/1 var(--font-display); letter-spacing: -0.03em; }
.plan-price span { font-size: .9375rem; color: var(--muted); }
.plan--featured .plan-price span { color: rgba(255,255,255,.72); }
.plan-net { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
.plan--featured .plan-net { color: rgba(255,255,255,.6); }
.plan-hl { margin-top: 24px; display: flex; align-items: center; gap: 10px; font: 600 1rem/1.3 var(--font-display); }
.plan-hl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(37,198,106,.18); }
.plan-points { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; margin-bottom: 32px; }
.plan--featured .plan-points { border-top-color: rgba(255,255,255,.14); }
.plan-points li { position: relative; padding-left: 28px; font-size: .9375rem; }
.plan-points li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%2357499C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan--featured .plan-points li::before { background-color: rgba(207,200,242,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23CFC8F2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; width: 100%; }
.plans-after { margin-top: 32px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.plans-after p { max-width: 640px; font-size: .9375rem; color: var(--muted); }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px; }
}

/* ---------- 10c. Špecializácie ---------- */
.spec-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.spec-grid > * { min-width: 0; }
.spec-grid .lead { margin-top: 20px; }
.spec-avail { border-top: 1px solid var(--line); }
.spec-avail li {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  font: 700 clamp(1.375rem, 1.1rem + 1vw, 1.75rem)/1.2 var(--font-display); letter-spacing: -0.02em;
}
.spec-avail li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(37,198,106,.15); flex: none; }
.spec-note { margin-top: 20px; }
.spec-label { margin-top: 40px; }
.spec-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-pills li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--lavender); color: var(--muted); font-size: .875rem; }
.amb-strip {
  margin-top: 40px; padding: 24px;
  display: flex; align-items: center; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.amb-strip:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.amb-strip img { width: 96px; height: 74px; object-fit: cover; border-radius: 12px; flex: none; }
.amb-strip .eyebrow { margin-bottom: 6px; }
.amb-strip p { font-size: .9375rem; color: var(--muted); }
.amb-strip .link-arrow { margin-top: 8px; font-size: .9375rem; }
@media (max-width: 1080px) { .spec-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .amb-strip { flex-direction: column; align-items: flex-start; } }

/* ---------- 11a. O projekte ---------- */
.about-photo { max-width: 1100px; margin: 56px auto 0; }
.about-photo img { aspect-ratio: 16 / 8; object-fit: cover; }
.quotes { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 96px); max-width: 1100px; margin-inline: auto; }
.quotes > * { min-width: 0; }
.quotes blockquote { margin: 0; }
.quotes p { font: 600 clamp(1.125rem, 1rem + .5vw, 1.375rem)/1.4 var(--font-display); letter-spacing: -0.015em; color: var(--navy); }
.quotes cite { display: block; margin-top: 12px; font-style: normal; font-size: .9375rem; color: var(--muted); }
.memo {
  margin-top: 72px; padding: 20px;
  display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.memo:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.memo > * { min-width: 0; }
.memo img { width: 240px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
.memo-date { display: block; margin-bottom: 6px; font-size: .8125rem; color: var(--muted); }
.memo h4 { margin-bottom: 8px; }
.memo p { font-size: .9375rem; color: var(--muted); }
.memo .link-arrow { margin-top: 12px; font-size: .9375rem; }
.timeline { --n: 5; }
.timeline .lf-num { text-transform: uppercase; font-size: .8125rem; letter-spacing: .08em; }
@media (max-width: 760px) {
  .quotes { grid-template-columns: 1fr; }
  .memo { grid-template-columns: 1fr; }
  .memo img { width: 100%; }
}

/* ---------- 11b. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid > * { min-width: 0; }
.faq-side { position: sticky; top: 120px; }
.faq-side .link-arrow { margin-top: 28px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.bg-paper .faq-item { border-color: rgba(13,21,54,.10); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font: 600 1.1875rem/1.35 var(--font-display); letter-spacing: -0.015em; color: var(--navy);
  list-style: none; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), background-color .3s, border-color .3s;
}
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: var(--navy); border-radius: 1px; transition: background-color .3s;
}
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open]:not(.is-closing) .faq-ico { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); }
.faq-item[open]:not(.is-closing) .faq-ico::before, .faq-item[open]:not(.is-closing) .faq-ico::after { background: #fff; }
.faq-body { overflow: hidden; }
.faq-body p { max-width: 60ch; padding-bottom: 24px; color: var(--muted); }
@media (max-width: 1080px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}
@media (max-width: 760px) { .faq-item summary { font-size: 1.0625rem; padding: 20px 0; } }

/* ---------- 12a. Video pás + prekrývajúci .cta-band ---------- */
.vband {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 78vh;
  display: grid; place-items: center;
  padding: 140px 0 180px;
  color: #fff; text-align: center;
  background: var(--navy);
}
.vband video, .vband .vband-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vband::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(13,21,54,.84) 0%, rgba(62,52,111,.80) 50%, rgba(13,21,54,.86) 100%);
}
/* motív v páse sa krížil s nadpisom; nesie ho .cta-band hneď pod ním */
.vband .cta-motif { display: none; }
.vband .cta-motif::before, .vband .cta-motif::after { width: 180px; height: 180px; border-radius: 40px; border-color: rgba(255,255,255,.12); }
.vband .cta-motif::before { right: 110px; top: 0; }
.vband .cta-motif::after { right: 0; top: 100px; }
.vband-inner { position: relative; max-width: 900px; padding-inline: var(--gutter); }
.vband .cta-actions { justify-content: center; margin-top: 32px; }
@media (max-width: 560px) { .vband .cta-actions { flex-direction: column; align-items: stretch; } }
.vband h2 {
  color: #fff;
  font-size: clamp(2.25rem, 1.3rem + 3.9vw, 4.05rem); line-height: 1.05; letter-spacing: -0.03em;
}
.vband h2 .l1, .vband h2 .l2 { display: block; }
.vband h2 .l2 { color: var(--lilac-on-dark); }
.vband p { margin: 24px auto 0; max-width: 36em; color: rgba(255,255,255,.82); font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem); }

.cta-section { padding: 0 0 var(--sec); background: #fff; }
.cta-section--overlap .cta-band { margin-top: -120px; }
.cta-section--plain { padding-top: var(--sec); }
.cta-band {
  position: relative; z-index: 2; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px 64px;
  border-radius: var(--r-lg);
  background: linear-gradient(105deg, #120F2E 0%, #241D4E 48%, #43397D 100%);   /* tmavá fialová až fialovo-čierna */
  color: #fff;
  box-shadow: 0 40px 80px -30px rgba(13,21,54,.45);
}
.cta-text { position: relative; z-index: 1; max-width: 620px; }
.cta-text h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.18; letter-spacing: -0.01em; margin-bottom: 14px; }
.cta-text p { font-size: 1.02rem; color: rgba(255,255,255,.82); }
.cta-motif { position: absolute; top: 50%; right: 36px; width: 220px; height: 200px; transform: translateY(-50%); z-index: 0; pointer-events: none; }
.cta-motif::before, .cta-motif::after { content: ""; position: absolute; border: 1.5px solid rgba(255,255,255,.22); border-radius: 26px; }
.cta-motif::before { width: 120px; height: 120px; right: 70px; top: 10px; }
.cta-motif::after  { width: 120px; height: 120px; right: 0; top: 60px; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex: none; }
/* motív posunutý do rohu, aby sa nekrížil s obrysom tlačidla „Kontaktujte nás“ */
.cta-band .cta-motif { right: -56px; top: 18%; }
@media (max-width: 960px) {
  .cta-band { flex-direction: column; align-items: flex-start; gap: 28px; padding: 36px 28px; }
  .cta-band .cta-motif { display: none; }
  .cta-actions { flex-wrap: wrap; width: 100%; }
}
@media (max-width: 760px) {
  .vband { min-height: 70svh; padding: 96px 0 140px; }
  .vband .cta-motif { display: none; }
  .cta-section--overlap .cta-band { margin-top: -64px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- 12b. Pätička ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: rgba(255,255,255,.78); padding-top: 96px; }
.site-footer .cta-motif { top: auto; bottom: 64px; right: -70px; transform: none; width: 260px; }
.site-footer .cta-motif::before, .site-footer .cta-motif::after { border-color: rgba(255,255,255,.05); width: 140px; height: 140px; border-radius: 32px; }
.site-footer .cta-motif::before { right: 80px; top: 0; }
.site-footer .cta-motif::after { right: 0; top: 80px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 72px; }
.footer-grid > * { min-width: 0; }
.site-footer .brand-mark { width: 30px; height: 30px; }
.footer-claim { margin-top: 20px; max-width: 26em; font-size: .9375rem; color: rgba(255,255,255,.66); }
.footer-h { display: block; margin-bottom: 18px; font: 600 .75rem/1.3 var(--font-display); text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid li a { font-size: .9375rem; color: rgba(255,255,255,.78); transition: color .2s; }
.footer-grid li a:hover { color: #fff; }
.footer-bottom { background: var(--navy-2); padding: 20px 0; font-size: .8125rem; color: rgba(255,255,255,.6); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 960px) {
  .site-footer { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .site-footer .cta-motif { display: none; } }
/* aj na telefóne dva stĺpce odkazov — jeden stĺpec robil z pätičky dlhý zoznam */
@media (max-width: 460px) { .footer-grid { gap: 36px 16px; } }

/* ---------- 12c. Sociálne siete v pätičke ---------- */
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--primary); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- 13. Podstránky — zdieľané kúsky ---------- */
/* nižší video hero (ako-funguje, kontakt): <section class="hero hero--short"> */
.hero--short { height: 72svh; min-height: 560px; }
/* stránka bez tmavého hera (cennik): <body class="nav-solid">, obsah začína pod hlavičkou */
.nav-solid main { padding-top: calc(var(--bar-h) + var(--hdr-h)); }

/* lišta kapitol (ako-funguje): <nav class="chapters"><div class="chapters-in"><a href="#…"> … */
.chapters {
  position: sticky; top: var(--hdr-h); z-index: 40;
  height: 52px;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 24px -16px rgba(13,21,54,.25);
}
.chapters-in {
  height: 100%; display: flex; align-items: center; justify-content: center; gap: 4px;
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  overflow-x: auto; scrollbar-width: none;
}
.chapters-in::-webkit-scrollbar { display: none; }
.chapters a {
  flex: none; padding: 8px 14px; border-radius: var(--r-pill);
  font: 600 .875rem/1 var(--font-display); color: var(--muted); white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.chapters a:hover { color: var(--navy); }
.chapters a.is-active { background: var(--navy); color: #fff; }
@media (max-width: 960px) { .chapters-in { justify-content: flex-start; } }

/* pripnutý príbeh (Riešenie, Ako to funguje): .story > .story-pin (nadpis + .story-grid: .story-media s vrstvami
   .story-layer[data-step] a .story-window s krokmi .story-step[data-step]). Na počítači je .story vysoký o dráhu
   krokov, .story-pin v ňom stojí pod lištou kapitol a js/web.js (story) posúva kroky v okne podľa posunutia stránky;
   obraz sa zmení, keď krok dobehne k jeho stredu. Na mobile sú kroky pod sebou, každý so svojím obrazom. */
.story { --pin-top: calc(var(--hdr-h) + 24px); }
.story-step .story-lead { margin-bottom: 10px; font: 600 1.0625rem/1.45 var(--font-display); color: var(--navy); }
.story-step .ticks { margin-top: 14px; }
.story-step .ticks li { font-size: .9375rem; }
.story-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 96px); margin-top: clamp(28px, 3.5vw, 48px); }
.story-grid > * { min-width: 0; }
.story-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.story-layer.is-active { opacity: 1; }
.story.is-scrubbed .story-layer { transition: none; }   /* priehľadnosť riadi posun stránky (js/web.js story) */
.story-step { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1081px) {
  /* scéna je vysoká podľa obsahu; dráhu na posúvanie krokov dáva výplň za ňou (::after) */
  .story::after { content: ""; display: block; height: calc((var(--n, 5) - 1) * 55svh); }
  /* scéna vyplní ~92 % okna: na vysokej obrazovke patrí ďalšej sekcii len spodný pás (padding pod a nad ňou = 128 px) */
  .story-pin { position: sticky; top: var(--pin-top); display: flex; flex-direction: column; min-height: calc(92svh - var(--pin-top) - 128px); }
  .story-pin .story-grid { flex: 1; align-content: center; }
  .story-pin .section-head { flex: none; max-width: none; }   /* nadpis na jeden riadok — viac miesta pre obraz */
  /* pod scénou ostane na spodku obrazovky pruh pre ďalšiu sekciu (js/web.js storyPeek ju tam prisunie) */
  .story-media { width: 100%; max-height: calc(100svh - var(--pin-top) - 340px); }
  /* okno krokov je vysoké ako obraz: zoznam v ňom leží absolútne a výšku riadku neurčuje */
  .story-window { position: relative; overflow: hidden;
    -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
  .story-steps { position: absolute; top: 0; left: 0; right: 0; will-change: transform; }
  .story-step { padding-block: 6svh; opacity: .3; }
  .section:has(> .container > .story) { padding-bottom: clamp(32px, 3vw, 48px); }
  .section:has(> .container > .story) + .section { padding-top: clamp(56px, 5vw, 80px); }
  /* posunutá sekcia prekryje dráhu príbehu; bez vlastného pozadia by cez ňu presvitalo pozadie príbehu */
  :where(.is-peek) { background-color: var(--white); }
}
.story-step .lf-num { margin-bottom: 16px; }
.story-step h3 { margin-bottom: 16px; }
.story-step p { color: var(--muted); max-width: 30em; }
.story-step .story-mobile { display: none; }
@media (max-width: 1080px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .story-step { min-height: 0; opacity: 1; padding-block: 28px; }
  .story-step .story-mobile { display: block; position: relative; aspect-ratio: 4 / 3; margin-bottom: 24px; }
}

/* stav formulára prototypu (kontakt) */
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--lavender); color: var(--navy); font-size: .9375rem; }
.form-status[hidden] { display: none; }

/* ============================================================
   14. PODSTRÁNKY — ako-funguje, cennik, kontakt (vývojár #2)
   Len doplnky; úvodnú stránku nemenia. Komponenty 1–13 sa používajú tak, ako sú.
   ============================================================ */

/* --- 14a. Spoločné --- */
.has-chapters [id] { scroll-margin-top: calc(var(--hdr-h) + 52px + 24px); }
.sub-label { margin-top: 56px; font-size: 1.25rem; line-height: 1.25; }
.linefill--tight { margin-top: 32px; }
.more--line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; color: var(--muted); font-size: .9375rem; }
.h-muted { display: block; margin-top: 12px; font: 500 1.0625rem/1.5 var(--font-body); letter-spacing: 0; color: var(--muted); }
.lead-strong { color: var(--navy); font-weight: 600; }

/* Riešenie, Nasadenie: blok s odkazom na návody (pomoc.html) */
.guides-link { margin-top: 56px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 28px;
  padding: 28px 32px; background: var(--paper); border-radius: var(--r-xl); }
.guides-link .ico { width: 28px; height: 28px; }
.guides-link h3 { font-size: 1.25rem; line-height: 1.25; }
.guides-link p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.guides-actions { display: flex; flex-wrap: wrap; gap: 10px 24px; }
@media (max-width: 760px) { .guides-link { grid-template-columns: 1fr; padding: 24px; } }

/* --- 14b. ako-funguje: úvodná veta Prehľadu (statement −30 %, bez efektu) --- */
.intro-line {
  max-width: 24em;
  font: 600 clamp(1.25rem, .75rem + 1.8vw, 2.275rem)/1.25 var(--font-display);
  letter-spacing: -0.025em; text-wrap: balance; color: var(--navy);
}

/* --- 14c. ako-funguje: lepkavý príbeh — vrstvy média --- */
.story-steps { counter-reset: none; }
.story-layer--device { background: var(--paper) url("/assets/device/rounded_square_pattern.svg") 50% 38% / 78% auto no-repeat; }
.vpanel .story-layer--device img, .vpanel.story-layer--device img,
.story-layer--device > img { object-fit: contain; padding: 6% 8% 20%; }
.story-layer--ui, .vpanel.story-layer--ui { background: #fff; }
.story-layer--ui > video, .story-layer--ui > img { object-position: left top; }
.story-layer--end > video, .story-layer--end > img { object-position: right top; }
.story-step h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.125rem); }
@media (max-width: 1080px) {
  .story-steps { display: grid; gap: 40px; }
  .story-step { padding-block: 0; }
  .story-step .story-mobile { box-shadow: 0 24px 48px -24px rgba(13,21,54,.28); }
}

/* --- 14d. ako-funguje: Jedno riešenie. Dve úlohy. --- */
.duo { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo > * { min-width: 0; }
.duo-card {
  display: flex; flex-direction: column;
  padding: 40px;
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.duo-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.duo-card h3 { margin-bottom: 4px; }
.duo-card .eyebrow { margin-bottom: 10px; }
.duo-card .ticks { margin-bottom: 28px; }
.duo-card .link-arrow { margin-top: auto; }
.duo-media { aspect-ratio: 16 / 10; margin-bottom: 32px; display: grid; place-items: center; border-radius: 16px; overflow: hidden; }
.duo-media img { max-height: 100%; width: auto; max-width: 100%; }
.duo-media--app { background: var(--lavender-2); padding: 20px; }
.duo-media--app img { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); background: #fff; }
.duo-media--device { background: var(--lavender-2) url("/assets/device/rounded_square_pattern.svg") 50% 50% / 70% auto no-repeat; padding: 16px 32px; }
@media (max-width: 960px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .duo-card { padding: 24px; } .duo-media { margin-bottom: 24px; } }

/* --- 14e. cennik: svetlé hero s fotkou --- */
.page-hero {
  margin-top: calc(-1 * (var(--bar-h) + var(--hdr-h)));
  padding: calc(var(--bar-h) + var(--hdr-h) + clamp(40px, 6vw, 96px)) 0 clamp(56px, 7vw, 112px);
}
.page-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero-grid > * { min-width: 0; }
.page-hero h1 { font-size: clamp(2.125rem, 1.23rem + 3.1vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.page-hero h1 > span { display: block; }
.page-hero h1 .l2 { color: var(--primary); }
.page-hero .lead { margin-top: 24px; max-width: 30em; }
.page-hero .hero-actions { margin-top: 36px; }
.page-hero-media img { aspect-ratio: 1600 / 1065; object-fit: cover; }
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .page-hero .hero-actions .btn { width: 100%; } }



/* --- 14h. kontakt: centrovaný video hero (scrim značky ako pás L, silnejší kvôli kontrastu) --- */
.hero--center {
  height: auto; min-height: 64svh; max-height: none;
  align-items: center; text-align: center;
  padding: calc(var(--bar-h) + var(--hdr-h) + 56px) 0 200px;
}
.hero--center::after {
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(var(--scrim),.40) 0%, rgba(var(--scrim),0) 100%),
    linear-gradient(105deg, rgba(var(--scrim),.84) 0%, rgba(62,52,111,.82) 50%, rgba(var(--scrim),.86) 100%);
}
.hero--center .hero-inner { padding-bottom: 0; }
.hero--center .hero-copy { margin-inline: auto; max-width: 1120px; }
.hero--center h1 { font-size: clamp(2.25rem, 1.3rem + 3.4vw, 3.75rem); }
.hero--center .hero-sub, .hero--center .eyebrow { margin-inline: auto; }
.hero--center .hero-sub { max-width: 38em; }
.hero--center .hero-pause { bottom: 184px; }
@media (max-width: 760px) {
  .hero--center { padding: calc(var(--bar-h) + var(--hdr-h) + 40px) 0 120px; min-height: 0; }
  /* dole by sa krížilo s podnadpisom a kartou formulára — hore vpravo, na úrovni eyebrow */
  .hero--center .hero-pause { bottom: auto; top: calc(var(--bar-h) + var(--hdr-h) + 24px); }
}

/* --- 14i. kontakt: blok objednávky (karta prekrýva hero) --- */
.order-sec { position: relative; z-index: 2; margin-top: -160px; }
.order-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.order-grid > * { min-width: 0; }
.order-card { padding: 48px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.order-card h2 { font-size: 2rem; line-height: 1.15; }
.order-sub { margin-top: 12px; color: var(--muted); font-size: 1rem; max-width: 40em; }
.order-form { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.order-form > * { min-width: 0; }
.order-form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font: 600 .875rem/1.3 var(--font-body); color: var(--navy); }
.field .req { color: var(--primary); }
.field input, .field select, .field textarea {
  display: block; width: 100%;
  min-height: 52px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--navy);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { padding: 14px 16px; min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8C91A8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(87,73,156,.14);
}
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap select:invalid { color: #8C91A8; }
.select-wrap option { color: var(--navy); }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.6px solid var(--navy); border-bottom: 1.6px solid var(--navy); transform: rotate(45deg);
  pointer-events: none;
}
.was-validated .field :invalid { border-color: var(--ochre); }
.field-hint { display: block; margin-top: 8px; font-size: .875rem; color: var(--muted); }
.field-hint a, .spec-hint a, .form-note a, .gain a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.spec-hint {
  margin-top: 10px; padding: 2px 0 2px 12px;
  border-left: 3px solid var(--green);
  font-size: .875rem; line-height: 1.55; color: var(--muted);
  transition: border-color .3s;
}
.spec-hint small { display: block; font-size: inherit; }
.spec-hint small[hidden] { display: none; }
.spec-hint:not([data-stav="dostupne"]) { border-left-color: var(--ochre); }
.form-note { font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.btn--submit svg { transition: transform .25s var(--ease); }
.btn--submit:hover svg { transform: translateX(3px); }

/* pravý stĺpec objednávky: čo získate + ambasádorský program; spolu sa držia pri formulári */
.order-aside { position: sticky; top: calc(var(--hdr-h) + 34px); display: grid; gap: 20px; }
.order-amb { padding: 32px 36px; background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.order-amb h3 { margin: 10px 0 14px; font-size: 1.375rem; line-height: 1.25; }
.order-amb p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.order-amb p + p { margin-top: 10px; }
.order-amb .link-arrow { margin-top: 16px; font-size: .9375rem; }
/* plán ako dve karty (rádiá); pri prihláške do programu sa skryjú (data-order-only) */
.plan-cards { margin: 0; padding: 0; border: 0; min-width: 0; }
.plan-cards legend { margin-bottom: 8px; padding: 0; font: 600 .875rem/1.3 var(--font-body); color: var(--navy); }
.plan-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-card { position: relative; display: block; cursor: pointer; }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card-in { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s, background .2s; }
.plan-card-in b { font: 700 .9375rem/1.2 var(--font-display); letter-spacing: .04em; color: var(--navy); }
.plan-card-price { font: 700 1.25rem/1.25 var(--font-display); color: var(--navy); }
.plan-card-price small { font: 400 .8125rem/1 var(--font-body); color: var(--muted); }
.plan-card-price .plan-card-gross { display: block; margin-top: 6px; }   /* cena s DPH pod veľkou cenou bez DPH (2026-11-11) */
.plan-card-note { font-size: .8125rem; color: var(--muted); }
.plan-card:hover .plan-card-in { border-color: rgba(87,73,156,.45); }
.plan-card input:checked + .plan-card-in { border-color: var(--primary); background: var(--lavender); box-shadow: 0 0 0 3px rgba(87,73,156,.14); }
.plan-card input:focus-visible + .plan-card-in { outline: 2px solid var(--primary); outline-offset: 2px; }
.plan-cards.is-invalid .plan-card-in { border-color: var(--ochre); }
.order-form [hidden] { display: none; }
@media (max-width: 420px) { .plan-card-row { grid-template-columns: 1fr; } }

.order-side {
  position: relative;
  overflow: hidden;
  padding: 40px;
  background: var(--navy); color: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}
.order-side h3 { position: relative; color: #fff; font-size: 1.5rem; line-height: 1.2; }
.order-side .cta-motif { top: auto; bottom: -110px; right: -110px; transform: none; opacity: .35; }
.gain { position: relative; margin-top: 28px; display: grid; gap: 22px; }
.gain li { position: relative; padding-left: 34px; }
.gain li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(207,200,242,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23CFC8F2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.gain b { display: block; font: 600 1rem/1.35 var(--font-display); color: #fff; }
.gain span { display: block; margin-top: 4px; font-size: .9375rem; line-height: 1.55; color: rgba(255,255,255,.7); }
.gain a { color: var(--lilac-on-dark); }
@media (max-width: 1080px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-aside { position: relative; top: 0; }
}
@media (max-width: 760px) {
  .order-sec { margin-top: -72px; }
  .order-card { padding: 24px; }
  .order-form { grid-template-columns: 1fr; gap: 18px; }
  .order-side { padding: 28px 24px; }
  .btn--submit { width: 100%; }
}

/* --- 14j. kontakt: kontakty a prevádzkovateľ --- */
.contact-big { margin-bottom: 6px; font: 600 1.125rem/1.4 var(--font-display) !important; color: var(--navy) !important; }
.contact-big a:hover { color: var(--primary); }
#kontakt .cols p + p { margin-top: 2px; }
.facts { margin: 0; border-top: 1px solid rgba(13,21,54,.10); }
.facts > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(13,21,54,.10); }
.facts dt { font-size: .875rem; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; color: var(--navy); font-weight: 500; }
.facts a { color: var(--primary); }
.facts a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 460px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* okno „Napíšte nám“ na Kontakte (js/main.js, <dialog>) */
.msg-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 36px 32px 32px; border: 0; border-radius: var(--r-xl); background: #fff; color: var(--navy); box-shadow: var(--shadow-card); }
.msg-dialog::backdrop { background: rgba(13,21,54,.55); }
.msg-dialog h2 { margin: 0 0 20px; font-size: 1.75rem; line-height: 1.15; }
.msg-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.msg-close:hover { background: rgba(13,21,54,.06); color: var(--navy); }
.msg-form { display: grid; gap: 16px; }
.field .is-invalid { border-color: var(--ochre); }
#kontakt > .container > .form-note { margin-top: 32px; }
#kontakt + #spolupraca { padding-top: 0; }   /* Kontakt: Kariéra nadväzuje na kontakty */
.hero .hl { color: var(--lilac-on-dark); }
.form-status:empty { display: none; }

/* ---------- Novinové stĺpce bez striedania (cennik) ---------- */
.fcols--static { width: auto; max-width: none; margin-top: 48px; }
.fcols--static .fcols-art { visibility: visible; }
.fcols--static .fcols-art h3 { margin-top: 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.fcols--static .fcols-art p { font-size: .9375rem; color: var(--muted); }
.fcols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fcols--4 .fcols-col:nth-child(3) { padding-right: 28px; border-right: 1px solid var(--line); }
.fcols--4 .fcols-col:last-child { padding-right: 0; border-right: 0; }
.bg-paper .fcols-col { border-color: rgba(13,21,54,.10); }
.fcols-img { display: block; width: auto; height: 200px; max-width: 100%; margin: 0 auto 24px; object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.07) contrast(1.06); }
.fcols--static .fcols-art .fcols-price { margin-top: 16px; font: 700 1.25rem/1.2 var(--font-display); color: var(--navy); }
.fcols-price span { font: 500 .875rem/1 var(--font-body); color: var(--muted); }
#plany { padding-bottom: 64px; }
.price-statement .statement { max-width: 22em; }
@media (max-width: 880px) {
  .fcols--4 { grid-template-columns: 1fr; }
  .fcols--4 .fcols-col, .fcols--4 .fcols-col:nth-child(3), .fcols--4 .fcols-col:last-child { padding: 20px 0; border-right: 0; }
}

/* ---------- Riešenie a skrátená domovská stránka ---------- */
#prehlad .fcols { margin-top: 64px; }
.fcols--static .fcols-art .link-arrow { margin-top: 14px; }
.vrow-text h2 { margin-bottom: 20px; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.12; }
.mozog-note { margin-top: 40px; max-width: 46em; color: rgba(255,255,255,.72); }
.mozog-note a { color: #fff; }
.sub-h { margin-top: 72px; font-size: clamp(1.375rem, 2vw, 1.75rem); }
.sub-h + .fcols { margin-top: 20px; }
#aplikacia .fcols { margin-top: 72px; }
.home-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.home-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
#cennik .amb-strip { max-width: 960px; margin: 48px auto 0; }
@media (max-width: 880px) { .home-about { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 16. Čítacie stránky (otázky, návody, články, právne) ---------- */
.read-hero { padding-block: clamp(56px, 7vw, 96px) clamp(44px, 5vw, 72px); }
.read-hero h1 { max-width: 20em; font-size: clamp(2.25rem, 1.3rem + 3.1vw, 3.75rem); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.read-hero .lead { max-width: 42em; margin-top: 20px; }
.read-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.read-top .eyebrow { margin-bottom: 0; }
.read-back { font: 500 .9375rem/1.3 var(--font-display); color: var(--muted); }
.read-back:hover { color: var(--primary); }
.read-meta { margin-top: 24px; font-size: .9375rem; color: var(--muted); }
.read-actions { margin-top: 24px; }
.read-related h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.read-related .fcols--static .fcols-art h3 { margin-top: 10px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.22; }
.read-related .fcols-art a { color: inherit; transition: color .2s; }
.read-related .fcols-art a:hover { color: var(--primary); }

/* text článkov a právnych dokumentov */
.legal-doc { max-width: 720px; }
.legal-doc::after { content: ""; display: block; clear: both; }
.legal-doc p, .legal-doc li { font-size: 1.0625rem; line-height: 1.75; color: var(--navy); }
.legal-doc p { margin-bottom: 18px; }
.legal-doc h2 { clear: right; margin: 48px 0 14px; font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.2; letter-spacing: -.015em; }
.legal-doc > h2:first-child { margin-top: 0; }
.legal-doc h3 { margin: 28px 0 10px; font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.3; }
.legal-doc ul, .legal-doc ol { display: grid; gap: 8px; margin: 0 0 20px; padding-left: 22px; }
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc strong { font-weight: 600; }
.legal-doc a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc .legal-updated { margin-bottom: 36px; font-size: .9375rem; color: var(--muted); }
.legal-doc .legal-box { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--primary-light); }
.legal-doc .legal-box p:last-child { margin-bottom: 0; }
.article-float { float: right; width: 280px; max-width: 45%; margin: 6px 0 18px 32px; }
.article-cover { margin: 0 0 32px; }
.article-float img, .article-cover img { width: 100%; height: auto; display: block; }
.article-float figcaption { margin-top: 6px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.legal-table { width: 100%; margin: 8px 0 24px; border-collapse: collapse; font-size: .9375rem; }
.legal-table th, .legal-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; color: var(--navy); }
.legal-table th { border-bottom: 2px solid var(--navy); font: 700 .8125rem/1.3 var(--font-display); }
@media (max-width: 760px) {
  .article-float { float: none; width: 100%; max-width: none; margin: 0 0 24px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal-table td { padding: 4px 0; border: 0; }
}

/* zoznamy, ktoré sa rozbaľujú: kategórie otázok a kapitoly návodov */
.faq-toolbar { display: flex; justify-content: flex-end; gap: 20px; margin-bottom: 16px; }
.faq-toolbar button { padding: 6px 0; border: 0; background: none; color: var(--muted); font: 500 .875rem/1.3 var(--font-display); cursor: pointer; }
.faq-toolbar button:hover { color: var(--primary); }
.faq-categories { border-top: 3px solid var(--navy); }
.faq-cat { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 20px); }
.faq-cat > summary { display: flex; align-items: center; gap: 18px; padding: 22px 0; list-style: none; cursor: pointer; }
.faq-cat > summary::-webkit-details-marker { display: none; }
.faq-cat-icon { flex: none; min-width: 1.6em; font: 700 1.0625rem/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--primary); }
.faq-cat-meta { flex: 1; min-width: 0; }
.faq-cat-name { display: block; font: 700 clamp(1.1875rem, 1.8vw, 1.375rem)/1.25 var(--font-display); letter-spacing: -.01em; color: var(--navy); }
.faq-cat-count { display: block; margin-top: 4px; font-size: .875rem; color: var(--muted); }
.faq-cat-chev { flex: none; display: grid; place-items: center; width: 28px; height: 28px; transition: transform .3s var(--ease); }
.faq-cat-chev svg { width: 16px; height: 16px; stroke: var(--primary); }
.faq-cat[open] > summary .faq-cat-chev { transform: rotate(180deg); }
.faq-cat-body { padding: 0 0 28px calc(1.6em + 18px); }
.faq-cat-body .faq-item summary, .help-faq .faq-item summary { padding: 16px 0; font-size: 1.0625rem; }
.faq-cat-body .faq-body, .help-faq .faq-body { color: var(--muted); }
.faq-cat-body .faq-body:not(:has(p)), .help-faq .faq-body:not(:has(p)) { padding-bottom: 20px; max-width: 62ch; line-height: 1.65; }
.faq-body a { color: var(--primary); }
@media (max-width: 760px) {
  .faq-cat-body { padding-left: 0; }
  .faq-toolbar { justify-content: flex-start; }
}

/* Pomoc: obsah vedľa návodu, kapitoly sa skladajú (js/main.js), jeden návod naraz */
.help-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0 64px; align-items: start; }
.help-toc { position: sticky; top: calc(var(--hdr-h) + 24px); max-height: calc(100svh - var(--hdr-h) - 40px); overflow-y: auto; }
.help-layout > .help-guide { grid-column: 2; }
.help-layout > .help-toc { grid-row: 1 / span 20; }
.help-toc h2 { margin-bottom: 14px; font: 700 .75rem/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.help-toc ol, .help-toc ul { list-style: none; margin: 0; padding: 0; }
.help-toc > ol { display: grid; gap: 20px; }
.help-toc-guide { display: flex; align-items: flex-start; gap: 10px; font: 700 .9375rem/1.3 var(--font-display); color: var(--navy); }
.help-toc-guide:hover, .help-toc li.is-current > .help-toc-guide { color: var(--primary); }
.help-toc ul { display: grid; gap: 7px; margin: 10px 0 0 10px; padding-left: 21px; border-left: 1px solid var(--line); }
.help-toc ul a { display: block; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.help-toc ul a:hover { color: var(--primary); }
.help-toc-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.help-toc-foot a { color: var(--primary); font-weight: 600; }
.help-layout.is-switching .help-toc > ol > li:not(.is-open) > ul { display: none; }
.help-guide { min-width: 0; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.help-guide + .help-guide { margin-top: 72px; padding-top: 48px; border-top: 3px solid var(--navy); }
.help-layout.is-switching .help-guide { margin-top: 0; padding-top: 0; border-top: 0; }
.help-guide-head { padding-bottom: 28px; }
.help-guide-head h2 { margin: 10px 0 12px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); line-height: 1.14; letter-spacing: -.02em; }
.help-guide-head .lead { max-width: 42em; font-size: 1.0625rem; }
.help-meta { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.help-tools { margin: 16px 0 0; }
.help-tools[hidden] { display: none; }
.help-guide-head + .help-chapter { border-top: 3px solid var(--navy); }
.help-chapter { scroll-margin-top: calc(var(--hdr-h) + 20px); }
.help-chapter > summary h3 { margin: 0; font-size: inherit; }
.help-chapter .faq-cat-count { font: 400 .875rem/1.4 var(--font-body); letter-spacing: 0; color: var(--muted); }
.help-chapter .faq-cat-body { padding-left: 0; padding-top: 4px; }
.help-chapter h3 { margin-bottom: 10px; font: 700 1.25rem/1.25 var(--font-display); letter-spacing: -.01em; }
.help-chapter h4 { margin: 26px 0 10px; font: 700 1rem/1.3 var(--font-display); }
.help-chapter p { max-width: 760px; margin-bottom: 14px; font-size: 1rem; line-height: 1.7; color: var(--navy); }
.help-chapter a { color: var(--primary); }
.help-list { display: grid; gap: 8px; max-width: 760px; margin: 0 0 16px; padding-left: 20px; }
.help-list li { font-size: 1rem; line-height: 1.6; color: var(--navy); }
ol.help-list { list-style: decimal; }
ul.help-list { list-style: disc; }
.help-list li::marker { color: var(--primary); font-weight: 700; }
.help-list li b, .help-table td b { font-weight: 700; }
.help-ui { font-weight: 600; color: var(--primary); }
.help-chapter kbd { padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: #fff; font: 600 .84em var(--font-body); white-space: nowrap; }
.help-chapter code { padding: 1px 5px; border-radius: 6px; background: var(--paper); color: var(--primary); font-size: .86em; }
.help-note { max-width: 760px; margin: 18px 0 22px; padding: 4px 0 4px 18px; border-left: 2px solid var(--primary-light); }
.help-note p { margin: 0; font-size: .9375rem; line-height: 1.6; }
.help-note p + p { margin-top: 10px; }
.help-note.is-warn { border-left-color: var(--ochre); }
.help-note.is-warn b { color: var(--ochre); }
.help-note.is-ok { border-left-color: var(--green); }
.help-note .help-list { margin: 8px 0 0; }
.help-note .help-list li { font-size: .9375rem; }
.help-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; margin-bottom: 8px; }
.help-figure { margin: 6px 0 22px; }
.help-figure .app-shot { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); }
.help-figure img { display: block; width: 100%; height: auto; }
.help-figure figcaption { margin-top: 10px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.help-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 760px; }
.help-figures .help-figure { margin-bottom: 8px; }
.help-page .info-box, .help-page .card-box { padding: 16px 0 0; border-top: 1px solid var(--line); }
.help-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 22px 0 8px; }
.help-two .info-box h3 { margin-bottom: 10px; font-size: 1rem; }
.help-two .help-list { margin-bottom: 0; }
.help-two .help-list li { font-size: .9375rem; }
.help-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin: 18px 0 8px; }
.help-keys h4 { margin: 0 0 6px; }
.help-keys p { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.help-diagram { display: grid; grid-template-columns: 1fr minmax(120px, auto) 1fr minmax(120px, auto) 1fr; align-items: center; margin: 22px 0 10px; }
.help-node { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); text-align: center; }
.help-node b { display: block; font: 700 1rem/1.25 var(--font-display); }
.help-node span { display: block; margin-top: 4px; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.help-node.is-device { border-color: var(--primary); }
.help-link { display: grid; gap: 6px; padding: 0 12px; text-align: center; }
.help-link::before { content: ""; grid-row: 1 / span 2; grid-column: 1; align-self: center; height: 0; margin: 0 -12px; border-top: 2px dashed var(--primary-light); }
.help-link span { position: relative; grid-column: 1; justify-self: center; padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font: 600 .75rem/1.3 var(--font-display); color: var(--primary); white-space: nowrap; }
.help-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 18px 0 8px; }
.help-steps .card-box h4 { margin: 0 0 14px; font-size: 1.0625rem; }
.num-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.num-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.help-steps .num-steps p { margin: 0; font-size: .9375rem; max-width: none; }
.num-tile { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); color: var(--primary); font: 700 .8125rem/1 var(--font-display); }
.help-table { width: 100%; margin: 6px 0 22px; border-collapse: collapse; font-size: .9375rem; }
.help-table th, .help-table td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; color: var(--navy); }
.help-table th { border-bottom: 2px solid var(--navy); font: 700 .8125rem/1.3 var(--font-display); }
.help-table td:first-child { font-weight: 600; }
.help-table.cols-3 th:nth-child(1), .help-table.cols-3 td:nth-child(1) { width: 26%; }
.help-table.cols-3 th:nth-child(2), .help-table.cols-3 td:nth-child(2) { width: 34%; }
.help-table.cols-2 th:first-child, .help-table.cols-2 td:first-child { width: 30%; }
.help-table td::before { display: none; margin-bottom: 3px; font: 700 .75rem/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.help-faq { max-width: 760px; margin-top: 16px; }
.help-walk { margin: 22px 0 0; padding: 0; list-style: none; }
.help-walk > li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; padding-bottom: 34px; }
.help-walk > li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 38px; bottom: 6px; border-left: 1px solid var(--line); }
.help-walk .num-tile { width: 30px; height: 30px; font-size: .9rem; }
.help-chapter .help-walk h4 { margin: 3px 0 6px; font-size: 1.125rem; }
.help-chapter p.help-where { margin-bottom: 10px; font-size: .9375rem; color: var(--muted); }
.help-walk .help-note { margin: 12px 0 0; }
.help-walk .help-split { margin-bottom: 0; }
@media (max-width: 1080px) {
  .help-layout { grid-template-columns: 1fr; gap: 36px; }
  .help-layout > .help-guide, .help-layout > .help-toc { grid-column: auto; grid-row: auto; }
  .help-toc { position: static; max-height: none; padding: 20px 0; border-block: 1px solid var(--line); }
  .help-toc ul { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 0; padding: 0; border: 0; }
  .help-toc-foot { display: none; }
  .help-split { grid-template-columns: 1fr; gap: 8px; }
  .help-split .help-figure { max-width: 420px; }
}
@media (max-width: 760px) {
  .help-two, .help-steps, .help-figures, .help-keys { grid-template-columns: 1fr; }
  .help-walk > li { grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
  .help-walk .num-tile { width: 26px; height: 26px; }
  .help-walk > li:not(:last-child)::before { left: 12px; top: 32px; }
  .help-diagram { grid-template-columns: 1fr; gap: 10px; }
  .help-link { padding: 2px 0; justify-items: center; }
  .help-link::before { display: none; }
  .help-table thead { display: none; }
  .help-table, .help-table tbody, .help-table tr, .help-table td { display: block; width: 100% !important; }
  .help-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .help-table td { padding: 4px 0; border: 0; }
  .help-table td::before { display: block; content: attr(data-label); }
}

/* 404: samostatná stránka bez menu, cesty od koreňa. Tmavé hero nad dverami ambulancie ako ostatné
   stránky (2026-11-11); fotka je pozadie, scrim ako .hero::after */
.notfound-page { min-height: 100svh; margin: 0; background: var(--navy); color: #fff; }
.notfound-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh;
  background: url('/assets/video/dvere-ambulancie-poster.jpg') 62% center / cover no-repeat; }
.notfound-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 80% at 50% 50%, rgba(var(--scrim),.84) 0%, rgba(var(--scrim),.70) 55%, rgba(var(--scrim),.52) 100%),
    linear-gradient(to top, rgba(var(--scrim),.55) 0%, rgba(var(--scrim),0) 40%); }
.notfound-header { padding: 24px 0; }
.notfound-header .brand { --sq-a: var(--lilac-on-dark); --sq-b: var(--primary-light); --wordmark: #fff; }
.notfound-main { flex: 1; display: flex; align-items: center; }
.notfound-wrap { max-width: 680px; margin: 0 auto; padding-block: 24px 48px; text-align: center; }
.notfound-wrap .eyebrow { color: var(--lilac-on-dark); }
.notfound-wrap h1 { margin: 10px 0 18px; color: #fff; font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.03em; }
.notfound-wrap h1 .hl { color: var(--lilac-on-dark); }
.notfound-wrap .lead { max-width: 500px; margin: 0 auto 32px; color: rgba(255,255,255,.82); }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.notfound-alt { margin-top: 28px; font-size: .9375rem; color: rgba(255,255,255,.72); }
.notfound-alt a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.notfound-footer { padding: 18px 0; }
.notfound-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.notfound-footer p { margin: 0; font-size: .8125rem; color: rgba(255,255,255,.6); }
.notfound-footer ul { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.notfound-footer a { font-size: .8125rem; color: rgba(255,255,255,.72); }
.notfound-footer a:hover { color: #fff; }

/* ---------- 15. Dôkazové stránky (bezpečnosť, ukážky, o projekte, ambasádor) ---------- */
/* video hero menu stránok, bez karty, ktorá by ho prekrývala */
.hero--page { min-height: 82svh; padding-bottom: 96px; }
.hero--page.hero--low { min-height: 58svh; }
.hero--page .hero-pause { bottom: 40px; }
/* krátke heslá pod podnadpisom (O projekte) */
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-tags li { padding: 7px 16px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(255,255,255,.08);
  color: #fff; font: 600 .875rem/1.3 var(--font-display); letter-spacing: .02em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* odseky pod prvou vetou (Bezpečnosť): nadpis ostáva, texty a čiarky v strede */
.hero--center .hr-stack { margin-inline: auto; }
.hero--center .hr-dots { justify-content: center; }
.hero--center .hero-actions { justify-content: center; }
@media (max-width: 760px) { .hero--page { padding-bottom: 72px; } }
.h3-size { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.14; margin-bottom: 8px; }
.statement-sec .eyebrow { display: block; margin-bottom: 20px; }
.fcols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fcols--2 .fcols-col:nth-child(2) { padding-right: 0; border-right: 0; }
.fcols--static .fcols-art p + p { margin-top: 12px; }
.fcols--static .fcols-art .fcols-kick { margin-bottom: 8px; }
.fcols-art h3 a { color: inherit; }
.fcols-art h3 a:hover { color: var(--primary); }
.fcols--static .o-news h3 { font-size: 1.0625rem; line-height: 1.3; }
@media (max-width: 880px) { .fcols--2 { grid-template-columns: 1fr; } .fcols--2 .fcols-col { padding: 20px 0; border-right: 0; } }

/* O projekte: zakladatelia a smery vývoja (riadky zarovnané cez stĺpce) */
.founders { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 5vw, 72px); }
.founder { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; padding-top: 24px; border-top: 3px solid var(--navy); align-items: start; }
.founder-text h3 { font-size: 1.5rem; }
.founder-role { margin: 2px 0 14px; color: var(--muted); font-size: .9375rem; }
.founder-text p + p { margin-top: 12px; }
.founder-text > p:not(.founder-role) { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.founder-text blockquote { margin: 18px 0 14px; font: 600 1.0625rem/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--navy); }
.fcols--dir { grid-template-rows: repeat(6, auto); }
.fcols--dir .fcols-col { grid-row: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; }
.fcols--dir .fcols-art { grid-area: auto; grid-row: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; }
.fcols--dir .dir-claim { color: var(--navy); font-weight: 600; margin-bottom: 8px; }
.fcols--dir .dir-prose p { color: var(--muted); }
.fcols--dir .dir-ex-title { margin-top: 18px; font-weight: 600; color: var(--navy); }
.fcols--dir .ticks { margin-top: 10px; }
.fcols--dir .ticks li { font-size: .9375rem; }
.section-tip { margin-top: 36px; color: var(--muted); }
.fcols-link { margin-top: 12px; }
@media (max-width: 880px) {
  .fcols--dir { grid-template-rows: none; }
  .fcols--dir .fcols-col { grid-row: auto; display: block; }
  .fcols--dir .fcols-art { grid-row: auto; display: block; }
}
@media (max-width: 960px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 180px; } }

/* Novinky: archív ako riadky časovej osi */
.tl-wrap { max-width: 920px; }
.news-filters { display: flex; gap: 24px; margin-bottom: 40px; }
.news-filter { padding: 8px 0; border: 0; background: none; color: var(--muted); font: 500 1rem/1.3 var(--font-display); cursor: pointer; }
.news-filter:hover { color: var(--navy); }
.news-filter.is-active { color: var(--navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--navy); }
.tl-month + .tl-month { margin-top: 56px; }
.tl-month h2 { margin-bottom: 14px; font: 700 .8125rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-items { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy); }
.tl-item + .tl-item { border-top: 1px solid var(--line); }
.tl-card { display: block; padding: 28px 0; color: inherit; text-decoration: none; }
.tl-card.has-photo { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.tl-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); }
.tl-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.tl-text { display: block; min-width: 0; }
.news-meta { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.spec-badge { font: 700 .6875rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.spec-badge.is-accent { color: var(--primary); }
.spec-badge.is-sand { color: var(--ochre); }
.news-date { font-size: .8125rem; color: var(--muted); }
.tl-card h3 { margin: 0 0 8px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -0.015em; transition: color .2s; }
.tl-card:hover h3 { color: var(--primary); }
.tl-card p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.tl-card .link-arrow { margin-top: 12px; }
@media (max-width: 680px) { .tl-card.has-photo { grid-template-columns: 1fr; gap: 16px; } .tl-photo { aspect-ratio: 16 / 9; } }

/* Ambasádorský program */
.kampan-page { --bar-h: 0px; }
.campaign-header .header-inner { justify-content: space-between; gap: 16px; }
.order-note { position: relative; margin-top: 20px; font-size: .8125rem; line-height: 1.5; color: rgba(255,255,255,.62); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
.amb-specs { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); border-top: 3px solid var(--navy); }
.amb-specs li { border-bottom: 1px solid var(--line); }
.amb-specs a { display: block; padding: 14px 0; color: var(--navy); font: 500 1rem/1.3 var(--font-display); transition: color .2s; }
.amb-specs a:hover { color: var(--primary); }
.amb-list { display: grid; gap: 16px; margin-top: 12px; }
.amb-list li > b { display: block; font: 600 1rem/1.35 var(--font-display); letter-spacing: -0.01em; }
.amb-list li > span { display: block;   /* len priamy potomok: ink obalí každé slovo do <span> */ margin-top: 3px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.on-dark .amb-list li > b { color: #fff; }
.on-dark .amb-list li > span { color: rgba(255,255,255,.72); }
.reg-note { margin-top: 28px; max-width: 70ch; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.compare { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 96px); border-top: 3px solid var(--navy); padding-top: 28px; }
.compare > * { min-width: 0; }
.compare-col h3 { font-size: 1.25rem; margin-bottom: 18px; }
.compare-col.is-good h3 { color: var(--primary); }
.xlist { display: grid; gap: 10px; }
.xlist li { position: relative; padding-left: 26px; color: var(--muted); }
.xlist li::before { content: ""; position: absolute; left: 0; top: .22em; width: 18px; height: 18px; background: url(../assets/v2/icons/x_muted.svg) center / contain no-repeat; }
.amb-trust { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.amb-trust > * { min-width: 0; }
.amb-trust .section-lead { max-width: 40em; color: rgba(255,255,255,.86); }
.amb-trust h3 { font-size: 1.25rem; color: #fff; }
.section-sub { margin-top: 10px; font-size: .9375rem; color: rgba(255,255,255,.72); }
@media (max-width: 960px) { .amb-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .amb-trust, .compare { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .amb-specs { grid-template-columns: 1fr; } }

/* Ukážky: prehliadač prípadov (js/ukazky.js) — prenesené zo styles.css, prefix uk- */
.uk-page :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
body.uk-lock { overflow: hidden; }

/* ---------- shared small pieces ---------- */
/* scroll reveal — only when JS runs and motion is allowed */
.uk-js [data-uk-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.uk-js [data-uk-reveal].is-in { opacity: 1; transform: none; }

/* speaker + section labels */
.uk-who { font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.uk-who.is-l { color: var(--primary); }
.uk-who.is-p { color: var(--ochre); }
.uk-sec-h {
  font-family: var(--font-display); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
  margin: 0 0 4px;
}

/* ============================================================
   HERO — text left, compact pipeline right
   ============================================================ */
/* the site's sandy hero (same gradient as the product pages and variant A); the
   indigo primary stays for buttons, links and the step numbers */
.page-hero.uk-hero { background: linear-gradient(160deg, var(--ochre-bg) 0%, var(--ochre-bg-2) 46%, #fff 100%); border-bottom-color: var(--ochre-line); }
.uk-hero { padding-block: 36px 40px; }
.uk-hero .container { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
.uk-hero h1 { font-size: clamp(1.85rem, 2.7vw, 2.35rem); margin-bottom: 14px; }
.uk-hero h1 .accent { display: block; }
.uk-hero .lead { font-size: 1rem; max-width: 520px; }
.uk-hero .hero-actions { margin-top: 22px; gap: 22px; }
.uk-hero .link-arrow { font-size: 0.92rem; }
.uk-hero-note { margin-top: 18px; font-size: 0.84rem; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--ochre-line); }

/* ============================================================
   CASE HEAD (shared by the video stage and the audio detail)
   ============================================================ */
/* one meta line: PRÍPAD 01 | ŠPECIALIZÁCIA | Žena, 28 rokov · MKCH-10: J06.9 */
.uk-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.uk-kicker-num { color: var(--primary); }
.uk-kicker-spec { color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); }
.uk-kicker-meta { display: inline-flex; flex-wrap: wrap; gap: 4px 0; padding-left: 10px; border-left: 1px solid var(--line); font-size: 0.86rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--navy); }
.uk-kicker-meta span + span::before { content: "·"; margin-inline: 7px; color: var(--muted); }
.uk-case h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; text-wrap: balance; }
.uk-case-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.5; max-width: 100ch; }
.uk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.uk-tags li { font-size: 0.78rem; font-weight: 500; color: var(--primary-700); background: var(--lavender); border-radius: 999px; padding: 3px 11px; }

/* ============================================================
   THE PANEL — one bounded container for every case
   ============================================================ */
.uk-cases-section { padding-block: 44px 64px; }
.uk-box {
  background: var(--lavender-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px 30px;
}

/* switcher — two chooser cards above the box („S videom“ | „Bez videa“), real tabs */
.uk-swx { position: relative; margin-bottom: 18px; }
.uk-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.uk-switch-tab {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--navy); text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.uk-switch-tab:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.uk-switch-tab[aria-selected="true"] { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); transform: none; }
.uk-sw-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px; background: var(--lavender); color: var(--primary);
  transition: background-color .2s ease, color .2s ease;
}
.uk-switch-tab[aria-selected="true"] .uk-sw-tile { background: var(--primary); color: #fff; }
.uk-sw-ico { width: 22px; height: 22px; display: block; }
.uk-sw-txt { display: grid; gap: 2px; min-width: 0; }
.uk-sw-title { line-height: 1.2; }
.uk-sw-sub { font-family: var(--font-body); font-weight: 400; font-size: 0.84rem; line-height: 1.3; color: var(--muted); }
.uk-switch-n {
  display: inline-flex; align-items: center; height: 26px; padding-inline: 10px; border-radius: 999px;
  background: var(--lavender); color: var(--primary);
  font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.uk-switch-n::after { content: "\00a0prípadov"; font-weight: 600; }
html[lang="en"] .uk-switch-n::after { content: "\00a0 cases"; }   /* /en/examples (docs/EN.md) */
/* radio-like mark: says "this one is shown" without relying on colour alone */
.uk-sw-mark {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.uk-switch-tab[aria-selected="true"] .uk-sw-mark { border-color: var(--primary); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--primary); }

/* the two panes share one slot; the leaving one is lifted out of flow and fades while the
   other fades in, the slot's height is animated between the two in JS */
.uk-panes { position: relative; }
.uk-panes.is-moving { overflow: hidden; transition: height .32s cubic-bezier(.3, .7, .3, 1); }
.uk-pane { transition: opacity .22s ease, visibility 0s linear 0s; }
.uk-pane.is-off { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility 0s linear .22s; }

/* ============================================================
   VIDEO PANE — stage on the left, case menu on the right
   ============================================================ */
.uk-video-grid {
  display: grid;
  /* panel padding + this column are sized so the stage (and the video) stays as wide as in variant B */
  grid-template-columns: 278px minmax(0, 1fr);   /* zoznam vľavo ako pri prípadoch bez videa (2026-11-10) */
  grid-template-areas: "menu stage";
  gap: 28px;
  align-items: start;
}
.uk-stage { grid-area: stage; min-width: 0; transition: opacity .18s ease, transform .18s ease; }
.uk-stage.is-out, .uk-detail.is-out { opacity: 0; transform: translateY(6px); }

/* zoznam prípadov vľavo */
.uk-menu { grid-area: menu; position: sticky; top: 98px; min-width: 0; }
.uk-menu-sub { color: var(--muted); font-size: 0.84rem; margin-bottom: 10px; }
.uk-menu-list { display: grid; gap: 8px; }
.uk-menu-item {
  position: relative;
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 11px; align-items: center;
  padding: 8px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.uk-menu-item:hover { border-color: var(--primary-light); }
.uk-menu-item[aria-current="true"] { border-color: var(--primary); background: var(--lavender); box-shadow: var(--shadow-sm); }
.uk-menu-item[aria-current="true"]::before {
  content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--primary);
}
.uk-thumb { position: relative; aspect-ratio: 1280 / 674; border-radius: 8px; overflow: hidden; background: var(--lavender); border: 1px solid var(--line); }
.uk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.uk-thumb svg { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--primary); box-shadow: var(--shadow-sm); }
.uk-menu-spec { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; line-height: 1.25; color: var(--navy); }
.uk-menu-item[aria-current="true"] .uk-menu-spec { color: var(--primary); }
.uk-menu-case { display: block; font-size: 0.82rem; line-height: 1.3; color: var(--muted); margin-top: 2px; }

/* video in an app-window frame (extends .video-frame) */
.uk-stage .video-frame { max-width: none; margin-top: 14px; }
.uk-win-bar { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.uk-win-dots { display: flex; gap: 6px; }
.uk-win-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.uk-win-title { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.uk-win-chip { margin-left: auto; flex: none; font-family: var(--font-display); font-weight: 600; font-size: 0.74rem; color: var(--primary); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-variant-numeric: tabular-nums; }
.uk-video-wrap { position: relative; background: var(--navy); }
.uk-video-wrap video, .uk-video-hold { display: block; width: 100%; aspect-ratio: 1600 / 843; background: var(--navy); }
.uk-video-hold { display: grid; place-items: center; color: rgba(255, 255, 255, .7); font-family: var(--font-display); font-size: 0.86rem; }
.uk-video-hold::after { content: "Video je otvorené na celej obrazovke"; }
/* click on the picture (not the control bar) opens the lightbox */
.uk-video-hit { position: absolute; left: 0; right: 0; top: 0; bottom: 64px; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.uk-expand {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 7px 12px 7px 10px;
  background: rgba(13, 21, 54, .72); color: #fff; backdrop-filter: blur(6px);
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  opacity: .82; transition: opacity .2s ease, background-color .2s ease;
}
.uk-expand svg { width: 15px; height: 15px; }
.uk-expand:hover, .uk-video-wrap:hover .uk-expand, .uk-expand:focus-visible { opacity: 1; background: var(--primary); }
.uk-video-wrap.is-away .uk-video-hit, .uk-video-wrap.is-away .uk-expand { display: none; }
.uk-video-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: var(--lavender); color: var(--muted); font-size: 0.92rem; }
.uk-video-msg[hidden] { display: none; }

/* under the video: speed + one note */
.uk-under { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; }
.uk-under-note { color: var(--muted); font-size: 0.84rem; }

/* playback speed — segmented 1× · 1,5× · 2× */
.uk-speed { display: inline-flex; padding: 3px; background: var(--lavender); border: 1px solid var(--line); border-radius: 999px; }
.uk-speed button {
  border: 0; background: none; border-radius: 999px; padding: 5px 11px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--muted);
  white-space: nowrap; transition: color .2s ease, background-color .2s ease;
}
.uk-speed button:hover { color: var(--navy); }
.uk-speed button[aria-pressed="true"] { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

/* ============================================================
   AUDIO PLAYER
   ============================================================ */
.uk-player {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.uk-play {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--primary); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 20px rgba(87, 73, 156, .26);
  transition: background-color .2s ease, transform .15s ease;
}
.uk-play:hover { background: var(--primary-700); transform: translateY(-1px); }
.uk-play svg { width: 20px; height: 20px; }
.uk-play .uk-i-pause, .uk-player.is-playing .uk-play .uk-i-play { display: none; }
.uk-player.is-playing .uk-play .uk-i-pause { display: block; }
.uk-wave { display: flex; align-items: center; gap: 2px; height: 46px; cursor: pointer; touch-action: none; border-radius: 6px; }
.uk-wave span { flex: 1; min-width: 0; border-radius: 2px; background: var(--line); transition: background-color .15s ease; pointer-events: none; }
.uk-wave span.is-on { background: var(--primary); }
.uk-time { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.uk-time b { color: var(--navy); font-weight: 700; }
/* equaliser — moves only while the audio is playing */
.uk-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; width: 14px; visibility: hidden; }
.is-playing .uk-eq { visibility: visible; }
.uk-eq i { flex: 1; height: 100%; border-radius: 1px; background: var(--primary); transform: scaleY(.25); transform-origin: bottom; }
@keyframes uk-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.is-playing .uk-eq i { animation: uk-eq .9s ease-in-out infinite; }
.is-playing .uk-eq i:nth-child(2) { animation-delay: -.3s; }
.is-playing .uk-eq i:nth-child(3) { animation-delay: -.6s; }

.uk-player.is-lg { padding: 18px 22px; gap: 20px; }
.uk-player.is-lg .uk-play { width: 58px; height: 58px; }
.uk-player.is-lg .uk-play svg { width: 24px; height: 24px; }
.uk-player.is-lg .uk-wave { height: 60px; }

/* ============================================================
   TRANSCRIPT + DEKURZ  (input | output)
   ============================================================ */
.uk-doc { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.uk-doc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 48px; padding: 8px 12px 8px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.uk-doc-io { font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); border: 1px solid var(--line); background: var(--lavender); border-radius: 999px; padding: 2px 9px; }
.uk-doc-head h4 { font-size: 0.98rem; font-weight: 700; }
.uk-doc-tools { margin-left: auto; display: inline-flex; gap: 6px; }
.uk-dl { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--primary); border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); padding: 5px 9px; transition: border-color .2s ease, background-color .2s ease; white-space: nowrap; }
.uk-dl:hover { border-color: var(--primary-light); background: var(--lavender); }
.uk-dl svg { width: 15px; height: 15px; }
.uk-doc-body { position: relative; padding: 12px 16px; overflow-y: auto; overscroll-behavior: contain; font-size: 0.9rem; line-height: 1.45; }
.uk-doc-body.is-scroll { height: 420px; min-height: 0; flex: none; }
.uk-doc-dek .uk-doc-body { cursor: zoom-in; }
.uk-doc-foot { padding: 8px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; background: #fff; }

/* transcript turns are buttons: click = play from here */
.uk-line {
  display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 10px; align-items: start;
  width: calc(100% + 16px); margin-inline: -8px; padding: 6px 8px;
  border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; color: var(--navy); line-height: 1.45;
  transition: background-color .4s ease;
}
.uk-line:hover { background: var(--lavender-2); }
.uk-line.is-now { background: var(--lavender); }
.uk-line .uk-who { padding-top: 4px; }
.uk-line-at { font-family: var(--font-display); font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; opacity: 0; transition: opacity .2s ease; }
.uk-line:hover .uk-line-at, .uk-line:focus-visible .uk-line-at, .uk-line.is-now .uk-line-at { opacity: 1; }

.uk-dek-meta { color: var(--muted); font-size: 0.82rem; margin-bottom: 14px; }
.uk-dek-sec + .uk-dek-sec { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.uk-dek-sec p { color: var(--navy); }
.uk-dek-sec ul { display: grid; gap: 6px; }
.uk-dek-sec li { position: relative; padding-left: 14px; }
.uk-dek-sec li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--primary-light); }

.uk-io { display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.uk-io-arrow {
  width: 26px; height: 26px; margin-top: 11px; display: grid; place-items: center;
  border-radius: 50%; background: var(--primary); color: #fff;
}
.uk-io-arrow svg { width: 14px; height: 14px; }

/* ============================================================
   AUDIO PANE (cases without video) — list on the left, detail right
   ============================================================ */
.uk-room { display: grid; grid-template-columns: 278px minmax(0, 1fr); gap: 28px; align-items: start; }
.uk-list { position: sticky; top: 98px; min-width: 0; }
.uk-list-items { display: grid; gap: 8px; }
/* same white-card language as the video menu, so both tabs read alike on the panel */
.uk-list-item {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px;
  padding: 10px 14px 10px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.uk-list-item:hover { border-color: var(--primary-light); }
.uk-list-item[aria-current="true"] { background: var(--lavender); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.uk-list-item[aria-current="true"]::before {
  content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--primary);
}
.uk-list-spec { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; line-height: 1.25; }
.uk-list-item[aria-current="true"] .uk-list-spec { color: var(--primary); }
.uk-list-len { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.uk-list-case { grid-column: 1 / -1; font-size: 0.83rem; line-height: 1.3; color: var(--muted); }

/* the detail sits on the panel like the video stage does; the player is its white card */
.uk-detail { min-width: 0; transition: opacity .18s ease, transform .18s ease; }
.uk-detail .uk-player { margin-top: 14px; }

/* ============================================================
   DIALOG — one mechanism: video lightbox + dekurz reading popup
   ============================================================ */
.uk-dlg {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 24px;
  background: rgba(13, 21, 54, .62); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s ease;
}
.uk-dlg.is-open { opacity: 1; }
.uk-dlg-box { position: relative; outline: none; }
.uk-dlg-close {
  position: absolute; top: -14px; right: -14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy); box-shadow: var(--shadow-card);
  display: grid; place-items: center; transition: background-color .2s ease, color .2s ease;
}
.uk-dlg-close svg { width: 18px; height: 18px; }
.uk-dlg-close:hover { background: var(--primary); color: #fff; }

/* lightbox: as large as fits at the video's aspect ratio */
.uk-dlg-box.is-video {
  width: min(84vw, calc((100vh - 96px) * 1600 / 843), 1400px);
  border-radius: var(--r-md); overflow: visible;
  box-shadow: 0 40px 90px rgba(13, 21, 54, .5);
}
.uk-dlg-box.is-video video { display: block; width: 100%; aspect-ratio: 1600 / 843; background: #000; border-radius: var(--r-md); }

/* reading popup: a paper sheet */
.uk-dlg-box.is-sheet {
  width: min(900px, 100%); max-height: calc(100vh - 48px);
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); box-shadow: 0 40px 90px rgba(13, 21, 54, .45);
  transform: translateY(12px) scale(.97); transition: transform .28s cubic-bezier(.3, .7, .3, 1);
}
.uk-dlg.is-open .uk-dlg-box.is-sheet { transform: none; }
.uk-sheet { display: flex; flex-direction: column; min-height: 0; }
.uk-sheet-head { padding: 28px 40px 18px; border-bottom: 1px solid var(--line); }
.uk-sheet-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.uk-sheet-meta { color: var(--muted); font-size: 0.92rem; }
.uk-sheet-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.uk-badge { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ochre); background: var(--ochre-bg-2); border: 1px solid var(--ochre-line); border-radius: 999px; padding: 4px 11px; }
.uk-sheet-body { padding: 24px 40px 28px; overflow-y: auto; overscroll-behavior: contain; font-size: 1.02rem; line-height: 1.65; }
.uk-sheet-body .uk-sec-h { font-size: 0.78rem; margin-bottom: 6px; }
.uk-sheet-body .uk-dek-sec + .uk-dek-sec { margin-top: 22px; padding-top: 18px; }
.uk-sheet-foot { padding: 12px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; background: var(--lavender-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .uk-hero .container { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .uk-hero-text { order: -1; }
  /* the picker goes ABOVE the stage as a horizontal scroller — below a long stage
     nobody would find it, and it has to be seen before the thing it controls */
  .uk-video-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "menu" "stage"; gap: 22px; }
  .uk-menu { position: static; }
  /* the scroller bleeds to the panel's edges (its padding is 28px here) */
  .uk-menu-list {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: -28px; padding: 4px 28px 12px; scrollbar-width: thin;
  }
  .uk-menu-list li { flex: none; width: 270px; scroll-snap-align: center; }
  .uk-menu-item { height: 100%; }
}
@media (max-width: 860px) {
  .uk-room { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .uk-list { position: static; }
  .uk-list-items {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: -28px; padding: 4px 28px 12px; scrollbar-width: thin;
  }
  .uk-list-items li { flex: none; scroll-snap-align: center; }
  .uk-list-item { width: 220px; height: 100%; align-content: start; }
  .uk-io { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .uk-io-arrow { margin: 0; justify-self: center; transform: rotate(90deg); }
  .uk-doc-body.is-scroll { height: 360px; }
  .uk-sheet-head, .uk-sheet-body, .uk-sheet-foot { padding-inline: 22px; }
  .uk-dlg { padding: 14px; }
  .uk-dlg-close { top: -10px; right: -6px; }
  .uk-dlg-box.is-video { width: min(92vw, calc((100vh - 72px) * 1600 / 843)); }
}
@media (max-width: 760px) {
  .uk-hero { padding-block: 32px 32px; }
  .uk-cases-section { padding-block: 32px 48px; }
  .uk-box { padding: 16px 16px 22px; border-radius: var(--r-md); }
  .uk-switch { gap: 10px; }
  .uk-switch-tab { grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; padding: 12px; font-size: 0.96rem; border-radius: var(--r-md); }
  .uk-sw-tile { width: 36px; height: 36px; border-radius: 10px; }
  .uk-sw-sub, .uk-sw-mark { display: none; }
  .uk-switch-n { grid-column: 1 / -1; justify-self: start; }
  .uk-menu-list, .uk-list-items { margin-inline: -16px; padding-inline: 16px; }
  /* patient · ICD drops to its own row here — no divider in front of it */
  .uk-kicker-meta { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .uk-line { grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; }
  .uk-line .uk-who { grid-column: 1 / -1; padding-top: 0; }
  .uk-line-at { opacity: 1; }
  .uk-wave span:nth-child(even) { display: none; }
  .uk-player, .uk-player.is-lg { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 14px; padding: 14px; }
  .uk-player .uk-time { grid-column: 2; }
  .uk-player .uk-speed { grid-column: 3; }
  .uk-player.is-lg .uk-play { width: 50px; height: 50px; }
  .uk-player.is-lg .uk-wave { height: 48px; grid-column: 2 / 4; }
  .uk-win-dots { display: none; }
  .uk-expand span { display: none; }
  .uk-expand { padding: 8px; }
  .uk-video-hit { bottom: 52px; }
  .uk-sheet-head { padding-top: 22px; }
}
@media (max-width: 520px) {
  .uk-hero .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .uk-menu-list li { width: 250px; }
  .uk-doc-tools { margin-left: 0; width: 100%; }
  /* the panel's padding makes the player narrower: time and speed must still fit side by side */
  .uk-player, .uk-player.is-lg { padding: 12px; gap: 8px 10px; }
  .uk-player .uk-time { gap: 5px; font-size: 0.8rem; }
  .uk-player .uk-eq { display: none; }
  .uk-player .uk-speed button { padding: 5px 8px; font-size: 0.76rem; }
}

/* ============================================================
   REDUCED MOTION — everything is simply there
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .uk-js [data-uk-reveal] { opacity: 1; transform: none; }
  .is-playing .uk-eq i { animation: none; transform: scaleY(.7); }
  .uk-stage.is-out, .uk-detail.is-out { opacity: 1; transform: none; }
  .uk-dlg, .uk-dlg-box.is-sheet { opacity: 1; transform: none; transition: none; }
  .uk-switch-tab, .uk-sw-tile, .uk-sw-mark, .uk-panes.is-moving, .uk-pane, .uk-pane.is-off { transition: none; }
  .uk-switch-tab:hover { transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv .chip, .js .hero-in, .js .hero-chip { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-video { opacity: 1; }
  .js [data-ink] .w { color: inherit; }
  .linefill::after { transform: none; }
  .lf-item::before { background: var(--primary) !important; }
  .menu-sheet li { opacity: 1; transform: none; }
}

/* ============================================================
   14. Widgety z js/main.js — prevzaté bez zmeny z css/styles.css (riadky 2706–2928)
   ============================================================ */
/* ===== Floating ambassador-program promo card (#74) ===== */
.cs-badge {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 70;
  width: max-content;
  max-width: calc(100vw - 32px);
  font-family: var(--font-body);
}
/* white "mini" variant of the intro box — soft faded edges, translucent */
.cs-badge-pill {
  display: block;
  width: 326px;
  max-width: calc(100vw - 32px);
  text-align: center;
  background: radial-gradient(125% 145% at 50% 42%,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.88) 30%,
    rgba(255, 255, 255, 0.66) 52%,
    rgba(255, 255, 255, 0.32) 72%,
    rgba(255, 255, 255, 0) 92%);
  border: 0;
  border-radius: 22px;
  padding: 34px 30px 22px;
  color: var(--navy);
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 16px 28px rgba(13, 21, 54, 0.22));
  transition: filter 0.2s ease;
  animation: cs-badge-bob 3s ease-in-out infinite;
}
.cs-badge-pill:hover { filter: drop-shadow(0 22px 36px rgba(87, 73, 156, 0.3)); }
.cs-badge-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(95deg, var(--primary), var(--primary-light));
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px -6px rgba(87, 73, 156, 0.6);
}
.cs-badge-title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.34rem; line-height: 1.16; color: var(--navy); margin-bottom: 8px; }
.cs-badge-title .accent { color: var(--primary); }
.cs-badge-sub { display: block; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.cs-badge-note { display: block; margin-top: 10px; font-size: 0.74rem; line-height: 1.4; color: var(--muted); }
.cs-badge-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  cursor: pointer;
}
.cs-badge-cta svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.cs-badge-pill:hover .cs-badge-cta { color: var(--primary-700); }
.cs-badge-pill:hover .cs-badge-cta svg { transform: translateX(4px); }
@keyframes cs-badge-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .cs-badge-pill { animation: none; }
}
/* dismiss button — removes the whole card so the page can be read freely (returns on reload) */
.cs-badge-dismiss {
  position: absolute;
  top: 4px; right: 10px;
  z-index: 2;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  animation: cs-badge-bob 3s ease-in-out infinite;
}
.cs-badge-dismiss:hover { background: rgba(13, 21, 54, 0.06); color: var(--navy); }
.cs-badge-dismiss svg { width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) {
  .cs-badge-dismiss { animation: none; }
}
@media (max-width: 560px) {
  .cs-badge { top: 72px; right: 12px; }
  .cs-badge-pill { width: auto; max-width: calc(100vw - 24px); padding: 22px 22px 20px; }
  .cs-badge-title { font-size: 1.18rem; }
}

/* ===== Cookies lišta (informačná; nie súhlasová) ===== */
.cookie-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;   /* insety, nikdy 100vw → žiadny horizontálny pretok */
  z-index: 65;                              /* nad hlavičkou (60), pod promo kartou (70) */
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  font-family: var(--font-body);
  animation: cookie-bar-in 0.35s ease both;
}
.cookie-bar-text {
  flex: 1 1 440px;
  min-width: 0;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}
.cookie-bar-text strong { color: var(--navy); }
.cookie-bar-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.cookie-bar-more { font-size: 0.86rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.cookie-bar-more:hover { color: var(--primary-700); text-decoration: underline; }
.cookie-bar-ack { white-space: nowrap; }
/* lišta cookies a chat (js/main.js) nesú triedy starého dizajnu: tu dostanú farby nového */
.cookie-bar .btn-primary, .chat-widget .btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.cookie-bar .btn-primary:hover, .chat-widget .btn-primary:hover { background: var(--primary-700); border-color: var(--primary-700); }
.chat-widget .btn-outline { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.chat-widget .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
/* otvorené mobilné menu: chat ani lišta cez neho neplávajú */
body.menu-open .chat-widget, body.menu-open .cookie-bar { display: none; }
.cookie-bar.is-hiding { animation: cookie-bar-out 0.25s ease both; }

@keyframes cookie-bar-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cookie-bar-out { from { opacity: 1; } to { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  /* globálny reduced-motion blok vypína len transition, nie animation — preto vlastný opt-out */
  .cookie-bar, .cookie-bar.is-hiding { animation: none; }
}

@media (max-width: 560px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; gap: 12px 16px; }
  .cookie-bar-actions { width: 100%; justify-content: space-between; }
}

/* ===== Chat „Napíšte nám" (#122) — tlačidlo vpravo dole, okno nad ním ===== */
.chat-widget { --chat-lift: 0px; font-family: var(--font-body); }
.chat-launcher {
  position: fixed;
  right: 24px; bottom: calc(24px + var(--chat-lift));
  z-index: 66;                              /* nad cookie lištou (65), pod promo kartou (70) */
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px 13px 16px;
  border: 0; border-radius: 999px;
  background: var(--primary); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 12px 24px rgba(87, 73, 156, .28);
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, bottom .2s ease;
}
.chat-launcher:hover { background: var(--primary-700); transform: translateY(-1px); }
.chat-launcher svg { width: 22px; height: 22px; flex: none; }
.chat-launcher[hidden] { display: none; }
.chat-dot { position: absolute; top: 4px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ochre); border: 2px solid var(--white); }
.chat-dot[hidden] { display: none; }
.chat-panel {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;                              /* otvorené okno je nad všetkým plávajúcim */
  width: 370px; max-width: calc(100vw - 32px);
  max-height: min(640px, calc(100vh - 48px));
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 14px 22px; background: var(--lavender); border-bottom: 1px solid var(--line); }
.chat-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--navy); }
.chat-sub { margin: 2px 0 0; font-size: 0.84rem; color: var(--muted); }
.chat-close { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.chat-close:hover { background: rgba(13, 21, 54, .06); color: var(--navy); }
.chat-close svg { width: 18px; height: 18px; }
.chat-start { display: grid; gap: 12px; padding: 18px 22px 20px; overflow-y: auto; }
.chat-start[hidden], .chat-talk[hidden], .chat-ended[hidden], .chat-send[hidden], .chat-foot[hidden] { display: none; }
.chat-start .field textarea { min-height: 84px; }
.chat-start .btn { justify-self: start; }
.chat-start .form-status, .chat-talk .form-status { margin: 0; }
.chat-start .form-status:empty, .chat-talk .form-status:empty { display: none; }
.chat-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-note { margin: 0; font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.chat-note a { color: var(--primary); }
.chat-talk { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.chat-log { list-style: none; margin: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; flex: 1 1 auto; min-height: 160px; }
.chat-msg { display: flex; flex-direction: column; gap: 3px; max-width: 85%; align-self: flex-start; }
.chat-msg-who { font-size: 0.74rem; color: var(--muted); }
.chat-msg-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.92rem; line-height: 1.45; color: var(--navy); background: var(--lavender); border-radius: var(--r-md); border-top-left-radius: 4px; padding: 9px 13px; }
.chat-msg--lekar { align-self: flex-end; text-align: right; }
.chat-msg--lekar .chat-msg-text { background: var(--primary); color: var(--white); text-align: left; border-radius: var(--r-md); border-top-right-radius: 4px; }
.chat-msg--system { align-self: center; max-width: 94%; text-align: center; }
.chat-msg--system .chat-msg-text { background: transparent; padding: 0 6px; font-size: 0.8rem; color: var(--muted); }
.chat-send { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-send textarea { flex: 1 1 auto; min-width: 0; resize: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 0.92rem; color: var(--navy); }
.chat-send textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(87, 73, 156, .14); }
.chat-send .btn { flex: none; padding: 11px 14px; box-shadow: none; }
.chat-talk .form-status { padding: 0 16px 8px; }
.chat-foot { margin: 0; padding: 0 16px 12px; text-align: right; }
.chat-end { border: 0; background: none; padding: 0; font: inherit; font-size: 0.8rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.chat-end:hover { color: var(--navy); }
.chat-ended { padding: 14px 18px 18px; border-top: 1px solid var(--line); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .chat-launcher { transition: none; }
}
@media (max-width: 560px) {
  .chat-launcher { right: 12px; bottom: calc(12px + var(--chat-lift)); padding: 12px 16px 12px 13px; }
  .chat-panel { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; max-height: calc(100dvh - 20px); }
  /* na úzkom displeji by promo karta prečnievala nad otvoreným oknom */
  body:has(.chat-panel:not([hidden])) .cs-badge { display: none; }
}

