/* WAMO – verejný web, svetlý dizajn (schválené 2026-10-25: „schvalujem ale svetly dizajn“),
   so sklenenými plochami (R-09), s logom, jemnými animáciami a žiarou (R-12); smer B „Sklo a svetlo“ (R-81):
   snímky aplikácie v úvode, ukážky obrazoviek, svetelné okraje kariet a plynulé prechody.
   Všetky animácie sa vypnú, keď má návštevník v systéme zapnuté obmedzenie pohybu. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/pismo/inter-latin-ext-wght-normal.34b9c504ca.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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/static/pismo/inter-latin-wght-normal.3100e775e8.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;
}

:root {
  /* Iba svetlý motív (R-56): „only“ zakáže prehliadačom v telefóne (Chrome, Samsung Internet) stránku samy stmaviť */
  color-scheme: only light;
  --maxw: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --header-h: 80px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --bg: #d6d7ea;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --text: #0f1729;
  --muted: #3f4860;
  --line: rgb(15 23 41 / 0.09);
  --line-strong: rgb(15 23 41 / 0.18);
  --accent: #2452c8;
  --accent-hover: #1c44ad;
  --accent-text: #1f49b6;
  --accent-2: #6d3ae0;
  --on-accent: #ffffff;
  --accent-soft: #eef3fd;
  --focus: #2452c8;
  --mark: #8a5a00;
  --mark-bg: #fff8e6;
  --danger: #b42318;
  --danger-soft: #fdeceb;
  --ok: #1a7f37;
  --ok-soft: #e8f5ec;
  --grid: rgb(15 23 41 / 0.04);
  --gradient: linear-gradient(135deg, #2452c8 0%, #4a43d6 55%, #6d3ae0 100%);

  /* Sklo (glass) – polopriesvitná plocha s rozmazaným pozadím */
  --glass-bg: rgb(255 255 255 / 0.5);
  --glass-bg-strong: rgb(255 255 255 / 0.72);
  --glass-border: rgb(255 255 255 / 0.85);
  /* Rozmazanie pod sklom iba v hlavičke a ponuke (R-89): pod kartami by sa prepočítavalo pri každom pohnutí
     farebného pozadia a posúvanie by sekalo. Karty ostávajú priesvitné s lemom a tieňom. */
  --glass-blur: none;
  --header-blur: blur(22px) saturate(170%);
  --glass-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    0 0 0 1px rgb(15 23 41 / 0.05),
    0 2px 6px rgb(30 41 80 / 0.04),
    0 24px 48px -24px rgb(30 41 80 / 0.22);
  --glow: 0 30px 60px -28px rgb(52 70 210 / 0.5);
  --glow-soft: 0 0 0 1px rgb(92 120 255 / 0.18), 0 24px 60px -24px rgb(52 70 210 / 0.42);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Farebné svetlá za sklom – pevne za celou stránkou, pomaly sa prelievajú */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: -15%;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

body::before {
  background:
    radial-gradient(38vmax 38vmax at 18% 14%, rgb(36 82 200 / 0.22), transparent 62%),
    radial-gradient(32vmax 32vmax at 86% 20%, rgb(109 58 224 / 0.18), transparent 62%);
  animation: aurora-a 28s ease-in-out infinite alternate;
}

body::after {
  background:
    radial-gradient(40vmax 40vmax at 72% 86%, rgb(14 165 233 / 0.15), transparent 62%),
    radial-gradient(28vmax 28vmax at 14% 82%, rgb(219 39 119 / 0.07), transparent 62%);
  animation: aurora-b 34s ease-in-out infinite alternate;
}

@keyframes aurora-a {
  to {
    transform: translate3d(6%, 5%, 0) rotate(8deg) scale(1.08);
  }
}

@keyframes aurora-b {
  to {
    transform: translate3d(-7%, -5%, 0) rotate(-6deg) scale(1.05);
  }
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow {
  max-width: calc(820px + 2 * var(--gutter));
}

.nowrap {
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.skip:focus {
  top: 12px;
}

.doplnit {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed currentColor;
  border-radius: 4px;
  background: var(--mark-bg);
  color: var(--mark);
  font-size: 0.92em;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Svetlo, ktoré sleduje kurzor (ako v aplikácii sklad) ----------
   Pod kurzorom sa rozsvieti jemná mriežka a farebná žiara; pozíciu píše site.js (--spot-x, --spot-y).
   Iba pri myši – na dotykových zariadeniach a pri obmedzení pohybu sa nezobrazuje. */
.scene-light {
  /* Svetlo pod kurzorom (R-13): malá vrstva, ktorú site.js iba posúva (R-89 – predtým sa pri každom pohybe myši
     prekresľovala celá obrazovka). Mriežka v nej sa zarovná s mriežkou úvodu (--grid-x, --grid-y). */
  --spot-r: 140px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  display: none;
  width: calc(var(--spot-r) * 2.7);
  height: calc(var(--spot-r) * 2.7);
  pointer-events: none;
  transform: translate3d(var(--spot-tx, -9999px), var(--spot-ty, -9999px), 0);
  will-change: transform;
}

.scene-light::before,
.scene-light::after {
  content: '';
  position: absolute;
  inset: 0;
}

.scene-light::before {
  background-image:
    linear-gradient(rgb(36 82 200 / 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgb(36 82 200 / 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: var(--grid-x, 0) var(--grid-y, 0);
  -webkit-mask-image: radial-gradient(circle var(--spot-r) at 50% 50%, #000 0%, rgb(0 0 0 / 0.35) 45%, transparent 100%);
  mask-image: radial-gradient(circle var(--spot-r) at 50% 50%, #000 0%, rgb(0 0 0 / 0.35) 45%, transparent 100%);
}

.scene-light::after {
  background-image: radial-gradient(circle calc(var(--spot-r) * 1.35) at 50% 50%, rgb(80 110 255 / 0.12), rgb(109 58 224 / 0.05) 45%, transparent 70%);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .scene-light {
    display: block;
  }
}

/* ---------- Sklo ---------- */

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --glass-bg: rgb(255 255 255 / 0.9);
  }
}

@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass-bg: #ffffff;
    --glass-bg-strong: #ffffff;
  }
}

/* ---------- Pruh náhľadu a prípravy ---------- */

.banner {
  position: relative;
  z-index: 51;
  padding: 10px 0;
  background: var(--mark-bg);
  border-bottom: 1px solid #f0d89a;
  color: #5c3d00;
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- Tlačidlá ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--accent);
  background-image: var(--gradient);
  color: var(--on-accent);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    0 10px 24px -10px rgb(52 70 210 / 0.65);
}

/* Lesk, ktorý prebehne cez tlačidlo */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.38) 50%, transparent 70%);
  translate: -120% 0;
  transition: translate 0.7s var(--ease-out);
  pointer-events: none;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    0 14px 30px -10px rgb(52 70 210 / 0.75),
    0 0 26px rgb(92 120 255 / 0.35);
  transform: translateY(-1px);
}

.btn-primary:hover::after {
  translate: 120% 0;
}

.btn-secondary {
  background: rgb(255 255 255 / 0.85);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.btn-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--text);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.btn-glass:hover {
  background: rgb(255 255 255 / 0.85);
  color: var(--accent-text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Hlavička ---------- */

/* Plávajúca sklenená lišta; priestor okolo nej neprekáža klikaniu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-block: 10px;
  pointer-events: none;
}

.header-in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  padding: 0 8px 0 14px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.62);
  -webkit-backdrop-filter: var(--header-blur);
  backdrop-filter: var(--header-blur);
  box-shadow: var(--glass-shadow);
  pointer-events: auto;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled .header-in {
  background: rgb(255 255 255 / 0.8);
  box-shadow:
    var(--glass-shadow),
    0 18px 40px -20px rgb(30 41 80 / 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.logo-mark {
  flex: none;
  width: 36px;
  height: 36px;
  overflow: visible;
  filter: drop-shadow(0 6px 12px rgb(52 70 210 / 0.35));
}

/* Svietiaci koniec písmena W jemne pulzuje */
.logo-glow {
  opacity: 0.35;
  transform-box: fill-box;
  transform-origin: center;
  animation: logo-glow 3.2s ease-in-out infinite;
}

@keyframes logo-glow {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.7);
  }

  50% {
    opacity: 0.65;
    transform: scale(1.15);
  }
}

.nav-desktop {
  display: none;
  gap: 2px;
  margin-left: auto;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 999px;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.nav-desktop a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.75);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Prepínač SK / CZ (iba keď je česká verzia zapnutá) */
.header-lang {
  min-width: 48px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-lang-link {
  font-weight: 600;
}

.menu {
  position: relative;
}

.menu summary {
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  min-width: 250px;
  padding: 8px;
  /* Plné pozadie: rozmazanie vnútri sklenenej hlavičky prehliadače nevykreslia, polopriehľadné menu by sa zle čítalo */
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--glass-shadow),
    0 24px 48px -16px rgb(30 41 80 / 0.35);
}

.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
}

