/* ==========================================================================
   AWIS – awis.sk
   Farby a logo z awis.group (limetková #8CC828, petrolejová #074951),
   písmo IBM Plex Sans / Mono (self-hosted). Mobile first: základ je telefón,
   od 640 px väčšie písmo, od 901 px desktopové menu.
   1. Písma  2. Premenné  3. Základ  4. Tlačidlá a odkazy  5. Hlavička a menu
   6. Úvod  7. Sekcie  8. Formulár  9. Päta  10. Lišty a cookie  11. Animácie
   ========================================================================== */

/* 1. PÍSMA ---------------------------------------------------------------- */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../Fonts/ibm-plex-sans-latin-ext-400-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../Fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../Fonts/ibm-plex-sans-latin-ext-500-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../Fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../Fonts/ibm-plex-sans-latin-ext-600-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../Fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../Fonts/ibm-plex-sans-latin-ext-700-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../Fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../Fonts/ibm-plex-mono-latin-ext-400-normal.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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../Fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../Fonts/ibm-plex-mono-latin-ext-500-normal.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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../Fonts/ibm-plex-mono-latin-500-normal.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; }

/* 2. PREMENNÉ ------------------------------------------------------------- */
:root {
  --ink: #12161D;
  --ink-2: #39404C;
  --muted: #4A5260;
  --line: #DADDD6;
  --line-2: #ECEEE9;
  --line-3: #B9BEB4;
  --bg: #F5F6F3;
  --white: #FFFFFF;
  --lime: #8CC828;
  --lime-hi: #9ED83E;
  --teal: #074951;
  --teal-text: #CFDCDD;
  --teal-muted: #A9C2C5;
  --tint: #EEF4E4;
  --tint-line: #D6E4C2;
  --black: #121212;
  --black-2: #1F242B;
  --black-line: #2A2F37;
  --foot-text: #C9CED6;
  --error: #A3322A;

  --ff: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.6, 0, .2, 1);
  --section-y: clamp(56px, 8vw, 112px);
}

/* 3. 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(--ff);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 640px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a:hover { color: var(--teal); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--black); }

.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: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--black); color: var(--white); border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--white); }
/* cieľ kotvy vo vnútri karty – absolútne, aby nezaberal miesto vo flex/grid rozložení */
.anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }

.eyebrow {
  margin-bottom: 14px;
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow--lime { color: var(--lime); }
.eyebrow--on-dark { color: var(--teal-muted); }
.title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.lead { color: var(--muted); max-width: 32em; }
/* *zvýraznenie* v nadpisoch = limetková linka pod textom */
.title em, .hero__title em, .foot__cta em {
  font-style: normal;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: 0 94%;
  background-size: 100% .14em;
  padding-bottom: .02em;
}

.section { padding-block: var(--section-y); }
.head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.head--split { flex-flow: row wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.head--split .head__title-wrap { flex: 1 1 340px; }
.head--split .lead { flex: 0 1 30em; }
.head--row { flex-flow: row wrap; justify-content: space-between; align-items: flex-end; }

/* 4. TLAČIDLÁ A ODKAZY ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.btn:active { transform: scale(.97); }
.btn--lime { background: var(--lime); color: var(--black); }
.btn--lime:hover { color: var(--black); }
@media (hover: hover) { .btn--lime:hover { background: var(--lime-hi); transform: translateY(-2px); } }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--on-dark { background: transparent; border-color: var(--bg); color: var(--bg); }
.btn--on-dark:hover { background: var(--bg); color: var(--teal); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 15px 26px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(5px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 600; font-size: 15px; color: var(--teal); text-decoration: none; }
.link-arrow:hover { color: var(--teal); }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 6px; background: var(--tint); color: var(--teal); font-family: var(--ff-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* 5. HLAVIČKA A MENU ------------------------------------------------------ */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: rgb(245 246 243 / .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background-color .3s;
}
.hdr.is-scrolled { background: rgb(245 246 243 / .96); box-shadow: 0 10px 30px -20px rgb(18 22 29 / .35); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 12px; transition: padding .3s; }
.brand { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand__logo { height: 32px; width: auto; transition: height .3s; }
.hdr__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hdr__progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--progress, 0)); }

