/* ==========================================================================
   techscope.sk – web.css (dizajn v štýle „glass + gradient“)
   Spoločné štýly pre index, rezerváciu, právne stránky a 404.
   Názvy tried a premenných sú zachované kvôli rezervacia.css.
   ========================================================================== */

/* ---------- Písma (self-hosted, bez Google) ---------- */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("../fonts/jetbrains-mono-800.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: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("../fonts/jetbrains-mono-800-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Premenné ---------- */
:root {
  --ink: #111214;
  --paper: #F6F8FC;
  --white: #FFFFFF;
  --blue: #2447F5;
  --blue-dark: #1531C4;
  --blue-light: #4D6BFF;
  --blue-tint: #EEF3FF;
  --teal: #14B8A6;
  --cyan: #1FB8E8;
  --muted: #4A5468;
  --body-2: #3A3F4B;
  --muted-dark: #B8C0D4;
  --field: #F6F8FC;
  --line: #E3E8F3;
  --line-soft: #EDF0F7;
  --placeholder-img: #E8ECF5;
  --night: #0A0F1E;

  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --fs-h1: clamp(46px, 6.2vw, 92px);
  --fs-h2: clamp(34px, 4.2vw, 56px);
  --fs-block: 28px;
  --fs-h3: 20px;
  --fs-lead: 19px;
  --fs-text: 17px;
  --fs-small: 15px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 112px;

  --container: 1180px;
  --gutter: 24px;
  --radius: 16px;
  --radius-field: 8px;
  --btn-height: 48px;

  --shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 16px 40px -16px rgba(25, 40, 110, .20);
  --shadow-float: 0 50px 100px -24px rgba(25, 40, 110, .30), 0 30px 60px -30px rgba(0, 0, 0, .28);
  --gradient: linear-gradient(120deg, #1B36D6 0%, #2F52F7 30%, #1FB8E8 55%, #14B8A6 78%, #8FA9FF 100%);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-text);
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3 { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
input, textarea, select, button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Typografia ---------- */
.h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.04; letter-spacing: -0.028em; margin: 0; }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.08; letter-spacing: -0.022em; margin: 0 0 var(--space-3); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--body-2); margin: 0; max-width: 34em; }
.section-head { margin: 0 0 var(--space-6); max-width: 46em; }

/* ---------- Tlačidlá (hover = prehodenie farieb) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--btn-height); padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: var(--fs-small); line-height: 1; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .1s ease;
}
.btn:active { transform: translateY(2px); }
.btn .arr { display: inline-block; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--blue:hover { background: var(--white); color: var(--blue); }
.btn--white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--white:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--white); color: var(--ink); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Logo ---------- */
.logo { font-family: var(--font-mono); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--blue); }
.logo:hover { color: var(--ink); }
.logo__cursor { animation: blink 1.1s steps(1) infinite; }

/* ---------- Hlavička (plávajúca sklenená lišta) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 0 0; }
.site-header > .container {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: var(--space-4);
  width: calc(100% - 2 * var(--gutter)); max-width: var(--container);
  padding: 8px 8px 8px 28px; border-radius: 999px;
}
.site-header > .container::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 32px -14px rgba(25, 40, 110, .22);
  transition: background-color .3s ease, border-color .3s ease;
}
.site-nav { display: flex; align-items: center; gap: var(--space-3); flex: 1; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 4px;
  background: none; border: 0; cursor: pointer;
  color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none;
  transition: opacity .15s ease;
}
.site-nav__link:hover { color: var(--ink); opacity: .65; }
.site-nav__chev { transition: transform .2s ease; }
.site-header__actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-header__link { color: var(--ink); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.site-header__link:hover { color: var(--ink); opacity: .65; }

/* hlavička nad gradientom */
.site-header--on-color > .container::before { background: rgba(17, 18, 20, .34); border-color: rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.site-header--on-color .logo, .site-header--on-color .site-nav__link, .site-header--on-color .site-header__link { color: var(--white); }
.site-header--on-color .logo span { color: #9FE8F5; }
/* Rezervovať v navigácii: po prescrollovaní farba pozadia hero sekcie */
.site-header .btn--blue { min-height: 40px; padding: 0 18px; font-size: 14px; background: var(--blue); color: var(--white); border-color: var(--blue); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.site-header .btn--blue:hover { background: var(--white); color: var(--blue); border-color: var(--blue); }
.site-header--on-color .btn--blue { background: var(--white); color: var(--ink); border-color: var(--white); }
.site-header--on-color .btn--blue:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* rozbaľovacie menu */
.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 250px; padding: 8px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .95); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(8px) rotateX(-10deg); transform-origin: top center;
  transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility .2s;
}
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu, .nav-item.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover .site-nav__chev, .nav-item:focus-within .site-nav__chev, .nav-item.is-open .site-nav__chev { transform: rotate(180deg); }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); }
.nav-menu a:hover { background: rgba(238, 243, 255, .9); color: var(--ink); }
.nav-menu strong { display: block; font-size: 14px; font-weight: 600; }
.nav-menu span { display: block; font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .site-nav, .site-header__link { display: none; }
  .site-header > .container { padding-left: 20px; gap: 12px; justify-content: space-between; }
}
@media (max-width: 520px) {
  .site-header > .container { width: calc(100% - 24px); }
  .site-header .logo { font-size: 16px; }
  .site-header .btn { padding: 0 16px; font-size: 14px; }
  .site-header .btn .arr, .hide-sm { display: none; }
}

/* ---------- Sekcie ---------- */
.section { position: relative; padding: var(--space-7) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--night); color: var(--white); overflow: hidden; }
.section--ink .h2 { color: var(--white); }
.section--ink .lead { color: var(--muted-dark); }
.section--blue { background: var(--gradient); color: var(--white); }
.section > .container { position: relative; }

/* jemná technická mriežka */
.grid-bg--light, .grid-bg--dark, .grid-bg--blue { position: absolute; inset: 0; pointer-events: none; }
.grid-bg--light {
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 55%); mask-image: linear-gradient(to bottom, #000, transparent 55%);
}
.grid-bg--dark {
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%); mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
}
.grid-bg--blue {
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- Karty a sklo ---------- */
.card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.glass {
  background: rgba(255, 255, 255, .58);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow-float);
}
.block--blue { background: var(--gradient); color: var(--white); border-radius: var(--radius); padding: var(--space-5); }

/* ---------- Formuláre ---------- */
.field {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-field);
  background: var(--field); padding: 12px 14px; font-size: var(--fs-text); color: var(--ink); outline: none;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field:hover { border-color: #C9D3EA; }
.field:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(36, 71, 245, .12); }