.menu-panel a:hover {
  background: var(--accent-soft);
}

@media (min-width: 1160px) {
  .nav-desktop {
    display: flex;
  }

  .header-actions {
    margin-left: 8px;
  }

  .menu {
    display: none;
  }
}

/* ---------- Úvod s prehľadom balíkov ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}

.hero-in {
  display: grid;
  gap: 40px;
  padding-block: 56px 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgb(26 127 55 / 0.15);
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgb(26 127 55 / 0.45);
  }

  70%,
  100% {
    box-shadow: 0 0 0 9px rgb(26 127 55 / 0);
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.03;
  /* Obyčajná farba, nie prechod „vystrihnutý“ do písmen: Samsung Internet v tmavom režime stránku stmaví vždy
     (napriek color-scheme „only light“ a bez prefers-color-scheme: dark) a prechod by nechal tmavý (R-61) */
  color: var(--text);
}

/* Postupný nástup úvodu */
.rise {
  animation: rise 0.7s var(--ease-out) both;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 16px;
    filter: blur(4px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    filter: none;
  }
}

.hero h1.rise {
  animation-delay: 0.06s;
}

.lead.rise {
  animation-delay: 0.16s;
}

.actions.rise {
  animation-delay: 0.24s;
}

.video-link-row.rise {
  animation-delay: 0.28s;
}

.hero-trial.rise {
  animation-delay: 0.28s;
}

.facts.rise {
  animation-delay: 0.32s;
}

.hero-stack.rise {
  animation-delay: 0.2s;
}

.ticker.rise {
  animation-delay: 0.45s;
}

.lead {
  margin-top: 22px;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Čo znamená „zadarmo“ (R-145): pod tlačidlom v úvode, nad balíkmi a na začiatku objednávky */
.hero-trial {
  margin-top: 14px;
  font-weight: 600;
}

.trial-box {
  margin: 24px 0 28px;
  padding: 20px 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}

.trial-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.trial-points {
  display: grid;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.trial-points strong,
.trial-points span {
  display: block;
}

.trial-points span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.95rem;
}

.trial-after {
  margin: 16px 0 0;
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .trial-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts li,
.checks li {
  position: relative;
  padding-left: 28px;
}

.facts li::before,
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgb(36 82 200 / 0.13);
}

.facts li::after,
.checks li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: calc(0.2em + 5px);
  width: 8px;
  height: 4.5px;
  border-left: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(-45deg);
}

.hero-shot {
  margin: 0 0 24px;
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* Promo video pod úvodom (R-67): celý obrázok je tlačidlo, uprostred modrá „pilulka“ */
.video-box {
  position: relative;
}

.hero-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: #11163a;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: rgb(15 23 41 / 0.22);
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-play[hidden] {
  display: none;
}

.video-play:hover {
  background: rgb(15 23 41 / 0.3);
}

.video-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 10px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 650;
  box-shadow: 0 14px 36px rgb(36 82 200 / 0.4);
  transition: transform 0.2s ease;
}

.video-play:hover .video-play-pill,
.video-play:focus-visible .video-play-pill {
  transform: scale(1.05);
}

.video-play-pill small {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
}

.video-play-icon,
.video-link-icon {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
}

.video-play-icon {
  width: 46px;
  height: 46px;
  background: rgb(255 255 255 / 0.2);
}

.video-play-icon svg,
.video-link-icon svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
  fill: currentColor;
}

.hero-video figcaption {
  margin: 12px 8px 4px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.video-link-row {
  margin: 20px 0 0;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.video-link:hover {
  text-decoration: underline;
}

.video-link-icon {
  width: 34px;
  height: 34px;
  background: var(--accent-soft);
}

.video-link-icon svg {
  width: 13px;
  height: 13px;
  margin-left: 2px;
}

.video-link-len {
  color: var(--muted);
  font-weight: 500;
}

#video {
  scroll-margin-top: 88px;
}

@media (max-width: 719px) {
  .video-play-pill {
    gap: 10px;
    padding: 7px 18px 7px 7px;
    font-size: 1rem;
  }

  .video-play-pill small {
    display: none;
  }

  .video-play-icon {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 960px) {
  .hero-in {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
    padding-block: 72px 64px;
  }
}

/* ---------- Sekcie ---------- */

.section {
  padding-block: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 5px 13px 5px 11px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.6);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    0 0 0 1px rgb(15 23 41 / 0.04);
  color: var(--accent-text);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow:
    0 0 0 3px rgb(92 120 255 / 0.14),
    0 0 10px rgb(92 140 255 / 0.9);
}

.section-head {
  max-width: 46em;
}

/* ---------- Svetlo pod kurzorom a zdvih kariet ---------- */

.spot {
  transition:
    box-shadow 0.35s ease,
    transform 0.35s var(--ease-out);
}

@media (hover: hover) {
  .spot:hover {
    background-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgb(92 120 255 / 0.08), transparent 62%);
    box-shadow:
      var(--glass-shadow),
      var(--glow-soft);
  }

  .benefits .spot:hover,
  .steps .spot:hover,
  .panel.spot:hover {
    transform: translateY(-4px);
  }
}

/* ---------- Pruh s časťami aplikácie ---------- */

.ticker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}