.nav { display: none; }
.hdr__cta { display: none; }
.nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.nav__link { position: relative; display: inline-block; padding: 10px 0; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); cursor: pointer;
}
.burger__bars { display: grid; gap: 5px; }
.burger__bars span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 901px) {
  .hdr__in { padding-block: 18px; }
  .hdr.is-scrolled .hdr__in { padding-block: 10px; }
  .brand__logo { height: 38px; }
  .hdr.is-scrolled .brand__logo { height: 32px; }
  .nav { display: block; margin-left: auto; }
  .hdr__cta { display: inline-flex; }
  .burger, .mm, .mbar { display: none !important; }
}

/* mobilné menu na celú obrazovku */
.mm {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 14px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--teal); color: var(--bg);
  overflow-y: auto; overscroll-behavior: contain;
}
.mm[hidden] { display: none; }
.mm.is-open { animation: menu-in .45s var(--ease-io) both; }
.mm__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mm__logo { height: 32px; width: auto; }
.mm__close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgb(245 246 243 / .35); border-radius: 10px; background: transparent; color: var(--bg); cursor: pointer; }
.mm__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mm__nav { margin-top: 36px; }
.mm__list { margin: 0; padding: 0; list-style: none; }
.mm__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgb(245 246 243 / .14);
  color: var(--bg); text-decoration: none;
  font-size: clamp(26px, 8vw, 34px); font-weight: 600; letter-spacing: -.02em;
}
.mm__link:hover, .mm__link.is-active { color: var(--lime); }
.mm__arrow { color: var(--lime); font-size: 22px; }
.mm.is-open .mm__list li { animation: rise .6s var(--ease) both; animation-delay: calc(.12s + var(--i, 0) * .06s); }
.mm__foot { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 32px; text-align: center; }
.mm__tel { padding: 10px; font-family: var(--ff-mono); font-size: 17px; color: var(--bg); text-decoration: none; }
.mm__mail { padding: 4px; color: var(--teal-text); text-decoration: none; }
.mm__tel:hover, .mm__mail:hover { color: var(--lime); }
body.nav-open { overflow: hidden; }

