/* ==========================================================================
   HR Manažment – prezentačný web
   Dizajnový systém + komponenty. Breakpointy: responsive.css
   ========================================================================== */

/* ---------- 1. Tokeny ---------- */
:root {
  --c-primary: #087DBB;
  --c-primary-strong: #0969A5;
  --c-primary-deep: #075A8C;
  --c-primary-soft: #EAF6FD;
  --c-primary-tint: #F3F9FD;
  --c-surface: #FFFFFF;
  --c-bg: #F7F9FC;
  --c-ink: #172033;
  --c-ink-2: #334155;
  --c-muted: #687386;
  --c-line: #E4EBF2;
  --c-line-strong: #D5DFEA;
  --c-success: #16A34A;
  --c-success-ink: #166534;
  --c-success-soft: #DCFCE7;
  --c-warning: #F59E0B;
  --c-warning-ink: #92400E;
  --c-warning-soft: #FEF3C7;
  --c-danger: #DC2626;
  --c-danger-ink: #B42318;
  --c-danger-soft: #FEE4E2;

  /* farby grafov */
  --c-chart-blue: #3B9FE3;
  --c-chart-violet: #8B5CF6;
  --c-chart-pink: #DB4F98;
  --c-chart-orange: #EFA23A;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.1vw, 2.875rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.4vw, 4rem);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(23, 32, 51, .05);
  --sh-sm: 0 1px 2px rgba(23, 32, 51, .04), 0 4px 14px rgba(23, 32, 51, .05);
  --sh-md: 0 2px 6px rgba(23, 32, 51, .04), 0 14px 36px rgba(23, 32, 51, .08);
  --sh-lg: 0 4px 12px rgba(23, 32, 51, .05), 0 30px 70px -10px rgba(16, 56, 94, .20);
  --sh-focus: 0 0 0 3px rgba(8, 125, 187, .28);

  --header-h: 72px;
  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- 2. Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink-2);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--c-ink); margin: 0; line-height: 1.15; letter-spacing: -0.022em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-primary-strong); text-decoration: none; }
a:hover { color: var(--c-primary-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: rgba(8, 125, 187, .18); }

:focus-visible { outline: 3px solid rgba(8, 125, 187, .55); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus:not(:focus-visible), section[tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

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

/* ---------- 3. Sekcie a nadpisy ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section--soft { background: var(--c-primary-tint); }
.section--plain-bg { background: var(--c-bg); }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary-strong); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-head:not(.section-head--left) .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.section-lead { margin-top: 18px; font-size: var(--fs-md); color: var(--c-muted); text-wrap: pretty; }
.section-head--left .btn { margin-top: 28px; }

/* ---------- 4. Tlačidlá ---------- */
.btn {
  --btn-bg: var(--c-surface); --btn-fg: var(--c-ink); --btn-bd: var(--c-line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 20px;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: 12px;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
  white-space: nowrap; position: relative;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; border-radius: 10px; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; border-radius: 14px; }
.btn--primary {
  --btn-bg: var(--c-primary); --btn-fg: #fff; --btn-bd: transparent;
  background-image: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0));
  box-shadow: 0 1px 2px rgba(9, 105, 165, .25), 0 8px 20px -6px rgba(8, 125, 187, .55);
}
.btn--primary:hover { --btn-bg: var(--c-primary-strong); box-shadow: 0 1px 2px rgba(9, 105, 165, .25), 0 12px 26px -8px rgba(8, 125, 187, .65); }
.btn--ghost { --btn-bg: var(--c-surface); --btn-fg: var(--c-ink); --btn-bd: var(--c-line-strong); box-shadow: var(--sh-xs); }
.btn--ghost:hover { --btn-bd: #BFD3E4; --btn-bg: #FBFDFF; }
.btn--outline { --btn-bg: var(--c-surface); --btn-fg: var(--c-ink); --btn-bd: var(--c-line-strong); box-shadow: var(--sh-sm); }
.btn--outline:hover { --btn-bd: var(--c-primary); --btn-fg: var(--c-primary-strong); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--c-primary-deep); --btn-bd: transparent; box-shadow: 0 10px 30px -10px rgba(4, 40, 70, .45); }
.btn--white:hover { --btn-bg: #F3F9FD; }
.btn--on-dark { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--on-dark:hover { --btn-bg: rgba(255,255,255,.16); --btn-fg: #fff; }
.btn:focus-visible { outline: none; box-shadow: var(--sh-focus); }

.link-btn { display: inline-block; margin-top: 8px; font-weight: 600; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header { -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); background: rgba(255,255,255,.6); }
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .86); border-bottom-color: rgba(228, 235, 242, .9); box-shadow: 0 6px 24px -12px rgba(23, 32, 51, .12); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--c-ink); flex: none; }
.brand:hover { color: var(--c-ink); }
.brand-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 10px rgba(8, 125, 187, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text small { font-size: .75rem; font-weight: 600; color: var(--c-muted); letter-spacing: .02em; margin-top: 2px; }

.site-nav { margin-left: auto; display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px;
  font-size: .9375rem; font-weight: 500; color: var(--c-ink-2); border-radius: 10px;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--c-primary-strong); background: var(--c-primary-tint); }
.nav-link.is-active { color: var(--c-primary-strong); background: var(--c-primary-soft); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--c-line); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--c-ink); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(15, 23, 42, .35); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-bottom: clamp(72px, 8vw, 120px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
  background: linear-gradient(180deg, #F3F9FD 0%, #F8FBFE 55%, #FFFFFF 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-glow--1 { width: 560px; height: 560px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(59, 159, 227, .35), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.hero-glow--2 { width: 440px; height: 440px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(139, 92, 246, .14), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(8, 125, 187, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 125, 187, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, 30px, 0); } }

.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-xs);
  font-size: var(--fs-xs); font-weight: 600; color: var(--c-primary-strong);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-success); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--c-success); opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