.ticker-label {
  flex: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-view {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker-track {
  display: flex;
  gap: 10px;
  width: max-content;
  margin: 0;
  padding: 0 10px 0 0;
  list-style: none;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgb(255 255 255 / 0.9);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.72);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 560;
  white-space: nowrap;
}

.ticker-track li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

@keyframes ticker {
  to {
    translate: -50% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    flex-wrap: wrap;
    width: auto;
  }

  .ticker-dup {
    display: none !important;
  }

  .ticker-view {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.section h2 {
  font-size: clamp(1.8rem, 1.25rem + 1.8vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 16px;
  max-width: 40em;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-head-center {
  text-align: center;
}

.section-head-center .section-lead {
  margin-inline: auto;
}

@media (min-width: 960px) {
  .section {
    padding-block: 80px;
  }

  .section-pricing {
    padding-top: 48px;
  }
}

/* Čo vyrieši */
/* ---------- Porovnanie balíkov zbalené za tlačidlom (R-51) ---------- */
.matrix-details {
  margin-top: 28px;
}

.matrix-details > summary {
  display: inline-flex;
  list-style: none;
  cursor: pointer;
}

.matrix-details > summary::-webkit-details-marker {
  display: none;
}

.matrix-details > summary::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}

.matrix-details[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.matrix-details[open] > .matrix-wrap {
  margin-top: 20px;
}

/* ---------- Čo WAMO vie – dlaždice funkcií (R-51) ---------- */
.features {
  display: grid;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 20px;
  border-radius: var(--radius-xl);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-head svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 1.12rem;
  font-weight: 680;
}

.feature-summary {
  color: var(--text);
  font-weight: 560;
}

/* .checks je v súbore nižšie – vyššia presnosť, aby jeho okraje neprebili dlaždicu */
.feature .feature-points {
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
}

.feature-points li {
  color: var(--muted);
}

.feature-where {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--accent-text);
  font-size: 0.86rem;
  font-weight: 600;
}

/* Mobil: dlaždice vedľa seba na posúvanie prstom – stránka nie je o osem dlaždíc dlhšia */
@media (max-width: 719px) {
  .features {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
  }

  .feature {
    scroll-snap-align: start;
  }
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.benefits {
  display: grid;
  gap: 16px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  border-radius: var(--radius-xl);
}

.benefits li:first-child::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  z-index: -1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(109 58 224 / 0.2), rgb(36 82 200 / 0.1) 60%, transparent);
  pointer-events: none;
}

.benefits .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--gradient);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 18px -8px rgb(52 70 210 / 0.6);
}

.benefits h3 {
  font-size: 1.2rem;
  font-weight: 680;
}

.benefits p {
  margin-top: 10px;
  color: var(--muted);
}

@media (min-width: 720px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }

  .benefits li {
    grid-column: span 2;
  }

  /* Mozaika: prvá karta cez dve tretiny, ďalšie po tretinách */
  .benefits li:first-child {
    grid-column: span 4;
    padding: 34px 32px;
  }

  .benefits li:first-child h3 {
    font-size: 1.55rem;
  }

  .benefits li:first-child p {
    max-width: 34em;
    font-size: 1.05rem;
  }

  /* Neúplný posledný riadok sa roztiahne, aby v mriežke neostala diera */
  .benefits li:nth-child(3n + 3):nth-last-child(2),
  .benefits li:nth-child(3n + 4):last-child {
    grid-column: span 3;
  }

  .benefits li:nth-child(3n + 3):last-child {
    grid-column: span 6;
  }
}

/* Počet viditeľných balíkov (trieda z adminu – bez inline štýlov kvôli CSP) */
.plans-1 { --plans: 1; }
.plans-2 { --plans: 2; }
.plans-3 { --plans: 3; }
.plans-4 { --plans: 4; --plan-col: 50px; }
.plans-5 { --plans: 5; --plan-col: 44px; }

/* Časti aplikácie – porovnanie podľa balíkov */
.matrix-wrap {
  margin-top: 44px;
  padding: 8px 28px 20px;
  border-radius: var(--radius-xl);
}

.matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.matrix col:not(.col-part) {
  width: 15%;
}

.matrix .col-featured {
  background: rgb(36 82 200 / 0.055);
}

.matrix thead th {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  padding: 18px 8px 14px;
  background: rgb(255 255 255 / 0.94);
  border-bottom: 1px solid var(--line-strong);
  text-align: center;
  vertical-align: bottom;
}

.matrix thead th.featured {
  box-shadow: inset 0 3px 0 var(--accent);
}

.plan-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 720;
}