.email-form { display: flex; align-items: center; gap: 4px; max-width: 440px; padding: 4px; border-radius: 999px; }
.email-form input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: var(--fs-small); color: var(--ink); outline: none; min-height: 44px; }
.email-form input::placeholder { color: #6B7489; }

/* ---------- Gradientový pás (mesh) ---------- */
.mesh { position: absolute; left: 0; right: 0; top: -360px; height: 920px; transform: skewY(-10deg); transform-origin: 0 0; overflow: hidden; background: var(--gradient); pointer-events: none; }
.mesh--band { top: -120px; bottom: -120px; height: auto; transform: skewY(-6deg); transform-origin: center; }
.mesh--flat { top: 0; bottom: 0; height: auto; transform: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); mix-blend-mode: screen; opacity: .85; }
.b1 { width: 680px; height: 460px; left: -160px; top: 320px; background: #3D5CFF; animation: float1 16s ease-in-out infinite alternate; }
.b2 { width: 560px; height: 420px; left: 440px; top: 360px; background: #4FE3F5; animation: float2 19s ease-in-out infinite alternate; }
.b3 { width: 520px; height: 420px; left: 920px; top: 300px; background: #A9BDFF; animation: float3 14s ease-in-out infinite alternate; }
.b4 { width: 480px; height: 380px; left: 1120px; top: 540px; background: #2DD4BF; animation: float4 21s ease-in-out infinite alternate; }
.b5 { width: 560px; height: 300px; left: 260px; top: 660px; background: #DCE4FF; animation: float1 18s ease-in-out infinite alternate-reverse; }
.mesh--band .blob, .mesh--flat .blob { top: 10%; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: soft-light; }
.wave { fill: none; stroke: #FFFFFF; filter: blur(14px); }
.w1 { stroke-width: 70; opacity: .55; animation: drift1 22s ease-in-out infinite alternate; }
.w2 { stroke-width: 36; opacity: .7; animation: drift2 17s ease-in-out infinite alternate; }
.w3 { stroke-width: 120; opacity: .35; animation: drift1 26s ease-in-out infinite alternate-reverse; }
.sheen { position: absolute; top: -10%; bottom: -10%; width: 60%; left: -60%; filter: blur(24px); background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,.38) 50%, rgba(255,255,255,0) 65%, transparent 100%); animation: sheen 11s cubic-bezier(.4, 0, .2, 1) infinite; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -80px; padding: 152px 0 var(--space-7); }
.hero__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: flex-start; }
.hero__text { flex: 1 1 440px; min-width: 0; padding-top: var(--space-3); }
.hero__title { font-size: clamp(44px, 5.4vw, 80px); }
.hero__title { margin: var(--space-4) 0; mix-blend-mode: multiply; }
.hero__lead { margin: 0 0 40px; }
/* Štítok s najbližším termínom: pôvodné tmavé sklo, o niečo väčší */
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 8px 20px;
  border-radius: 999px; color: var(--white); font-size: 15px; font-weight: 600;
  background: rgba(17, 18, 20, .36); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.pill:hover { color: var(--white); background: rgba(17, 18, 20, .5); }

/* ukážka produktu */
.pm { flex: 1.25 1 520px; min-width: 0; position: relative; height: 580px; }
.pm__stage { position: absolute; top: -12px; left: 100px; width: 640px; height: 600px; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.32), rgba(255,255,255,.08)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.pm__window { position: absolute; top: 40px; left: 190px; width: 540px; border-radius: var(--radius); overflow: hidden; }
.pm__bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 72px; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 13px; color: var(--muted); }
.pm__bar .logo { font-size: 13px; }
.pm__search { margin-left: auto; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.pm__body { padding: 28px 24px 24px 72px; }
.pm__title { margin: 0 0 2px; font-weight: 600; font-size: 18px; }
.pm__sub { margin: 0 0 20px; font-size: 13px; color: var(--muted); }
.pm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 20px; }
.pm__label { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.pm__value { margin: 0; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.pm__value small { font-size: 16px; font-weight: 500; color: var(--muted); }
.pm__mini { display: inline-block; margin-top: 8px; padding: 7px 12px; border-radius: 8px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 600; line-height: 1.2; }
.pm__progress { height: 6px; margin-top: 10px; background: rgba(220, 227, 243, .8); border-radius: 3px; overflow: hidden; }
.pm__progress span { display: block; height: 100%; width: 50%; background: var(--blue); border-radius: 3px; transform-origin: left center; animation: fill .9s cubic-bezier(.6, 0, .3, 1) 1s both; }
.inner { background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .8); }
.pm__chart { border-radius: 12px; padding: 16px; }
.pm__chart svg { display: block; width: 100%; height: auto; }
.pm__axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.pm__phone { position: absolute; top: 120px; left: -20px; width: 250px; padding: 10px; border-radius: 38px; background: rgba(255, 255, 255, .28); }
.pm__screen { background: rgba(255, 255, 255, .82); border-radius: 30px; padding: 18px 16px; min-height: 400px; display: flex; flex-direction: column; }
.pm__notch { width: 64px; height: 6px; margin: 0 auto 18px; background: var(--line); border-radius: 3px; }
.pm__kicker { margin: 0 0 2px; font-size: 12px; color: var(--muted); text-align: center; }
.pm__heading { margin: 0 0 16px; font-weight: 600; font-size: 16px; line-height: 1.25; text-align: center; }
.pm__doc { border-radius: 12px; padding: 14px; margin: 0 0 14px; }
.pm__doc i { display: block; height: 6px; margin: 0 0 6px; border-radius: 3px; background: #D3DAEE; }
.pm__doc i:first-child { height: 8px; width: 70%; margin-bottom: 8px; background: var(--blue); }
.pm__field-label { margin: 8px 0 4px; font-size: 12px; color: var(--muted); }
.pm__field { margin: 0; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.pm__field--empty { color: #A0A7B8; }
.pm__action { position: relative; height: 40px; margin-top: auto; padding-top: 16px; box-sizing: content-box; }
.pm__btn { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--white); }
.pm__btn--todo { background: var(--ink); animation: fadeout .2s ease 2.9s forwards; }
.pm__btn--done { background: var(--blue); opacity: 0; animation: fadein .3s ease 2.95s forwards; }
.pm__tap { position: absolute; left: 55%; bottom: 8px; width: 24px; height: 24px; opacity: 0; animation: tap 1.4s cubic-bezier(.5, 0, .2, 1) 1.6s forwards; }
.pm__toast { position: absolute; top: 480px; left: 270px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; font-size: 14px; opacity: 0; animation: toast .4s cubic-bezier(.2, .8, .2, 1) 3.3s forwards; }
.pm__toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: 0 0 8px; }
.pm__note { position: absolute; bottom: -8px; right: 0; margin: 0; font-size: 12px; color: var(--muted); }
.rise { opacity: 0; animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.rise--1 { animation-delay: .15s; } .rise--2 { animation-delay: .45s; }
.draw-now { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6, 0, .3, 1) .8s forwards; }

/* Ukážka je kreslená na pevnom plátne 780 × 600 a zmenší sa podľa šírky stĺpca (--pm-s nastavuje anim.js),
   takže nikdy nepretečie mimo obrazovky. Pod 761 px platí samostatné mobilné rozloženie nižšie. */
@media (min-width: 761px) {
  .pm { height: calc(600px * var(--pm-s, 1)); }
  .pm__canvas { position: absolute; top: 0; left: var(--pm-x, 0px); width: 780px; height: 600px;
    transform-origin: 0 0; transform: scale(var(--pm-s, 1)); }
  .hero__text { padding-left: 28px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 128px; }
  .pm { height: 500px; }
  .pm__stage { left: 0; width: 100%; height: 500px; }
  .pm__window { left: 16px; width: calc(100% - 32px); top: 24px; }
  .pm__body { padding-left: 20px; }
  .pm__phone { top: 200px; left: auto; right: 16px; width: 200px; }
  .pm__screen { min-height: 300px; }
  .pm__toast { left: 16px; right: 16px; top: auto; bottom: 28px; }
  .pm__note { right: 16px; }
}

/* ---------- Služby (3D) ---------- */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.svc__card { padding: var(--space-3) var(--space-3) var(--space-4); display: flex; flex-direction: column; }
.svc__card--wide { grid-column: span 2; flex-direction: row; gap: var(--space-4); align-items: center; }
.svc__card--wide .svc__ill { flex: 1 1 50%; margin: 0; }
.svc__card--wide .svc__text { flex: 1 1 50%; }
.svc__card--wide h3 { font-size: var(--fs-block); letter-spacing: -0.02em; }
.svc__card--wide .btn { margin-top: var(--space-3); }
.svc__card h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.svc__card p { margin: 0; color: var(--body-2); font-size: 16px; }
.svc__ill { background: linear-gradient(180deg, var(--paper), var(--white)); border-radius: 12px; margin: 0 0 var(--space-3); }
.svc__ill svg { display: block; width: 100%; height: auto; overflow: visible; }
.svc__other { grid-column: span 2; position: relative; overflow: hidden; border-radius: var(--radius); min-height: 260px; display: flex; align-items: center; }
.svc__other .glass { position: relative; margin: var(--space-4); padding: var(--space-4); border-radius: var(--radius); max-width: 520px; }
.svc__other h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.svc__other p { margin: 0 0 var(--space-3); color: var(--body-2); }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc__card--wide, .svc__other { grid-column: auto; }
  .svc__card--wide { flex-direction: column; align-items: stretch; }
}

/* izometrické animácie (spustia sa triedou .in) */
.js .drop { opacity: 0; }
.in .drop { animation: isodrop .75s cubic-bezier(.2, .8, .2, 1) forwards; }
.js .ink { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .ink { animation: draw .7s ease forwards; }
.js .guides { opacity: 0; }
.in .guides { animation: fadein .5s ease .9s forwards; }
.lift { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.iso-card:hover .l1 { transform: translateY(-6px); }
.iso-card:hover .l2 { transform: translateY(-14px); }
.iso-card:hover .l3 { transform: translateY(-24px); }
.js .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .d { animation: draw 1.4s cubic-bezier(.6, 0, .3, 1) forwards; }
.js .a { opacity: 0; }
.in .a { animation: fadein .4s ease forwards; }

/* ---------- Návrh riešenia ---------- */
.split { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.checks { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.checks li { display: flex; gap: var(--space-2); align-items: baseline; }
.checks li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--blue), var(--teal)); transform: translateY(-2px); }
.drawing { position: relative; margin: 0; padding: var(--space-3); overflow: hidden; }
.drawing .grid-bg--light { -webkit-mask-image: none; mask-image: none; background-size: 32px 32px; }
.drawing svg { position: relative; display: block; width: 100%; height: auto; }

/* ---------- Postup ---------- */
.process { padding: var(--space-5) var(--space-4); overflow-x: auto; }
.process svg { display: block; width: 100%; min-width: 820px; height: auto; }

/* ---------- Referencia ---------- */
.case { display: flex; flex-wrap: wrap; overflow: hidden; }
.case__text { flex: 1 1 420px; padding: var(--space-5); }
.case__kicker { margin: 0 0 var(--space-2); font-weight: 600; color: var(--blue); }
.case__stat { flex: 1 1 320px; padding: var(--space-5); background: linear-gradient(135deg, var(--paper), var(--blue-tint)); display: flex; flex-direction: column; justify-content: center; }
.case__number { margin: 0; font-weight: 600; font-size: 72px; line-height: 1; letter-spacing: -0.025em; }
.case__caption { margin: var(--space-2) 0 0; color: var(--body-2); }

/* ---------- Odvetvia (tmavé) ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.glow--blue { width: 600px; height: 500px; right: -100px; top: -120px; background: var(--blue); }
.glow--teal { width: 500px; height: 400px; left: -150px; bottom: -150px; background: var(--teal); opacity: .35; }
.industries { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.industries__main { flex: 2 1 520px; border-radius: var(--radius); padding: 1px; background: linear-gradient(135deg, #4F7BFF, #2BD4E8 60%, var(--teal)); }
.industries__main > div { height: 100%; padding: var(--space-5); border-radius: 15px; background: rgba(10, 15, 30, .88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.industries__main h3 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 var(--space-2); }
.industries__main p { margin: 0 0 var(--space-4); color: #C9D2E8; max-width: 32em; }
.industries__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: var(--space-3); }
.g-card { flex: 1; padding: var(--space-4); border-radius: var(--radius); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.g-card h3 { font-size: var(--fs-h3); font-weight: 600; margin: 0 0 8px; }
.g-card p { margin: 0; color: var(--muted-dark); }

/* ---------- Rezervácia na homepage ---------- */
.book { position: relative; padding: var(--space-4); border-radius: 24px; overflow: hidden; }
.book .glass { position: relative; padding: var(--space-4); border-radius: var(--radius); }
.book__title { margin: 0 0 var(--space-2); font-weight: 600; font-size: var(--fs-h3); }
.slots__list { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: 8px; }
.slots__list li { color: var(--body-2); }
.slots__slot { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.slots__slot::after { content: "›"; transition: transform .2s ease; }
.slots__slot:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.slots__slot:hover::after { transform: translateX(3px); }

/* ---------- Podmienky ---------- */
.terms { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px var(--space-4); }
.terms dt { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.terms dd { margin: 0; color: var(--body-2); }

/* ---------- Záverečný pás ---------- */
.cta-band { position: relative; padding: 160px 0; overflow: hidden; }
.cta-band__card { position: relative; max-width: 640px; margin: 0 auto; padding: var(--space-5); border-radius: 24px; text-align: center; }
.cta-band__card .lead { margin: 0 auto var(--space-4); }
.cta-band__card .email-form { margin: 0 auto; background: rgba(255, 255, 255, .8); }

/* ---------- Pätička ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line-soft); padding: var(--space-6) 0 40px; font-size: var(--fs-small); color: var(--muted); }
.site-footer > .container { display: flex; flex-wrap: wrap; gap: var(--space-5); justify-content: space-between; }
.site-footer__brand { flex: 1 1 260px; }
.site-footer__brand .logo { display: inline-block; margin: 0 0 var(--space-2); }
.site-footer__brand p { margin: 0; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col p:first-child { margin: 0 0 8px; color: var(--ink); font-weight: 600; }
.site-footer__col p { margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer__legal { flex: 1 1 100%; margin: var(--space-4) 0 0; color: var(--muted); }

/* ---------- Animácie ---------- */
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes float1 { to { transform: translate(180px, 60px) scale(1.15); } }
@keyframes float2 { from { transform: scale(1.1); } to { transform: translate(-220px, 40px) scale(.95); } }
@keyframes float3 { to { transform: translate(120px, -70px) scale(1.2); } }
@keyframes float4 { to { transform: translate(-140px, -40px) scale(1.1); } }
@keyframes drift1 { from { transform: translateX(-80px); } to { transform: translateX(120px) translateY(30px); } }
@keyframes drift2 { from { transform: translateX(100px); } to { transform: translateX(-120px) translateY(-20px); } }
@keyframes sheen { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(330%); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes fadeout { to { opacity: 0; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tap { 0% { opacity: 0; transform: translate(120px, 90px); } 20% { opacity: 1; } 70% { transform: translate(0, 0); } 80% { transform: translate(0, 0) scale(.8); } 90% { transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes toast { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes isodrop { from { opacity: 0; transform: translateY(-70px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .blob, .wave, .sheen, .logo__cursor { animation: none !important; }
  .drop, .a, .guides, .rise, .pm__toast { opacity: 1 !important; }
  .ink, .d, .draw-now { stroke-dashoffset: 0 !important; }
  .pm__tap { display: none; }
}
.pm__doc i.w90 { width: 90%; } .pm__doc i.w60 { width: 60%; } .pm__doc i.w75 { width: 75%; margin: 0; }

/* nadpisy na podstránkach (rezervácia, právne stránky, 404) sú menšie ako v hero */
.section .h1 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: var(--space-2); }


/* ==========================================================================
   Úpravy 7. 11.: e-mailové pole, interaktívny výkres, moduly postupu, odvetvia
   ========================================================================== */

/* výraznejšie sklenené pole na e-mail */
.email-form.glass {
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .26), inset 0 1px 0 #FFFFFF, 0 24px 48px -20px rgba(25, 40, 110, .35);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.email-form.glass:focus-within { background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 6px rgba(36, 71, 245, .22), inset 0 1px 0 #FFFFFF, 0 24px 48px -20px rgba(25, 40, 110, .35); }
.email-form input::placeholder { color: #4A5468; }

/* ---------- Interaktívny výkres ---------- */
.drawing { --rx: 0deg; --ry: 0deg; perspective: 1100px; }
.drawing__tilt { position: relative; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.bp-extrude path { fill: #E9EEF8; stroke: #C9D3EA; stroke-width: 1; stroke-linejoin: round; opacity: 0; transition: opacity .25s ease; }
.drawing.is-hover .bp-extrude path { opacity: 1; }
.bp-call rect, .bp-call circle, .bp-call line, .bp-call text { transition: fill .2s ease, stroke .2s ease, opacity .2s ease; }
.bp-call circle { transition: fill .2s ease, stroke .2s ease, r .2s ease; }
.drawing.has-active .bp-call:not(.is-active) { opacity: .45; }
.bp-call.is-active rect { fill: var(--blue); stroke: var(--blue); }
.bp-call.is-active text { fill: #FFFFFF; }
.bp-call.is-active circle { fill: var(--blue); r: 9; }
.bp-call.is-active line { stroke: var(--blue); stroke-width: 2; }
.drawing__x, .drawing__y, .drawing__tag { position: absolute; pointer-events: none; opacity: 0; transition: opacity .15s ease; z-index: 3; }
.drawing__x { left: 0; right: 0; top: 0; height: 1px; background: rgba(36, 71, 245, .55); transform: translateY(var(--my, 0)); }
.drawing__y { top: 0; bottom: 0; left: 0; width: 1px; background: rgba(36, 71, 245, .55); transform: translateX(var(--mx, 0)); }
.drawing__tag { left: 0; top: 0; transform: translate(calc(var(--mx, 0) + 12px), calc(var(--my, 0) + 12px)); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; color: #FFFFFF; background: var(--blue); border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .drawing { cursor: none; }
  .drawing.is-hover .drawing__x, .drawing.is-hover .drawing__y, .drawing.is-hover .drawing__tag { opacity: 1; }
}

/* ---------- Postup: sklenený box na gradiente, dynamické moduly ---------- */
.process-sec { overflow: hidden; padding: 140px 0; }
.process-sec .mesh--flat .blob { top: 15%; }
.process { padding: var(--space-5); border-radius: 24px; }
.process .h2 { margin: 0 0 var(--space-5); }
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; position: relative; }
.steps__track { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, .55); border-radius: 1px; }
.steps__dot { position: absolute; top: 50%; left: var(--dot, 10%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(36, 71, 245, .18); transition: left .6s cubic-bezier(.2, .8, .2, 1); }
.step {
  position: relative; min-height: 132px; padding: var(--space-3) 20px 20px; border-radius: var(--radius); cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2);
  background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: background-color .6s ease, box-shadow .6s ease, border-color .6s ease;
}
.step__title { font-weight: 600; font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); transition: color .3s ease; }
.step__bar { position: absolute; top: var(--space-3); left: 20px; right: 20px; height: 2px; border-radius: 1px; background: rgba(17, 18, 20, .08); overflow: hidden; }
.step__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: 0; transition: opacity .6s ease; }
.step.is-done .step__bar i { opacity: .45; }
.step.is-active { background: #FFFFFF; box-shadow: inset 0 1px 0 #FFFFFF, 0 18px 40px -22px rgba(25, 40, 110, .35); }
.step.is-active .step__title { color: var(--blue); }
.step.is-active .step__bar i { opacity: 1; }
@keyframes stepfill { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps__track { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; display: none; }
  .step { min-height: 0; }
  .process { padding: var(--space-4) var(--space-3); }
}

/* ---------- Odvetvia: striedajúce sa karty ---------- */
.industries { align-items: stretch; }
.ind-panels { position: relative; min-height: 340px; height: 100%; padding: var(--space-5); border-radius: 15px; background: rgba(10, 15, 30, .88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); overflow: hidden; }
.industries__main > .ind-panels { padding: var(--space-5); }
.ind-panel { position: absolute; inset: var(--space-5); opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility .5s; display: flex; flex-direction: column; align-items: flex-start; }
.ind-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.ind-panel h3 { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 var(--space-2); }
.ind-panel p { margin: 0 0 var(--space-4); color: #C9D2E8; max-width: 32em; }
.ind-tabs { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.ind-tab {
  position: relative; flex: 1; min-height: 72px; text-align: left; cursor: pointer; color: var(--white);
  padding: 20px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.ind-tab:hover { background: rgba(255, 255, 255, .09); }
.ind-tab__title { font-size: 18px; font-weight: 600; }
.ind-tab__bar { position: absolute; left: 24px; right: 24px; bottom: 14px; height: 2px; background: rgba(255, 255, 255, .1); border-radius: 1px; overflow: hidden; }
.ind-tab__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #4F7BFF, var(--teal)); transform: scaleX(0); transform-origin: left center; }
.ind-tab.is-active { background: rgba(255, 255, 255, .12); border-color: rgba(159, 232, 245, .55); transform: translateX(-6px); }
.ind-tab.is-active .ind-tab__bar i { animation: stepfill var(--tab-dur, 5s) linear forwards; }
.ind-tabs.is-paused .ind-tab.is-active .ind-tab__bar i { animation-play-state: paused; }
@media (max-width: 900px) {
  .ind-tabs { flex-direction: row; overflow-x: auto; order: -1; flex: 1 1 100%; }
  .ind-tab { min-width: 180px; }
  .ind-tab.is-active { transform: none; }
  .ind-panels { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .drawing__tilt { transform: none !important; }
  .ind-tab.is-active .ind-tab__bar i { animation: none !important; transform: scaleX(1); }
}

/* e-mailové pole: sklo s farebnou hranou, viditeľné aj na bielom pozadí */
.email-form.glass {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(246, 248, 252, .82), rgba(255, 255, 255, .82)) padding-box,
    linear-gradient(120deg, rgba(36, 71, 245, .55), rgba(31, 184, 232, .45), rgba(20, 184, 166, .55)) border-box;
  box-shadow: 0 0 0 6px rgba(36, 71, 245, .07), inset 0 1px 0 #FFFFFF, 0 22px 44px -18px rgba(36, 71, 245, .38);
}
.email-form.glass:focus-within { box-shadow: 0 0 0 6px rgba(36, 71, 245, .18), inset 0 1px 0 #FFFFFF, 0 22px 44px -18px rgba(36, 71, 245, .45); }
.steps__track { display: none; }
.h1 { letter-spacing: -0.02em; }

/* kríž výkresu: osi x a y vychádzajú zo stredu výkresu, y rastie nahor (ako na technickom výkrese) */
.drawing__tag { transform: translate(calc(var(--mx, 0) + 14px), calc(var(--my, 0) - 32px)); }


/* moduly postupu: neaktívne karty vyzerajú rovnako */
.step { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .8); }
.step.is-active { background: #FFFFFF; }
.step.is-active .step__title { color: var(--blue); }

/* rozbaľovacie menu: sklo */
.nav-menu {
  background: linear-gradient(rgba(255, 255, 255, .62), rgba(255, 255, 255, .5)) padding-box,
    linear-gradient(140deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .35) 45%, rgba(159, 232, 245, .7)) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: blur(28px) saturate(200%); backdrop-filter: blur(28px) saturate(200%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 30px 60px -24px rgba(25, 40, 110, .45);
}
.nav-menu a:hover { background: rgba(255, 255, 255, .6); }
.nav-menu span { color: var(--body-2); }

/* príklad z projektu na karte služby */
.svc__card .svc__ex { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--blue); }

/* postup: produkt sa stavia spolu s krokmi */
.process__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.process__top .h2 { margin: 0; max-width: 11em; }
.build { flex: 0 1 520px; }
.build svg { display: block; width: 100%; height: auto; overflow: visible; }
.bd { opacity: 0; transform: translateY(-28px); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.bd.b-plan, .bd.b-wire, .bd.b-link { transform: none; }
.bd.on { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.bd.b-top.on { filter: drop-shadow(0 10px 18px rgba(36, 71, 245, .35)); }
@media (max-width: 900px) {
  .process__top { flex-direction: column; align-items: flex-start; }
  .build { width: 100%; max-width: 460px; align-self: center; flex: none; }
}

/* referencie: točiace sa projekty */
.refs-sec { padding: var(--space-6) 0; overflow: hidden; }
.refs { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-3); transform: translateX(calc(var(--ref, 0) * -1 * (min(560px, 82vw) + var(--space-3)))); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.ref { flex: 0 0 min(560px, 82vw); opacity: .55; transform: scale(.96); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.ref.is-active { opacity: 1; transform: none; }
.ref__card { width: 100%; height: 100%; padding: 12px 12px var(--space-3); display: flex; flex-direction: column; gap: var(--space-3); text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: box-shadow .3s ease, transform .3s ease; }
.ref__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.ref__card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.ref__logo { display: flex; align-items: center; justify-content: center; height: 200px; border-radius: 12px; background: linear-gradient(135deg, var(--paper), #EEF3FF); overflow: hidden; }
.ref__logo img { width: 72%; height: auto; }
.ref__logo--dark { background: #000; }
.ref__logo--dark img { width: 86%; }
.ref__word { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.ref__word b { font-weight: 700; color: var(--blue); }
.ref__text { display: block; padding: 0 12px; }
.ref__name { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.ref__tease { display: block; margin-top: 4px; color: var(--body-2); }
.ref__more { padding: 0 12px; font-weight: 600; color: var(--blue); }
.ref-dots { display: flex; gap: 10px; margin-top: var(--space-4); }
.ref-dot { position: relative; width: 56px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(17, 18, 20, .1); cursor: pointer; overflow: hidden; }
.ref-dot::before { content: ""; position: absolute; inset: -10px 0; }
.ref-dot i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); transform: scaleX(0); transform-origin: left center; }
.ref-dot.is-done i { transform: scaleX(1); }
.ref-dot.is-active i { animation: stepfill var(--ref-dur, 4.5s) linear forwards; }
.ref-dots.is-paused .ref-dot.is-active i { animation-play-state: paused; }
.ref-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: var(--space-4); border-radius: 24px; color: var(--ink); background: rgba(255, 255, 255, .78); }
.ref-modal[open] { animation: refin .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes refin { from { opacity: 0; transform: translateY(12px); } }
.ref-modal::backdrop { background: rgba(10, 15, 30, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ref-modal .ref__logo { height: 160px; margin-bottom: var(--space-3); }
.ref-modal .h3 { margin: 0 0 var(--space-2); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.ref-modal p { margin: 0 0 var(--space-2); color: var(--body-2); }
.ref-modal .btn { margin-top: var(--space-2); }
.ref__stat strong { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-right: 6px; }
.ref-modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(17, 18, 20, .1); background: rgba(255, 255, 255, .8); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.ref-modal__close:hover { background: var(--ink); color: var(--white); }

/* odvetvia: tlačidlo vždy rovnako pod textom */
.ind-panel p { margin-bottom: var(--space-4); }
.ind-panels { min-height: 360px; }
.ind-tabs { gap: 10px; }
.ind-tab { min-height: 64px; }

@media (prefers-reduced-motion: reduce) {
  .bd, .refs, .ref { transition: none !important; }
  .ref-dot.is-active i { animation: none !important; transform: scaleX(1); }
}
.process__top .h2 { flex: 1 1 360px; max-width: 12em; }
.ind-panel { justify-content: center; }
.ind-panel p { min-height: 6.4em; }
@media (max-width: 900px) { .ind-panel p { min-height: 0; } }
.process .build svg { min-width: 0; }
@media (max-width: 900px) {
  .ind-panels { min-height: 420px; }
  .ind-panel { justify-content: flex-start; }
  .ind-panel h3 { font-size: 28px; }
}
@media (max-width: 520px) { .ind-panels { min-height: 470px; } }
@media (max-width: 900px) { .process__top .h2 { flex: none; } .process__top { gap: var(--space-2); } }


/* ---------- freescope (pripravujeme): sklenený krúžok vpravo dole a sklenený panel ---------- */
.devai { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.devai__orb {
  position: relative; width: 64px; height: 64px; padding: 9px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 36px -16px rgba(25, 40, 110, .55);
  animation: orb-float 5s ease-in-out infinite;
}
.devai__orb svg { display: block; width: 100%; height: 100%; }
.devai__orb:hover, .devai__orb[aria-expanded="true"] { animation-play-state: paused; }
.devai__hint {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap;
  padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -12px rgba(25, 40, 110, .45);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.devai__orb:hover .devai__hint, .devai__orb:focus-visible .devai__hint { opacity: 1; }
@keyframes orb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.devai__panel {
  position: relative; width: min(460px, calc(100vw - 32px)); max-height: min(660px, calc(100vh - 190px)); overflow: auto; overscroll-behavior: contain;
  padding: 26px 26px 24px; border-radius: 26px; color: var(--ink);
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .6));
  -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 30px 70px -28px rgba(25, 40, 110, .5);
}
.devai__panel[hidden] { display: none; }
.devai__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.devai__close:hover { background: rgba(255, 255, 255, .8); color: var(--ink); }
.devai__head { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding-right: 36px; }
.devai__logo { width: 48px; height: 48px; flex: none; }
.devai__title { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; outline: none; }
.devai__soon { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--blue); }
.devai__lead { margin: 0 0 20px; color: var(--body-2); line-height: 1.55; }
.devai__h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.devai__list { display: grid; gap: 10px; margin: 0 0 18px; }
.devai__list section { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9); }
.devai__list h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.devai__list p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.devai__note { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 520px) {
  .devai { right: 14px; bottom: 14px; }
  .devai__orb { width: 56px; height: 56px; padding: 8px; }
  .devai__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .devai__orb { animation: none; } }

/* freescope AI: prihlásenie na novinky o spustení */
.fs-signup { display: grid; gap: 10px; margin: 0 0 4px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); }
.fs-signup h3 { margin: 0; font-size: 17px; font-weight: 600; }
.fs-signup p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.fs-signup .field { width: 100%; }
.fs-signup__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.fs-signup__consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.fs-signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fs-signup__msg { margin: 0; font-size: 14px; font-weight: 600; }
.fs-signup__msg--ok { color: #0B6B5F; }
.fs-signup__msg--err { color: #A11C1C; }
.fs-signup .btn { justify-self: start; }

/* Niečo iné: ten istý gradient, iný uhol */
.svc__other .mesh--flat { top: -30%; bottom: -30%; transform: rotate(-14deg) scale(1.3); transform-origin: center; background: linear-gradient(115deg, #2447F5 0%, #1FB8E8 55%, #14B8A6 100%); }
.svc__other .mesh--flat .blob { top: 20%; }

/* ---------- Karty služieb sú celé klikateľné ---------- */
.svc__track { display: contents; }
a.svc__card { color: inherit; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
a.svc__card:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-float); }
a.svc__card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Mobil: statické obrázky, vodorovné pásy kariet ---------- */
@media (max-width: 760px) {
  /* bez animácií: ilustrácie hneď v hotovom stave */
  .js [data-anim] .drop, .js [data-anim] .guides, .js [data-anim] .a { opacity: 1 !important; animation: none !important; }
  .js [data-anim] .ink, .js [data-anim] .d { stroke-dashoffset: 0 !important; animation: none !important; }
  .lift { transition: none; }

  /* hero: bez štítku termínu a bez ukážky systému */
  .hero .pill, .hero .pm { display: none; }
  .hero__title { margin-top: 0; }
  .hero { padding-bottom: var(--space-6); }

  /* spoločný vodorovný pás */
  .svc__track, .steps, .ind-panels {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .svc__track::-webkit-scrollbar, .steps::-webkit-scrollbar, .ind-panels::-webkit-scrollbar { display: none; }

  /* Čo programujeme */
  .svc { display: block; }
  .svc__track > .svc__card { flex: 0 0 82%; scroll-snap-align: start; }
  .svc__card--wide { flex-direction: column; align-items: stretch; gap: 0; }
  .svc__card--wide h3 { font-size: var(--fs-h3); }
  .svc__card--wide .svc__ill { margin: 0 0 var(--space-3); }
  .svc__card--wide .btn { margin-top: var(--space-2); align-self: flex-start; }
  .svc__card p { font-size: 15px; }
  .svc__other { margin-top: var(--space-3); min-height: 0; }
  .svc__other .glass { margin: 12px; padding: var(--space-3); }

  /* Od prvého stretnutia po spustenie */
  .process-sec { padding: 72px 0; }
  .process { padding: var(--space-3) 0 var(--space-2); overflow: visible; }
  .process__top { padding: 0 var(--space-3); }
  .steps { margin: 0; padding: 12px var(--space-3) 18px; }
  .step { flex: 0 0 68%; min-height: 104px; scroll-snap-align: start; justify-content: flex-end; }
  /* stavba produktu: na mobile hotová a statická */
  .build { max-width: 320px; margin: 0 auto; }
  .process .build svg { min-width: 0; }
  .bd { opacity: 1 !important; transform: none !important; transition: none; }

  /* Pre koho najčastejšie vyvíjame: karty vedľa seba */
  .ind-tabs { display: none; }
  .industries { display: block; }
  .industries__main { padding: 0; background: none; width: 100%; min-width: 0; }
  .industries__main > .ind-panels { padding: 4px var(--gutter) 18px; min-height: 0; height: auto; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow-x: auto; }
  .ind-panel {
    position: relative; inset: auto; flex: 0 0 82%; scroll-snap-align: start; opacity: 1; visibility: visible; transform: none;
    padding: var(--space-3); border-radius: 18px; background: rgba(10, 15, 30, .78);
    border: 1px solid rgba(159, 232, 245, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  }
  .ind-panel h3 { font-size: 24px; }
  .ind-panel p { font-size: 15px; margin-bottom: var(--space-3); }
  .ind-panel .btn { margin-top: auto; }

  /* Rezervácia zaberie minútku */
  .book { padding: 10px; border-radius: 22px; }
  .book .glass { padding: 20px; border-radius: 16px; }
  .book__title { font-size: 20px; }
  .slots__slot { min-height: 50px; padding: 0 16px; font-size: 15px; }
  .book .btn { width: 100%; justify-content: center; }
  .checks li { font-size: 16px; }

  /* záverečný pás: väčšia karta, e-mail má dosť miesta */
  .cta-band { padding: 96px 0; }
  .cta-band__card { padding: var(--space-4) 18px; }
  .cta-band__card .h2 { font-size: 32px; }
  .email-form .btn { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .svc__track, .steps, .ind-panels { scroll-behavior: smooth; }
}

/* Pás s projektmi: aktívny projekt aj ukazovateľ na stred */
.refs { padding-left: max(0px, calc((100% - min(560px, 82vw)) / 2)); }
.ref-dots { justify-content: center; }

/* Jedno plávajúce sklenené tlačidlo na sekciu (iba mobil) */
.float-cta { display: none; }
@media (max-width: 760px) {
  .svc__card--wide .btn, .svc__other, .ind-panel .btn { display: none; }
  .float-cta {
    position: relative; z-index: 2; display: flex; width: fit-content; align-items: center; gap: 8px;
    margin: 14px auto 0; padding: 14px 24px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none;
    color: var(--white); background: var(--ink); border: 1px solid var(--ink);
    box-shadow: 0 18px 40px -18px rgba(17, 18, 20, .55);
  }
  .float-cta:hover, .float-cta:active { color: var(--white); background: #2A2C31; }
  /* na tmavom pozadí biele */
  .float-cta--dark { color: var(--ink); background: var(--white); border-color: var(--white); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
  .float-cta--dark:hover, .float-cta--dark:active { color: var(--ink); background: #E9EDF5; }
  .ind-panel p { margin-bottom: 0; }
}

/* ---------- Výkon ---------- */
/* Gradientové pásy mimo obrazovky nehýbu (triedu .is-off pridáva anim.js) */
.mesh.is-off .blob, .mesh.is-off .wave, .mesh.is-off .sheen { animation-play-state: paused; }

/* Mobil: rovnaký vzhľad, ale bez drahých efektov (rozmazanie, prelínanie, nekonečné animácie) */
@media (max-width: 760px) {
  .blob { animation: none !important; filter: none; }
  .b1 { background: radial-gradient(closest-side, #3D5CFF, rgba(61, 92, 255, 0)); }
  .b2 { background: radial-gradient(closest-side, #4FE3F5, rgba(79, 227, 245, 0)); }
  .b3 { background: radial-gradient(closest-side, #A9BDFF, rgba(169, 189, 255, 0)); }
  .b4 { background: radial-gradient(closest-side, #2DD4BF, rgba(45, 212, 191, 0)); }
  .b5 { background: radial-gradient(closest-side, #DCE4FF, rgba(220, 228, 255, 0)); }
  .waves, .sheen { display: none; }
  .hero__title { mix-blend-mode: normal; }
  .glow { filter: none; }
  .glow--blue { background: radial-gradient(closest-side, rgba(36, 71, 245, .9), rgba(36, 71, 245, 0)); }
  .glow--teal { background: radial-gradient(closest-side, rgba(20, 184, 166, .9), rgba(20, 184, 166, 0)); }
  .glass, .g-card, .ind-tab, .industries__main > div, .pill { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header > .container::before { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(255, 255, 255, .86); }
  .site-header--on-color > .container::before { background: rgba(17, 18, 20, .4); }
  .devai__orb { animation: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .85); }
  .logo__cursor { animation: none; }
}

/* Navigácia zmizne, keď je na obrazovke rezervačný kalendár (triedu .is-hidden pridáva anim.js) */
.site-header { transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
.site-header.is-hidden { transform: translateY(-140%); opacity: 0; pointer-events: none; }

/* Stránka rezervácie: bez navigácie, iba logo, ktoré odroluje s obsahom */
.site-header--minimal { position: absolute; left: 0; right: 0; }
.site-header--minimal .site-nav, .site-header--minimal .site-header__actions { display: none; }
.site-header--minimal > .container::before { display: none; }
.site-header--minimal + main .hero { margin-top: 0; }

/* Mobil: gradient v hero bez šikmého okraja, vyplní celú sekciu */
@media (max-width: 760px) {
  .hero > .mesh { top: 0; bottom: 0; height: auto; transform: none; }
  .hero .lead { color: var(--ink); }
  .hero > .mesh::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .2); }
}

/* ---------- Hero: hodvábne vlny (3 vrstvy, pomaly sa vlnia) ----------
   Rytmus ako zvyšok stránky: nástup s krivkou .rise, potom pomalé ease-in-out
   pohyby 14–21 s tam a späť (ako .blob) a odlesk každých 11 s (ako .sheen). */
.silk { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  opacity: 0; animation: silkIn 1.8s cubic-bezier(.2, .8, .2, 1) .15s forwards; }
.hero > .silk { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 78%, transparent 100%); }
.silk__l { position: absolute; top: -5%; right: -2%; width: max(100%, 1440px); height: auto; display: block; transform-origin: 62% 0; will-change: transform; }
.silk__l1 { animation: silkSway1 17s ease-in-out infinite alternate; }
.silk__l2 { animation: silkSway2 21s ease-in-out infinite alternate; }
.silk__l3 { animation: silkSway3 14s ease-in-out infinite alternate; }
.silk__sheen { position: absolute; top: -10%; bottom: -10%; left: -40%; width: 40%; filter: blur(30px);
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 70%, transparent 100%);
  animation: silkSheen 11s cubic-bezier(.4, 0, .2, 1) 2s infinite; }
.silk.is-paused .silk__l, .silk.is-paused .silk__sheen { animation-play-state: paused; }
@keyframes silkIn { from { opacity: 0; transform: translate(40px, -30px); } to { opacity: 1; transform: none; } }
@keyframes silkSway1 { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-28px, 16px) rotate(-1.4deg) scale(1.03); } }
@keyframes silkSway2 { from { transform: translate(14px, -8px) rotate(.5deg); } to { transform: translate(-20px, 24px) rotate(-.9deg) scale(1.025); } }
@keyframes silkSway3 { from { transform: translate(-6px, 0) rotate(.8deg) scale(1.02); } to { transform: translate(24px, 12px) rotate(-1deg) scale(1.045); } }
@keyframes silkSheen { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(400%); } }
.hero .hero__title { mix-blend-mode: normal; }
.hero .pill { color: var(--blue); background: rgba(36, 71, 245, .07); border-color: rgba(36, 71, 245, .18); box-shadow: none; }
.hero .pill:hover { color: var(--blue-dark); background: rgba(36, 71, 245, .12); }
@media (max-width: 760px) {
  .silk { bottom: auto; height: 300px; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 100%); }
  .silk__l { width: 167%; opacity: .85; }
}
@media (prefers-reduced-motion: reduce) {
  .silk { animation: none; opacity: 1; }
  .silk__l, .silk__sheen { animation: none !important; }
  .silk__sheen { display: none; }
}

/* ---------- Logo (znak + nápis, SVG) ---------- */
.logo--img { display: inline-flex; align-items: center; line-height: 0; }
.logo--img img { height: 24px; width: auto; display: block; }
.site-footer__brand .logo--img img { height: 24px; }
@media (max-width: 760px) { .site-header .logo--img img { height: 22px; } }

/* ---------- Hero: ukážky systémov na tablete a mobile (karusel) ----------
   Plátno 700 × 520 (zmenšuje ho --pm-s z anim.js). Štyri obrazovky, každá s vlastným
   písmom, rozložením a farbami. Prepínanie je posun do strany, výška sa nemení. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.pm { flex: 1.1 1 460px; }
.pm__stage { left: -14px; top: -8px; width: 714px; height: 500px; }
.tab { position: absolute; top: 16px; left: 8px; width: 500px; padding: 12px; border-radius: 26px; background: rgba(255, 255, 255, .34); }
.tab__screen { position: relative; overflow: hidden; border-radius: 16px; background: #FFFFFF; height: 372px; }
.tab__track, .ph__track { display: flex; height: 100%; transform: translateX(calc(var(--i, 0) * -100%)); transition: transform .75s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.pm.is-dragging .tab__track, .pm.is-dragging .ph__track { transition: none; }
.scr { flex: 0 0 100%; width: 100%; height: 100%; box-sizing: border-box; color: var(--ink); overflow: hidden; }

/* 1 · Predaj bytov: dostupnosť, pôdorys, AI odpoveď (Archivo) */
.scr--dev { display: grid; grid-template-columns: 1.05fr 1fr; font-family: "Archivo", var(--font-sans); background: #FFFFFF; }
.re__left { padding: 16px 16px 14px; background: #F3F6FD; border-right: 1px solid #E3E8F3; display: flex; flex-direction: column; }
.re__proj { margin: 0 0 10px; font-weight: 700; font-size: 13px; }
.re__proj span { font-weight: 500; color: var(--muted); }
.re__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.re__grid i { height: 26px; border-radius: 5px; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: -0.01em; }
.re__grid .is-sold, .re__legend .is-sold { background: #E3E8F3; color: #8A94A8; }
.re__grid .is-res, .re__legend .is-res { background: #DCE6FF; color: #1B36D6; }
.re__grid .is-free, .re__legend .is-free { background: #FFFFFF; color: #2447F5; box-shadow: inset 0 0 0 1.5px #2447F5; }
.re__grid .is-this { background: #2447F5; color: #FFFFFF; box-shadow: 0 6px 14px -6px #2447F5; }
.re__legend { margin: 8px 0 0; display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); }
.re__legend i { width: 10px; height: 10px; border-radius: 3px; margin-right: -5px; }
.re__unit { margin-top: auto; display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; background: #FFFFFF; }
.re__plan { display: block; width: 100%; height: auto; }
.re__plan rect, .re__plan path { fill: none; stroke: #2B3A5C; stroke-width: 1.4; }
.re__plan .re__balc { fill: rgba(36, 71, 245, .12); stroke: #2447F5; }
.re__plan .re__door { stroke: #2447F5; }
.re__name { margin: 0; font-weight: 700; font-size: 12.5px; }
.re__spec { margin: 2px 0 4px; font-size: 10.5px; color: var(--muted); }
.re__price { margin: 0; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.re__price small { margin-left: 5px; font-size: 10px; font-weight: 500; color: var(--muted); }
.re__right { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.re__src { margin: 0; font-size: 10.5px; color: var(--muted); }
.re__q { margin: 0; font-weight: 600; font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; }
.re__ans { padding: 10px 12px; border-left: 2px solid #2447F5; background: linear-gradient(90deg, rgba(36, 71, 245, .06), rgba(36, 71, 245, 0)); }
.re__meta { margin: 0 0 5px; font-size: 10.5px; font-weight: 600; color: #2447F5; }
.re__ans p { margin: 0 0 5px; font-size: 11.5px; line-height: 1.45; color: var(--body-2); }
.re__ans p:last-child { margin: 0; }
.re__stat { margin: auto 0 0; padding-top: 8px; border-top: 1px solid #E3E8F3; font-size: 11px; color: var(--muted); }
.re__stat b { color: var(--ink); font-weight: 700; }

/* 2 · Dispečing: tmavý, mono, mapa */
.scr--serv { display: flex; flex-direction: column; background: #0A0F1E; color: #E8EEFF; font-family: "Archivo", var(--font-sans); font-stretch: 80%; }
.dsp__head { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 11px; letter-spacing: .08em; }
.dsp__t { font-weight: 700; }
.dsp__d { color: rgba(232, 238, 255, .55); }
.dsp__live { margin-left: auto; padding: 4px 9px; border-radius: 4px; color: #1FB8E8; border: 1px solid rgba(31, 184, 232, .4); font-weight: 700; }
.dsp__body { flex: 1; display: grid; grid-template-columns: 1fr 184px; }
.dsp__map { position: relative; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; }
.dsp__map::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 35% 42%, rgba(31, 184, 232, .14), transparent 70%); }
.dsp__pin { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #121A33; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.dsp__pin b { font-family: var(--font-mono); font-size: 9px; font-weight: 800; color: #FFFFFF; }
.dsp__job { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #1FB8E8; box-shadow: 0 0 0 6px rgba(31, 184, 232, .25), 0 0 0 14px rgba(31, 184, 232, .08); }
.dsp__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.dsp__route path { fill: none; stroke: #1FB8E8; stroke-width: .8; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; }
.dsp__panel { padding: 16px 16px 14px; border-left: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; }
.dsp__num { margin: 0; font-family: var(--font-mono); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: #1FB8E8; }
.dsp__title { margin: 2px 0 14px; font-size: 12.5px; line-height: 1.3; }
.dsp__row { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 11px; color: rgba(232, 238, 255, .6); }
.dsp__row b { color: #FFFFFF; font-weight: 600; text-align: right; }
.dsp__steps { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.dsp__steps i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); font-size: 0; }
.dsp__steps i.is-on { background: #1FB8E8; }

/* 3 · Report: pergamenové pozadie, pätkové písmo */
.scr--fin { display: flex; flex-direction: column; padding: 20px 24px 14px; background: #F8F6F1; font-family: ui-serif, Georgia, "Times New Roman", serif; color: #1E2230; }
.rep__kicker { margin: 0; font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #6B7280; }
.rep__title { margin: 2px 0 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.rep__body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.rep__val { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.rep__delta { margin: 6px 0 10px; font-family: var(--font-sans); font-size: 11px; color: #0E8F84; }
.rep__line { display: block; width: 100%; height: auto; }
.rep__tbl { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 12px; }
.rep__tbl th { text-align: left; font-weight: 500; font-size: 10.5px; color: #6B7280; padding: 0 0 6px; border-bottom: 1px solid #1E2230; }
.rep__tbl td { padding: 7px 0; border-bottom: 1px solid #E4E0D6; }
.rep__tbl td:first-child { font-family: ui-serif, Georgia, serif; font-size: 13px; }
.rep__tbl .up { color: #0E8F84; }
.rep__foot { margin: 8px 0 0; font-family: var(--font-sans); font-size: 10.5px; color: #6B7280; }

/* 4 · Klientsky portál: ľavá lišta, stav zákazky, dokumenty na schválenie */
.scr--portal { display: grid; grid-template-columns: 52px 1fr; background: #F6F7FA; font-family: var(--font-sans); }
.pt__rail { background: #111827; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 16px; }
.pt__logo { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #2447F5, #14B8A6); margin-bottom: 10px; }
.pt__rail i { width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .14); }
.pt__rail i.is-on { background: #FFFFFF; }
.pt__main { padding: 16px 18px 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pt__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pt__title { margin: 0; font-weight: 600; font-size: 15px; }
.pt__sub { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); }
.pt__badge { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: rgba(20, 184, 166, .14); color: #0E8F84; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pt__progress { height: 6px; border-radius: 3px; background: #E3E8F3; overflow: hidden; }
.pt__progress i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #2447F5, #14B8A6); }
.pt__cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.pt__box { padding: 11px 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E3E8F3; min-width: 0; }
.pt__lbl { margin: 0 0 8px; font-size: 11px; color: var(--muted); }
.pt__doc { display: grid; grid-template-columns: 26px 1fr auto; gap: 9px; align-items: center; padding: 8px 0; border-top: 1px solid #EEF1F7; }
.pt__doc:first-of-type { border-top: 0; padding-top: 0; }
.pt__ico { width: 24px; height: 28px; border-radius: 4px; background: #EEF2FF; border: 1px solid #C9D6FF; position: relative; }
.pt__ico::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 2px; background: #2447F5; box-shadow: 0 5px 0 #C9D6FF, 0 10px 0 #C9D6FF; }
.pt__ico--pdf { background: #FFF1F0; border-color: #F5C2BD; }
.pt__ico--pdf::after { background: #D64545; box-shadow: 0 5px 0 #F5C2BD, 0 10px 0 #F5C2BD; }
.pt__doc > div { min-width: 0; }
.pt__doc b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt__doc em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); }
.pt__act { padding: 6px 10px; border-radius: 7px; background: var(--ink); color: #FFFFFF; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pt__act--ok { background: rgba(20, 184, 166, .14); color: #0E8F84; }
.pt__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12px; }
.pt__steps li { position: relative; padding-left: 18px; color: var(--muted); }
.pt__steps li::before { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #C9D3EA; box-sizing: border-box; }
.pt__steps li.is-done { color: var(--ink); }
.pt__steps li.is-done::before { background: #14B8A6; border-color: #14B8A6; }
.pt__steps li.is-now { color: var(--ink); font-weight: 600; }
.pt__steps li.is-now::before { background: #2447F5; border-color: #2447F5; box-shadow: 0 0 0 3px rgba(36, 71, 245, .18); }
.pt__foot { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--muted); }

/* mobil: spoločník každej obrazovky */
.ph { position: absolute; top: 96px; left: 492px; width: 196px; padding: 8px; border-radius: 32px; background: rgba(255, 255, 255, .3); }
.ph__screen { position: relative; overflow: hidden; height: 380px; border-radius: 26px; background: #FFFFFF; }
.ph__notch { position: absolute; top: 9px; left: 50%; width: 54px; height: 5px; margin-left: -27px; border-radius: 3px; background: var(--line); z-index: 2; }
.pscr { flex: 0 0 100%; width: 100%; height: 100%; padding: 30px 14px 14px; box-sizing: border-box; display: flex; flex-direction: column; }
.pscr--dev { font-family: "Archivo", var(--font-sans); gap: 6px; }
.pob__t { margin: 0; font-weight: 700; font-size: 14px; }
.pob__sub { margin: 0 0 6px; font-size: 10.5px; color: var(--muted); }
.pob__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pob__list li { display: grid; grid-template-columns: 36px 1fr 10px; gap: 8px; align-items: center; padding: 8px 9px; border-radius: 10px; background: #FFFFFF; border: 1px solid #E3E8F3; }
.pob__list time { font-size: 12px; font-weight: 700; color: #2447F5; }
.pob__list b { display: block; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pob__list em { display: block; font-style: normal; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pob__list i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #C9D3EA; box-sizing: border-box; }
.pob__list i.is-ok { background: #14B8A6; border-color: #14B8A6; }
.pob__note { margin: auto 0 0; font-size: 10.5px; color: var(--muted); text-align: center; }
.pscr--serv { background: #0A0F1E; color: #E8EEFF; font-family: "Archivo", var(--font-sans); font-stretch: 80%; }
.pdsp__num { margin: 0; font-family: var(--font-mono); font-size: 13px; font-weight: 800; color: #1FB8E8; }
.pdsp__t { margin: 4px 0 0; font-size: 17px; font-weight: 700; }
.pdsp__addr { margin: 2px 0 0; font-size: 11px; color: rgba(232, 238, 255, .6); }
.pdsp__eta { margin: auto 0 0; font-family: var(--font-mono); font-size: 58px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.pdsp__eta small { font-size: 14px; letter-spacing: 0; margin-left: 6px; color: #1FB8E8; }
.pdsp__lbl { margin: 4px 0 14px; font-size: 10.5px; color: rgba(232, 238, 255, .6); }
.pdsp__btn { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 8px; background: #1FB8E8; color: #0A0F1E; font-size: 12.5px; font-weight: 700; }
.pscr--fin { background: #F8F6F1; color: #1E2230; font-family: ui-serif, Georgia, serif; }
.prep__k { margin: 0; font-family: var(--font-sans); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #6B7280; }
.prep__val { margin: 6px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.prep__d { margin: 2px 0 8px; font-family: var(--font-sans); font-size: 11px; color: #0E8F84; }
.prep__line { display: block; width: 100%; height: auto; margin-bottom: 10px; }
.prep__row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #E4E0D6; font-size: 12px; }
.prep__row b { font-family: var(--font-sans); font-weight: 600; }
.prep__btn { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 8px; background: #1E2230; color: #FFFFFF; font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; }
.pscr--portal { background: #F6F7FA; gap: 6px; }
.ppt__k { margin: 0; font-size: 10px; font-weight: 600; color: var(--muted); }
.ppt__t { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.ppt__sum, .ppt__total { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #E3E8F3; font-size: 11.5px; }
.ppt__sum b { font-weight: 600; }
.ppt__total { border-top: 1.5px solid var(--ink); font-weight: 600; font-size: 12.5px; }
.ppt__sign { margin-top: 4px; padding: 6px 10px 4px; border-radius: 10px; border: 1px dashed rgba(17, 18, 20, .25); background: #FFFFFF; }
.ppt__sign svg { display: block; width: 100%; height: 30px; }
.ppt__sign span { display: block; font-size: 10px; color: var(--muted); text-align: right; }
.ppt__btn { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 9px; background: #2447F5; color: #FFFFFF; font-size: 12.5px; font-weight: 600; }

/* prepínanie: štyri bodky pod tabletom, aktívna sa plní podľa času */
.show__nav { position: absolute; left: 22px; top: 448px; display: flex; gap: 8px; }
.show__dot { position: relative; width: 28px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(17, 18, 20, .12); cursor: pointer; overflow: hidden; transition: background-color .25s ease; }
.show__dot::before { content: ""; position: absolute; inset: -10px 0; }
.show__dot i { position: absolute; inset: 0; }
.show__dot i::after { content: ""; display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left center; }
.show__dot.is-active { background: rgba(36, 71, 245, .18); }
.show__dot.is-active i::after { animation: stepfill var(--show-dur, 6s) linear forwards; }
.pm.is-paused .show__dot.is-active i::after { animation-play-state: paused; }
.pm:not(.is-dragging) .tab__screen, .pm:not(.is-dragging) .ph__screen { cursor: grab; }
.pm.is-dragging .tab__screen, .pm.is-dragging .ph__screen { cursor: grabbing; }
.tab__screen, .ph__screen { touch-action: pan-y; user-select: none; -webkit-user-select: none; }

@media (min-width: 761px) {
  .pm { height: calc(500px * var(--pm-s, 1)); }
  .pm__canvas { width: 700px; height: 500px; }
}
@media (max-width: 760px) {
  /* mobil: iba telefón v skutočnej veľkosti, pod ním prepínanie */
  .hero .pm { display: block; height: auto; margin-top: var(--space-2); }
  .pm__canvas { position: relative; width: auto; height: auto; transform: none; }
  .pm__stage, .tab { display: none; }
  .ph { position: relative; top: 0; left: auto; width: 220px; margin: 0 auto; }
  .ph__screen { height: 400px; }
  .show__nav { position: relative; left: 0; top: 0; margin: 14px auto 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tab__track, .ph__track { transition: none; }
  .show__dot.is-active i::after { animation: none; transform: scaleX(1); }
}

/* ---------- Hodvábne vlny ako pozadie sekcií (Postup, Rezervácia, záverečný pás) ----------
   Rovnaké vrstvy ako v hero na modrom gradiente, bez pohybu. */
.silk-band { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: linear-gradient(120deg, #1B36D6 0%, #2447F5 45%, #1FB8E8 100%); }
.silk-band img { position: absolute; left: 50%; top: 50%; width: max(120%, 1600px); height: auto; transform: translate(-50%, -50%) rotate(180deg) scaleX(-1); opacity: .95; }
.silk-band--process img { transform: translate(-42%, -46%) rotate(166deg); }
.silk-band--cta img { transform: translate(-50%, -50%) rotate(180deg) scaleX(-1); }
.silk-band--book { border-radius: 24px; }
.silk-band--book img { width: 1100px; opacity: 1; transform: translate(-50%, -52%) rotate(196deg) scaleX(-1); }
.process-sec { background: #1FB8E8; }
.process { background: rgba(255, 255, 255, .62); }
.cta-band { padding: 140px 0; }
@media (max-width: 760px) { .silk-band img { width: 1200px; } }

/* ---------- Rezervácia: dva najbližšie termíny ako sklené bubliny ---------- */
.book--v2 { padding: var(--space-4) var(--space-4) var(--space-4) var(--space-3); min-height: 380px; display: flex; align-items: center; }
.book__inner { position: relative; width: 100%; display: grid; gap: 12px; }
.book--v2 .book__title { color: #FFFFFF; margin: 0 0 4px 12px; font-size: 16px; font-weight: 600; letter-spacing: .01em; text-shadow: 0 1px 12px rgba(10, 15, 30, .25); }
.slots__list--bubbles { display: grid; gap: 12px; margin: 0; }
.bubble { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "date arr" "time arr"; column-gap: 12px; align-items: center; padding: 14px 18px 14px 20px; border-radius: 22px; color: var(--ink); text-decoration: none;
  background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #FFFFFF, 0 24px 48px -24px rgba(10, 15, 30, .45);
  transition: background-color .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.bubble:hover { background: rgba(255, 255, 255, .86); transform: translateX(6px); color: var(--ink); }
.bubble .arr { grid-area: arr; font-size: 22px; line-height: 1; transition: transform .2s ease; }
.bubble:hover .arr { transform: translateX(3px); }
.bubble__date { grid-area: date; font-size: 13px; color: var(--muted); }
.bubble__time { grid-area: time; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.bubble__time small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.slots__list--bubbles li:nth-child(2) .bubble { margin-left: 28px; }
.bubble--all { margin-left: 56px; grid-template-areas: "date arr" "meta arr"; background: rgba(17, 18, 20, .82); color: #FFFFFF; border-color: rgba(255, 255, 255, .25); }
.bubble--all > span:first-child { grid-area: date; font-size: 17px; font-weight: 600; color: #FFFFFF; }
.bubble__meta { grid-area: meta; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.bubble--all:hover { background: var(--ink); color: #FFFFFF; }
.bubble--loading { display: block; color: #FFFFFF; background: rgba(255, 255, 255, .2); font-size: 14px; }
.slots__list--bubbles li:not(.bubble) { color: #FFFFFF; }
.slots__list--bubbles li > a:not(.bubble) { color: #FFFFFF; text-decoration: underline; }
.bubble, .bubble:hover, .bubble * { text-decoration: none; }
@media (max-width: 760px) {
  .book--v2 { padding: 18px 14px; min-height: 0; }
  .slots__list--bubbles li:nth-child(2) .bubble, .bubble--all { margin-left: 0; }
  .bubble__time { font-size: 22px; }
}

/* ---------- Podmienky: ikony bez rámčekov ---------- */
.terms > div { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.terms__ico { width: 32px; height: 32px; grid-row: 1 / span 2; margin-top: -3px; }
.terms dt, .terms dd { grid-column: 2; }

/* ---------- Referencie: ťahanie myšou ---------- */
.refs.is-dragging { transition: none; }
.refs.is-dragging .ref { transition: none; }
.ref__card { cursor: grab; }
.refs.is-dragging .ref__card { cursor: grabbing; }
.ref__card img, .ref__card .ref__word { pointer-events: none; user-select: none; -webkit-user-select: none; }

/* ---------- Hero: nadpis a CTA hneď v obraze, text na stred výšky ukážky ---------- */
.hero { padding-top: 104px; padding-bottom: var(--space-6); }
.hero__inner { align-items: center; }
.hero__text { padding-top: 0; }
.hero__title { font-size: clamp(38px, 4.3vw, 60px); margin: 0 0 var(--space-2); }
.hero__lead { margin: 0 0 var(--space-4); }
@media (max-width: 760px) { .hero { padding-top: 96px; } }

/* ---------- Postup: mapa projektu na tmavom pozadí, vlny sa pomaly otáčajú ---------- */
.process-sec { background: #0A0F1E; color: var(--white); padding: 88px 0 36px; overflow: hidden; box-sizing: border-box; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.process-sec > .container { width: 100%; }
.process-sec .h2 { color: var(--white); }
.process-sec .lead { color: #AEB8D0; }
.process__head { max-width: 640px; margin-bottom: clamp(16px, 3vh, 40px); }
.process-sec .h2 { font-size: clamp(28px, min(3.4vw, 5.2vh), 48px); margin-bottom: 8px; }
.process-sec .lead { font-size: clamp(15px, 2.1vh, 19px); margin: 0; }
/* pozadie: tmavé, s jemnými statickými vlnami (iný vzor než v hero) a mäkkou žiarou */
.dusk { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dusk::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 60% at 78% 18%, rgba(36, 71, 245, .22), transparent 70%), radial-gradient(40% 45% at 12% 85%, rgba(20, 184, 166, .14), transparent 70%); }
.dusk img { position: absolute; right: -12%; top: -18%; width: 78%; height: auto; opacity: .55;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000 30%, transparent 100%); mask-image: radial-gradient(60% 60% at 50% 45%, #000 30%, transparent 100%); }
.dusk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 30, .2), transparent 30%, transparent 70%, rgba(10, 15, 30, .35)); }
.map { position: relative; }
.map__route { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: var(--route-h, 120px); margin-top: calc(var(--route-h, 120px) / -2); overflow: visible; }
.map { --route-h: clamp(84px, 13vh, 130px); --pin-h: clamp(24px, 4vh, 40px); }
.map__path { fill: none; stroke: url(#mapG); stroke-width: 2; stroke-linecap: round; }
.map__path--glow { stroke-width: 14; opacity: .18; filter: blur(6px); }
.map__path.d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .map__path.d { animation: draw 2.4s cubic-bezier(.6, 0, .3, 1) .2s forwards; }
.map__node { fill: #0A0F1E; stroke: #FFFFFF; stroke-width: 2; }
.map__stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 1fr var(--route-h, 120px) 1fr; column-gap: 12px; }
.map__stop { position: relative; display: flex; }
.map__stop:nth-child(odd) { grid-row: 1; align-items: flex-end; padding-bottom: var(--pin-h); }
.map__stop:nth-child(even) { grid-row: 3; align-items: flex-start; padding-top: var(--pin-h); }
.map__stop--1 { grid-column: 1; } .map__stop--2 { grid-column: 2; } .map__stop--3 { grid-column: 3; } .map__stop--4 { grid-column: 4; } .map__stop--5 { grid-column: 5; } .map__stop--6 { grid-column: 6; }
/* spojnica od karty k bodu na ceste */
.map__pin { position: absolute; left: 50%; width: 1px; background: rgba(255, 255, 255, .35); }
.map__stop:nth-child(odd) .map__pin { bottom: calc(-1 * var(--pin-h)); height: calc(var(--pin-h) + var(--route-h) / 4 - 6px); }
.map__stop:nth-child(even) .map__pin { top: calc(-1 * var(--pin-h)); height: calc(var(--pin-h) + var(--route-h) / 4 - 6px); }
.map__card { width: 100%; padding: clamp(10px, 1.8vh, 16px) 14px clamp(10px, 1.6vh, 14px); border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -40px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background-color .3s ease, border-color .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1); }
.map__card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(159, 232, 245, .5); transform: translateY(-4px); }
.map__card h3 { margin: 0 0 clamp(6px, 1.2vh, 10px); font-size: clamp(13px, 2vh, 16px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.map__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3px, .7vh, 6px); }
.map__card li { position: relative; padding-left: 13px; font-size: clamp(11px, 1.6vh, 13px); line-height: 1.4; color: #C9D2E8; }
.map__card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #4D6BFF, #14B8A6); }
/* karty sa objavia postupne pozdĺž cesty */
.js [data-anim] .map__card { opacity: 0; transform: translateY(14px); }
.js [data-anim].in .map__card { animation: mapIn .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.map__stop--1 .map__card { animation-delay: .3s !important; } .map__stop--2 .map__card { animation-delay: .7s !important; } .map__stop--3 .map__card { animation-delay: 1.1s !important; } .map__stop--4 .map__card { animation-delay: 1.5s !important; } .map__stop--5 .map__card { animation-delay: 1.9s !important; } .map__stop--6 .map__card { animation-delay: 2.3s !important; }
@keyframes mapIn { to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .process-sec { min-height: 0; display: block; }
  .map__route { display: none; }
  .map__stops { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: 14px; }
  .map__stop, .map__stop:nth-child(odd), .map__stop:nth-child(even) { grid-row: auto; grid-column: auto; padding: 0; align-items: stretch; }
  .map__pin { display: none; }
}
@media (max-width: 760px) {
  .process-sec { padding: 72px 0; min-height: 0; display: block; }
  .process__head { margin-bottom: var(--space-4); }
  .map__stops { grid-template-columns: 1fr; gap: 0; }
  .map__stop { padding-left: 24px !important; padding-bottom: 14px !important; }
  .map__stop::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .25); }
  .map__stop:last-child::before { bottom: auto; height: 24px; }
  .map__stop::after { content: ""; position: absolute; left: 2px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: #0A0F1E; border: 2px solid #FFFFFF; box-sizing: border-box; }
  .js [data-anim] .map__card { opacity: 1; transform: none; animation: none !important; }
}
@media (prefers-reduced-motion: reduce) { .js [data-anim] .map__card { opacity: 1; transform: none; animation: none !important; } .in .map__path.d { animation: none; stroke-dashoffset: 0; } }

/* ---------- Referencie: šípky, bez načítavacích pásikov ---------- */
.ref-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: var(--space-4); }
.ref-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.ref-arrow:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ref-dots { margin-top: 0; gap: 8px; }
.ref-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(17, 18, 20, .15); }
.ref-dot i { display: none; }
.ref-dot.is-active { background: var(--blue); }
.ref-dot.is-done { background: rgba(17, 18, 20, .15); }

/* ---------- Odvetvia: celá sekcia na jednu obrazovku ---------- */
#odvetvia.section { padding: 64px 0; }
#odvetvia .section-head { margin-bottom: var(--space-3); }
#odvetvia .h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 8px; }
#odvetvia .lead { margin: 0; }
.ind-panels, .industries__main > .ind-panels { min-height: 300px; padding: var(--space-4); }
.ind-panel { inset: var(--space-4); }
.ind-panel h3 { font-size: 30px; }
.ind-panel p { min-height: 0; margin-bottom: var(--space-3); max-width: 30em; }
.ind-tabs { gap: 8px; }
.ind-tab { min-height: 48px; padding: 12px 20px; }
.ind-tab__title { font-size: 16px; }
.ind-tab__bar { bottom: 8px; }

/* ---------- Podmienky: ikona na riadku s nadpisom ---------- */
.terms > div { display: block; }
.terms dt { display: flex; align-items: center; gap: 10px; }
.terms__ico { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; }
.terms dd { padding-left: 32px; }

/* ---------- Záverečný pás: slogan „napísaný perom“, keď sa pás objaví v obraze ---------- */
.cta-hand { position: absolute; left: 50%; bottom: 36px; width: min(92vw, 1320px); height: auto; transform: translateX(-50%); pointer-events: none; z-index: 1; overflow: visible; }
.hw { fill: rgba(255, 255, 255, 0); stroke: rgba(255, 255, 255, .9); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .hw { animation: hwDraw .55s cubic-bezier(.4, 0, .3, 1) forwards, hwFill .6s ease forwards; animation-delay: var(--d), calc(var(--d) + .4s); }
@keyframes hwDraw { to { stroke-dashoffset: 0; } }
@keyframes hwFill { to { fill: rgba(255, 255, 255, .85); stroke: rgba(255, 255, 255, 0); } }
.cta-band .container { position: relative; z-index: 2; }
@media (max-width: 760px) { .cta-hand { bottom: 18px; width: 94vw; } .hw { stroke-width: 2; } }
@media (prefers-reduced-motion: reduce) { .hw { animation: none !important; fill: rgba(255, 255, 255, .85); stroke: none; } }

/* ---------- Hero vždy presne na výšku obrazovky (desktop aj mobil) ----------
   Nadpis hore pod hlavičkou, e-mail zarovnaný so spodnou hranou tabletu (text je rovnako vysoký
   ako ukážka; tablet končí 100 px nad spodkom plátna 500 px, --pm-s nastavuje anim.js aj na .hero).
   Na nižších obrazovkách sa nadpis zmenší podľa výšky (vh). Na mobile bez ukážky a bez pohybu. */
.hero { box-sizing: border-box; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 112px; padding-bottom: 24px; }
.hero__inner { width: 100%; align-items: stretch; }
.hero__title { font-size: clamp(44px, min(5.2vw, 8.6vh), 68px); margin-top: 0; line-height: .98; letter-spacing: -0.035em; }
.hero__lead { font-size: clamp(16px, 2.3vh, 20px); margin-bottom: clamp(28px, 5vh, 48px); }
.hero .pm { margin-top: 0; }
@media (min-width: 761px) {
  /* nadpis začína na úrovni hornej hrany obrazovky tabletu (28 px plátna), e-mail končí s jej spodnou hranou */
  /* stĺpec textu siaha po spodok mobilu (8 px nad spodkom plátna); e-mail je vycentrovaný medzi podnadpisom a spodkom */
  .hero__text { display: flex; flex-direction: column; padding-top: calc(28px * var(--pm-s, 1) - 0.12em); padding-bottom: calc(8px * var(--pm-s, 1)); }
  /* e-mail je vycentrovaný v priestore medzi podnadpisom a spodkom ukážky */
  .hero__text .email-form { margin-top: auto; margin-bottom: auto; }
}
@media (max-width: 760px) {
  .hero { padding-top: 92px; padding-bottom: 32px; justify-content: center; }
  .hero .pm { display: none; }
  .hero__title { font-size: clamp(32px, min(10vw, 6.5vh), 44px); }
  .silk__l, .silk__sheen { animation: none !important; }
  .silk { animation: none; opacity: 1; }
}

/* hero: širší textový stĺpec, aby nadpis ostal na troch riadkoch a stĺpec nebol vyšší ako ukážka */
@media (min-width: 761px) {
  .hero__text { flex: 1.15 1 460px; }
  .hero .pm { flex: 1.05 1 440px; }
  .hero__lead { margin-bottom: 4px; }
}

/* bez prepínacích čiarok pod ukážkou (prepína sa ťahaním alebo samo) */
.show__nav { display: none; }

/* na vysokých obrazovkách je hero vycentrované; na nízkych vyplní celú výšku a nadpis je hneď pod lištou */
@media (min-width: 761px) { .hero { justify-content: center; } }

/* ---------- Šírka obsahu podľa obrazovky: lišta aj hero rastú s monitorom ----------
   1180 px do 1440 px, potom 82 % šírky okna, najviac 1600 px. */
@media (min-width: 1441px) { :root { --container: min(82vw, 1600px); } .hero__title { font-size: clamp(44px, min(5.2vw, 8.6vh), 96px); } }

/* ---------- Postup v4: rovná čiara, boxy nad a pod ňou, objavia sa, keď k nim čiara príde ---------- */
.process-sec--v3 { position: relative; background: #0A0F1E; color: var(--white); padding: 96px 0 96px; min-height: 0; display: block; overflow: hidden; }
.process-sec--v3 .pbg { position: absolute; inset: 0; pointer-events: none; }
.process-sec--v3 .pbg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 100%); opacity: .5; }
.process-sec--v3 .pbg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(42% 50% at 8% 12%, rgba(36, 71, 245, .28), transparent 70%), radial-gradient(38% 44% at 92% 90%, rgba(20, 184, 166, .16), transparent 70%); }
.process-sec--v3::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(159, 232, 245, .55), transparent); }
.process-sec--v3 .process__head { position: relative; text-align: center; margin: 0 auto 48px; max-width: 640px; }
.process-sec--v3 .h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 10px; }
.process-sec--v3 .lead { font-size: clamp(15px, 1.3vw, 19px); }

/* časovanie: čiara sa kreslí --jd sekúnd od --j0; uzol i je na (i+.5)/6 dĺžky */
.jr { --j0: .2s; --jd: 3s; --row: 84px; --pin: 26px; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto var(--row) auto; column-gap: 12px; }
.jr__line { grid-column: 1 / -1; grid-row: 2; position: relative; align-self: center; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; }
.jr__line i { position: absolute; inset: 0; background: linear-gradient(90deg, #4D6BFF, #1FB8E8 55%, #14B8A6); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 16px rgba(31, 184, 232, .6); border-radius: inherit; }
.in .jr__line i { animation: jrLineX var(--jd) linear var(--j0) forwards; }
.jr__step { display: contents; }
.jr__num { grid-row: 2; grid-column: calc(var(--i) + 1); align-self: center; justify-self: center; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #7D879F; background: #0A0F1E; border: 1px solid rgba(255, 255, 255, .18); position: relative; z-index: 1; }
.in .jr__num { animation: jrNode .45s ease forwards; animation-delay: calc(var(--j0) + var(--jd) * (var(--i) + .5) / 6); }
.jr__card { position: relative; grid-column: calc(var(--i) + 1); padding: 14px 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -40px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .3s ease, border-color .3s ease; }
.jr__card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(159, 232, 245, .5); }
.jr__step:nth-child(odd) .jr__card { grid-row: 1; align-self: end; margin-bottom: var(--pin); }
.jr__step:nth-child(even) .jr__card { grid-row: 3; align-self: start; margin-top: var(--pin); }
.jr__card::before { content: ""; position: absolute; left: 50%; width: 1px; height: calc(var(--pin) + var(--row) / 2 - 19px); background: rgba(255, 255, 255, .22); }
.jr__step:nth-child(odd) .jr__card::before { top: 100%; }
.jr__step:nth-child(even) .jr__card::before { bottom: 100%; }
.jr__card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.jr__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.jr__card li { position: relative; padding-left: 13px; font-size: 12.5px; line-height: 1.4; color: #C9D2E8; }
.jr__card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #4D6BFF, #14B8A6); }
/* objavenie: box aj odrážky až keď k uzlu dôjde čiara */
.js [data-anim] .jr__card { opacity: 0; transform: translateY(10px); }
.js [data-anim].in .jr__card { animation: mapIn .6s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--j0) + var(--jd) * (var(--i) + .5) / 6 + .08s); }
.js [data-anim] .jr__card li { opacity: 0; transform: translateX(-6px); }
.js [data-anim].in .jr__card li { animation: mapIn .45s ease forwards; animation-delay: calc(var(--j0) + var(--jd) * (var(--i) + .5) / 6 + .3s + var(--b) * .12s); }
.js [data-anim] .jr__step:nth-child(odd) .jr__card { transform: translateY(-10px); }
@keyframes jrLineX { to { transform: scaleX(1); } }
@keyframes jrNode { to { color: #FFFFFF; border-color: #7D97FF; box-shadow: 0 0 0 4px rgba(36, 71, 245, .25), 0 0 22px rgba(31, 184, 232, .55); } }
@media (max-width: 1100px) {
  .jr__card { padding: 12px 12px 10px; }
  .jr__card h3 { font-size: 14px; }
  .jr__card li { font-size: 12px; }
}
@media (max-width: 900px) {
  .process-sec--v3 { padding: 72px 0 80px; }
  .process-sec--v3 .process__head { text-align: left; margin-bottom: 36px; }
  .jr { grid-template-columns: 38px 1fr; grid-template-rows: none; grid-auto-rows: auto; column-gap: 16px; row-gap: 16px; }
  .jr__line { grid-column: 1; grid-row: 1 / 7; align-self: stretch; justify-self: center; width: 2px; height: auto; }
  .jr__line i { transform: scaleY(0); transform-origin: top; }
  .in .jr__line i { animation-name: jrLineY; }
  .jr__num { grid-column: 1; grid-row: calc(var(--i) + 1); align-self: start; }
  .jr__step:nth-child(odd) .jr__card, .jr__step:nth-child(even) .jr__card { grid-column: 2; grid-row: calc(var(--i) + 1); margin: 0; align-self: stretch; }
  .jr__card::before { display: none; }
  .js [data-anim] .jr__step:nth-child(odd) .jr__card { transform: translateY(10px); }
  @keyframes jrLineY { to { transform: scaleY(1); } }
}
@media (prefers-reduced-motion: reduce) { .js [data-anim] .jr__card, .js [data-anim] .jr__card li { opacity: 1; transform: none; animation: none !important; } .in .jr__line i { animation: none; transform: none; } .in .jr__num { animation: none; color: #fff; border-color: #7D97FF; } }

/* ---------- Brána k prípadovým štúdiám (e-mail) ---------- */
.cs-gate { width: min(520px, calc(100% - 32px)); padding: var(--space-4); border: 0; border-radius: 24px; color: var(--ink); background: rgba(255, 255, 255, .86); box-shadow: var(--shadow-float); }
.cs-gate[open] { animation: refin .35s cubic-bezier(.2, .8, .2, 1); }
.cs-gate::backdrop { background: rgba(10, 15, 30, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cs-gate__kicker { margin: 0 0 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.cs-gate .h3 { margin: 0 0 10px; padding-right: 40px; }
.cs-gate > p { margin: 0 0 18px; color: var(--body-2); }
.cs-gate__form { display: grid; gap: 10px; }
.cs-gate__form .field { width: 100%; box-sizing: border-box; min-height: var(--btn-height); padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-field); font: inherit; background: var(--white); }
.cs-gate__form .btn { width: 100%; justify-content: center; }
.cs-gate__err { margin: 0; color: #B42318; font-size: 14px; }
.cs-gate__note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* zamknutá obrazovka v bráne */
.cs-gate__screen { position: relative; margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--white); aspect-ratio: 16 / 8.2; }
.cs-gate__page { position: absolute; inset: 0; padding: 0; display: grid; grid-template-rows: 22px 1fr auto auto; gap: 10px; }
.cs-gate__bar { display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #0A0F1E; font-family: var(--font-mono); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.cs-gate__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.cs-gate__bar span { margin-left: 8px; }
.cs-gate__hero { margin: 0 14px; display: grid; gap: 7px; align-content: center; justify-items: center; }
.cs-gate__hero b { display: block; width: 62%; height: 12px; border-radius: 6px; background: #7D97FF; }
.cs-gate__hero b.s { width: 46%; height: 8px; background: var(--ink); opacity: .85; }
.cs-gate__hero em { display: block; width: 70%; height: 34px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); margin-top: 4px; }
.cs-gate__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 14px; }
.cs-gate__stats span { height: 22px; border-left: 2px solid var(--blue); background: linear-gradient(90deg, var(--line-soft), transparent); }
.cs-gate__lines { display: grid; gap: 5px; margin: 0 14px 12px; }
.cs-gate__lines i { height: 5px; border-radius: 3px; background: var(--line); }
.cs-gate__lines i.s { width: 60%; }
.cs-gate__dim { position: absolute; inset: 0; background: rgba(10, 15, 30, .62); -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px); transition: opacity .6s ease; }
.cs-gate__lock { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -34px 0 0 -28px; color: var(--white); filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .5)); transition: color .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.cs-gate__shackle { transform-origin: 44px 30px; transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.cs-gate__state { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); transition: color .4s ease; }
.cs-gate.is-open .cs-gate__shackle { transform: rotate(-28deg) translate(-2px, -3px); }
.cs-gate.is-open .cs-gate__lock { color: #14B8A6; transform: scale(1.06); }
.cs-gate.is-open .cs-gate__dim { opacity: .35; }
.cs-gate.is-open .cs-gate__state { color: #14B8A6; }
.cs-gate.is-leaving .cs-gate__dim { opacity: 0; }
.cs-gate.is-leaving .cs-gate__lock { opacity: 0; transform: scale(1.3); transition: opacity .35s ease, transform .35s ease; }
.cs-gate__form .btn[disabled] { opacity: .45; cursor: not-allowed; }
.cs-gate__form .btn[disabled]:hover { background: var(--blue); color: var(--white); }
@media (prefers-reduced-motion: reduce) { .cs-gate__shackle, .cs-gate__lock, .cs-gate__dim { transition: none; } }

/* ---------- Hlavička po odscrollovaní z hero: celá sklenená ---------- */
.site-header > .container::before { transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.site-header .logo img, .site-header .site-nav__link, .site-header .site-header__link, .site-header .btn--blue { transition: opacity .35s ease, color .25s ease, background-color .25s ease, border-color .25s ease, filter .35s ease; }
.site-header--glass > .container::before { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 30px -16px rgba(25, 40, 110, .18); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
.site-header--glass .logo img, .site-header--glass .site-nav__link, .site-header--glass .site-header__link { opacity: .72; }
.site-header--glass .site-nav__link:hover, .site-header--glass .site-header__link:hover { opacity: 1; }
.site-header--glass .btn--blue { background: rgba(36, 71, 245, .14); color: var(--blue); border-color: rgba(36, 71, 245, .4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header--glass .btn--blue:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
/* nad tmavou sekciou */
.site-header--on-color > .container::before { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.site-header--on-color .logo img { content: url("../img/logo/techscope-logo-biele.svg"); opacity: .9; }
.site-header--on-color .site-nav__link:hover { color: var(--white); }
.site-header--on-color .btn--blue { background: rgba(255, 255, 255, .12); color: var(--white); border-color: rgba(255, 255, 255, .45); }
.site-header--on-color .btn--blue:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.site-header--on-color .nav-menu { color: var(--ink); }

/* ==========================================================================
   v5 (16. 11. 2026): elegantnejší a tichší web
   Jedna krivka pohybu, dvojitý rám kariet (bezel), šípka v krúžku, bez načítavacích pásikov,
   bez automaticky prepínaných kariet. Obrazovky v hero sa samy pomaly scrollujú.
   ========================================================================== */
:root {
  --lux: cubic-bezier(.32, .72, 0, 1);
  --shadow-soft: 0 1px 1px rgba(17, 18, 20, .03), 0 12px 32px -12px rgba(25, 40, 110, .12), 0 40px 80px -40px rgba(25, 40, 110, .18);
}

/* ---------- Tlačidlá: šípka v krúžku ---------- */
.btn { gap: 10px; transition: background-color .5s var(--lux), color .5s var(--lux), border-color .5s var(--lux), transform .2s var(--lux); }
.btn:active { transform: scale(.98); }
.btn .arr { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: -10px; border-radius: 50%; font-size: 14px; line-height: 1; background: rgba(255, 255, 255, .16); transition: transform .5s var(--lux), background-color .5s var(--lux); }
.btn:has(.arr) { padding-right: 16px; }
.btn--white .arr, .btn--outline .arr { background: rgba(17, 18, 20, .06); }
.btn:hover .arr { transform: translate(2px, -1px) scale(1.06); }
.btn--blue:hover .arr { background: rgba(36, 71, 245, .1); }
.btn--dark:hover .arr { background: rgba(17, 18, 20, .08); }
.site-header .btn .arr { width: 20px; height: 20px; font-size: 13px; }

/* textový odkaz so šípkou */
.link-arr { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.link-arr .arr { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(17, 18, 20, .06); font-size: 13px; transition: transform .5s var(--lux), background-color .5s var(--lux), color .5s var(--lux); }
a:hover .link-arr .arr, .link-arr:hover .arr { transform: translateX(3px); background: var(--blue); color: var(--white); }

/* ---------- Dvojitý rám (bezel): vonkajší plášť + vnútorné jadro ---------- */
.bezel { display: block; padding: 6px; border-radius: 30px; background: rgba(17, 18, 20, .028); border: 1px solid rgba(17, 18, 20, .05); color: inherit; text-decoration: none; }
.bezel__core { display: block; height: 100%; border-radius: 24px; background: var(--white); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), var(--shadow-soft); }
.bezel--onblue { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28); }
a.bezel { transition: transform .6s var(--lux); }
a.bezel:hover { color: inherit; transform: translateY(-3px); }
a.bezel .bezel__core { transition: box-shadow .6s var(--lux); }
a.bezel:hover .bezel__core { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 1px 1px rgba(17, 18, 20, .03), 0 18px 40px -14px rgba(25, 40, 110, .18), 0 50px 90px -40px rgba(25, 40, 110, .24); }

/* ---------- Jemný nástup sekcií: raz, keď prídu do obrazu ---------- */
.js [data-anim] [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--lux), transform 1s var(--lux); }
.js [data-anim] [data-reveal] + [data-reveal] { transition-delay: .12s; }
.js [data-anim].in [data-reveal] { opacity: 1; transform: none; }

/* ---------- Väčší priestor medzi sekciami ---------- */
.section { padding: 128px 0; }
.section-head { margin-bottom: 56px; }
@media (max-width: 760px) { .section { padding: 80px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Hero: zariadenia bez skla, jedna tichá bodka namiesto načítavacích pásikov ---------- */
.pm__stage { display: none; }
.tab { padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 1px 1px rgba(17, 18, 20, .04), 0 30px 60px -30px rgba(25, 40, 110, .35); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tab__screen { border-radius: 17px; }
.ph { padding: 6px; border-radius: 32px; background: #15171C; border: 0; box-shadow: 0 30px 60px -28px rgba(10, 15, 30, .5); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ph__screen { border-radius: 27px; }

/* automatické scrollovanie: obrazovka je vyššia ako displej, posúva ju anim.js */
.tab__track, .ph__track { align-items: flex-start; }
.scr, .pscr { height: auto; min-height: 100%; }
.scr--serv .dsp__body { flex: none; height: 300px; }
.re__h { margin: 14px 0 6px; font-weight: 700; font-size: 11.5px; }
.re__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.re__list li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 7px; background: #FFFFFF; font-size: 10.5px; }
.re__list b { font-weight: 600; }
.re__list span { color: var(--muted); }
.re__right .re__src:not(:first-child) { margin-top: 6px; padding-top: 10px; border-top: 1px solid #E3E8F3; }
.re__stat { margin-top: 6px; }
.dsp__jobs { padding: 12px 18px 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.dsp__jh { margin: 0 0 8px; font-size: 11px; color: rgba(232, 238, 255, .55); }
.dsp__job-row { display: grid; grid-template-columns: 1fr 80px 70px; gap: 8px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 11px; color: rgba(232, 238, 255, .8); }
.dsp__job-row b { font-weight: 600; text-align: right; color: rgba(232, 238, 255, .6); }
.dsp__job-row b.is-go { color: #1FB8E8; }
.dsp__job-row b.is-done { color: #5EEAD4; }
.rep__more { margin-top: 14px; font-family: var(--font-sans); }
.rep__h { margin: 0 0 6px; font-size: 10.5px; color: #6B7280; }
.rep__mv { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #E4E0D6; font-size: 12px; }
.rep__mv .up { color: #0E8F84; font-weight: 500; }
.pt__msgs { flex: none; }
.pt__msg { margin: 0 0 6px; padding: 7px 9px; border-radius: 8px; background: #F6F7FA; font-size: 11px; line-height: 1.4; color: var(--body-2); }
.pt__msg b { display: block; font-size: 10px; font-weight: 600; color: var(--muted); }
.pt__msg--me { background: #EEF2FF; }
.pt__cols { flex: none; }
.pob__day { margin: 8px 0 2px; font-weight: 700; font-size: 12px; }
.pob__note { margin-top: 10px; }
.pdsp__steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 11.5px; }
.pdsp__steps li { padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: rgba(232, 238, 255, .7); }
.pdsp__steps li.is-on { color: #FFFFFF; background: rgba(31, 184, 232, .18); }
.prep__more { margin-top: 16px; }
.prep__more .prep__k { margin-bottom: 4px; }
.ppt__hist { margin-top: 16px; }

/* prepínanie ukážok: tiché bodky, aktívna je dlhšia (žiadne plnenie podľa času) */
.show__nav { display: flex; left: 50%; top: 476px; transform: translateX(-50%); gap: 6px; }
.show__dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(17, 18, 20, .18); transition: width .6s var(--lux), background-color .6s var(--lux); }
.show__dot i { display: none; }
.show__dot.is-active { width: 22px; background: var(--ink); }
@media (max-width: 760px) { .show__nav { display: none; } }

/* ---------- Služby: Niečo iné bez skla a bez plávajúcich škvŕn ---------- */
.svc__other .blob { animation: none !important; }
.svc__other-card { position: relative; margin: var(--space-4); padding: var(--space-4); max-width: 520px; border-radius: 22px; background: var(--white); box-shadow: var(--shadow-soft); }
a.svc__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
a.svc__card { transition: transform .6s var(--lux), box-shadow .6s var(--lux); }


/* ---------- Postup: kroky vľavo, ukážka vpravo sa mení podľa kroku ---------- */
.proc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.proc__steps { list-style: none; margin: 0; padding: 0; }
.proc__btn { display: block; width: 100%; padding: 28px 0 28px 28px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; position: relative; }
.proc__btn::before { content: ""; position: absolute; left: 0; top: 38px; width: 7px; height: 7px; border-radius: 50%; background: rgba(17, 18, 20, .18); transition: background-color .6s var(--lux), transform .6s var(--lux); }
.proc__btn h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.proc__btn p { margin: 0; color: var(--body-2); font-size: 16px; line-height: 1.6; max-width: 30em; }
.proc__step { opacity: .38; transition: opacity .6s var(--lux); }
.proc__step.is-active { opacity: 1; }
.proc__step.is-active .proc__btn::before { background: var(--blue); transform: scale(1.3); }
.proc__step:hover { opacity: .75; }
.proc__step.is-active:hover { opacity: 1; }
.proc__stage { position: sticky; top: 140px; }
.proc__screen { position: relative; height: 440px; overflow: hidden; }
.pp { position: absolute; inset: 0; padding: 36px 40px; display: flex; flex-direction: column; gap: 18px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .7s var(--lux), transform .7s var(--lux), visibility .7s; }
.pp.is-active { opacity: 1; visibility: visible; transform: none; }
.pp__k { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.pp__t { margin: -8px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.pp__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.pp__meta span, .pp__chips span { padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: 13px; color: var(--body-2); }
.pp__check { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.pp__check li { position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; background: var(--paper); font-size: 15px; }
.pp__check li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 12px; height: 7px; margin-top: -6px; border-left: 1.8px solid var(--blue); border-bottom: 1.8px solid var(--blue); transform: rotate(-45deg); }
.pp__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pp__cols > div { padding: 16px; border-radius: 14px; background: var(--paper); }
.pp__cols > div:last-child { background: var(--blue-tint); }
.pp__lbl { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.pp__lbl--new { color: var(--blue); }
.pp__line { margin: 0 0 6px; font-size: 14px; }
.pp__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pp__foot { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pp__foot div { padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-soft); }
.pp__foot span { display: block; font-size: 12px; color: var(--muted); }
.pp__foot b { font-size: 15px; font-weight: 600; }
.pp__wire { flex: 1; display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 10px; border-radius: 16px; background: var(--paper); }
.pp__side { border-radius: 10px; background: #E6EAF3; }
.pp__wmain { display: grid; grid-template-rows: 14px 10px 1fr 34px; gap: 10px; }
.pp__wmain > i, .pp__wrow i { display: block; border-radius: 6px; background: #E6EAF3; }
.pp__wmain .w1 { width: 46%; } .pp__wmain .w2 { width: 70%; background: #EEF0F6; }
.pp__wmain .w3 { width: 38%; background: var(--blue); }
.pp__wrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pp__wrow i { background: var(--white); border: 1px solid #E6EAF3; }
.pp__note { margin: 0; align-self: flex-start; padding: 12px 16px; border-radius: 14px 14px 14px 4px; background: var(--ink); color: var(--white); font-size: 14px; }
.pp__note b { display: block; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.pp__mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp__mods li { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: 15px; }
.pp__mods b { font-size: 13px; font-weight: 500; color: var(--muted); }
.pp__mods b.is-done { color: #0E8F84; }
.pp__mods b.is-now { color: var(--blue); }
@media (max-width: 900px) {
  .proc__grid { grid-template-columns: 1fr; gap: 0; }
  .proc__stage { display: none; }
  .proc__step { opacity: 1; }
  .proc__btn { padding: 20px 0 20px 24px; cursor: default; }
  .proc__btn::before { top: 30px; background: var(--blue); }
  .proc__btn h3 { font-size: 19px; }
}

/* ---------- Referencie: tri karty v dvojitom ráme ---------- */
.refs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ref5 { height: 100%; }
.ref5__core { display: flex; flex-direction: column; overflow: hidden; }
.ref5__logo { display: flex; align-items: center; justify-content: center; height: 180px; margin: 8px 8px 0; border-radius: 18px; background: var(--paper); }
.ref5__logo img { width: 70%; height: auto; }
.ref5__logo--dark { background: #000; }
.ref5__logo--dark img { width: 84%; }
.ref5__text { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 26px; }
.ref5__text strong { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.ref5__text > span:not(.link-arr) { color: var(--body-2); font-size: 16px; }
.ref5__text em { font-style: normal; font-size: 14px; color: var(--muted); }
.ref5__text .link-arr { margin-top: auto; padding-top: 14px; }
@media (max-width: 900px) { .refs-grid { grid-template-columns: 1fr; } .ref5__logo { height: 140px; } }

/* ---------- Odvetvia: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento__item { grid-column: span 2; }
.bento__item--lg { grid-column: span 4; }
.bento__core { display: flex; gap: 32px; padding: 32px; }
.bento__text { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.bento__text h3 { margin: 0 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.bento__text p { margin: 0 0 24px; color: var(--body-2); font-size: 16px; line-height: 1.6; }
.bento__text .link-arr { margin-top: auto; }
.bento__vis { flex: 1 1 0; display: flex; align-items: center; min-width: 0; }
.chat { display: grid; gap: 10px; width: 100%; padding: 18px; border-radius: 20px; background: var(--paper); }
.chat__q, .chat__a { display: block; max-width: 88%; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.chat__q { background: var(--white); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(17, 18, 20, .05); }
.chat__a { justify-self: end; background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; }
.chat small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.chat__a small { color: rgba(255, 255, 255, .72); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item, .bento__item--lg { grid-column: span 1; }
  .bento__item--lg { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__core { flex-direction: column; padding: 24px; }
}

/* ---------- Najbližšie termíny ---------- */
.book5__core { padding: 28px; }
.book5 .book__title { margin: 0 0 16px; font-size: 15px; font-weight: 500; color: var(--muted); }
.book5 .slots__list--bubbles { gap: 8px; }
.book5 .bubble { padding: 14px 18px; border-radius: 16px; background: var(--paper); border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .5s var(--lux); }
.book5 .bubble:hover { transform: none; background: var(--blue-tint); }
.book5 .slots__list--bubbles li:nth-child(2) .bubble, .book5 .bubble--all { margin-left: 0; }
.book5 .bubble__time { font-size: 22px; }
.book5 .bubble--all { margin-top: 8px; background: var(--ink); }
.book5 .bubble--all:hover { background: #262A33; }
.book5 .bubble--loading, .book5 .slots__list--bubbles li:not(.bubble):not(:has(.bubble)) { color: var(--body-2); background: var(--paper); padding: 14px 18px; border-radius: 16px; }
.book5 .slots__list--bubbles li > a:not(.bubble) { color: var(--blue); }

/* ---------- Záverečný pás: biela karta na vlnách ---------- */
.cta-band { padding: 128px 0; }
.cta5 { max-width: 680px; margin: 0 auto; border-radius: 34px; }
.cta5__core { padding: 56px 48px; border-radius: 28px; text-align: center; }
.cta5 .h2 { margin: 0 auto 12px; max-width: 14em; }
.cta5 .lead { margin: 0 auto 32px; }
.cta5 .email-form { margin: 0 auto; }
@media (max-width: 760px) { .cta5__core { padding: 36px 20px; } .cta-band { padding: 80px 0; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-anim] [data-reveal] { opacity: 1; transform: none; }
  .pp { transition: none; }
}

/* ---------- Postup: stavba rastie s krokmi, nová časť je vždy tyrkysová ---------- */
.proc__screen { display: flex; flex-direction: column; padding: 28px 28px 24px; }
.bld { flex: 1; min-height: 0; width: 100%; height: auto; display: block; overflow: visible; }
.bld [data-from] { opacity: 0; transform: translateY(-22px); transition: opacity .8s var(--lux), transform 1s var(--lux); }
.bld [data-from].on { opacity: 1; transform: none; }
.bld polygon, .bld line, .bld circle { transition: fill .8s var(--lux), stroke .8s var(--lux); }
.bld .site { fill: #F3F5FA; stroke: #DCE2EE; stroke-width: 1; }
.bld .survey { fill: none; stroke: #2B3A5C; stroke-width: 1.2; stroke-dasharray: 5 4; }
.bld .peg { fill: #2B3A5C; }
.bp--wire line { stroke: #9AA6C0; stroke-width: 1; stroke-dasharray: 4 4; }
.bp--solid polygon { stroke: #2B3A5C; stroke-width: 1.1; stroke-linejoin: round; }
.bp--solid .f-t { fill: #FFFFFF; }
.bp--solid .f-l { fill: #EEF2FA; }
.bp--solid .f-r { fill: #DCE3F3; }
.bp--solid .win polygon, .bp--solid .door polygon { fill: #E4EAF6; stroke-width: .8; }
.bp--lights polygon { fill: #BFD0FF; stroke: #2B3A5C; stroke-width: .8; }
.bld .mast { stroke: #2B3A5C; stroke-width: 1.5; }
.bld .flag { fill: var(--blue); }
/* nová časť */
.bld .is-new .survey { stroke: #0F9F8F; }
.bld .is-new .peg { fill: #14B8A6; }
.bp--wire.is-new line { stroke: #14B8A6; }
.bp--solid.is-new polygon { stroke: #0F766E; }
.bp--solid.is-new .f-t { fill: #CCFBF1; }
.bp--solid.is-new .f-l { fill: #5EEAD4; }
.bp--solid.is-new .f-r { fill: #2DD4BF; }
.bp--solid.is-new .win polygon, .bp--solid.is-new .door polygon { fill: #F0FDFA; }
.bp--lights.is-new polygon { fill: #2DD4BF; stroke: #0F766E; }
.bld .is-new .mast { stroke: #0F766E; }
.bld .is-new .flag { fill: #14B8A6; }
.bld__caps { position: relative; height: 24px; margin-top: 12px; }
.bld__cap { position: absolute; inset: 0; margin: 0; text-align: center; font-size: 15px; font-weight: 500; color: var(--body-2); opacity: 0; transform: translateY(6px); transition: opacity .6s var(--lux), transform .6s var(--lux); }
.bld__cap.is-active { opacity: 1; transform: none; }
.bld__cap::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: #14B8A6; vertical-align: 1px; }

/* ---------- Odvetvia: karta pod myšou zmodrie ---------- */
a.bento__item .bezel__core { transition: background-color .6s var(--lux), box-shadow .6s var(--lux); }
a.bento__item .bento__text h3, a.bento__item .bento__text p, a.bento__item .link-arr { transition: color .6s var(--lux); }
a.bento__item:hover .bezel__core, a.bento__item:focus-visible .bezel__core { background: var(--blue); }
a.bento__item:hover .bento__text h3, a.bento__item:hover .link-arr { color: var(--white); }
a.bento__item:hover .bento__text p { color: rgba(255, 255, 255, .82); }
a.bento__item:hover .link-arr .arr { background: var(--white); color: var(--blue); }
a.bento__item .chat { transition: background-color .6s var(--lux); }
a.bento__item:hover .chat { background: rgba(255, 255, 255, .14); }
a.bento__item .chat__a { transition: background-color .6s var(--lux), color .6s var(--lux); }
a.bento__item:hover .chat__a { background: var(--white); color: var(--ink); }
a.bento__item:hover .chat__a small { color: var(--muted); }

/* ---------- Najbližšie termíny: termín pod myšou zmodrie, čierne tlačidlo sa prehodí na biele ---------- */
.book5 .bubble, .book5 .bubble * { transition: background-color .5s var(--lux), color .5s var(--lux), border-color .5s var(--lux); }
.book5 .slots__list .bubble:hover { background: var(--blue); color: var(--white); }
.book5 .slots__list .bubble:hover .bubble__date, .book5 .slots__list .bubble:hover .bubble__time small { color: rgba(255, 255, 255, .78); }
.book5 .bubble--all { border: 1px solid var(--ink); }
.book5 .bubble--all:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.book5 .bubble--all:hover > span:first-child { color: var(--ink); }
.book5 .bubble--all:hover .bubble__meta { color: var(--muted); }

/* zariadenie v Postupe: porty, displej, vodivé cesty, diódy */
.bld .port { fill: #2B3A5C; stroke: none; }
.bp--solid .screen { fill: #111827; stroke: #2B3A5C; stroke-width: .8; }
.bld .ui { stroke: rgba(255, 255, 255, .55); stroke-width: 3; stroke-linecap: round; }
.bld .ui-card { fill: rgba(255, 255, 255, .14); stroke: none; }
.bld .ui-card--accent { fill: var(--blue); }
.bp--solid.is-new .screen { fill: #0F3D3A; }
.bp--solid.is-new .ui-card--accent { fill: #14B8A6; }
.bld .trace { stroke: #9AA6C0; stroke-width: 1.6; stroke-linecap: round; }
.bld .traces--lit .trace { stroke: var(--blue); }
.bp--lights polygon { fill: #BFD0FF; stroke: #2B3A5C; stroke-width: .7; }
.bp--lights.is-new .traces--lit .trace { stroke: #14B8A6; }

/* Súhlas s cookies (assets/js/web/consent.js). Rovnaká lišta beží aj na stránkach kampaní, voľba platí na celej doméne. */
.ck { position: fixed; z-index: 90; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); max-width: 600px; margin: 0 auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: var(--white); color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); font-size: var(--fs-small); line-height: 1.5; }
.ck[hidden], .ck [hidden] { display: none !important; }
.ck__text { margin: 0; }
.ck__text a { color: var(--ink); text-decoration: underline; }
.ck__opts { display: grid; gap: 10px; }
.ck__opt { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.ck__opt input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.ck__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ck__btn { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.ck__btn:hover { border-color: var(--ink); }
.ck__btn--main { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ck__btn--main:hover { background: var(--white); color: var(--ink); }
.ck__btn--link { border-color: transparent; background: none; padding: 0 8px; text-decoration: underline; }
.ck__btn--link:hover { border-color: transparent; }
.ck-open { padding: 0; border: 0; background: none; font: inherit; color: var(--muted); text-align: left; cursor: pointer; }
.ck-open:hover { color: var(--ink); }
@media (max-width: 520px) { .ck { padding: 18px; } .ck__btn { flex: 1 1 auto; } }

/* Pop-up „Ozveme sa vám“ (assets/js/web/lead-popup.js): prípadové štúdie a rezervácia */
.lp { width: min(460px, calc(100% - 32px)); padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: 0 1px 1px rgba(17, 18, 20, .04), 0 30px 70px -30px rgba(25, 40, 110, .35); }
.lp[open] { animation: lp-in .45s cubic-bezier(.32, .72, 0, 1); }
.lp:focus { outline: none; }
.lp::backdrop { background: rgba(10, 15, 30, .45); }
@keyframes lp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.lp__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.lp__close:hover { background: var(--paper); }
.lp__title { margin: 0 0 10px; padding-right: 40px; font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.lp__text { margin: 0 0 20px; color: var(--body-2); font-size: 16px; line-height: 1.55; }
.lp__form { display: grid; gap: 12px; }
.lp__field { display: grid; gap: 6px; }
.lp__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.lp__field .field { min-height: 48px; font-size: 16px; }
.lp__hint { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.lp__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.lp__consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.lp__consent a { color: var(--ink); text-decoration: underline; }
.lp__msg { margin: 0; font-size: 14px; }
.lp__msg--ok { color: #0E7A55; }
.lp__msg--err { color: #B42318; }
.lp__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.lp__later { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; }
.lp__later:hover { color: var(--ink); }
@media (max-width: 520px) { .lp { padding: 24px 20px; } .lp__title { font-size: 22px; } .lp__row .btn { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .lp[open] { animation: none; } }