.hero-title { margin-top: 22px; font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.038em; line-height: 1.05; text-wrap: balance; }
.hero-lead { margin-top: 22px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--c-muted); max-width: 560px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: var(--fs-sm); color: var(--c-ink-2); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--c-success); }

.hero-visual { position: relative; }
.hero-stage {
  position: relative;
  transform: perspective(2200px) rotateY(-9deg) rotateX(3deg) rotateZ(.4deg);
  transform-origin: 60% 50%;
  transition: transform .6s var(--ease);
}
.hero-stage .app-window { box-shadow: var(--sh-lg), 0 0 0 1px rgba(23, 32, 51, .04); }
@container app (min-width: 621px) { .hero-stage .app-body { grid-template-columns: 172px minmax(0, 1fr); } }
.hero-stage .gauge-legend { display: none; }
.hero-caption { margin-top: 22px; text-align: center; font-size: .75rem; color: var(--c-muted); letter-spacing: .02em; }

.float-badge {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(228, 235, 242, .9);
  box-shadow: 0 18px 40px -14px rgba(16, 56, 94, .30), 0 2px 6px rgba(23, 32, 51, .05);
  font-size: .8125rem; line-height: 1.3; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
@supports (backdrop-filter: blur(1px)) { .float-badge { background: rgba(255,255,255,.82); backdrop-filter: blur(10px); } }
.float-badge strong { display: block; color: var(--c-ink); font-weight: 700; }
.float-badge small { color: var(--c-muted); font-size: .75rem; }
.float-badge--a { left: -36px; top: 20%; animation-delay: -1s; }
.float-badge--b { right: -28px; top: 56%; animation-delay: -3s; }
.float-badge--c { left: 12%; bottom: -26px; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--c-primary-soft); color: var(--c-primary); }
.float-ico .icon { width: 18px; height: 18px; }
.float-ico--success { background: var(--c-success-soft); color: var(--c-success); }
.float-ring { width: 36px; height: 36px; }
.float-ring svg { width: 36px; height: 36px; transform: rotate(-90deg); }
.float-ring circle { fill: none; stroke-width: 5; }
.float-ring circle:first-child { stroke: #E3EEF7; }
.float-ring circle:last-child { stroke: var(--c-chart-blue); stroke-linecap: round; stroke-dasharray: var(--p) 100; }

/* ---------- 7. Mockup aplikácie ---------- */
.demo-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: .6875rem; font-weight: 600; letter-spacing: .02em;
  color: #5B6577; background: #F1F5F9; border: 1px solid #E2E8F0;
  white-space: nowrap;
}
.demo-chip--corner { position: absolute; top: 14px; right: 14px; z-index: 2; }

.app-window {
  container: app / inline-size;
  position: relative; overflow: hidden;
  background: var(--c-bg); border-radius: 18px;
  border: 1px solid #DCE5EE; box-shadow: var(--sh-md);
  font-size: 13px; line-height: 1.45; color: var(--c-ink-2);
  text-align: left;
}
.app-chrome { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--c-line); }
.app-dots { display: inline-flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.app-dots i:nth-child(1) { background: #F87171; }
.app-dots i:nth-child(2) { background: #FBBF24; }
.app-dots i:nth-child(3) { background: #34D399; }
.app-address { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: 320px; margin-inline: auto; padding: 4px 12px; border-radius: 8px; background: var(--c-bg); color: var(--c-muted); font-size: 12px; font-weight: 500; }
.app-address .icon { width: 12px; height: 12px; }

.app-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 100%; }
.app-sidebar { background: #fff; border-right: 1px solid var(--c-line); padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.app-brand { display: flex; align-items: center; gap: 9px; padding: 2px 6px; font-weight: 700; font-size: 14px; color: var(--c-primary-deep); letter-spacing: -0.01em; }
.app-brand .brand-mark { width: 26px; height: 26px; filter: none; }
.app-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--c-primary-tint); }
.app-user strong { display: block; color: var(--c-ink); font-size: 12.5px; line-height: 1.2; }
.app-user small { color: var(--c-muted); font-size: 11px; }
.app-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #2A9BD8, #0969A5); color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.app-menu { display: flex; flex-direction: column; gap: 2px; }
.app-menu-group { margin: 10px 8px 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #94A0B3; }
.app-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border-radius: 9px; border: 0; background: none;
  font-size: 12.5px; font-weight: 500; color: var(--c-ink-2); text-align: left;
  position: relative;
}
.app-menu-item .icon { width: 16px; height: 16px; color: #5B6577; }
button.app-menu-item:hover { background: var(--c-bg); }
.app-menu-item.is-active { background: var(--c-primary-soft); color: var(--c-primary-strong); font-weight: 600; }
.app-menu-item.is-active .icon { color: var(--c-primary-strong); }
.app-menu-item.is-active::before { content: ""; position: absolute; left: -12px; top: 6px; bottom: 6px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c-primary); }
.app-main { container: scr / inline-size; padding: 18px; min-width: 0; }

/* Obrazovky */
.scr { display: flex; flex-direction: column; gap: 12px; }
.scr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.scr-title { font-size: 17px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.015em; line-height: 1.25; }
.scr-title small { font-size: 12px; font-weight: 600; color: var(--c-muted); }
.scr-sub { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.scr-date { padding: 4px 11px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-line); font-size: 11.5px; color: var(--c-ink-2); white-space: nowrap; }
.scr-card { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 14px; box-shadow: var(--sh-xs); }
.scr-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.scr-card-title { font-size: 13.5px; font-weight: 600; color: var(--c-ink); margin-bottom: 10px; }
.scr-card-head .scr-card-title { margin-bottom: 0; }
.scr-link { font-size: 12px; color: var(--c-primary-strong); font-weight: 600; }
.scr-section { font-size: 14px; font-weight: 700; color: var(--c-ink); margin-top: 4px; }
.scr-section:first-child { margin-top: 0; }

.req-list { display: flex; flex-direction: column; gap: 6px; }
.req-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--c-line); border-radius: 10px; }
.req-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--c-primary-tint); color: var(--c-primary); flex: none; }
.req-ico .icon { width: 15px; height: 15px; }
.req-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.req-main strong { color: var(--c-ink); font-size: 12.5px; font-weight: 600; }
.req-main small { color: var(--c-muted); font-size: 11.5px; }