.plan-price {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.plan-users {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.matrix tbody th,
.matrix tbody td,
.matrix tfoot th,
.matrix tfoot td {
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.matrix tbody th[scope='row'] {
  padding-left: 0;
  padding-right: 24px;
  text-align: left;
  font-weight: 400;
}

.part-name {
  display: block;
  font-size: 1.06rem;
  font-weight: 650;
}

.part-desc {
  display: block;
  margin-top: 4px;
  max-width: 46em;
  color: var(--muted);
  font-size: 0.95rem;
}

.matrix td {
  text-align: center;
}

.group-row th {
  padding: 28px 0 10px !important;
  text-align: left;
  border-bottom: 1px solid var(--line-strong) !important;
}

.matrix tbody:first-of-type .group-row th {
  padding-top: 20px !important;
}

.group-label {
  color: var(--accent-text);
  font-size: 0.82rem;
  font-weight: 680;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.group-note {
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.matrix .yes {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gradient);
}

.matrix .yes::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 7px;
  width: 10px;
  height: 5.5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.matrix .no {
  display: inline-block;
  margin-top: 2px;
  color: var(--muted);
}

.matrix .plus {
  display: inline-block;
  color: var(--accent-text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.matrix tfoot th {
  padding-left: 0;
  text-align: left;
  font-weight: 650;
}

.matrix tfoot td {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.matrix tfoot tr:first-child th,
.matrix tfoot tr:first-child td {
  border-top: 1px solid var(--line-strong);
}

.matrix tfoot tr:last-child th,
.matrix tfoot tr:last-child td {
  border-bottom: 0;
}

.matrix-note {
  margin-top: 20px;
  color: var(--muted);
}

@media (max-width: 599px) {
  .matrix-wrap {
    padding: 4px 14px 8px;
  }

  .matrix,
  .matrix thead,
  .matrix tbody,
  .matrix tfoot {
    display: block;
  }

  .matrix colgroup {
    display: none;
  }

  .matrix tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(var(--plans, 3), var(--plan-col, 58px));
    align-items: start;
    border-bottom: 1px solid var(--line);
  }

  .matrix thead tr {
    position: sticky;
    top: var(--header-h);
    z-index: 2;
    margin-inline: -14px;
    padding-inline: 14px;
    background: rgb(255 255 255 / 0.95);
    border-bottom: 1px solid var(--line-strong);
  }

  .matrix thead th {
    position: static;
    padding: 12px 0 10px;
    border-bottom: 0;
    background: transparent;
  }

  .matrix th,
  .matrix td {
    border-bottom: 0 !important;
  }

  .plan-name {
    font-size: 0.95rem;
  }

  .plan-price {
    font-size: 0.85rem;
  }

  .plan-users {
    font-size: 0.75rem;
  }

  .matrix tbody th[scope='row'] {
    display: contents;
  }

  .part-name {
    grid-column: 1;
    grid-row: 1;
    padding: 16px 8px 0 0;
    font-size: 1rem;
  }

  .matrix tbody td {
    grid-row: 1;
    padding: 16px 0 0;
  }

  .part-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding: 6px 0 16px;
    font-size: 0.9rem;
  }

  .group-row {
    border-bottom-color: var(--line-strong) !important;
  }

  .group-row th {
    grid-column: 1 / -1;
    padding: 24px 0 10px !important;
  }

  .group-note {
    display: block;
    margin: 2px 0 0;
  }

  .matrix tfoot th {
    padding: 14px 8px 14px 0;
  }

  .matrix tfoot td {
    padding: 14px 0;
  }

  .matrix tfoot tr:first-child {
    border-top: 1px solid var(--line-strong);
  }

  .matrix tfoot tr:last-child {
    border-bottom: 0;
  }

  .matrix tfoot tr:first-child th,
  .matrix tfoot tr:first-child td {
    border-top: 0;
  }
}

/* Ako to funguje */
.steps {
  display: grid;
  gap: 16px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-xl);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--gradient) border-box;
  color: var(--accent-text);
  font-weight: 750;
  box-shadow:
    0 0 0 5px rgb(36 82 200 / 0.06),
    0 8px 20px -6px rgb(92 120 255 / 0.55);
}

.steps h3 {
  font-size: 1.15rem;
  font-weight: 680;
}

.steps p {
  margin-top: 10px;
  color: var(--muted);
}

.note {
  margin-top: 28px;
  color: var(--muted);
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  /* Počet krokov z adminu (3 alebo 4) vyplní celý riadok */
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
}

/* Balíky a ceny */
.plans {
  display: grid;
  gap: 28px 20px;
  margin-top: 48px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--radius-xl);
}

.plan-featured {
  border-color: transparent;
  background-color: rgb(255 255 255 / 0.88);
  box-shadow: var(--glass-shadow), var(--glow);
}

.plan-featured::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(140deg, #2452c8, #6d3ae0 55%, #5cc8ff);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  pointer-events: none;
}

/* obyčajná farba – pozri nadpis úvodu (R-61) */
.plan-featured .amount {
  color: var(--accent-text);
}

.plan-label {
  position: absolute;
  z-index: 1;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gradient);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgb(52 70 210 / 0.7);
}

.plan h3 {
  font-size: 1.5rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.plan-for {
  margin-top: 6px;
  color: var(--muted);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 24px;
}

.amount {
  font-size: 3.25rem;
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.per {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-vat {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.users {
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgb(36 82 200 / 0.06);
  color: var(--text);
  font-weight: 650;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

/* Časti, ktoré balík pridáva oproti menšiemu (R-73): v zozname plnou fajkou */
.plan .checks li.is-extra {
  font-weight: 650;
}

.plan .checks li.is-extra::before {
  background: var(--accent);
}

.plan .checks li.is-extra::after {
  border-color: #ffffff;
}

.plan .btn {
  margin-top: auto;
}

.plans-note {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(var(--plans, 3), 1fr);
    align-items: stretch;
  }

  .plan-featured {
    transform: translateY(-10px);
  }
}

.addons {
  margin-top: 36px;
  padding: 26px 28px;
  border-radius: var(--radius-xl);
}

.addons h3 {
  font-size: 1.15rem;
  font-weight: 680;
}

.addons dl {
  display: grid;
  margin: 14px 0;
}

.addons dl div {
  display: grid;
  gap: 4px 24px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.addons dt {
  font-weight: 650;
}

.addons dd {
  margin: 0;
  color: var(--muted);
}

/* Pôvodná cena pred zľavnenou (R-45) */
.price-old {
  color: var(--muted);
  font-weight: 400;
  text-decoration-thickness: 1.5px;
  white-space: nowrap;
}

.addons > p {
  color: var(--muted);
}

@media (min-width: 720px) {
  .addons dl div {
    grid-template-columns: 180px 1fr;
  }
}

/* Bezpečnosť, Otázky */
.split {
  display: grid;
  gap: 36px;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }

  .split-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}

.security {
  display: grid;
  margin: 0;
  padding: 10px 28px;
  border-radius: var(--radius-xl);
  list-style: none;
}

.security li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.security li:first-child {
  border-top: 0;
}

.security svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security h3 {
  font-size: 1.08rem;
  font-weight: 680;
}

.security p {
  margin-top: 6px;
  color: var(--muted);
}

.faq {
  padding: 6px 26px;
  border-radius: var(--radius-xl);
}

.faq details + details {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 14px 44px 14px 0;
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -1px;
}

.faq details > div {
  padding: 0 44px 20px 0;
  color: var(--muted);
}

/* Objednávka a kontakt */
.contact-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.panel {
  padding: 30px 28px;
  border-radius: var(--radius-xl);
}

.panel h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.panel > p {
  margin-top: 12px;
  color: var(--muted);
}

.panel .btn {
  margin-top: 24px;
}

.panel .small {
  margin-top: 16px;
}

.panel-order {
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.85)) padding-box,
    var(--gradient) border-box;
}

.contact-list {
  display: grid;
  margin: 16px 0 0;
}

.contact-list div {
  display: grid;
  gap: 2px 16px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 560px) {
  .contact-list div {
    grid-template-columns: 110px 1fr;
  }
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* ---------- Pätička ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  padding-block: 56px 0;
  border-top: 1px solid rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.22);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-in {
  display: grid;
  gap: 32px;
}

.footer-brand .brand {
  font-size: 1.3rem;
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
}

.footer-mark {
  margin: 28px 0 0;
  background: linear-gradient(180deg, rgb(36 82 200 / 0.2), rgb(109 58 224 / 0.04) 70%, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(5rem, 24vw, 18rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.78;
  text-align: center;
  user-select: none;
}

.footer-brand .muted {
  margin-top: 10px;
  max-width: 28em;
}

.footer-h {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
}

.footer-seller p {
  line-height: 2;
}

.footer-links {
  display: grid;
  align-content: start;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

@media (min-width: 900px) {
  .footer-in {
    grid-template-columns: 1fr 1.2fr 0.7fr;
    gap: 48px;
  }
}

/* ---------- Podstránky (dokumenty, kontakt, objednávka) ---------- */

.page {
  padding-block: 56px 88px;
}

.page-head h1 {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem);
  font-weight: 740;
  letter-spacing: -0.025em;
}

.page-head p {
  margin-top: 12px;
  color: var(--muted);
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.doc {
  margin-top: 32px;
  padding: 32px 28px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
}

.doc h2 {
  margin: 32px 0 12px;
  font-size: 1.3rem;
  font-weight: 680;
}

.doc h3 {
  margin: 24px 0 8px;
  font-size: 1.08rem;
  font-weight: 650;
}

.doc h2:first-child,
.doc h3:first-child {
  margin-top: 0;
}

.doc p,
.doc ul,
.doc ol {
  margin: 0 0 14px;
}

.doc ul,
.doc ol {
  padding-left: 1.4em;
}

.doc li {
  margin-bottom: 6px;
}

.table-scroll {
  margin: 0 0 16px;
  overflow-x: auto;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.doc th,
.doc td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc th {
  background: var(--surface-2);
  font-weight: 650;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.versions {
  margin-top: 24px;
  font-size: 0.95rem;
}

.versions ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.alert {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-left-width: 4px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
}

.alert-error {
  border-color: #f1b8b3;
  border-left-color: var(--danger);
  background: var(--danger-soft);
}

.alert-ok {
  border-color: #b7dfc3;
  border-left-color: var(--ok);
  background: var(--ok-soft);
}

.alert-info {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

.alert h2 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.alert ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

/* Karta pri objednávke a postup spustenia aplikácie (R-34) – stav vždy aj slovom, nie iba farbou */
.card-step {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
}

.card-step h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.card-step .hint {
  color: var(--muted);
  font-size: 0.95rem;
}

.progress-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.progress-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.progress-list li:first-child {
  border-top: 0;
}

.progress-mark {
  flex: 0 0 auto;
  min-width: 6.5em;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.progress-done .progress-mark {
  background: var(--ok-soft);
  color: var(--ok);
}

.progress-working .progress-mark {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.progress-later .progress-mark {
  background: var(--mark-bg);
  color: var(--mark);
}

.progress-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Formulár objednávky */

/* Zbalená nepovinná otázka (adresa aplikácie) */
.more {
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.6);
}

.more summary {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 14px 48px 14px 16px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.more summary::-webkit-details-marker {
  display: none;
}

.more summary span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.more summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.more[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -1px;
}

.more > .field {
  margin: 0;
  padding: 0 16px 18px;
}
.order-grid {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

@media (min-width: 1000px) {
  .order-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }

  .order-summary {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

fieldset {
  margin: 0 0 24px;
  padding: 24px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
}

legend {
  padding: 0 6px;
  font-size: 1.1rem;
  font-weight: 680;
}

.field {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

legend + .field {
  margin-top: 8px;
}

.inline-note {
  margin-top: 14px;
}

.field label,
.field .label {
  font-weight: 600;
}

.field .hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.field .error {
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 600;
}

.field-row {
  display: grid;
  gap: 0 16px;
}

.field-row > .field {
  align-content: end;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .field-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: var(--danger);
  border-width: 2px;
}

.firma-combo {
  position: relative;
}

.firma-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px rgb(15 23 41 / 0.16);
}

/* Pole IČO je úzke – nájdené firmy sa do jeho šírky nezmestia. */
@media (min-width: 640px) {
  .firma-panel {
    width: max(100%, 560px);
  }
}

.firma-panel ul {
  max-height: 340px;
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  list-style: none;
}

.firma-panel li[role='option'] {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
}

.firma-panel li[role='option']:hover,
.firma-panel li[aria-selected='true'] {
  background: var(--accent-soft);
}

.firma-panel li strong {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.firma-panel li span {
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.firma-nic {
  padding: 10px 12px;
  color: var(--muted);
}

.firma-zdroj {
  margin: 0;
  padding: 6px 12px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.8rem;
}

.firma-stav:empty {
  display: none;
}

.firma-stav {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.suffix-input {
  display: flex;
  align-items: stretch;
}

.suffix-input input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.suffix-input span {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}

.choice {
  display: grid;
  background: rgb(255 255 255 / 0.7);
  grid-template-columns: 28px 1fr;
  gap: 4px 10px;
  align-items: start;
  padding: 14px 16px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.choice input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.choice strong {
  font-weight: 650;
}

.choice .desc {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.92rem;
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.choice.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.summary-box {
  padding: 24px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
}

.summary-box h2 {
  font-size: 1.2rem;
  font-weight: 680;
}

.sum-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.sum-table th,
.sum-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.sum-table td {
  text-align: right;
  white-space: nowrap;
}

.sum-table tr.total th,
.sum-table tr.total td {
  font-weight: 700;
  border-bottom: 0;
}

.sum-caption {
  margin-top: 18px;
  font-weight: 650;
}

.sum-now {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  font-weight: 700;
}

.review {
  display: grid;
  margin: 0;
}

.review div {
  display: grid;
  gap: 2px 16px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
}

.review dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.review dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .review div {
    grid-template-columns: 200px 1fr;
  }
}

.info-list {
  margin: 8px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pow-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pow-status[data-state='done'] {
  color: var(--ok);
}

.pow-status[data-state='error'] {
  color: var(--danger);
}

/* ---------- Mobil ---------- */

@media (max-width: 599px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 1rem;
  }

  .hero-in {
    padding-block: 32px 48px;
  }

  .actions .btn,
  .form-actions .btn {
    flex: 1 1 100%;
  }

  .facts {
    display: grid;
    gap: 8px;
  }

  .plan,
  .panel,
  .addons {
    padding: 26px 20px 22px;
  }

  .security,
  .faq {
    padding-inline: 18px;
  }

  .section {
    padding-block: 56px;
  }

  .faq details > div {
    padding-right: 0;
  }

  fieldset,
  .doc {
    padding: 20px 16px;
  }
}

@media (max-width: 759px) {
  body::before,
  body::after {
    animation: none;
  }

  .header-in {
    gap: 10px;
    padding: 0 6px 0 10px;
  }

  .brand {
    gap: 8px;
    font-size: 1.3rem;
  }

  .site-header .logo-mark {
    width: 32px;
    height: 32px;
  }

  .header-actions {
    gap: 6px;
  }

  .ticker {
    padding-left: 8px;
    border-radius: var(--radius-lg);
  }

  .ticker-label {
    display: none;
  }

  .ticker {
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Prihlásenie pre firmy (R-15) – ako okno aplikácie WAMO ----------
   Ten istý vzhľad ako prvý krok prihlásenia v aplikácii WAMO (sklad B83-11, docs/grafika/prihlasenie-aplikacia):
   tmavé pozadie C z Higgsfieldu (v telefóne na výšku, na počítači na šírku), tmavé sklo, pole „Firma“
   s koncovkou adresy, biele tlačidlo (variant 4). Farby sú tie isté ako v obale aplikácie (colors.xml). */

html.login-scene {
  color-scheme: only dark;
  scroll-padding-top: 16px;
  background: #151d28;
  --login-text: #f2f4f8;
  --login-text-2: #b7c1d0;
  --login-muted: #a5b0c1;
  --login-label: #d6dce6;
  --login-hint: #8f9bad;
  --login-icon: #a9b4c4;
  --login-link: #b9c7ff;
  --login-error: #ffc2b8;
  --login-error-border: #f09a8c;
  --login-line: rgb(255 255 255 / 0.18);
  --focus: #b9c7ff;
}

/* Celá obrazovka aj s pruhom náhľadu nad ňou – bez zbytočného posúvania. */
html.login-scene body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--login-text);
}

/* Farebné svetlá svetlého webu tu nie sú – pozadím je obrázok. */
html.login-scene body::before,
html.login-scene body::after {
  content: none;
}

html.login-scene a {
  color: var(--login-link);
}

.login-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #151d28 url(/static/prihlasenie-pozadie-vyska.2e2136c74f.webp) center top / 100% auto no-repeat;
}

@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
  .login-bg {
    inset: -3%;
    background-image: url(/static/prihlasenie-pozadie-sirka.a858e1bc46.webp);
    background-position: right top;
    background-size: cover;
  }
}

/* Na počítači sa hodváb pozadia veľmi pomaly hýbe – iba presunom vrstvy, bez prekresľovania. */
@media (min-width: 768px) and (min-aspect-ratio: 1/1) and (prefers-reduced-motion: no-preference) {
  .login-bg {
    will-change: transform;
    animation: login-drift 40s ease-in-out infinite alternate;
  }
}

@keyframes login-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-1.5%, 1.2%, 0) scale(1.03);
  }
}

.login-shell {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  padding: 20px 24px 16px;
}

.login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

html.login-scene .login-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--login-text);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.login-brand .logo-mark {
  width: 36px;
  height: 36px;
}

.login-back {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 4px;
  font-size: 0.95rem;
  text-decoration: none;
}

.login-back:hover {
  text-decoration: underline;
}

.login-main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  padding-block: 48px 32px;
}

.login-head h1 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-head p {
  margin-top: 8px;
  color: var(--login-text-2);
  font-size: 1rem;
  line-height: 1.5;
}

/* Tmavé sklo pod formulárom, hore tenké svetlo na hrane (ako `AuthCard` v aplikácii). */
.login-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 16px;
  background: rgb(16 23 33 / 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
}

.login-card::before {
  content: '';
  position: absolute;
  inset-inline: 24px;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(214 220 255 / 0.55), transparent);
  pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .login-card {
    background: rgb(20 28 40 / 0.92);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .login-card {
    background: #161e29;
  }
}

.login-card label {
  margin-bottom: 8px;
  color: var(--login-label);
  font-size: 0.875rem;
  font-weight: 500;
}

.login-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding-inline: 14px;
  border: 1px solid var(--login-line);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.06);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.login-field:focus-within {
  border-color: rgb(185 199 255 / 0.7);
  box-shadow: 0 0 0 3px rgb(185 199 255 / 0.22);
}

.login-field.has-error {
  border: 1.5px solid var(--login-error-border);
}

.login-icon {
  flex: none;
  color: var(--login-icon);
}

.login-field input:is([type='text'], [type='password']) {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--login-text);
  font-size: 1.0625rem;
  caret-color: var(--login-link);
}

.login-field input:is([type='text'], [type='password'])::placeholder {
  color: var(--login-hint);
  opacity: 1;
}

.login-field input:is([type='text'], [type='password']):focus-visible {
  outline: none;
}

/* Automatické dopĺňanie prehliadača by pole prefarbilo na bielo. */
.login-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--login-text);
  box-shadow: 0 0 0 40px #232b37 inset;
}

.login-suffix {
  flex: none;
  color: var(--login-muted);
  white-space: nowrap;
}

.login-note,
.login-error {
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.login-note {
  color: var(--login-muted);
}

.login-error {
  color: var(--login-error);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Hlavné tlačidlo – biele (variant 4 zo sklad B83-11): tmavšia spodná hrana a mäkký tieň. */
.login-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #eef1f7;
  box-shadow:
    inset 0 -2px 0 rgb(18 25 36 / 0.14),
    inset 0 1px 0 #ffffff,
    0 12px 28px -14px rgb(0 0 0 / 0.75);
  color: #121924;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.15s var(--ease-out);
}

.login-btn:hover {
  background: #ffffff;
}

.login-btn:active {
  background: #dde2ec;
  transform: translateY(1px);
}

.login-btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.login-help {
  color: var(--login-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.login-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  color: var(--login-text-2);
  font-size: 0.875rem;
}

.login-foot .login-icon {
  color: #6fd39a;
}

/* ---------- Okno „Prihlásenie“ – meno a heslo pod firmou (R-115) ----------
   Po správnom kóde firmy sa pole Firma zamkne s fajkou a pod ním sa plynulo vysunú Meno a Heslo
   (výška cez grid 0fr → 1fr, polia postupne za sebou); text tlačidla sa prelína; pri chybe sa pole
   jemne zatrasie; po prihlásení sa okno rozsvieti nazeleno. Pri obmedzení pohybu bez animácií. */

.login-collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.42s var(--ease-out),
    opacity 0.3s ease;
}

.login-collapse[hidden] {
  display: none;
}

.login-collapse.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.login-collapse > div {
  min-height: 0;
  overflow: hidden;
}

.login-firm-msg p {
  padding-top: 10px;
}

.login-account-in {
  display: flex;
  flex-direction: column;
  padding-top: 18px;
}

.login-account-in > .login-field {
  margin-bottom: 14px;
}

.login-account-in > .login-note {
  margin-top: 0;
}

.login-account-in > .login-error {
  margin: -4px 0 8px;
}

/* Polia prichádzajú postupne – najprv meno, potom heslo. */
.login-account-in > * {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease-out);
}

.login-account.is-open .login-account-in > * {
  opacity: 1;
  transform: none;
}

.login-account.is-open .login-account-in > :nth-child(2) {
  transition-delay: 0.05s;
}

.login-account.is-open .login-account-in > :nth-child(3) {
  transition-delay: 0.1s;
}

.login-account.is-open .login-account-in > :nth-child(4) {
  transition-delay: 0.15s;
}

.login-account.is-open .login-account-in > :nth-child(n + 5) {
  transition-delay: 0.2s;
}

/* Overená firma: zamknuté pole s fajkou a tlačidlom „Zmeniť“. */
.login-field .login-ok-icon {
  display: none;
  flex: none;
  color: #6fd39a;
}

.login-field-firm.is-found {
  border-color: rgb(111 211 154 / 0.45);
  background: rgb(111 211 154 / 0.07);
}

.login-field-firm.is-found .login-ok-icon {
  display: block;
  animation: login-pop 0.4s var(--ease-out) both;
}

.login-field-firm.is-found input {
  cursor: pointer;
}

.login-field-firm.is-found .login-suffix {
  display: none;
}

.login-field-firm.is-found input:focus-visible {
  outline: none;
}

@keyframes login-pop {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.login-change,
.login-eye {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  margin-right: -8px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--login-link);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.login-change[hidden] {
  display: none;
}

.login-change:hover,
.login-eye:hover {
  background: rgb(255 255 255 / 0.08);
}

.login-eye {
  padding: 0;
  color: var(--login-icon);
}

.login-eye .login-eye-off,
.login-eye[aria-pressed='true'] .login-eye-on {
  display: none;
}

.login-eye[aria-pressed='true'] .login-eye-off {
  display: block;
}

/* Tlačidlo: text sa prelína, pri čakaní krúžok, po prihlásení fajka. */
.login-btn-label {
  transition:
    opacity 0.14s ease,
    transform 0.2s var(--ease-out);
}

.login-btn-label.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

.login-btn-label.is-coming {
  opacity: 0;
  transform: translateY(8px);
  transition: none;
}

.login-spinner,
.login-btn .login-ok-icon {
  display: none;
  flex: none;
}

.login-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgb(18 25 36 / 0.2);
  border-top-color: #121924;
  border-radius: 50%;
}

.login-card.is-busy .login-spinner {
  display: block;
  animation: login-spin 0.75s linear infinite;
}

.login-card.is-busy .login-btn {
  cursor: progress;
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

.login-card.is-done .login-btn {
  background: #d8f5e3;
  color: #0e3a21;
}

.login-card.is-done .login-btn .login-ok-icon {
  display: block;
  color: #138a47;
  animation: login-pop 0.4s var(--ease-out) both;
}

.login-card {
  transition:
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

.login-card.is-done {
  border-color: rgb(111 211 154 / 0.4);
  box-shadow:
    0 0 0 1px rgb(111 211 154 / 0.18),
    0 30px 90px -30px rgb(111 211 154 / 0.45);
}

/* Chyba – pole jemne zatrasie. */
.is-shaking {
  animation: login-shake 0.42s ease both;
}

@keyframes login-shake {
  10%,
  90% {
    transform: translateX(-1px);
  }

  20%,
  80% {
    transform: translateX(3px);
  }

  30%,
  50%,
  70% {
    transform: translateX(-5px);
  }

  40%,
  60% {
    transform: translateX(5px);
  }
}

/* Postupný nástup ako na prihlásení v aplikácii. */
@media (prefers-reduced-motion: no-preference) {
  .login-head,
  .login-card,
  .login-help {
    animation: rise 0.6s var(--ease-out) both;
  }

  .login-card {
    animation-delay: 0.09s;
  }

  .login-help {
    animation-delay: 0.18s;
  }
}

@media (max-width: 479px) {
  .login-shell {
    padding-inline: 16px;
  }

  .login-main {
    padding-top: 40px;
  }

  .login-card {
    padding: 18px 16px;
  }
}

@media (max-width: 879px) {
  .header-login {
    display: none;
  }
}

@media (max-width: 479px) {
  /* na úzkom mobile je prepínač jazyka v Menu a v pätičke */
  .header-lang {
    display: none;
  }
}

/* ---------- Mobil: kratšia úvodná stránka (R-63) ----------
   Prepínač balíkov a ovládanie dlaždíc zapne skript; bez neho sú balíky pod sebou a na počítači sa nič nemení. */
.plan-tabs,
.plan-swipe,
.feature-nav {
  display: none;
}

@keyframes plan-in-next {
  from {
    opacity: 0.4;
    transform: translateX(40px);
  }
}

@keyframes plan-in-prev {
  from {
    opacity: 0.4;
    transform: translateX(-40px);
  }
}

@media (max-width: 719px) {
  .plan-tabs:not([hidden]) {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 4px;
    margin-top: 32px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgb(255 255 255 / 0.75);
    box-shadow: 0 4px 14px rgb(15 23 41 / 0.06);
  }

  .plan-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-height: 54px;
    padding: 6px 4px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 680;
    cursor: pointer;
  }

  .plan-tab small {
    font-size: 0.8rem;
    font-weight: 500;
  }

  .plan-tab[aria-selected='true'] {
    background: var(--gradient);
    color: #ffffff;
    box-shadow: 0 6px 16px rgb(36 82 200 / 0.28);
  }

  .plan-tab:focus-visible {
    outline: 2px solid var(--accent-text);
    outline-offset: 2px;
  }

  .plans.is-tabbed {
    margin-top: 28px;
  }

  .plans.is-tabbed > .plan:not(.is-active) {
    display: none;
  }

  /* karta, ktorá sa pri prepnutí vysúva zboku, nesmie stránku rozšíriť (R-73) */
  .section-pricing {
    overflow-x: clip;
  }

  .plan-swipe:not([hidden]) {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
  }

  @media (prefers-reduced-motion: no-preference) {
    .plans.is-tabbed > .plan.slide-next {
      animation: plan-in-next 0.28s ease-out;
    }

    .plans.is-tabbed > .plan.slide-prev {
      animation: plan-in-prev 0.28s ease-out;
    }
  }

  .feature-nav:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 6px;
  }

  .feature-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent-text);
    cursor: pointer;
  }

  .feature-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .feature-arrow:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .feature-dots {
    display: flex;
    gap: 6px;
  }

  .feature-dots i {
    width: 7px;
    height: 7px;
    border-radius: 4px;
    background: rgb(15 23 41 / 0.18);
    transition: width 0.2s ease;
  }

  .feature-dots i.is-active {
    width: 20px;
    background: var(--accent-text);
  }

  /* bezpečnosť v dvoch stĺpcoch – ikona nad textom */
  .security {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    padding: 6px 18px;
  }

  .security li {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 10px;
    padding-block: 18px;
  }

  .security li:nth-child(2) {
    border-top: 0;
  }

  .security svg {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .security h3 {
    font-size: 1rem;
  }

  .security p {
    margin-top: 4px;
    font-size: 0.88rem;
  }
}

/* ---------- Smer B (R-81): úvod so snímkami aplikácie ---------- */

/* pozadie úvodu: sklenené pásy svetla (Higgsfield, R-84) s priesvitným okolím – pásy prechádzajú od stredu
   popod snímky aplikácie doprava; dole sa stratia do stránky. Priesvitné okolie nechá v stmavenom Samsungu iba pásy. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: url(/static/pozadie-uvod-2000.579511cbd5.webp) 92% 42% / 128% auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  transform-origin: 70% 50%;
  animation: hero-drift 32s ease-in-out infinite alternate;
  /* iba keď pásy z kódu nebežia (bez skriptu ich nahradí pri obmedzení pohybu; site.js pridá .no-flow) */
  display: none;
}

.hero.no-flow::after {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero::after {
    display: block;
  }
}

@keyframes hero-drift {
  to {
    transform: translate3d(-1.5%, 1.2%, 0) scale(1.04);
  }
}

@media (max-width: 959px) {
  /* v mobile iba za snímkami pod textom, aby pásy neboli pod nadpisom */
  .hero::after {
    background-image: url(/static/pozadie-uvod-900.6e59853b85.webp);
    background-position: 75% 100%;
    background-size: 210% auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 45%, #000 68%, #000 88%, transparent);
    mask-image: linear-gradient(to bottom, transparent 45%, #000 68%, #000 88%, transparent);
    animation: none;
  }
}

/* pásy svetla v pohybe (R-87): kreslí ich site.js do plátna v plnom rozlíšení obrazovky, jemne a plynulo;
   kým nebežia (bez skriptu, pri obmedzení pohybu, šetrení dát), ostáva obrázok vyššie */
.hero-flow {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent);
  mask-image: linear-gradient(to bottom, #000 68%, transparent);
}

.hero.has-flow .hero-flow {
  opacity: 1;
}

/* posledné slová nadpisu vo farbe značky – obyčajná farba, nie prechod v písmenách (R-61) */
.hero h1 em {
  font-style: normal;
  color: var(--accent-text);
}

.hero .video-link {
  text-decoration: none;
}

.hero .video-link-icon {
  width: 26px;
  height: 26px;
}

.hero .video-link-len {
  font-size: 0.85rem;
}

.hero-stack {
  position: relative;
  padding: 18px 0 44px;
}

/* jemná žiara za snímkami */
.hero-stack::before {
  content: '';
  position: absolute;
  inset: 6% 4% 10% 8%;
  z-index: -1;
  border-radius: 48px;
  background: radial-gradient(closest-side, rgb(92 110 255 / 0.4), rgb(109 58 224 / 0.18) 60%, transparent);
  filter: blur(34px);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.97);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* rám prehliadača okolo snímky; okolo neho tenký sklenený lem (bez rozmazávania – šetrí telefón) */
.device-browser {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgb(15 23 41 / 0.08),
    0 0 0 9px rgb(255 255 255 / 0.5),
    0 0 0 10px rgb(255 255 255 / 0.85),
    0 30px 60px -22px rgb(30 41 80 / 0.34),
    0 70px 120px -50px rgb(36 60 160 / 0.4);
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  background: #f6f7fa;
  border-bottom: 1px solid #eceef2;
}

.device-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dde1e8;
}

.device-url {
  display: flex;
  align-items: center;
  height: 22px;
  margin: 0 auto;
  padding: 0 14px;
  border: 1px solid #eceef2;
  border-radius: 6px;
  background: #ffffff;
  color: #5d6779;
  font-size: 0.72rem;
}

.device-browser img {
  display: block;
  width: 100%;
  height: auto;
}

/* telefón v rámiku */
.device-phone {
  position: absolute;
  right: -1%;
  bottom: 0;
  width: 26%;
  margin: 0;
  padding: 6px;
  border-radius: 30px;
  background: #0f1729;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.14),
    0 0 0 1px rgb(15 23 41 / 0.2),
    0 30px 60px -18px rgb(15 23 41 / 0.55);
}

.device-phone::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 50%;
  width: 26%;
  height: 12px;
  translate: -50% 0;
  border-radius: 8px;
  background: #0f1729;
}

.device-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* sklenené upozornenia vedľa snímok (údaje ukážkovej firmy zo snímok) */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  white-space: nowrap;
  animation: float 8s ease-in-out infinite;
  background: rgb(255 255 255 / 0.86);
  will-change: translate;
}

.chip b {
  display: block;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 650;
}

.chip-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.chip-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip-alert {
  top: 24%;
  left: -6%;
}

.chip-alert .chip-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.chip-ok {
  bottom: 4px;
  left: 30%;
  animation-delay: -3.5s;
}

.chip-ok .chip-icon {
  background: var(--ok-soft);
  color: var(--ok);
}

@keyframes float {
  50% {
    translate: 0 -7px;
  }
}

/* hĺbka: vrstvy sa pod myšou pohnú každá inak (site.js nastaví --tx a --ty od -1 do 1) */
.hero-stack .layer {
  transform: translate3d(calc(var(--tx, 0) * var(--d, 4) * 1px), calc(var(--ty, 0) * var(--d, 4) * 1px), 0);
  transition: transform 0.8s var(--ease-out);
}

.device-browser.layer {
  --d: 5;
}

.device-phone.layer {
  --d: 12;
}

.chip-alert.layer {
  --d: 16;
}

.chip-ok.layer {
  --d: 20;
}

@media (max-width: 959px) {
  .hero-stack {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }

  .chip-alert {
    left: -2%;
  }
}

@media (max-width: 599px) {
  .hero-stack {
    padding: 22px 0 36px;
  }

  .device-phone {
    width: 30%;
    padding: 4px;
    border-radius: 20px;
  }

  .device-phone img {
    border-radius: 16px;
  }

  .device-phone::before {
    top: 8px;
    height: 7px;
  }

  .device-bar {
    height: 26px;
    gap: 5px;
  }

  .device-bar i {
    width: 7px;
    height: 7px;
  }

  .device-url {
    height: 17px;
    font-size: 0.62rem;
  }

  .chip {
    padding: 7px 12px 7px 7px;
    font-size: 0.72rem;
  }

  .chip b {
    font-size: 0.78rem;
  }

  .chip-icon {
    width: 28px;
    height: 28px;
  }

  .chip-alert {
    top: 34%;
    left: 2%;
  }

  .chip-ok {
    display: none;
  }
}

/* ---------- Ukážky obrazoviek aplikácie ---------- */

.showcase {
  margin-top: 40px;
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}

.showcase-tabs[hidden] {
  display: none;
}

.showcase-tab {
  /* v mobile sú záložky v jednom posúvateľnom riadku – nezužovať (orezaný názov „St…“, R-98) */
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 8px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  color: var(--text);
  font: 600 0.92rem/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.showcase-tab svg {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase-tab:hover {
  box-shadow: var(--glass-shadow), var(--glow-soft);
}

.showcase-tab[aria-selected='true'] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 24px -10px rgb(36 82 200 / 0.7);
}

.showcase-tab[aria-selected='true'] svg {
  background: rgb(255 255 255 / 0.18);
  stroke: #ffffff;
}

.showcase-frame {
  /* záložky aj celé video sa zmestia na jednu obrazovku aj pri nižšom okne */
  max-width: min(1100px, calc((100vh - 240px) * 16 / 9));
  margin-inline: auto;
}

.showcase-views {
  display: grid;
  /* zvislé posúvanie stránky ostane, vodorovný ťah prstom prepína ukážky (R-111) */
  touch-action: pan-y;
}

.showcase-view {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s,
    transform 0.3s ease;
}

.showcase-view.is-active {
  opacity: 1;
  visibility: visible;
}

/* krátke video aplikácie v záložke (R-88) */
.showcase-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #f5f6f9;
  object-fit: cover;
}

/* pruh priebehu videa v záložke */
.showcase-tab {
  position: relative;
  overflow: hidden;
}

.showcase-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgb(255 255 255 / 0.85);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  opacity: 0;
}

.showcase-tab[aria-selected='true'] .showcase-progress {
  opacity: 1;
}

.showcase-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 719px) {
  .showcase-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .showcase-tabs::-webkit-scrollbar {
    display: none;
  }
}