/* 6. ÚVOD (HERO) ---------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; touch-action: pan-y; }
.hero__net {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease .2s;
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 62% 45%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 85% at 62% 45%, #000 40%, transparent 85%);
}
.hero__net.is-ready { opacity: 1; }
/* bez JS (alebo kým sa sieť nenakreslí) – statická bodková mriežka */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(#C3C9BE 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 25%, transparent 72%);
  transition: opacity .8s;
}
.hero.has-net::before { opacity: 0; }
.hero__glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgb(140 200 40 / .22), rgb(140 200 40 / 0) 65%); animation: drift 14s ease-in-out infinite; pointer-events: none; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-block: clamp(44px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.hero__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__copy--page { padding-block: clamp(44px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.hero__copy--page > * { max-width: 960px; }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.hero__eyebrow-icon { width: 22px; height: 22px; color: var(--teal); }
.caret { display: inline-block; width: .6em; height: 1.05em; margin-left: 4px; background: var(--lime); vertical-align: -.18em; animation: blink 1.1s steps(1) infinite; }
.hero__title { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -.025em; max-width: 15ch; }
.hero--page .hero__title { font-size: clamp(34px, 4.6vw, 60px); max-width: 20ch; }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px; font-weight: 600; text-decoration: none; }
.hero__phone .icon { width: 20px; height: 20px; }

/* karta „Čo preverí audit“ – animovaný sken (main.js) */
.scan { flex: 1 1 360px; min-width: 0; max-width: 460px; }
.scan__card {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgb(18 22 29 / .35);
  animation: floaty 6s ease-in-out infinite;
}
.scan__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.scan__title { font-weight: 600; font-size: 18px; }
.scan__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.scan__bar { height: 4px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.scan__bar span { display: block; height: 100%; width: 100%; background: var(--lime); border-radius: 4px; transition: width .6s var(--ease); }
.scan__list { margin: 0; padding: 0; list-style: none; }
.scan__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-2); transition: opacity .4s; }
.scan__num { min-width: 22px; padding-top: 3px; font-size: 13px; color: var(--teal); }
.scan__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.scan__text strong { font-weight: 600; font-size: 16px; }
.scan__text span { font-size: 14px; color: var(--muted); }
.scan__state { position: relative; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid #C9CDC4; }
.scan__item.is-done .scan__state { border: 0; background: var(--lime); animation: pop .45s var(--ease) both; }
.scan__item.is-done .scan__state::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid var(--black); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.scan__item.is-active .scan__state { border-color: var(--line); border-top-color: var(--teal); animation: spin .9s linear infinite; }
.scan.is-running .scan__item:not(.is-done):not(.is-active) { opacity: .5; }

/* bežiaci pás slov */
.marquee { overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line); background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap; font-size: clamp(34px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.marquee__item::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); }
.marquee__item--outline { color: transparent; -webkit-text-stroke: 1.5px var(--teal); }

/* 7. SEKCIE --------------------------------------------------------------- */
/* Služby – karty */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
@media (hover: hover) { .card:hover { transform: translateY(-6px); box-shadow: 0 28px 48px -30px rgb(7 73 81 / .45); border-color: #B7CF8E; } }
.card:active { transform: scale(.99); }
.card--spot::before, .use::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgb(140 200 40 / .2), transparent 62%);
  opacity: 0; transition: opacity .35s;
}
.card--spot:hover::before, .use:hover::before { opacity: 1; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card__icon { width: 36px; height: 36px; color: var(--teal); }
.card__title { font-size: 21px; font-weight: 600; }
.card__text { color: var(--muted); font-size: 16px; }
.card__link { margin-top: auto; }

.more { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.more__title { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.more__item { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .3s, background-color .3s; }
.more__item:hover { border-color: var(--lime); background: var(--white); color: var(--ink); }
.more__item strong { display: block; font-weight: 600; }
.more__item span span { display: block; color: var(--muted); font-size: 15px; }
.more__item .arrow { color: var(--teal); }

/* Green IT – tmavý pás s kalkulačkou */
.green { background: var(--teal); color: var(--bg); }
.green__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.green__copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.green__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; }
.green__leaf { width: 32px; height: 32px; color: var(--lime); stroke-width: 1.8; transform-origin: 20% 90%; animation: leaf 5s ease-in-out infinite; }
.green__text { color: var(--teal-text); max-width: 38em; }
.dots { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.dots li { position: relative; padding-left: 20px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.dots strong { font-weight: 600; }

.calc {
  flex: 1 1 360px; min-width: 0;
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(22px, 2.6vw, 32px);
  background: rgb(245 246 243 / .06);
  border: 1px solid rgb(245 246 243 / .18); border-radius: 16px;
}
.calc__head { display: flex; flex-direction: column; gap: 4px; }
.calc__title { font-weight: 600; font-size: 19px; }
.calc__lead { font-size: 14px; color: var(--teal-muted); }
.calc__field { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.calc__label { display: flex; justify-content: space-between; gap: 12px; }
.calc__label output { font-weight: 500; color: var(--lime); white-space: nowrap; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 10px 0; border-radius: 6px; background: rgb(245 246 243 / .2); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); border: 3px solid var(--teal); box-shadow: 0 0 0 2px var(--lime); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 3px solid var(--teal); }
.range:focus-visible { outline-offset: 8px; }
.calc__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 16px; padding-top: 20px; border-top: 1px solid rgb(245 246 243 / .18); }
.calc__out > div { display: flex; flex-direction: column; gap: 4px; }
.calc__out-label { font-size: 13px; color: var(--teal-muted); }
.calc__out-value { font-size: clamp(26px, 2.6vw, 32px); font-weight: 500; }
.calc__out-value small { font-size: .55em; }
.calc__out-value--lime { color: var(--lime); }
.calc__note { font-size: 14px; color: var(--teal-text); }
.calc__note strong { font-weight: 500; color: var(--bg); }

/* AI vo firme – záložky */
.ai { background: var(--white); border-block: 1px solid var(--line); }
.tabs__list { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.js .tabs__list { display: flex; }
.tab {
  min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-weight: 500; font-size: 15px; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
@media (hover: hover) { .tab:hover { border-color: var(--lime); } }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tabs__panel + .tabs__panel { margin-top: 32px; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__panel-title { margin-bottom: 14px; font-size: 18px; font-weight: 600; }
.js .tabs__panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tabs__panel[hidden] { display: none; }
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.use {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(20px, 2.2vw, 26px);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.tabs__panel.is-entering .use { animation: rise-sm .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.use__title { font-size: 19px; font-weight: 600; }
.use__text { color: var(--muted); font-size: 15px; }
.flowline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 13px; }
.flowline__node { padding: 5px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.flowline__node--ai { background: var(--lime); border-color: var(--lime); color: var(--black); font-weight: 500; }
.flowline__node--to { background: var(--teal); border-color: var(--teal); color: var(--white); }
.flowline__dash { display: inline-block; width: 22px; height: 2px; background-image: linear-gradient(90deg, var(--teal) 50%, transparent 50%); background-size: 8px 2px; animation: dash .8s linear infinite; }

.ai__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; margin: 44px 0 0; padding: 0; list-style: none; }
.ai__step { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 2px solid var(--lime); }
.ai__step-num { font-size: 13px; color: var(--teal); }
.ai__step strong { font-weight: 600; }
.ai__step span:last-child:not(.ai__step-num) { color: var(--muted); font-size: 15px; }
.safe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 40px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); background: var(--tint); border: 1px solid var(--tint-line); }
.safe__copy { display: flex; gap: 16px; align-items: flex-start; flex: 999 1 420px; min-width: 0; }
.safe__icon { width: 32px; height: 32px; color: var(--teal); }
.safe__title { font-weight: 600; }
.safe__text { color: var(--ink-2); font-size: 15px; }

/* Postup */
.steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 0 16px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--ink); transform-origin: left; }
.step::after { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.step__num { font-size: 14px; color: var(--teal); }
.step__title { font-size: 20px; font-weight: 600; }
.step__text { color: var(--muted); font-size: 16px; }

/* Prečo my */
.why { background: var(--white); border-block: 1px solid var(--line); }
.why__grid { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.why__head { flex: 1 1 300px; min-width: 0; }
.why__items { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 36px 48px; }
.why__item { display: flex; flex-direction: column; gap: 8px; }
.why__num { font-size: clamp(44px, 4.6vw, 60px); font-weight: 500; line-height: 1; color: var(--teal); }
.why__num small { margin-left: 8px; font-size: .45em; color: var(--ink); }
.why__title { font-weight: 600; }
.why__text { color: var(--muted); font-size: 16px; }

/* Referencie */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(46%, 160px), 1fr)); gap: 12px; margin: 0 0 40px; padding: 0; list-style: none; }
.logos__item { display: flex; align-items: center; justify-content: center; height: 84px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; text-align: center; transition: transform .3s, border-color .3s, color .3s; }
.logos__item:hover { transform: translateY(-3px); border-color: var(--lime); color: var(--teal); }
.logos__item--text { font-size: 14px; color: var(--muted); }
.logos__img { max-height: 52px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.logos__item:hover .logos__img { filter: none; opacity: 1; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.case__kicker { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.case__title { font-size: 24px; font-weight: 600; }
.case__text { color: var(--muted); }
.projects { margin-top: 32px; padding: 22px 24px; border: 1px dashed var(--line-3); border-radius: var(--radius); }
.projects__title { margin-bottom: 10px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.projects__list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.projects__list strong { font-weight: 600; color: var(--ink); }

/* Audit – výzva s formulárom */
.audit { background: var(--tint); border-top: 1px solid var(--tint-line); }
.audit__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 40px 72px; }
@media (min-width: 960px) { .audit__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.audit__copy { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.audit__copy .lead { color: var(--ink-2); }
.audit__contacts { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; font-weight: 600; }
.audit__contacts li { display: flex; align-items: center; gap: 10px; }
.audit__contacts .icon { width: 20px; height: 20px; color: var(--teal); }
.audit__contacts a { text-decoration: none; }
.audit__form { min-width: 0; }

/* Text (podstránky) */
.text--white { background: var(--white); }
.text--tint { background: var(--tint); }
.text--dark { background: var(--teal); color: var(--bg); }
.text--dark a { color: var(--lime); }
.text__inner { max-width: 72ch; }
.text__inner--wide { max-width: none; }
.text__inner .title { margin-bottom: 20px; }
.rte > * + * { margin-top: 1em; }
.rte h2, .rte h3 { margin-top: 1.6em; line-height: 1.2; }
.rte h2 { font-size: 26px; }
.rte h3 { font-size: 21px; font-weight: 600; }
.rte h4 { margin-top: 1.4em; font-size: 17px; font-weight: 600; line-height: 1.3; }
.rte ul, .rte ol { padding-left: 1.3em; }
.rte li + li { margin-top: .35em; }
.rte a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rte table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.rte th, .rte td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* 8. FORMULÁR (Powermail) ------------------------------------------------- */
.form {
  padding: clamp(20px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--tint-line); border-radius: var(--radius);
}
.form__title { margin-bottom: 18px; font-size: 20px; font-weight: 600; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px 20px; }
.form__grid .field--full { grid-column: 1 / -1; }
.form__grid > .powermail_submit { grid-column: 1 / -1; justify-self: start; width: auto; min-width: 220px; }
@media (max-width: 639px) { .form__grid > .powermail_submit { justify-self: stretch; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 15px; font-weight: 500; }
.field legend { padding: 0; margin-bottom: 8px; }
.field__optional { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-3); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgb(140 200 40 / .45); }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); flex: 0 0 auto; }
.field--check label { flex: 1 1 0; min-width: 0; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.field--check label a { color: var(--teal); }
.field--check .field__error { flex-basis: 100%; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 15px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.choice input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.field__error { margin: 0; font-size: 14px; font-weight: 500; color: var(--error); }
.field__error:empty { display: none; }
.field.has-error input:not([type="checkbox"]), .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.form__status { margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--error); }
.form__status[hidden] { display: none; }
.form.is-sending { opacity: .65; pointer-events: none; }
.form.is-sending .powermail_submit { cursor: progress; }
.form--done { display: flex; align-items: center; min-height: 320px; }
.form--done:focus { outline: none; }
.form__success { display: flex; align-items: center; gap: 18px; }
.form__success svg { flex: 0 0 auto; width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--lime); fill: none; stroke: var(--black); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw-line .7s var(--ease) .2s forwards; }
.form__success-text { font-size: 18px; }
.form__success-text strong { display: block; font-size: 22px; font-weight: 600; }
.tx-powermail .powermail_message_error, .tx-powermail .typo3-messages { margin: 0 0 16px; padding: 12px 16px; list-style: none; border-radius: var(--radius-sm); background: #FBEDEC; color: var(--error); }

/* 9. PÄTA ----------------------------------------------------------------- */
.foot { background: var(--black); color: var(--foot-text); font-size: 15px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--black-line); }
.foot__cta-wrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.foot__cta {
  padding-bottom: 6px;
  color: var(--bg); text-decoration: none;
  font-size: clamp(32px, 5vw, 64px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 3px;
  transition: background-size .5s var(--ease-io), color .3s;
}
.foot__cta:hover { color: var(--lime); background-size: 100% 3px; }
.foot__direct { display: flex; flex-direction: column; gap: 6px; font-family: var(--ff-mono); font-size: clamp(17px, 1.6vw, 20px); }
.foot__direct a { color: var(--bg); text-decoration: none; }
.foot__direct a:hover { color: var(--lime); }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px 32px; padding-block: clamp(40px, 5vw, 64px); }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__logo { height: 34px; width: auto; align-self: flex-start; margin-bottom: 4px; }
.foot__col--brand p { max-width: 22em; }
.foot__title { margin-bottom: 4px; font-weight: 600; color: var(--bg); }
.foot__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.foot__link { color: var(--foot-text); text-decoration: none; transition: color .2s; }
.foot__link:hover { color: var(--lime); }
.foot__link--btn { padding: 0; border: 0; background: none; cursor: pointer; font-size: inherit; }
.foot__address { line-height: 1.8; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; padding-block: 24px 32px; border-top: 1px solid var(--black-line); font-size: 14px; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social__link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black-2); color: var(--bg); transition: background-color .25s, color .25s, transform .25s; }
.social__link:hover { background: var(--lime); color: var(--black); transform: translateY(-2px); }
.social__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 10. MOBILNÁ LIŠTA, SPÄŤ HORE, COOKIE ----------------------------------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 36;
  display: flex; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgb(245 246 243 / .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(115%); transition: transform .45s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar__cta { flex: 1 1 auto; min-height: 52px; border-radius: 10px; font-size: 17px; }
.mbar__tel { display: flex; align-items: center; justify-content: center; flex: 0 0 52px; height: 52px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.mbar__tel:hover { color: var(--lime); }
.mbar__tel .icon { width: 20px; height: 20px; }
.foot--mbar .foot__bottom { padding-bottom: 110px; }
@media (min-width: 901px) { .foot--mbar .foot__bottom { padding-bottom: 32px; } }

.totop {
  position: fixed; right: 20px; bottom: 92px; z-index: 35;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--black); color: var(--bg);
  box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5);
  cursor: pointer;
}
.totop[hidden] { display: none; }
.totop.is-visible { animation: pop .45s var(--ease) both; }
.totop__ring { position: absolute; inset: 0; width: 56px; height: 56px; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.totop__track { stroke: var(--black-line); }
.totop__bar { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--progress, 0) * 100); }
.totop__icon { position: relative; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 901px) { .totop { bottom: 20px; } }

.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 560px; padding: 18px 20px; border-radius: var(--radius); background: var(--black); color: var(--foot-text); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .6); opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s var(--ease); }
.consent[hidden] { display: none; }
.consent.is-visible { opacity: 1; transform: none; }
.consent__inner { display: flex; flex-direction: column; gap: 14px; }
.consent__text { font-size: 14px; }
.consent__link { color: var(--lime); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn--ghost { border-color: var(--foot-text); color: var(--bg); }
.consent .btn--ghost:hover { background: var(--bg); color: var(--black); }

/* 11. ANIMÁCIE ------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(.55em) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes rise-sm { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-size: 0% .14em; } to { background-size: 100% .14em; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes leaf { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes menu-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes dash { to { background-position: 8px 0; } }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dot-in { from { transform: scale(0); } to { transform: scale(1); } }

/* Úvod: postupný nástup (len s JS – trieda .js na <html>) */
.js .intro { opacity: 0; }
.is-loaded .intro { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
/* Kinetický nadpis: main.js rozdelí text na slová (.kw), posledné *zvýraznené* dostane .kw--hl */
.js .hero__title[data-kinetic]:not(.is-split) { visibility: hidden; }
.kw { display: inline-block; opacity: 0; }
.is-loaded .kw { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
.hero__title em.kw { background-size: 0% .14em; }
.is-loaded .hero__title em.kw { animation: rise .9s var(--ease) both, sweep .7s var(--ease-io) both; animation-delay: var(--d, 0s), calc(var(--d, 0s) + .55s); }

/* Odhalenie pri scrollovaní */
.js [data-reveal]:not(.is-visible) { opacity: 0; }
.js [data-reveal].is-visible { animation: reveal .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
/* Ikony sa nakreslia */
.js .draw path, .js .draw rect, .js .draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-visible .draw path, .js .is-visible .draw rect, .js .is-visible .draw circle { animation: draw-line 1.4s var(--ease-io) .35s forwards; }
/* Postup: čiara a bod */
.js .step::before { transform: scaleX(0); }
.js .step::after { transform: scale(0); }
.js .step.is-visible::before { animation: grow-x 1.1s var(--ease-io) both; animation-delay: calc(.35s + var(--i, 0) * .25s); }
.js .step.is-visible::after { animation: dot-in .45s var(--ease) both; animation-delay: calc(.35s + var(--i, 0) * .25s); }

/* Obmedzenie pohybu podľa nastavenia systému */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none !important; }
  .hero__glow, .scan__card, .caret, .green__leaf, .flowline__dash { animation: none !important; }
}

/* Tlač */
@media print {
  .hdr, .mm, .mbar, .totop, .consent, .hero__net, .hero__glow, .marquee, .burger { display: none !important; }
  .js [data-reveal], .js .intro, .kw { opacity: 1 !important; animation: none !important; }
  .js .hero__title[data-kinetic] { visibility: visible; }
  body { background: #fff; }
}