.scr-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: 14px; color: #fff;
  background: linear-gradient(110deg, #0B5F95 0%, #1E86C6 60%, #46A6E2 100%);
}
.scr-banner-title { font-weight: 700; font-size: 14px; }
.scr-banner-sub { font-size: 11.5px; opacity: .85; }
.scr-banner-num { font-size: 28px; font-weight: 800; line-height: 1.1; margin-top: 2px; }
.scr-banner-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Stavové štítky */
.status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; line-height: 1.6; white-space: nowrap;
  border: 1px solid transparent;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--pending { background: var(--c-warning-soft); color: var(--c-warning-ink); border-color: #FDE68A; }
.status--approved { background: var(--c-success-soft); color: var(--c-success-ink); border-color: #BBF7D0; }
.status--rejected { background: var(--c-danger-soft); color: var(--c-danger-ink); border-color: #FECACA; }
.status--cancelled { background: #F1F5F9; color: #475569; border-color: #E2E8F0; }
.status--info { background: var(--c-primary-soft); color: var(--c-primary-deep); border-color: #CBE6F7; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--g-color, var(--c-chart-blue)); margin-right: 6px; flex: none; }
.dot--muted { background: #CBD5E1; }

/* Kruhové grafy */
.gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gauge { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.gauge--blue { --g-color: var(--c-chart-blue); --g-ink: #0B6CA8; }
.gauge--violet { --g-color: var(--c-chart-violet); --g-ink: #6D3FD8; }
.gauge--pink { --g-color: var(--c-chart-pink); --g-ink: #B93478; }
.gauge--orange { --g-color: var(--c-chart-orange); --g-ink: #B26A0C; }
.gauge-ring { position: relative; width: 100%; max-width: 116px; aspect-ratio: 1; }
.gauge-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: color-mix(in srgb, var(--g-color) 14%, #fff); stroke-width: 11; }
.gauge-value {
  fill: none; stroke: var(--g-color); stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: var(--p) 100; stroke-dashoffset: 0;
  transition: stroke-dasharray 1.4s var(--ease);
}
.gauge.is-pending .gauge-value { stroke-dasharray: 0 100; }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gauge-num { font-size: clamp(16px, 5.4cqi, 26px); font-weight: 800; color: var(--g-ink); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-label { margin-top: 4px; font-size: 8.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); max-width: 80%; line-height: 1.2; }
.gauge-legend { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--c-ink-2); width: 100%; align-items: flex-start; padding-left: 4%; }
.gauge-legend span { display: inline-flex; align-items: center; }
.gauges--lg .gauge-ring { max-width: 150px; }
.gauges--lg .gauge-num { font-size: clamp(20px, 6cqi, 32px); }
.gauges--lg .gauge-label { font-size: 9.5px; }
.gauges--lg .gauge-legend { font-size: 12px; }

/* Formulár (mockup) */
.scr--form { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 18px; gap: 14px; box-shadow: var(--sh-xs); }
.scr-form-head { padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.scr-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.scr-label { font-size: 12px; font-weight: 600; color: var(--c-ink); padding: 0; }
.scr-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.type-opt { position: relative; }
.type-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.type-opt span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 40px; height: 100%; padding: 6px 8px; border-radius: 10px;
  border: 1px solid var(--c-line-strong); background: #fff;
  font-size: 12px; font-weight: 500; color: var(--c-ink); line-height: 1.25;
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s;
}
.type-opt:hover span { border-color: #A9C9E2; }
.type-opt input:checked + span { border-color: var(--c-primary); background: var(--c-primary-tint); color: var(--c-primary-strong); font-weight: 600; box-shadow: 0 0 0 3px rgba(8, 125, 187, .12); }
.type-opt input:focus-visible + span { box-shadow: var(--sh-focus); }
.scr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fake-input, .fake-select { position: relative; display: flex; align-items: center; }
.fake-input input, .fake-select select {
  width: 100%; height: 38px; padding: 0 34px 0 11px;
  border: 1px solid var(--c-line-strong); border-radius: 10px; background: #fff;
  font-size: 12.5px; color: var(--c-ink); font-variant-numeric: tabular-nums;
  -webkit-appearance: none; appearance: none;
}
.fake-input input:focus, .fake-select select:focus, .scr textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: var(--sh-focus); }
.fake-input .icon, .fake-select .icon { position: absolute; right: 11px; color: var(--c-muted); pointer-events: none; width: 15px; height: 15px; }
.fake-input--sm input, .fake-select--sm select { height: 34px; font-size: 12px; }
.scr-calc { display: flex; align-items: center; height: 38px; padding: 0 11px; border-radius: 10px; background: var(--c-primary-tint); color: var(--c-primary-deep); font-weight: 600; font-size: 12.5px; }
.scr textarea {
  width: 100%; min-height: 76px; resize: vertical; padding: 10px 11px;
  border: 1px solid var(--c-line-strong); border-radius: 10px; background: #fff; font-size: 12.5px; color: var(--c-ink); line-height: 1.5;
}
.scr-hint { font-size: 11px; color: var(--c-muted); }
.ai-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid #D9E8F5; background: linear-gradient(180deg, #fff, #F3F9FD);
  color: var(--c-primary-strong); font-size: 12px; font-weight: 600;
  transition: box-shadow .2s, border-color .2s;
}
.ai-btn .icon { width: 14px; height: 14px; color: #E2A715; }
.ai-btn:hover { border-color: #A9C9E2; box-shadow: 0 4px 12px -4px rgba(8,125,187,.3); }
.ai-btn.is-busy .icon { animation: spin 1s linear infinite; }
.scr-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid var(--c-line); }

.mbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 34px; padding: 6px 13px; border-radius: 9px;
  border: 1px solid transparent; background: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
  transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.mbtn:active { transform: scale(.98); }
.mbtn .icon { width: 14px; height: 14px; }
.mbtn--primary { background: var(--c-primary); color: #fff; }
.mbtn--primary:hover { background: var(--c-primary-strong); }
.mbtn--ghost { border-color: var(--c-line-strong); color: var(--c-ink); }
.mbtn--ghost:hover { background: var(--c-bg); }
.mbtn--success { background: var(--c-success); color: #fff; }
.mbtn--success:hover { background: #15803D; }
.mbtn--danger-ghost { border-color: #F7CACA; color: #C62828; }
.mbtn--danger-ghost:hover { background: #FFF5F5; }
.mbtn--warn-ghost { border-color: #F6DFA6; color: #9A5B07; }
.mbtn--warn-ghost:hover { background: #FFFBEB; }
.mbtn--blue-ghost { border-color: #C9E2F4; color: var(--c-primary-strong); }
.mbtn--blue-ghost:hover { background: var(--c-primary-tint); }
.mbtn--link { border: 0; background: none; color: var(--c-primary-strong); padding-inline: 4px; text-decoration: underline; text-underline-offset: 2px; }

/* Schvaľovanie */
.appr {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start;
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 13px; box-shadow: var(--sh-xs);
  transition: border-color .3s, background-color .3s;
}
.appr.is-resolved { background: #FBFDFE; }
.appr-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.appr-ico .icon { width: 17px; height: 17px; }
.appr-ico--warn { background: #FFF4E5; color: #D97706; }
.appr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12.5px; color: var(--c-ink); line-height: 1.5; }
.appr-line strong { font-weight: 700; }
.appr-line .sep { color: #A0AABB; }
.appr-meta { font-size: 11.5px; color: var(--c-muted); margin-top: 2px; }
.appr-note, .appr-file { margin-top: 8px; padding: 7px 10px; border-radius: 9px; background: var(--c-bg); border: 1px solid var(--c-line); font-size: 11.5px; }
.appr-note { font-style: italic; color: var(--c-ink-2); }
.appr-file { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--c-ink-2); }
.appr-actions { display: flex; flex-direction: column; gap: 6px; min-width: 118px; }
.appr-actions .mbtn { width: 100%; }
.appr-result { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11.5px; color: var(--c-muted); }
.appr-done { display: flex; flex-direction: column; gap: 6px; }
.appr-done li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 12px; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; font-size: 12px; color: var(--c-ink-2); }
.appr-done li .status { margin-left: auto; }
.appr-done strong { color: var(--c-ink); }

/* Kalendár */
.scr--calendar { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 16px; box-shadow: var(--sh-xs); }
.cal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cal-nav { display: flex; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--c-line-strong); background: #fff; color: var(--c-ink); transition: background-color .15s, border-color .15s; }
.icon-btn:hover { background: var(--c-primary-tint); border-color: #A9C9E2; }
.cal-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cal-toolbar .fake-select { width: 190px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--c-muted); }
.cal-legend li { display: inline-flex; align-items: center; gap: 5px; }
.ev-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--ev); }
.ev--vacation { --ev: #3B9FE3; --ev-bg: #E8F4FD; --ev-ink: #0B5F95; }
.ev--doctor { --ev: #8B5CF6; --ev-bg: #F1ECFE; --ev-ink: #5B2EC2; }
.ev--escort { --ev: #DB4F98; --ev-bg: #FCEAF3; --ev-ink: #9D2463; }
.ev--ocr { --ev: #EFA23A; --ev-bg: #FFF4E2; --ev-ink: #94560A; }
.ev--sick { --ev: #E25555; --ev-bg: #FDECEC; --ev-ink: #A12727; }
.ev--other { --ev: #7C8799; --ev-bg: #F1F4F8; --ev-ink: #3D4757; }
.ev--holiday { --ev: #F2994A; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; transition: opacity .2s; }
.cal-grid.is-switching { opacity: .3; }
.cal-dow { padding: 4px 0; text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--c-muted); }
.cal-day {
  position: relative; min-height: 78px; padding: 6px; border-radius: 9px;
  background: var(--c-bg); border: 1px solid #EDF2F7; display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.cal-day.is-out { background: transparent; border-style: dashed; border-color: #EEF2F6; }
.cal-day.is-out .cal-num { color: #B8C1CE; }
.cal-day.is-weekend:not(.is-out) { background: #F1F4F8; }
.cal-day.is-holiday:not(.is-out) { background: #FFF6EC; border-color: #FBDDBD; }
.cal-day.is-today { border-color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.cal-num { align-self: flex-end; font-size: 11.5px; font-weight: 700; color: var(--c-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.cal-day.is-today .cal-num { color: #fff; background: var(--c-primary); padding: 3px 5px; border-radius: 6px; margin: -3px -3px 0 0; }
.cal-holiday-name { font-size: 9.5px; font-weight: 600; color: #B4570B; line-height: 1.2; }
.cal-ev {
  display: block; padding: 3px 6px; border-radius: 6px; border-left: 3px solid var(--ev);
  background: var(--ev-bg); color: var(--ev-ink); font-size: 10px; line-height: 1.25; overflow: hidden;
  animation: evIn .35s var(--ease) both;
}
.cal-ev b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.cal-more { font-size: 10px; font-weight: 600; color: var(--c-muted); padding-left: 2px; }
.cal-dots { display: none; gap: 3px; flex-wrap: wrap; margin-top: auto; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ev); }
@keyframes evIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.cal-agenda { display: none; flex-direction: column; gap: 6px; }
.cal-agenda li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--c-bg); border: 1px solid var(--c-line); font-size: 12px; }
.cal-agenda .ag-date { min-width: 64px; font-weight: 700; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.cal-agenda .ag-name { flex: 1; color: var(--c-ink-2); }
.cal-agenda .ag-type { font-size: 11px; font-weight: 600; color: var(--ev-ink); background: var(--ev-bg); padding: 1px 8px; border-radius: var(--r-pill); }
.cal-agenda .ag-empty { justify-content: center; color: var(--c-muted); }
.cal-noscript { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--c-muted); }

/* Reporty */
.scr--reports { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 16px; box-shadow: var(--sh-xs); }
.rep-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rep-filters { display: grid; grid-template-columns: 130px 130px minmax(0, 1fr) auto; gap: 10px; align-items: end; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.rep-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rep-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.rep-table th, .rep-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid #EEF2F6; vertical-align: middle; }
.rep-table thead th { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--c-muted); background: var(--c-bg); border-bottom: 0; white-space: nowrap; }
.rep-table thead th:first-child { border-radius: 8px 0 0 8px; }
.rep-table thead th:last-child { border-radius: 0 8px 8px 0; }
.rep-table tbody th { font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.rep-table tbody tr:last-child > * { border-bottom: 0; }
.rep-table tbody tr { transition: background-color .15s; }
.rep-table tbody tr:hover { background: #FAFCFE; }
.rep-table .is-dim { opacity: .3; }
.pill-total { display: inline-block; padding: 2px 9px; border-radius: var(--r-pill); background: var(--c-success-soft); color: var(--c-success-ink); font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.rep-usage { min-width: 190px; }
.usage-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--c-ink); margin-bottom: 5px; white-space: nowrap; }
.usage-top b { color: var(--c-ink-2); }
.progress { height: 6px; border-radius: 6px; background: #EAF0F6; overflow: hidden; }
.progress span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #3B9FE3, #0969A5); transition: width 1.3s var(--ease); }
.is-pending .progress span, .progress.is-pending span { width: 0; }

/* ---------- 8. Problém / riešenie ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.compare-col { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--c-line); }
.compare-col--before { background: var(--c-bg); }
.compare-col--after { background: linear-gradient(180deg, #F3F9FD 0%, #FFFFFF 100%); border-color: #CBE4F5; box-shadow: var(--sh-md); position: relative; }
.compare-col--after::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(8,125,187,.55), rgba(8,125,187,0) 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.compare-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.compare-head h3 { font-size: var(--fs-h3); }
.compare-badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; }
.compare-badge .brand-mark { width: 44px; height: 44px; }
.compare-badge--muted { background: #fff; border: 1px solid var(--c-line); color: #8A94A6; }
.compare-list { display: flex; flex-direction: column; gap: 4px; }
.compare-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: var(--fs-sm); color: var(--c-ink-2); border-bottom: 1px dashed var(--c-line); }
.compare-list li:last-child { border-bottom: 0; }
.compare-col--before .compare-list li { color: #5B6577; }
.compare-col--after .compare-list li { color: var(--c-ink); font-weight: 500; }
.cmp-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; }
.cmp-ico .icon { width: 13px; height: 13px; stroke-width: 3; }
.cmp-ico--no { background: #F1F4F8; color: #8A94A6; }
.cmp-ico--yes { background: var(--c-primary); color: #fff; }
.compare-vs { align-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--c-line); color: var(--c-primary); box-shadow: var(--sh-sm); }

/* ---------- 9. Funkcie ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.feature-card {
  grid-column: span 3; position: relative;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--sh-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature-card--wide { grid-column: span 6; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #CFE3F2; }
.feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(145deg, #EAF6FD, #D7EDFA); color: var(--c-primary-strong);
  margin-bottom: 18px; transition: transform .35s var(--ease), background .35s;
}
.feature-card:hover .feature-icon { transform: scale(1.06) rotate(-3deg); background: linear-gradient(145deg, #2A9BD8, #0969A5); color: #fff; }
.feature-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; }
.feature-text { margin-top: 8px; font-size: var(--fs-sm); color: var(--c-muted); }
.feature-bullets { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.feature-bullets li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--c-primary-tint); color: var(--c-primary-deep); font-size: .8125rem; font-weight: 500; }
.feature-bullets .icon { width: 13px; height: 13px; }
.feature-mini { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chip { padding: 5px 11px; border-radius: 9px; border: 1px solid var(--c-line-strong); font-size: .8125rem; font-weight: 500; color: var(--c-ink-2); background: #fff; }
.mini-chip.is-on { border-color: var(--c-primary); background: var(--c-primary-tint); color: var(--c-primary-strong); font-weight: 600; }
.mini-row { flex-basis: 100%; display: flex; gap: 6px; }
.mini-row span { padding: 5px 11px; border-radius: 9px; background: var(--c-bg); font-size: .8125rem; color: var(--c-muted); }
.mini-row span:first-child { background: var(--c-success-soft); color: var(--c-success-ink); font-weight: 600; }

/* ---------- 10. Detailné bloky ---------- */
.splits { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 128px); }
.split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.split--reverse .split-copy { order: 2; }
.split--reverse .split-visual { order: 1; }
.split-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-primary-soft); color: var(--c-primary-deep); font-size: var(--fs-xs); font-weight: 600; margin-bottom: 18px; }
.split-title { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.split-text { margin-top: 16px; font-size: var(--fs-md); color: var(--c-muted); }
.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-sm); color: var(--c-ink); font-weight: 500; }
.check-list .icon { width: 20px; height: 20px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--c-success-soft); color: var(--c-success); stroke-width: 3; }
.check-list--compact { gap: 10px; margin-top: 20px; }

.split-visual { position: relative; }
.split-visual::before {
  content: ""; position: absolute; inset: 8% -4% -6% 6%; z-index: 0; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #EAF6FD 0%, #F3F9FD 60%, rgba(243, 249, 253, 0) 100%);
}
.split--reverse .split-visual::before { inset: 8% 6% -6% -4%; }
.mock-card {
  container: scr / inline-size;
  position: relative; z-index: 1;
  background: var(--c-bg); border: 1px solid #DCE5EE; border-radius: var(--r-lg);
  padding: clamp(14px, 2vw, 22px); padding-top: 48px; box-shadow: var(--sh-lg);
  font-size: 13px; line-height: 1.45;
}
.mock-card--gauges .scr { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 18px; gap: 18px; }

/* ---------- 10b. Dochádzka ---------- */
.section--attendance {
  overflow: hidden; color: #C9DCEB;
  background: linear-gradient(160deg, #0B2540 0%, #0A3558 55%, #075A8C 100%);
}
.att-bg { position: absolute; inset: 0; pointer-events: none; }
.att-bg span { position: absolute; border-radius: 50%; filter: blur(80px); }
.att-bg span:first-child { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(59, 159, 227, .35), transparent 65%); }
.att-bg span:last-child { width: 420px; height: 420px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(22, 163, 74, .18), transparent 65%); }
.section--attendance .container { position: relative; }
.section--attendance .eyebrow { color: #7CC4F0; }
.section--attendance .section-title { color: #fff; }
.section--attendance .section-lead { color: #B4CBDD; }

.att-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.att-method {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.att-method:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(124, 196, 240, .45); }
.att-method-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  background: linear-gradient(145deg, #2A9BD8, #0969A5); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(42, 155, 216, .7);
}
.att-method-icon .icon { width: 28px; height: 28px; }
.att-method-title { font-size: 1.125rem; font-weight: 700; color: #fff; letter-spacing: -0.015em; }
.att-method-text { margin-top: 8px; font-size: var(--fs-sm); color: #B4CBDD; }

.att-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 80px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.att-copy-title { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.att-copy-text { margin-top: 16px; font-size: var(--fs-md); color: #B4CBDD; }
.section--attendance .check-list li { color: #E6F0F8; }
.section--attendance .check-list .icon { background: rgba(22, 163, 74, .22); color: #4ADE80; }

.att-stage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: center; }
.att-terminal {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 20px 22px; border-radius: 26px;
  background: linear-gradient(180deg, #13304D, #0B2036); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.att-scan {
  position: relative; overflow: hidden; display: grid; place-items: center;
  width: 112px; height: 112px; border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, rgba(59, 159, 227, .28), rgba(59, 159, 227, .05) 70%);
  border: 1px solid rgba(124, 196, 240, .35); color: #7CC4F0;
}
.att-scan > .icon { width: 64px; height: 64px; stroke-width: 1.5; }
.att-scan-line {
  position: absolute; left: 10%; right: 10%; top: 12%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #4ADE80, transparent);
  box-shadow: 0 0 12px #4ADE80;
  animation: att-scan 2.6s ease-in-out infinite;
}
@keyframes att-scan { 0%, 100% { top: 14%; } 50% { top: 84%; } }
.att-term-ok {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  padding: 4px 11px; border-radius: var(--r-pill);
  background: rgba(22, 163, 74, .2); color: #4ADE80; font-size: 12px; font-weight: 700;
}
.att-term-ok .icon { stroke-width: 3; }
.att-term-name { margin-top: 10px; font-size: 1.125rem; font-weight: 700; color: #fff; }
.att-term-meta { margin-top: 2px; font-size: 13px; color: #8FB0C8; }
.att-term-modes { display: flex; gap: 8px; margin-top: 18px; }
.att-term-modes span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .06); color: #8FB0C8; }
.att-term-modes span.is-on { background: rgba(59, 159, 227, .25); color: #fff; }
.att-term-modes .icon { width: 18px; height: 18px; }

.att-board {
  position: relative; padding: 18px; padding-top: 22px; border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--sh-lg); font-size: 13px; line-height: 1.45;
}
.att-board .scr-title { padding-right: 110px; }
.att-list { display: flex; flex-direction: column; margin-top: 12px; }
.att-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.att-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.att-list-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--c-primary-soft); color: var(--c-primary-strong); }
.att-list-ico .icon { width: 16px; height: 16px; }
.att-list-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.att-list-name strong { color: var(--c-ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-list-name small { color: var(--c-muted); font-size: 11.5px; }

/* ---------- 11. Interaktívna ukážka ---------- */
.section--showcase { background: linear-gradient(180deg, var(--c-primary-tint) 0%, #EEF6FC 100%); overflow: hidden; }
.showcase { max-width: 1120px; margin-inline: auto; }
.tabs-scroller { display: flex; justify-content: center; margin-bottom: 18px; }
.tabs {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px;
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-sm);
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 9px 18px; border-radius: 12px; border: 0; background: none;
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-muted); white-space: nowrap;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.tab:hover { color: var(--c-ink); background: var(--c-bg); }
.tab.is-active { color: #fff; background: var(--c-primary); box-shadow: 0 6px 16px -6px rgba(8, 125, 187, .6); }
.tab:focus-visible { outline: none; box-shadow: var(--sh-focus); }
.showcase-stage { position: relative; }
.tab-panel { outline: none; }
.tab-panel.is-active { animation: panelIn .45s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px) scale(.995); } to { opacity: 1; transform: none; } }
.showcase-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-size: var(--fs-sm); color: var(--c-muted); text-align: center; }
.showcase-hint .icon { color: var(--c-primary); }
.showcase .app-window { box-shadow: var(--sh-lg); }
.showcase .app-main { padding: 22px; min-height: 560px; }
.showcase-note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin-top: 22px; font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }
.showcase-note .icon { margin-top: 2px; color: var(--c-primary); }

/* ---------- 12. Ako to funguje ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, rgba(8,125,187,.15), rgba(8,125,187,.5), rgba(8,125,187,.15));
  transform-origin: left; transform: scaleX(var(--line, 0)); transition: transform 1.4s var(--ease);
}
.steps.is-drawn::before { --line: 1; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-marker { position: relative; width: 72px; height: 72px; margin: 0 auto 22px; }
.step-icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px;
  background: #fff; border: 1px solid #D6E7F4; color: var(--c-primary);
  box-shadow: 0 10px 24px -10px rgba(8, 125, 187, .35);
}
.step-icon .icon { width: 28px; height: 28px; }
.step-num { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: .8125rem; font-weight: 700; box-shadow: 0 0 0 4px #fff; }
.step-title { font-size: 1.125rem; font-weight: 700; }
.step-text { margin-top: 8px; font-size: var(--fs-sm); color: var(--c-muted); max-width: 260px; margin-inline: auto; }

/* ---------- 13. Pre koho ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.audience-card {
  --tone: var(--c-primary); --tone-soft: #EAF6FD;
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 34px); box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.audience-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--tone); opacity: .85; }
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.audience-card--teal { --tone: #0E8F9C; --tone-soft: #E3F6F7; }
.audience-card--indigo { --tone: #4F5BD5; --tone-soft: #ECEEFC; }
.audience-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.audience-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tone-soft); color: var(--tone); }
.audience-icon .icon { width: 26px; height: 26px; }
.audience-role { font-size: 2.5rem; font-weight: 800; line-height: 1; color: #EEF2F7; letter-spacing: -0.04em; }
.audience-title { font-size: 1.375rem; font-weight: 800; }
.audience-sub { margin-top: 8px; font-size: var(--fs-sm); color: var(--c-muted); }
.audience-card .check-list .icon { background: var(--tone-soft); color: var(--tone); }

/* ---------- 14. Výhody ---------- */
.benefits-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.benefits-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.benefit {
  display: flex; gap: 16px; padding: 22px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--c-line);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.benefit:hover { border-color: #CFE3F2; box-shadow: var(--sh-sm); transform: translateY(-2px); }
.benefit-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--c-primary-soft); color: var(--c-primary-strong); flex: none; }
.benefit-title { font-size: 1.0625rem; font-weight: 700; }
.benefit-text { margin-top: 6px; font-size: var(--fs-sm); color: var(--c-muted); }

/* ---------- 15. Používanie / zariadenia ---------- */
.section--usability { overflow: hidden; }
.usability-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; margin: 0 auto 56px; }
.usability-points li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-line); font-size: var(--fs-sm); font-weight: 500; color: var(--c-ink); box-shadow: var(--sh-xs); }
.usability-points .icon { color: var(--c-primary); }
.devices { position: relative; max-width: 1080px; margin-inline: auto; padding-right: 150px; }
.device-desktop .app-window { box-shadow: var(--sh-lg); }
.device-desktop .app-main { padding: 18px; }
.device-phone {
  position: absolute; right: 0; bottom: -32px; width: 270px; z-index: 2;
  padding: 10px; border-radius: 42px; background: #111827;
  box-shadow: 0 40px 80px -20px rgba(16, 40, 70, .45), inset 0 0 0 2px #2B3445;
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #111827; z-index: 3; }
.phone-screen { container: scr / inline-size; position: relative; border-radius: 33px; overflow: hidden; background: var(--c-bg); padding: 44px 12px 74px; min-height: 540px; font-size: 12px; display: flex; flex-direction: column; gap: 10px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; color: var(--c-primary-deep); }
.ph-brand .brand-mark { width: 24px; height: 24px; filter: none; }
.ph-menu { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid var(--c-line); color: var(--c-ink); }
.ph-hello { font-size: 16px; font-weight: 700; color: var(--c-ink); }
.ph-card { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 12px; }
.ph-card-title { font-size: 12px; font-weight: 700; color: var(--c-ink); margin-bottom: 8px; }
.ph-gauge { display: flex; align-items: center; gap: 12px; }
.gauge--phone { width: 104px; flex: none; }
.gauge--phone .gauge-num { font-size: 22px; }
.ph-gauge-legend { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--c-muted); }
.ph-gauge-legend b { color: var(--c-ink); font-size: 14px; margin-right: 4px; }
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 12px; background: var(--c-primary); color: #fff; font-weight: 600; font-size: 12.5px; box-shadow: 0 8px 18px -8px rgba(8,125,187,.7); }
.ph-req { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 0; border-top: 1px solid #EEF2F6; }
.ph-req:first-of-type { border-top: 0; }
.ph-req strong { display: block; font-size: 12px; color: var(--c-ink); }
.ph-req small { font-size: 10.5px; color: var(--c-muted); }
.ph-req .status { font-size: 10px; padding: 1px 7px; }
.ph-tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 12px 10px 20px; background: #fff; border-top: 1px solid var(--c-line); }
.ph-tabbar span { display: grid; place-items: center; width: 40px; height: 32px; border-radius: 10px; color: #8A94A6; }
.ph-tabbar .is-active { color: var(--c-primary); background: var(--c-primary-soft); }

/* ---------- 16. FONET ---------- */
.section--fonet { background: linear-gradient(110deg, #FFFFFF 40%, #F4F6F8 100%); }
.fonet-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.eyebrow--fonet { color: #8A5A12; }
.fonet-text { margin-top: 20px; font-size: var(--fs-md); color: var(--c-muted); }
.fonet-copy .btn { margin-top: 32px; }
.fonet-logo-wrap { display: flex; justify-content: center; padding: 10px 0 34px; }
.fonet-logo-wrap img { width: min(360px, 80%); }
.fonet-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fonet-areas li {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,.8); border: 1px solid #E7EAEE; box-shadow: var(--sh-xs);
  font-weight: 600; color: var(--c-ink);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.fonet-areas li:hover { border-color: #E5C9C9; box-shadow: var(--sh-sm); transform: translateY(-2px); }
.fonet-areas .icon { color: #9A6A1E; }

/* ---------- 17. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.faq-item.is-open { border-color: #CBE4F5; box-shadow: var(--sh-sm); }
.faq-q { font-size: 1rem; }
.faq-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  min-height: 60px; padding: 16px 20px; border: 0; background: none; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--c-ink); border-radius: 16px; letter-spacing: -0.01em;
}
.faq-btn:hover { color: var(--c-primary-strong); }
.faq-btn:focus-visible { outline: none; box-shadow: var(--sh-focus); }
.faq-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary-tint); flex: none; transition: background-color .25s, transform .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--c-primary-strong); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .25s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-btn[aria-expanded="true"] .faq-icon { background: var(--c-primary); transform: rotate(180deg); }
.faq-btn[aria-expanded="true"] .faq-icon::before, .faq-btn[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-btn[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-panel { overflow: hidden; transition: height .35s var(--ease); }
.faq-panel-inner { padding: 0 20px 20px; color: var(--c-muted); font-size: var(--fs-sm); max-width: 640px; }

/* ---------- 18. CTA ---------- */
.cta-section { padding: 0 0 clamp(72px, 9vw, 120px); background: var(--c-bg); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--r-xl); color: #fff;
  background: linear-gradient(120deg, #075A8C 0%, #087DBB 55%, #2A9BD8 100%);
  box-shadow: 0 30px 60px -24px rgba(7, 90, 140, .55);
}
.cta-deco span { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.cta-deco span:nth-child(1) { width: 420px; height: 420px; right: -120px; top: -180px; }
.cta-deco span:nth-child(2) { width: 640px; height: 640px; right: -260px; top: -300px; }
.cta-title { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.cta-text { margin-top: 14px; font-size: var(--fs-md); color: rgba(255,255,255,.86); max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- 19. Kontakt ---------- */
.section--contact { background: #fff; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-steps { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-steps li { display: flex; gap: 16px; }
.contact-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--c-primary-soft); color: var(--c-primary-strong); font-weight: 700; flex: none; }
.contact-steps strong { color: var(--c-ink); font-size: 1rem; }
.contact-steps p { margin-top: 2px; font-size: var(--fs-sm); color: var(--c-muted); }
.contact-direct { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.contact-direct li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-direct .icon { color: var(--c-primary); }

.contact-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--sh-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--c-ink); }
.req { color: var(--c-danger); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--c-line-strong); border-radius: 12px; background: #FCFDFE;
  font-size: 1rem; color: var(--c-ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9CDDF; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; box-shadow: var(--sh-focus); }
.field [aria-invalid="true"] { border-color: var(--c-danger); background: #FFFBFB; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .2); }
.field ::placeholder { color: #98A2B3; }
.select-wrap { position: relative; display: block; }
.select-wrap select { padding-right: 42px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.field-error { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--c-danger-ink); font-weight: 500; }
.field-error .icon { flex: none; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; color: var(--c-ink-2); cursor: pointer; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 7px; border: 1.5px solid #B9C6D4; background: #fff; color: transparent; transition: background-color .15s, border-color .15s, color .15s; }
.check-box .icon { width: 14px; height: 14px; stroke-width: 3.2; }
.check input:checked + .check-box { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.check input:focus-visible + .check-box { box-shadow: var(--sh-focus); }
.check input[aria-invalid="true"] + .check-box { border-color: var(--c-danger); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.form-note { font-size: .8125rem; color: var(--c-muted); }
.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-loading .btn-spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 22px; font-size: var(--fs-sm); }
.form-alert:focus { outline: none; }
.form-alert-icon { flex: none; margin-top: 1px; }
.form-alert--success { background: #F0FDF4; border: 1px solid #BBF7D0; color: var(--c-success-ink); margin-bottom: 0; padding: 26px; }
.form-alert--success strong { display: block; font-size: 1.125rem; color: #14532D; }
.form-alert--error { background: #FEF3F2; border: 1px solid #FECDCA; color: var(--c-danger-ink); }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--c-primary-tint); border-top: 1px solid var(--c-line); padding-top: 64px; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-about p { margin-top: 16px; color: var(--c-muted); max-width: 300px; }
.footer-title { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--c-ink-2); }
.footer-col a:hover { color: var(--c-primary-strong); }
.footer-logo { display: inline-block; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--c-line); }
.footer-logo img { width: 120px; }
.footer-company { margin-top: 12px; font-weight: 600; color: var(--c-ink); }
.footer-details { margin-top: 4px; color: var(--c-muted); font-size: .8125rem; }
.footer-web { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; color: var(--c-primary-strong) !important; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--c-line); font-size: .8125rem; color: var(--c-muted); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--c-muted); }
.footer-legal a:hover { color: var(--c-primary-strong); }

/* ---------- 21. Právna stránka ---------- */
.legal-page { padding: 48px 0 96px; background: linear-gradient(180deg, var(--c-primary-tint), #fff 320px); }
.legal-container { max-width: 800px; }
.breadcrumbs { font-size: .8125rem; color: var(--c-muted); margin-bottom: 28px; }
.breadcrumbs a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 2px; }
.legal-page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.legal-lead { margin-top: 16px; font-size: var(--fs-md); color: var(--c-muted); }
.legal-page h2 { font-size: 1.25rem; margin-top: 40px; margin-bottom: 10px; }
.legal-page p + p { margin-top: 10px; }
.legal-page a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.legal-back { margin-top: 48px; }

/* ---------- 22. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0;
  display: flex; align-items: center; gap: 10px; max-width: min(520px, calc(100vw - 32px));
  padding: 12px 18px; border-radius: 14px; background: #172033; color: #fff;
  font-size: .875rem; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .5);
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: #6EE7B7; width: 18px; height: 18px; }

/* ---------- 23. Animácie pri scrollovaní ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