.section-video .hero-shot {
  margin-bottom: 0;
}

/* ---------- Svetelný okraj karty pod kurzorom ---------- */

.spot {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .spot::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1.5px;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgb(80 110 255 / 0.95), rgb(140 90 255 / 0.45) 40%, transparent 70%);
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#000 0 0) content-box exclude,
      linear-gradient(#000 0 0);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }

  .spot:hover::before {
    opacity: 1;
  }
}

/* ---------- Plynulý nástup pri posúvaní (site.js pridá triedu js-reveal; bez skriptu je všetko vidno hneď) ---------- */

.js-reveal .reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 0.7s var(--ease-out) calc(var(--i, 0) * 80ms),
    translate 0.7s var(--ease-out) calc(var(--i, 0) * 80ms),
    box-shadow 0.35s ease,
    transform 0.35s var(--ease-out);
}

.js-reveal .reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

/* dlaždice vedľa seba v mobile sa objavia hneď pri potiahnutí prstom, bez postupného oneskorenia */
@media (max-width: 719px) {
  .features .reveal {
    --i: 0 !important;
  }
}

/* ---------- Telefón: menej rozmazávania a žiadne nekonečné animácie za obsahom – web ostane rýchly ---------- */

@media (max-width: 759px) {
  :root {
    --header-blur: blur(14px) saturate(160%);
  }

  .hero-stack::before,
  .chip {
    animation: none;
  }
}

/* tabuľka porovnania pod balíkmi (R-91) – bez vlastného nadpisu, tlačidlo v strede, tabuľka na celú šírku */
.plans-compare {
  margin-top: 28px;
  text-align: center;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.plans-compare .matrix-wrap {
  text-align: left;
}

/* tlačidlo pauzy ukážok (R-92) – v rohu lišty prehliadača */
.showcase-frame {
  position: relative;
}

.showcase-pause {
  position: absolute;
  top: 3px;
  right: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #e3e6ec;
  border-radius: 8px;
  background: #ffffff;
  color: #3a4456;
  cursor: pointer;
}

.showcase-pause[hidden] {
  display: none;
}

.showcase-pause:hover {
  color: var(--accent-text);
  border-color: rgb(36 82 200 / 0.4);
}

.showcase-pause svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.showcase-pause .i-play,
.showcase-pause[aria-pressed='true'] .i-pause {
  display: none;
}

.showcase-pause[aria-pressed='true'] .i-play {
  display: block;
}

/* väčšia plocha na dotyk, vzhľad ostáva malý */
.showcase-pause::after {
  content: '';
  position: absolute;
  inset: -8px;
}

/* otázky: prvých šesť, ostatné po kliknutí (R-92) */
.faq.is-short .faq-extra {
  display: none;
}

.faq-all {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 12px 0 4px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--accent-text);
  font: 600 0.95rem var(--font);
  text-align: left;
  cursor: pointer;
}

.faq-all[hidden] {
  display: none;
}

.faq-all:hover {
  text-decoration: underline;
}

/* tlačidlo skúšky v hlavičke (R-92) – vždy na jednom riadku; „zadarmo“ iba keď je miesto. Slová sú dve časti
   tlačidla, medzeru medzi nimi robí odstup (medzera v texte by sa na okraji časti stratila – R-93). */
.header-cta {
  gap: 0.3em;
  white-space: nowrap;
}

.header-login {
  white-space: nowrap;
}

@media (max-width: 559px), (min-width: 1160px) and (max-width: 1279px) {
  .header-cta-more {
    display: none;
  }
}

/* navigácia s tlačidlami sa musí zmestiť do lišty (R-93) – užšie odkazy, pri 1160–1239 px ešte užšie */
@media (min-width: 1160px) {
  .nav-desktop a {
    padding: 0 11px;
  }

  .header-actions .btn-sm {
    padding-inline: 16px;
  }
}

@media (min-width: 1160px) and (max-width: 1239px) {
  .nav-desktop a {
    padding: 0 9px;
  }
}

/* ---------- Dotyková plocha aspoň 48 px (R-166) ----------
   Iba dotykové a úzke obrazovky; na počítači sa nič nemení. Vzhľad ostáva: odkazy v texte majú väčšiu iba
   plochu na dotyk (výplň riadkového prvku riadky neposúva), „← Späť“ si výšku riadka drží záporným okrajom. */
@media (max-width: 767px), (pointer: coarse) {
  .footer-links a {
    min-height: 48px;
  }

  .breadcrumb a {
    min-height: 48px;
    margin-block: -4px;
  }

  .footer-seller a,
  .review dd a {
    padding-block: 15px;
  }

  /* Rám ukážky orezáva, čo z neho trčí – plocha preto rastie dovnútra: roh rámu 48 × 48 px
     (tlačidlo 28 px je 3 px od vrchu a 6 px sprava, plocha sa počíta od vnútra jeho 1 px okraja). */
  .showcase-pause::after {
    inset: -4px -7px -18px -15px;
  }
}
