/* Agendo – predajný web. Svetlý, s produktom v hlavnej úlohe. Písmo Schibsted Grotesk, ikony Tabler. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("fonts/schibsted-grotesk-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;
}

:root {
  --ink: #0f1b2d;
  --ink-2: #3d4a5c;
  --ink-3: #5f6b7a;
  --paper: #ffffff;
  --mist: #f2f5f1;
  --mist-2: #e6ece5;
  --line: #d8e0d8;
  --brand: #0a6e4f;
  --brand-deep: #07563d;
  --brand-soft: #dff0e7;
  --leaf: #4fd18f;
  --sun: #f5c542;
  --sun-soft: #fdf3d1;
  --night: #0b1624;
  --on-night: #e8eef3;
  --on-night-2: #a9b6c3;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 10vw, 8rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 12px 32px -8px rgba(15, 27, 45, .14);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, .05), 0 30px 60px -20px rgba(15, 27, 45, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  hyphens: auto;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; hyphens: manual; font-weight: 750; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
::selection { background: var(--leaf); color: var(--night); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
strong, b { font-weight: 650; }

.i { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.wrap--wide { max-width: calc(1320px + 2 * var(--pad)); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sun); color: var(--night); padding: .75rem 1rem; border-radius: 8px; font-weight: 650; }
.skip:focus { top: 1rem; }

/* Tlačidlá */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 3.25rem; padding: .8rem 1.5rem;
  background: var(--brand); color: #fff; border-radius: 999px;
  font: 650 1.0625rem/1.2 var(--font); text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -8px rgba(10, 110, 79, .7);
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .95rem; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--mist); color: var(--ink); }
.btn--light { background: var(--sun); color: var(--night); box-shadow: none; }
.btn--light:hover { background: #ffd65e; color: var(--night); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.22); color: #fff; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.45rem; letter-spacing: -.04em; white-space: nowrap; hyphens: none; }
.logo:hover { color: var(--ink); }
.logo__mark { position: relative; width: 1.35rem; height: 1.35rem; border-radius: .42rem; background: var(--brand); flex: none; }
.logo__mark::after { content: ""; position: absolute; right: -.2rem; top: -.2rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2.5px var(--paper); }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo__mark::after { box-shadow: 0 0 0 2.5px var(--night); }

/* Hlavička */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 rgba(15,27,45,.07); }
.top__in { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.top__nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.top__nav ul { display: flex; gap: 1.5rem; }
.top__cta { display: flex; gap: .5rem; }
.top__cta .btn { white-space: nowrap; hyphens: none; }
@media (min-width: 1241px) and (max-width: 1420px) { .top__nav { gap: 1.25rem; } .top__nav ul { gap: 1.1rem; } .top__nav ul a { font-size: .94rem; } }
.top__nav ul a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .98rem; padding-block: .4rem; white-space: nowrap; hyphens: none; }
.top__nav ul a:hover, .top__nav ul a[aria-current] { color: var(--ink); }
.top__nav ul a[aria-current] { box-shadow: 0 2px 0 var(--brand); }
.top__toggle { display: none; }

@media (max-width: 1240px) {
  .top__toggle { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; min-height: 2.75rem; padding: .4rem .9rem; border: 0; border-radius: 999px; background: var(--mist); color: var(--ink); font: 600 .95rem var(--font); cursor: pointer; }
  .js .top__nav { display: none; }
  .top__nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--pad) 1.5rem; background: #fff; box-shadow: 0 20px 30px -20px rgba(15,27,45,.3); }
  .js .top.is-open .top__nav { display: flex; }
  .top__nav ul { flex-direction: column; gap: 0; }
  .top__nav ul a { display: block; padding: .8rem 0; font-size: 1.1rem; box-shadow: 0 1px 0 var(--mist-2); }
  .top__nav ul a[aria-current] { box-shadow: 0 1px 0 var(--mist-2); color: var(--brand); }
  .top__nav .btn { min-height: 3rem; }
  .top__cta { flex-direction: column; }
}

/* Typografia sekcií */
.h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); letter-spacing: -.035em; }
.h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); letter-spacing: -.03em; }
.h4 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 1rem; color: var(--ink-3); font-weight: 650; }
.big { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); line-height: 1.5; color: var(--ink-2); }
.prose { max-width: 68ch; }
.prose h2 { margin: 2.5rem 0 .75rem; }
.more { margin-top: 2rem; font-weight: 600; }

/* Úvod s fotkou obce v pozadí */
.hero { position: relative; background: var(--mist); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__top { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(12rem, 18vw, 15rem); color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--night); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11,22,36,.86) 0%, rgba(11,22,36,.7) 38%, rgba(11,22,36,.22) 75%, rgba(11,22,36,.1) 100%),
  linear-gradient(0deg, rgba(11,22,36,.55) 0%, rgba(11,22,36,0) 45%); }
.hero__title { font-size: clamp(2.4rem, 1.2rem + 3.9vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; max-width: 16ch; text-shadow: 0 2px 30px rgba(11,22,36,.35); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero__lead { max-width: 36rem; margin: 0; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.5; color: #e4ebf1; }
.hero__act { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__pilot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.75rem 0 0; color: #cfdae4; font-size: .98rem; }
.hero__pilot span { width: .55rem; height: .55rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245,197,66,.25); }
.hero__pilot a { color: #fff; font-weight: 600; }
.hero__pilot a:hover { color: var(--sun); }
.hero :focus-visible { outline-color: var(--sun); }
.hero__stage { position: relative; margin-top: clamp(-10.5rem, -14vw, -8rem); }
.flow__cap { margin: 5.5rem 0 0; text-align: center; color: var(--ink-3); font-size: .875rem; }

/* Ukážka cesty podania */
.flow__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; max-width: 1240px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding-left: 21rem; }
.flow__steps button {
  position: relative; display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem 1.05rem; overflow: hidden;
  border: 0; border-radius: 12px; background: rgba(11,22,36,.35); color: #dbe4ec; text-align: left;
  font: 600 .98rem/1.3 var(--font); cursor: pointer; transition: background .25s, color .25s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.flow__steps button:hover { color: #fff; background: rgba(11,22,36,.55); }
.flow__steps button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.flow__n { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; flex: none; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: .9rem; font-variant-numeric: tabular-nums; }
.flow__steps button[aria-pressed="true"] .flow__n { background: var(--brand); color: #fff; }
.flow__bar { position: absolute; left: 1rem; right: 1rem; bottom: .45rem; height: 3px; border-radius: 3px; background: var(--mist-2); opacity: 0; }
.flow__bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform-origin: left; transform: scaleX(0); }
[data-flow].is-playing button[aria-pressed="true"] .flow__bar { opacity: 1; }
[data-flow].is-playing button[aria-pressed="true"] .flow__bar::after { animation: flowbar var(--flow-ms, 3200ms) linear forwards; }
@keyframes flowbar { to { transform: scaleX(1); } }

.flow__stage { position: relative; max-width: 1240px; margin-inline: auto; padding: 0 0 0 clamp(0rem, 20vw, 17.5rem); }
.flow__admin { margin-top: 3.5rem; }
.flow__stage .flow__phone { position: absolute; left: 0; bottom: -4.5rem; z-index: 2; }
.flow__reg { position: absolute; right: -1rem; bottom: -3rem; z-index: 2; }

[data-flow] [data-on] { transition: opacity .45s var(--ease), transform .45s var(--ease); }
[data-flow][data-step="1"] [data-on]:not([data-on~="1"]),
[data-flow][data-step="2"] [data-on]:not([data-on~="2"]),
[data-flow][data-step="3"] [data-on]:not([data-on~="3"]) { display: none; }
.adm__row--new { animation: rowin .6s var(--ease); background: var(--sun-soft); }
[data-flow][data-step="3"] .adm__row--new { background: var(--brand-soft); }
@keyframes rowin { from { opacity: 0; transform: translateY(-8px); } }
.reg__num { animation: numin .7s var(--ease); }
@keyframes numin { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }

/* Okno aplikácie */
.win { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15,27,45,.06); overflow: hidden; text-align: left; font-size: .9rem; line-height: 1.4; }
.win__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: var(--mist); color: var(--ink-3); font-size: .78rem; font-weight: 550; }
.win__bar i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--mist-2); }
.win__bar span { margin-left: .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.adm { display: grid; grid-template-columns: 11.5rem 1fr; min-height: 21rem; }
.adm__side { display: flex; flex-direction: column; gap: .15rem; padding: 1rem .75rem; background: #fbfcfb; box-shadow: 1px 0 0 var(--mist-2); }
.adm__side span { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border-radius: 9px; color: var(--ink-2); font-weight: 550; }
.adm__side .i { width: 1.05rem; height: 1.05rem; color: var(--ink-3); }
.adm__side .is-on { background: var(--brand-soft); color: var(--brand-deep); }
.adm__side .is-on .i { color: var(--brand); }
.adm__side b { margin-left: auto; min-width: 1.4rem; padding: 0 .4rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; text-align: center; }
.adm__main { padding: 1rem 1.25rem 1.25rem; min-width: 0; }
.adm__head, .adm__row { display: grid; grid-template-columns: 1.6fr 1.1fr .8fr 1fr; gap: .75rem; align-items: center; padding: .7rem .75rem; }
.adm__head { color: var(--ink-3); font-size: .75rem; font-weight: 600; }
.adm__row { border-radius: 10px; box-shadow: 0 1px 0 var(--mist-2); }
.adm__row span:first-child { font-weight: 600; color: var(--ink); }
.adm__row span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pill { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: var(--mist-2); color: var(--ink-2); font-style: normal; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.pill--new { background: var(--sun); color: var(--night); }
.pill--ok { background: var(--brand); color: #fff; }
.pill--work { background: var(--sun-soft); color: #7a5a00; }

/* Telefón */
.phone { position: relative; width: 19.5rem; padding: .6rem; border-radius: 3.1rem; background: linear-gradient(145deg, #2a3646, #0b1624 40%, #1c2735); box-shadow: 0 50px 80px -30px rgba(11,22,36,.6), 0 18px 36px -18px rgba(11,22,36,.5), inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 3px #05090f; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #1c2735; }
.phone::before { left: -3px; top: 7rem; height: 3.2rem; box-shadow: 0 4.2rem 0 #1c2735; }
.phone::after { right: -3px; top: 9rem; height: 5rem; }
.phone__screen { position: relative; min-height: 38rem; padding: 0 1.2rem 1.2rem; border-radius: 2.55rem; background: #fff; overflow: hidden; text-align: left; font-size: .95rem; line-height: 1.38; }
.phone__screen::before { content: ""; position: absolute; top: .65rem; left: 50%; z-index: 3; width: 6.2rem; height: 1.7rem; margin-left: -3.1rem; border-radius: 999px; background: #05090f; }
.phone__status { display: flex; align-items: center; justify-content: space-between; height: 3rem; padding: .35rem .6rem 0; font-size: .82rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.phone__status span:last-child { display: flex; gap: .25rem; }
.phone__status .i { width: .95rem; height: .95rem; stroke-width: 2.2; }
.app-bar { display: flex; align-items: center; gap: .5rem; margin: .35rem 0 1.1rem; color: var(--ink); font-weight: 700; font-size: .95rem; }
.erb { width: 1.5rem; height: 1.5rem; color: var(--brand-deep); fill: var(--brand); stroke-width: 1.5; }
.m-title { margin: 0 0 .9rem; font-size: 1.45rem; font-weight: 750; letter-spacing: -.025em; }
.m-field { display: flex; flex-direction: column; gap: .15rem; margin-bottom: .55rem; padding: .6rem .8rem; border-radius: 12px; background: var(--mist); }
.m-field span { color: var(--ink-3); font-size: .76rem; }
.m-field b { font-weight: 600; }
.m-file { display: flex; align-items: center; gap: .45rem; margin-top: .2rem; padding: .55rem .8rem; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); font-size: .85rem; font-weight: 600; }
.m-file .i { width: 1.05rem; height: 1.05rem; }
.m-btn { margin-top: 1rem; padding: .85rem; border-radius: 999px; background: var(--brand); color: #fff; text-align: center; font-weight: 650; }
.m-toast { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; display: flex; gap: .6rem; align-items: flex-start; padding: .85rem .95rem; border-radius: 18px; background: var(--night); color: #fff; box-shadow: var(--shadow); }
.m-toast .i { color: var(--leaf); width: 1.35rem; height: 1.35rem; }
.m-toast small { display: block; color: var(--on-night-2); font-size: .8rem; margin-top: .1rem; }

/* Registratúra */
.reg { width: 17rem; padding: 1.15rem 1.25rem; border-radius: var(--r-lg); background: var(--night); color: var(--on-night); box-shadow: var(--shadow-lg); text-align: left; }
.reg__label { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; color: var(--on-night-2); font-size: .8rem; font-weight: 600; }
.reg__label .i { width: 1rem; height: 1rem; }
.reg__num { margin: 0 0 .35rem; font-size: 1.85rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.reg__wait { margin: 0; padding: .45rem 0 .2rem; color: var(--on-night-2); font-size: 1rem; }
.reg__meta { margin: 0; color: var(--on-night-2); font-size: .8rem; line-height: 1.4; }

/* Sekcie */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: 0 var(--sec); }
.sec--mist { background: var(--mist); }
.sec--ink { background: var(--night); color: var(--on-night); }
.sec--ink .big, .sec--ink p { color: var(--on-night-2); }
.sec--ink .big { color: var(--on-night); }
.sec--ink a { color: var(--leaf); }
.sec__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sec__head p { margin: 1.1rem 0 0; font-size: 1.2rem; color: var(--ink-2); }
.sec__after { margin-top: 2.5rem; color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split .h2 { margin-bottom: 1.5rem; }

.checks { display: grid; gap: .1rem; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 0; box-shadow: 0 1px 0 var(--line); font-size: 1.08rem; }
.checks li:last-child { box-shadow: none; }
.checks .i { margin-top: .1rem; color: var(--brand); }
.checks--light li { box-shadow: 0 1px 0 rgba(255,255,255,.1); color: var(--on-night); }
.checks--light .i { color: var(--leaf); }

/* Úrovne formulárov */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.levels__step { display: flex; flex-direction: column; padding: 1.75rem 1.6rem 1.9rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.levels__step--1 { min-height: 21rem; }
.levels__step--2 { min-height: 24.5rem; background: var(--brand-soft); box-shadow: none; }
.levels__step--3 { min-height: 28rem; background: var(--brand); color: #fff; box-shadow: 0 30px 60px -30px rgba(7,86,61,.8); }
.levels__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 2rem; }
.levels__icon { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 14px; background: var(--brand-soft); color: var(--brand); stroke-width: 1.75; }
.levels__step--2 .levels__icon { background: #fff; }
.levels__step--3 .levels__icon { background: rgba(255,255,255,.14); color: #ffe08a; }
.levels__meter { display: flex; gap: .3rem; }
.levels__meter i { width: 1.6rem; height: .45rem; border-radius: 4px; background: var(--mist-2); }
.levels__meter i.on { background: var(--brand); }
.levels__step--2 .levels__meter i { background: #fff; }
.levels__step--2 .levels__meter i.on { background: var(--brand); }
.levels__step--3 .levels__meter i { background: rgba(255,255,255,.2); }
.levels__step--3 .levels__meter i.on { background: var(--sun); }
.levels h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); margin-bottom: .45rem; }
.levels__how { margin: 0 0 1.1rem; font-weight: 600; color: var(--brand-deep); }
.levels__step--3 .levels__how { color: #ffe08a; }
.levels__ex li { position: relative; padding: .55rem 0 .55rem 1.1rem; color: var(--ink-2); box-shadow: 0 1px 0 rgba(15,27,45,.08); }
.levels__ex li:last-child { box-shadow: none; padding-bottom: 0; }
.levels__ex li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--brand); }
.levels__step--3 .levels__ex li { color: #dcefe5; box-shadow: 0 1px 0 rgba(255,255,255,.12); }
.levels__step--3 .levels__ex li::before { background: var(--sun); }

/* Služba: fotka úradu a rozdelenie práce */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.service__img { margin: 0; position: relative; }
.service__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.service__body .h2 { margin-bottom: 1.25rem; }
.service__cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; margin-top: 2rem; }
.service__col { padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--r-lg); background: var(--mist); }
.service__col h3 { font-size: 1.05rem; margin-bottom: .9rem; letter-spacing: -.01em; color: var(--ink-3); }
.service__col li { padding: .45rem 0; color: var(--ink-2); }
.service__col--ours { background: var(--night); color: var(--on-night); }
.service__col--ours h3 { color: var(--leaf); }
.service__col--ours li { display: flex; align-items: center; gap: .65rem; color: #fff; font-weight: 550; }
.service__col--ours .i { color: var(--leaf); width: 1.2rem; height: 1.2rem; }

/* Funkcie s ukážkou */
.feat { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feat + .feat { margin-top: clamp(5rem, 10vw, 8rem); }
.feat--flip .feat__text { order: 2; }
.feat__text .h3, .feat__text .h2 { margin-bottom: 1.1rem; }
.feat__text > p { color: var(--ink-2); font-size: 1.1rem; }
.feat__text .checks { margin: .5rem 0 1.25rem; }
.feat__media { min-width: 0; }

.portal { padding: 1.4rem 1.5rem 1.6rem; }
.portal__title { font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; margin-bottom: 1rem; }
.portal__item { padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--mist); }
.portal__item + .portal__item { margin-top: .6rem; }
.portal__item--quiet p { margin: .35rem 0 0; color: var(--ink-3); }
.portal__top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin-top: 1rem; }
.track li { position: relative; padding-top: .9rem; color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: var(--mist-2); }
.track .is-done::before { background: var(--brand); }
.track .is-now::before { background: linear-gradient(90deg, var(--sun) 50%, var(--mist-2) 50%); }
.track .is-done, .track .is-now { color: var(--ink); }
.track small { display: block; color: var(--ink-3); font-weight: 400; font-size: .74rem; }

.log__title { font-weight: 700; margin: .25rem 0 .75rem; }
.log li { display: grid; grid-template-columns: 3rem 1fr; gap: .1rem .75rem; padding: .7rem 0; box-shadow: 0 1px 0 var(--mist-2); }
.log time { color: var(--ink-3); font-variant-numeric: tabular-nums; grid-row: span 2; }
.log span { font-weight: 550; }
.log small { color: var(--ink-3); }

.appdemo { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; --obec: #0a6e4f; }
.appdemo__phone { transition: none; }
.appdemo .phone__status { margin: 0 -1.2rem; padding-inline: 1.8rem; background: var(--obec); color: #fff; transition: background .5s var(--ease); }
.appdemo .phone__screen { min-height: 35rem; }
.app-head { display: flex; align-items: center; gap: .6rem; margin: 0 -1.2rem 1rem; padding: .6rem 1.2rem 1.2rem; background: var(--obec); color: #fff; transition: background .5s var(--ease); }
.app-head .erb { width: 2rem; height: 2rem; color: #fff; fill: rgba(255,255,255,.25); }
.app-head small { display: block; font-size: .7rem; opacity: .8; }
.app-head b { font-size: 1.05rem; }
.app-head__bell { margin-left: auto; width: 1.2rem; height: 1.2rem; }
.app-card { padding: .7rem .8rem; border-radius: 12px; background: var(--mist); margin-bottom: .5rem; }
.app-card span { display: flex; align-items: center; gap: .4rem; color: var(--ink-3); font-size: .72rem; font-weight: 600; }
.app-card span .i { width: .95rem; height: .95rem; color: var(--obec); transition: color .5s; }
.app-card p { margin: .25rem 0 0; font-weight: 550; }
.app-card--accent { background: color-mix(in srgb, var(--obec) 12%, #fff); transition: background .5s; }
.app-cta { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .8rem; padding: .7rem; border-radius: 999px; background: var(--obec); color: #fff; font-weight: 650; transition: background .5s; }
.app-cta .i { width: 1rem; height: 1rem; }
.appdemo__pick { display: flex; flex-direction: column; gap: .5rem; }
.appdemo__pick button { display: flex; align-items: center; gap: .65rem; min-height: 2.9rem; padding: .5rem 1.1rem .5rem .6rem; border: 0; border-radius: 999px; background: #fff; color: var(--ink-2); font: 600 .98rem var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, color .2s; }
.appdemo__pick button:hover { color: var(--ink); }
.appdemo__pick button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.appdemo__pick i { width: 1.6rem; height: 1.6rem; border-radius: 50%; }
.sec--mist .appdemo__pick button { background: #fff; }

/* Napojenia: tmavý panel so schémou */
.links { --g: clamp(2.5rem, 6vw, 6rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--g); position: relative; padding: clamp(2rem, 5vw, 4rem); border-radius: 28px; background: radial-gradient(60% 80% at 50% 50%, #12304a 0%, var(--night) 70%); color: var(--on-night); overflow: hidden; }
.links__col { display: grid; gap: .6rem; position: relative; }
.links__col li { position: relative; display: flex; align-items: center; gap: .85rem; padding: .85rem 1.2rem; border-radius: var(--r); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); font-weight: 600; line-height: 1.3; color: #fff; }
.links__col li .i { color: var(--leaf); width: 1.5rem; height: 1.5rem; }
.links__col small { display: block; color: var(--on-night-2); font-weight: 400; font-size: .88rem; }
.links__col--in li::after, .links__col--out li::before { content: ""; position: absolute; top: 50%; width: calc(var(--g) * .55); height: 2px; background: linear-gradient(90deg, rgba(79,209,143,.15), var(--leaf)); }
.links__col--out li::before { background: linear-gradient(90deg, var(--leaf), rgba(79,209,143,.15)); }
.links__col--in li::after { left: 100%; }
.links__col--out li::before { right: 100%; }
.links__col--in::after, .links__col--out::after { content: ""; position: absolute; width: 2px; border-radius: 2px; background: var(--leaf); }
.links__col--in::after { right: calc(var(--g) * -.55 - 1px); top: 1.75rem; bottom: 1.75rem; }
.links__col--out::after { left: calc(var(--g) * -.55 - 1px); top: 2.25rem; bottom: 2.25rem; }
.links__hub { display: flex; align-items: center; gap: .6rem; padding: 1.5rem 2rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 1.7rem; letter-spacing: -.04em; box-shadow: 0 0 0 10px rgba(79,209,143,.12), 0 0 0 22px rgba(79,209,143,.06), 0 20px 50px -10px rgba(0,0,0,.5); position: relative; z-index: 1; }
/* Kmeň: z agenda vychádza čiara doľava aj doprava k zbernici, nie zbernica rovno na tlačidlo */
.links__hub::before, .links__hub::after { content: ""; position: absolute; top: 50%; z-index: -1; width: calc(var(--g) * .45 + 2px); height: 2px; margin-top: -1px; background: var(--leaf); }
.links__hub::before { right: 100%; }
.links__hub::after { left: 100%; }
.links__hub .logo__mark::after { box-shadow: 0 0 0 2.5px #fff; }
/* Animácia: vstupy → čiary → agendo → výstupy, potom tečúce svetlo po čiarach */
.links.is-armed li { opacity: 0; transform: translateX(-14px); }
.links.is-armed .links__col--out li { transform: translateX(14px); }
.links.is-armed .links__col--in li::after, .links.is-armed .links__col--out li::before { transform: scaleX(0); }
.links.is-armed .links__col--in::after, .links.is-armed .links__col--out::after { transform: scaleY(0); }
.links.is-armed .links__hub { opacity: 0; transform: scale(.8); }
.links li, .links__col--in li::after, .links__col--out li::before, .links__col::after, .links__hub { transition: opacity .5s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.links__col--in li::after { transform-origin: left; }
.links__col--out li::before { transform-origin: left; }
.links.is-live li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 90ms); }
.links.is-live .links__col--in li::after { transform: none; transition-delay: calc(350ms + var(--i) * 90ms); }
.links.is-live .links__col--in::after { transform: none; transition-delay: 700ms; }
.links.is-live .links__hub { opacity: 1; transform: none; transition-delay: 850ms; animation: hubpulse 3.2s ease-in-out 1.6s infinite; }
.links.is-live .links__col--out::after { transform: none; transition-delay: 1100ms; }
.links.is-live .links__col--out li::before { transform: none; transition-delay: calc(1250ms + var(--i) * 70ms); }
.links.is-live .links__col--out li { transition-delay: calc(1300ms + var(--i) * 70ms); }
.links.is-live .links__col--in li::after, .links.is-live .links__col--out li::before {
  background-image: linear-gradient(90deg, transparent 40%, rgba(255,255,255,.95) 50%, transparent 60%), linear-gradient(90deg, rgba(79,209,143,.15), var(--leaf));
  background-size: 400% 100%, 100% 100%; background-repeat: no-repeat;
  animation: linkflow 2.6s linear infinite;
}
.links.is-live .links__col--in li::after { animation-delay: calc(2s + var(--i) * 350ms); }
.links.is-live .links__col--out li::before { background-image: linear-gradient(90deg, transparent 40%, rgba(255,255,255,.95) 50%, transparent 60%), linear-gradient(90deg, var(--leaf), rgba(79,209,143,.15)); animation-delay: calc(2.6s + var(--i) * 280ms); }
@keyframes linkflow { from { background-position: 100% 0, 0 0; } 45%, to { background-position: 0 0, 0 0; } }
@keyframes hubpulse { 50% { box-shadow: 0 0 0 14px rgba(79,209,143,.16), 0 0 0 30px rgba(79,209,143,.07), 0 20px 50px -10px rgba(0,0,0,.5); } }

/* Postup: časová os */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); counter-reset: st; position: relative; }
.steps li { counter-increment: st; position: relative; }
.steps li::before { content: counter(st); position: relative; z-index: 1; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1.5rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 8px var(--brand-soft); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.75rem; left: 4.5rem; right: calc(-1 * clamp(1.5rem, 4vw, 3rem) + 1rem); height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-soft)); }
.steps h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.steps p { color: var(--ink-2); margin: 0; max-width: 30ch; }

.note { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem 1.75rem; border-radius: var(--r-lg); background: var(--brand-soft); }
.note .i { width: 2rem; height: 2rem; color: var(--brand); margin-top: .1rem; }
.note p { margin: 0; font-size: 1.1rem; color: var(--ink-2); max-width: 70ch; }
.note b { color: var(--ink); }

/* Rad štandardov pod úvodom */
.strip { padding: clamp(2rem, 4vw, 2.75rem) 0; background: #fff; box-shadow: 0 1px 0 var(--line); }
.facts-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem 1.5rem; }
.facts-strip li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; color: var(--ink-3); line-height: 1.35; }
.facts-strip .i { width: 1.5rem; height: 1.5rem; color: var(--brand); margin-top: .05rem; }
.facts-strip b { display: block; color: var(--ink); font-size: 1rem; font-weight: 700; }

/* Hlavička sekcie s odkazom */
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; max-width: none; }
.sec__head--row > div { max-width: 46rem; }
.link-more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 650; white-space: nowrap; text-decoration: none; }
.link-more .i { width: 1.1rem; height: 1.1rem; transition: transform .2s var(--ease); }
.link-more:hover .i { transform: translateX(3px); }

/* Scenáre */
.scn__tabs { display: flex; gap: .4rem; overflow-x: auto; padding: .35rem; margin: 0 0 1.25rem; border-radius: 999px; background: var(--mist); scrollbar-width: none; }
.scn__tabs::-webkit-scrollbar { display: none; }
.scn__tabs button { display: inline-flex; align-items: center; gap: .5rem; flex: none; min-height: 2.9rem; padding: .55rem 1.15rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 .98rem var(--font); cursor: pointer; transition: background .2s, color .2s; }
.scn__tabs button .i { width: 1.2rem; height: 1.2rem; color: var(--ink-3); }
.scn__tabs button:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.scn__tabs button[aria-selected="true"] { background: var(--night); color: #fff; }
.scn__tabs button[aria-selected="true"] .i { color: var(--leaf); }
.no-js .scn__tabs, html:not(.js) .scn__tabs { display: none; }
.js .scn__panel:not(.is-on) { display: none; }
.scn__panel { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--r-lg); background: var(--mist); }
html:not(.js) .scn__panel + .scn__panel { margin-top: 1rem; }
.scn__panel.is-on { animation: scnin .5s var(--ease); }
@keyframes scnin { from { opacity: 0; transform: translateY(6px); } }
.scn__head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.scn__head h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; }
.scn__head .pill, .scn-full .pill { background: #fff; font-size: .82rem; padding: .3rem .8rem; }
.scn__before { margin: 1rem 0 0; max-width: 60rem; color: var(--ink-2); font-size: 1.08rem; }
.scn__before b { color: #8a3b12; }
.scn__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.75rem; counter-reset: sc; }
.scn__steps li { position: relative; padding: 1.35rem 1.4rem 1.4rem; border-radius: var(--r); background: #fff; }
.scn__steps li:last-child { background: var(--brand); color: #fff; }
.scn__steps p { margin: .5rem 0 0; color: var(--ink-2); }
.scn__steps li:last-child p { color: #e3f3ea; }
.scn__who { display: inline-flex; align-items: center; gap: .45rem; font-weight: 750; font-size: 1.05rem; }
.scn__who::before { counter-increment: sc; content: counter(sc); display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-size: .82rem; font-variant-numeric: tabular-nums; }
.scn__steps li:last-child .scn__who::before { content: ""; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1624' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / .95rem no-repeat; }

.scn-list { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.scn-full { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--r-lg); background: var(--mist); scroll-margin-top: 6rem; }
.scn-full .h3 { margin: .9rem 0 .75rem; }
.scn-full__icon { width: 2.2rem; height: 2.2rem; color: var(--brand); }
.scn-full .scn__steps { grid-template-columns: 1fr; margin: 0; align-content: start; }
.scn-full .scn__before { font-size: 1rem; }

/* Komu Agendo pomôže */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.role__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 1.5rem; background: var(--mist-2); }
.role__img--obec { object-position: 72% 50%; }
.role .h3 { margin-bottom: .5rem; }

/* Aplikácia: postup */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: how; }
.how li { counter-increment: how; position: relative; padding: 1.75rem 1.5rem 1.8rem; border-radius: var(--r-lg); background: var(--mist); }
.how li::after { content: counter(how); position: absolute; top: 1.4rem; right: 1.5rem; color: var(--ink-3); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.how__icon { width: 2.75rem; height: 2.75rem; padding: .6rem; margin-bottom: 1.5rem; border-radius: 14px; background: #fff; color: var(--brand); }
.how li:last-child { background: var(--brand); color: #fff; }
.how li:last-child::after { color: #cfe9dc; }
.how li:last-child .how__icon { background: rgba(255,255,255,.14); color: var(--sun); }
.how h3 { font-size: 1.25rem; margin-bottom: .55rem; }
.how p { margin: 0; color: var(--ink-2); }
.how li:last-child p { color: #e3f3ea; }

/* Aplikácia: obrazovky */
.sec__head--center { margin-inline: auto; text-align: center; }
.sec--screens { overflow: hidden; }
.screens { display: flex; justify-content: center; align-items: flex-start; gap: clamp(1rem, 3vw, 2.5rem); }
.screens__phone { flex: none; }
.screens__phone--mid { margin-top: -1.5rem; transform: translateY(3rem); }
.screens .phone__screen { min-height: 36rem; }
.m-back { display: flex; align-items: center; gap: .2rem; margin: .4rem 0 .6rem; color: var(--brand); font-weight: 600; font-size: .88rem; }
.m-back .i { width: 1rem; height: 1rem; }
.m-photo { margin-bottom: .6rem; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; }
.m-field--pin { flex-direction: row; align-items: center; gap: .6rem; }
.m-field--pin .i { width: 1.25rem; height: 1.25rem; color: #b42318; }
.m-field--pin div { display: flex; flex-direction: column; gap: .15rem; }
.m-switch { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; padding: .7rem .8rem; border-radius: 12px; background: var(--brand-soft); font-weight: 600; font-size: .88rem; color: var(--brand-deep); }
.m-switch i { position: relative; width: 2.4rem; height: 1.4rem; border-radius: 999px; background: var(--brand); }
.m-switch i::after { content: ""; position: absolute; right: .2rem; top: .2rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; }
.m-cal li { display: grid; grid-template-columns: 3.6rem 1fr; gap: .1rem .6rem; align-items: center; padding: .7rem 0; box-shadow: 0 1px 0 var(--mist-2); }
.m-cal b { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .9rem; }
.m-cal span { display: flex; align-items: center; gap: .4rem; color: var(--ink-2); font-size: .86rem; }
.m-cal span .i { width: 1rem; height: 1rem; color: var(--brand); }
.m-cal em { grid-column: 2; font-style: normal; font-size: .75rem; font-weight: 700; color: #7a5a00; }
.m-cal .is-next { margin: 0 -.6rem; padding: .7rem .6rem; border-radius: 12px; background: var(--sun-soft); box-shadow: none; }
.m-sub { padding: .75rem .85rem; margin-bottom: .55rem; border-radius: 12px; background: var(--mist); }
.m-sub div { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.m-sub b { font-size: .88rem; }
.m-sub small { display: block; margin-top: .25rem; color: var(--ink-3); font-size: .76rem; }
.m-note { display: flex; gap: .5rem; align-items: center; margin-top: .9rem; color: var(--ink-3); font-size: .8rem; }
.m-note .i { width: 1rem; height: 1rem; color: var(--brand); }

/* Aplikácia: funkcie */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(2rem, 4vw, 3.5rem); }
.feats article { padding: 2rem 0; box-shadow: 0 1px 0 var(--line); }
.feats article > .i { width: 1.9rem; height: 1.9rem; color: var(--brand); margin-bottom: 1rem; }
.feats h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.feats p { margin: 0; color: var(--ink-2); }

/* Časté otázky */
.split--faq { grid-template-columns: .8fr 1.2fr; }
.faq__item { box-shadow: 0 1px 0 var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__icon { width: 1.4rem; height: 1.4rem; color: var(--brand); transition: transform .3s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { margin: 0 0 1.4rem; max-width: 62ch; color: var(--ink-2); font-size: 1.05rem; }

/* Záverečná výzva */
.close { background: var(--brand); color: #fff; padding-block: clamp(4.5rem, 9vw, 7rem); position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; right: -8rem; top: -8rem; width: 28rem; height: 28rem; border-radius: 50%; background: var(--brand-deep); }
.close__in { position: relative; }
.close--photo { background: var(--brand-deep); }
.close--photo::before { display: none; }
.close__img { position: absolute; inset: 0 0 0 auto; width: 52%; height: 100%; object-fit: cover; object-position: 30% 50%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.close__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.75rem); letter-spacing: -.04em; max-width: 18ch; font-weight: 800; }
.close p { max-width: 40rem; margin: 1.25rem 0 0; font-size: 1.15rem; color: #d9efe4; }
.close__act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.close__line { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; text-decoration: none; }
.close__line:hover { color: #fff; text-decoration: underline; }
.close :focus-visible { outline-color: #fff; }

/* Podstránky */
.phead { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--mist); }
.phead h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem); letter-spacing: -.045em; font-weight: 800; }
.phead__lead { max-width: 44rem; margin: 1.25rem 0 0; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); color: var(--ink-2); line-height: 1.5; }
.phead__crumb { margin: 0 0 1rem; font-size: .92rem; color: var(--ink-3); }
.phead__crumb a { color: inherit; }
.phead__crumb span { margin: 0 .5rem; opacity: .6; }
.phead--photo { position: relative; padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6.5rem); color: #fff; isolation: isolate; background: var(--night); }
.phead__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; }
.phead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,22,36,.92) 0%, rgba(11,22,36,.84) 50%, rgba(11,22,36,.45) 100%); }
.phead--photo h1 { max-width: 17ch; text-shadow: 0 2px 30px rgba(11,22,36,.35); }
.phead--photo .phead__lead { color: #e4ebf1; }
.phead--photo .phead__crumb { color: #dbe4ec; }
.phead--photo .phead__crumb a:hover { color: #fff; }
.phead--photo :focus-visible { outline-color: var(--sun); }
.phead__act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.phead__tel { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; text-decoration: none; }
.phead__tel:hover { color: var(--sun); }

.toc { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.75rem; }
.toc a { padding: .5rem 1rem; border-radius: 999px; background: var(--mist); color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .95rem; }
.toc a:hover { background: var(--mist-2); color: var(--ink); }
.toc + .sec { padding-top: clamp(3rem, 6vw, 5rem); }

.defs { display: grid; grid-template-columns: max-content 1fr; gap: 0 1.5rem; margin: 1.25rem 0 1.5rem; }
.defs dt, .defs dd { margin: 0; padding: .8rem 0; box-shadow: 0 1px 0 var(--line); }
.defs dt { font-weight: 700; }
.defs dd { color: var(--ink-2); }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.who > article { padding: 2rem 1.75rem 2.1rem; border-radius: var(--r-lg); background: var(--mist); }
.who__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.who__top .i { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 14px; background: #fff; color: var(--brand); }
.who__top .pill { background: #fff; font-size: .8rem; padding: .3rem .75rem; }
.who h2 { margin-bottom: .75rem; }
.who p { color: var(--ink-2); margin: 0; }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.5rem 0 0; }
.price div { padding: 1.2rem 1.4rem; border-radius: var(--r); background: #fff; }
.price dt { font-weight: 750; font-size: 1.3rem; letter-spacing: -.02em; color: var(--brand-deep); }
.price dd { margin: .2rem 0 0; color: var(--ink-2); }

.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); padding-block: 2.5rem; box-shadow: 0 1px 0 var(--line); }
.row:first-child { padding-top: 0; }
.row:last-child { box-shadow: none; padding-bottom: 0; }
.row .prose { max-width: 40rem; }
.row .prose p { color: var(--ink-2); font-size: 1.08rem; }
.row .prose p:last-child { margin: 0; }

.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contact .h3 { margin: 0 0 1rem; }
.contact .h3 ~ .h3 { margin-top: 3rem; }
.contact__lead { color: var(--ink-2); max-width: 36rem; margin-bottom: 2rem; }
.contact__mid { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: 1.15rem; font-weight: 650; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact__mid .i { color: var(--brand); }
.contact__mid:hover { color: var(--brand); }
.contact__sub { margin: 1.25rem 0 .5rem; color: var(--ink-3); font-size: .95rem; }
.contact__side { padding: 2rem; border-radius: var(--r-lg); background: var(--mist); align-self: start; }
.contact__side .h3 { font-size: 1.35rem; }
.contact__side .h3 ~ .h3 { margin-top: 2.5rem; }

/* Kontaktný formulár */
.cform { display: grid; gap: 1.5rem; }
.cform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: grid; align-content: start; gap: .45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-weight: 650; font-size: .98rem; }
.field legend { margin-bottom: .6rem; }
.field__opt { margin-left: .35rem; color: var(--ink-3); font-weight: 400; font-size: .88rem; }
.field input, .field textarea {
  width: 100%; min-height: 3.1rem; padding: .75rem 1rem;
  background: var(--paper); color: var(--ink); border: 0; border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  font: 400 1.0625rem/1.4 var(--font);
  transition: box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1.5px #b9c6b9; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px var(--brand-soft); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #b42318; }
.field__err { color: #b42318; font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .5rem 1rem; border-radius: 999px; background: var(--mist); color: var(--ink-2); font-size: .97rem; font-weight: 550; transition: background .15s, color .15s; }
.chip:hover span { background: var(--mist-2); }
.chip input:checked + span { background: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cform__note { margin: 0; color: var(--ink-3); font-size: .92rem; }
.cform__error { margin: 0; padding: .9rem 1.1rem; border-radius: 12px; background: #fdecea; color: #8a1c12; }
.cform button[disabled] { opacity: .7; cursor: progress; transform: none; }
.cform__done { display: flex; gap: 1rem; align-items: flex-start; padding: 1.75rem; border-radius: var(--r-lg); background: var(--brand-soft); }
.cform[hidden], .cform__done[hidden] { display: none; }
.cform__done a { white-space: nowrap; }
.cform__done:focus { outline: none; }
.cform__done > .i { width: 2rem; height: 2rem; color: var(--brand); }
.cform__done h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.cform__done p { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .cform__grid { grid-template-columns: 1fr; } }
.facts { margin: 1rem 0 1.25rem; }
.facts div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .6rem 0; box-shadow: 0 1px 0 var(--line); }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; hyphens: manual; font-variant-numeric: tabular-nums; }

/* Cesta úradnej veci cez ÚPVS */
.upvs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.upvs__intro { position: sticky; top: 6.5rem; }
.upvs__intro .h2 { color: #fff; margin-bottom: 1.25rem; }
.upvs__img { margin: 2rem 0 0; }
.upvs__img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.path { display: grid; }
.path li { position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0 1.35rem; padding-bottom: 2.1rem; }
.path li:last-child { padding-bottom: 0; }
.path li:not(:last-child)::before { content: ""; position: absolute; left: calc(1.625rem - 1px); top: 3.6rem; bottom: .35rem; width: 2px; border-radius: 2px; background: rgba(79,209,143,.3); }
.path__node { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 16px; background: rgba(255,255,255,.07); color: var(--leaf); }
.path__node .i { width: 1.5rem; height: 1.5rem; }
.path li:last-child .path__node { background: var(--leaf); color: var(--night); }
.path h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; padding-top: .45rem; color: #fff; font-size: 1.3rem; letter-spacing: -.02em; }
.path__tag { padding: .15rem .6rem; border-radius: 999px; background: rgba(79,209,143,.14); color: var(--leaf); font-size: .78rem; font-weight: 650; letter-spacing: 0; }
.path p { margin: .45rem 0 0; color: var(--on-night-2); }

/* Pre koho: obce, mestá, OVM */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.aud__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 30rem; padding: 1.75rem; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.aud__card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.aud__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,22,36,.05) 15%, rgba(11,22,36,.72) 48%, rgba(11,22,36,.95) 100%); }
.aud__card:hover { color: #fff; }
.aud__card:hover img { transform: scale(1.04); }
.aud__card .h3 { color: #fff; margin-bottom: .6rem; }
.aud__card p { margin: 0; color: #dbe4ec; }
.aud__card ul { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.aud__card li { padding: .2rem .65rem; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .82rem; font-weight: 600; }
.aud__go { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.4rem; color: var(--sun); font-weight: 700; }
.aud__go .i { width: 1.1rem; height: 1.1rem; transition: transform .2s var(--ease); }
.aud__card:hover .aud__go .i { transform: translateX(3px); }
.aud__card:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* Moduly ÚPVS ako čipy */
.mods { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.mods li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; }
.mods .i { width: 1.15rem; height: 1.15rem; color: var(--brand); }
.mods small { color: var(--ink-3); font-weight: 550; }

/* Doplnky: fotka vo feat, odkazová karta, skupiny scenárov */
.feat__photo { margin: 0; }
.feat__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.who__link { display: block; padding: 2rem 1.75rem 2.1rem; border-radius: var(--r-lg); background: var(--night); color: var(--on-night); text-decoration: none; transition: background .2s; }
.who__link:hover { background: #12233a; color: var(--on-night); }
.who__link .h3 { color: #fff; margin-bottom: .75rem; }
.who__link p { color: var(--on-night-2); margin: 0; }
.who__link .who__top .i { background: rgba(255,255,255,.08); color: var(--leaf); }
.who__link .who__top .pill { background: rgba(255,255,255,.1); color: var(--on-night); }
.who__link:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.sec__head--gap { margin-top: clamp(4rem, 8vw, 6rem); margin-bottom: 1.75rem; max-width: none; }
.sec--mist .scn-full, .sec--mist .scn__panel { background: #fff; }
.sec--mist .scn-full .scn__steps li:not(:last-child), .sec--mist .scn__panel .scn__steps li:not(:last-child) { background: var(--mist); }
.sec--mist .scn-full .pill, .sec--mist .scn__head .pill { background: var(--mist); }
.sec--mist .scn__tabs { background: #fff; }
.mock-box .adm__head, .mock-box .adm__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; }
.mock-box .adm__row span:last-child { overflow: visible; }
.toc__n { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; margin-left: .25rem; padding: 0 .35rem; border-radius: 999px; background: #fff; color: var(--brand-deep); font-size: .78rem; font-weight: 700; }
.sec--ink .h4 { color: var(--on-night-2); }
.prose .defs { margin: 1.5rem 0; }
.prose .defs dd { font-size: 1rem; }

/* Päta */
.foot { background: var(--night); color: var(--on-night-2); padding: 4rem 0 3rem; font-size: .95rem; }
.foot__in { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 2.5rem; }
.foot__brand p { margin: 1rem 0 0; max-width: 18rem; }
.foot__nav ul { columns: 2; column-gap: 2rem; }
.foot__nav li { padding: .3rem 0; break-inside: avoid; }
.foot a { color: var(--on-night); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__small { margin-top: 1rem; font-size: .85rem; }
.foot :focus-visible { outline-color: var(--sun); }

/* Formuláre: tlačivo → editor → mobil */
.forge { position: relative; padding: 2.5rem 0 1rem; }
.forge__paper { position: absolute; left: 0; top: 0; z-index: 0; width: 15.5rem; padding: 1.4rem 1.3rem 1.6rem; background: #fffdf7; border-radius: 4px; box-shadow: 0 1px 2px rgba(15,27,45,.08), 0 24px 40px -18px rgba(15,27,45,.35); transform: rotate(-3.5deg); color: var(--ink-2); font-size: .72rem; }
.forge__paper-title { margin: 0; color: var(--ink); font-size: .95rem; font-weight: 750; letter-spacing: -.01em; }
.forge__paper-sub { margin: .15rem 0 1rem; color: var(--ink-3); }
.forge__line { display: block; padding: 1.05rem 0 .2rem; border-bottom: 1px dotted #9aa4b0; }
.forge__line b { font-weight: 600; }
.forge__line--short { width: 60%; }
.forge__line--sign { width: 45%; margin-left: auto; margin-top: .8rem; text-align: right; }
.forge__win { position: relative; z-index: 1; margin: 0 15rem 0 7.5rem; }
.forge__phone { position: absolute; right: 0; top: -1rem; z-index: 2; transform: scale(.8); transform-origin: top right; }
.forge__phone .phone__screen { min-height: 33rem; }
.forge__cap { margin: 2rem 0 0; color: var(--ink-3); font-size: .875rem; }
.m-step { margin: -.4rem 0 1rem; color: var(--brand-deep); font-size: .8rem; font-weight: 650; }

.bld { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) 12rem; min-height: 24rem; }
.bld__tree { display: flex; flex-direction: column; gap: .15rem; margin: 0; padding: 1rem .75rem; background: #fbfcfb; box-shadow: 1px 0 0 var(--mist-2); list-style: none; }
.bld__tree li { hyphens: none; display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem; border-radius: 9px; color: var(--ink-2); font-weight: 550; }
.bld__tree span { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--mist-2); color: var(--ink-3); font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }
.bld__tree .is-on { background: var(--brand-soft); color: var(--brand-deep); }
.bld__tree .is-on span { background: var(--brand); color: #fff; }
.bld__canvas { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.25rem 1.25rem; min-width: 0; }
.bld__sec { margin: 0 0 .25rem; font-size: 1.05rem; font-weight: 750; letter-spacing: -.015em; }
.bld__field { display: flex; flex-direction: column; gap: .4rem; padding: .7rem .8rem; border-radius: 12px; }
.bld__field.is-sel { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.bld__label { color: var(--ink); font-weight: 600; font-size: .85rem; }
.bld__label em { margin-left: .35rem; color: var(--brand-deep); font-style: normal; font-size: .72rem; font-weight: 650; }
.bld__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.bld__chips i { padding: .3rem .7rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-style: normal; font-size: .78rem; }
.bld__chips i.on { background: var(--brand); box-shadow: none; color: #fff; font-weight: 650; }
.bld__input { display: flex; align-items: center; gap: .4rem; padding: .5rem .7rem; border-radius: 9px; background: var(--mist); color: var(--ink); font-size: .85rem; }
.bld__input .i { width: 1rem; height: 1rem; color: var(--ink-3); }
.bld__input--num { width: 7rem; justify-content: space-between; font-variant-numeric: tabular-nums; }
.bld__input small { color: var(--ink-3); }
.bld__props { display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1rem; background: #fbfcfb; box-shadow: -1px 0 0 var(--mist-2); }
.bld__props-title { margin: 0; color: var(--ink-3); font-size: .75rem; font-weight: 650; }
.bld__prop { display: flex; flex-direction: column; gap: .15rem; color: var(--ink); font-size: .82rem; font-weight: 550; }
.bld__prop small { color: var(--ink-3); font-size: .7rem; font-weight: 600; }
.bld__prop--row { flex-direction: row; align-items: center; justify-content: space-between; }
.bld__switch { display: block; position: relative; width: 2rem; height: 1.15rem; border-radius: 999px; background: var(--brand); }
.bld__switch::after { content: ""; position: absolute; right: .15rem; top: .15rem; width: .85rem; height: .85rem; border-radius: 50%; background: #fff; }

.steps--after { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.pilot__act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.sec--ink .btn--light, .sec--ink .btn--light:hover { color: var(--night); }
.sec--ink .pilot__alt { color: var(--on-night); text-underline-offset: .2em; }
.sec--ink .pilot__alt:hover { color: #fff; }
.checks--light b { color: #fff; font-weight: 650; }

/* Formuláre: cenník */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: .75rem; }
.tier { display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.4rem; border-radius: var(--r); background: #fff; }
.tier__name { margin: 0; font-size: 1.15rem; font-weight: 750; letter-spacing: -.01em; }
.tier__for { margin: .2rem 0 2rem; color: var(--ink-3); }
.tier__price { margin: auto 0 0; color: var(--ink-2); font-size: .95rem; }
.tier__price b { display: block; margin-bottom: .4rem; font-size: clamp(2.1rem, 1.7rem + 1.2vw, 2.7rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.tier__vat { margin: .15rem 0 0; color: var(--ink-3); font-size: .9rem; }
.tier--quote { background: var(--night); color: var(--on-night); }
.tier--quote .tier__for { color: var(--on-night-2); }
.tier__link { margin-top: auto; font-weight: 650; color: var(--sun); }
.tier__link:hover { color: #ffd65e; }
.tiers__inc { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--ink-2); }
.tiers__inc li { display: flex; gap: .5rem; align-items: center; }
.tiers__inc .i { color: var(--brand); }
.prep { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); align-items: start; }
.prep__title { margin: 0 0 .6rem; font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; }
.prep p { color: var(--ink-2); }
.defs--price { grid-template-columns: 1fr auto; column-gap: 0; }
.defs--price dt { padding-right: 1.5rem; }
.defs--price dt small, .defs--price dd small { display: block; margin-top: .15rem; font-size: .9rem; font-weight: 400; color: var(--ink-3); }
.defs--price dd { text-align: right; font-weight: 750; color: var(--ink); white-space: nowrap; }
.incl { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-lg); background: var(--brand-soft); }
.incl .more { margin-top: 1.25rem; }
.tiers__note { margin-top: 2rem; font-size: .9rem; color: var(--ink-3); }

/* Menšie obrazovky */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .forge__win { margin: 0 14.5rem 0 0; }
  .forge__paper { display: none; }
  .forge__phone { transform: scale(.72); }
  .bld { grid-template-columns: 9.5rem minmax(0, 1fr); }
  .bld__props { display: none; }
  .flow__stage { padding-left: 0; }
  .flow__steps { padding-left: 0; }
  .hero__stage { margin-top: -6rem; }
  .flow__stage .flow__admin { margin-top: 9rem; }
  .flow__admin { margin-top: 0; }
  .flow__stage .flow__phone { left: -.5rem; bottom: -4.5rem; transform: scale(.82); transform-origin: bottom left; }
  .flow__reg { right: -.5rem; bottom: -3rem; transform: scale(.9); transform-origin: bottom right; }
  .roles { grid-template-columns: 1fr 1fr; }
  .roles .role:first-child { grid-column: 1 / -1; }
  .adm__head span:nth-child(3), .adm__row span:nth-child(3) { display: none; }
  .adm__head, .adm__row { grid-template-columns: 1.6fr 1.1fr 1fr; }
  .mock-box .adm__head span:nth-child(3), .mock-box .adm__row span:nth-child(3) { display: block; }
  .mock-box .adm__head, .mock-box .adm__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; }
}
@media (max-width: 900px) {
  .split, .split--faq, .feat, .contact, .row { grid-template-columns: 1fr; }
  .facts-strip { grid-template-columns: repeat(3, 1fr); }
  .close__img { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; }
  .feat--flip .feat__text { order: 0; }
  .who, .steps, .upvs { grid-template-columns: 1fr; }
  .upvs__intro { position: static; }
  .aud { grid-template-columns: 1fr 1fr; }
  .aud__card:first-child { grid-column: 1 / -1; min-height: 24rem; }
  .how, .feats { grid-template-columns: 1fr 1fr; }
  .screens { flex-direction: column; align-items: center; }
  .screens__phone--mid { margin: 0; transform: none; }
  .steps li:not(:last-child)::after { top: 4.5rem; bottom: -1.5rem; left: 1.75rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand), var(--brand-soft)); }
  .steps li { padding-left: 5rem; min-height: 3.5rem; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .service { grid-template-columns: 1fr; }
  .service__img img { aspect-ratio: 16 / 10; }
  .links { padding: 2rem 1.25rem; }
  .levels { grid-template-columns: 1fr; }
  .levels__step--1, .levels__step--2, .levels__step--3 { min-height: 0; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .links { grid-template-columns: 1fr; justify-items: stretch; gap: 1.25rem; }
  .links__hub { justify-self: center; }
  .links__col--in li::after, .links__col--out li::before, .links__col--in::after, .links__col--out::after { display: none; }
  .links__hub::before, .links__hub::after { content: ""; position: absolute; top: auto; right: auto; left: 50%; width: 2px; height: 1.25rem; margin-top: 0; background: var(--leaf); }
  .links__hub::before { bottom: 100%; }
  .links__hub::after { top: 100%; }
}
@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; }
  .tier__for { margin-bottom: 1.25rem; }
  .defs.defs--price { grid-template-columns: 1fr auto; column-gap: 0; }
.defs--price dt { padding-right: 1.5rem; }
  .defs.defs--price dt { padding-bottom: .8rem; box-shadow: 0 1px 0 var(--line); }
  .defs.defs--price dd { padding-top: .8rem; }
  .forge { padding-top: 0; }
  .forge__win { margin: 0; }
  .forge__phone { display: none; }
  .bld { grid-template-columns: 1fr; min-height: 0; }
  .bld__tree { flex-direction: row; overflow: hidden; padding: .6rem; box-shadow: 0 1px 0 var(--mist-2); }
  .bld__tree li { padding: .35rem .5rem; font-size: .8rem; white-space: nowrap; hyphens: none; }
  .bld__tree li:not(.is-on) { display: none; }
  .hero__top { padding-bottom: 9rem; }
  .hero__bg img { object-position: 62% 50%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(11,22,36,.8) 0%, rgba(11,22,36,.72) 60%, rgba(11,22,36,.6) 100%); }
  .hero__stage { margin-top: -7rem; }
  .phead__bg::after { background: rgba(11,22,36,.84); }
  .flow__steps { grid-template-columns: 1fr; gap: .35rem; padding-left: 0; }
  .flow__stage .flow__admin { margin-top: 0; }
  .flow__steps button { padding: .7rem .9rem .9rem; }
  .flow__stage { display: grid; gap: 1rem; justify-items: center; }
  .flow__admin { display: none; }
  .flow__stage .flow__phone, .flow__reg { position: relative; left: auto; bottom: auto; transform: none; }
  .flow__phone { width: min(19.5rem, 100%); }
  .flow__reg { width: min(19.5rem, 100%); }
  .flow__cap { margin-top: 1.5rem; }
  .roles { grid-template-columns: 1fr; }
  .aud { grid-template-columns: 1fr; }
  .aud__card, .aud__card:first-child { min-height: 25rem; }
  .path li { grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0 1rem; }
  .path__node { width: 2.75rem; height: 2.75rem; border-radius: 13px; }
  .path li:not(:last-child)::before { left: calc(1.375rem - 1px); top: 3.1rem; }
  .path h3 { padding-top: .3rem; font-size: 1.15rem; }
  .scn__steps { grid-template-columns: 1fr; }
  .scn-full { grid-template-columns: 1fr; }
  .sec__head--row { flex-direction: column; align-items: flex-start; }
  .service__cols, .price, .how, .feats { grid-template-columns: 1fr; }
  .screens__phone { width: min(19.5rem, 100%); }
  .adm { grid-template-columns: 1fr; }
  .adm__side { flex-direction: row; overflow: hidden; box-shadow: 0 1px 0 var(--mist-2); padding: .6rem; }
  .adm__side span { padding: .4rem .55rem; font-size: .8rem; white-space: nowrap; hyphens: none; }
  .adm__side span:not(.is-on) .i { display: none; }
  .track { grid-template-columns: repeat(2, 1fr); row-gap: .9rem; }
  .appdemo__pick { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .foot__in { grid-template-columns: 1fr; }
  .facts-strip { grid-template-columns: 1fr 1fr; }
  .scn__tabs { border-radius: 16px; margin-inline: calc(-1 * var(--pad) + .5rem); }
  .defs { grid-template-columns: 1fr; }
  .defs dt { padding-bottom: 0; box-shadow: none; }
  .defs dd { padding-top: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Ukážková obec */
.demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 1100px) { .demo--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.demo__item { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.demo__item img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin-bottom: 1.1rem; border-radius: var(--r); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.demo__item:hover img { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.demo__title { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; color: var(--brand); }
.demo__item:hover .demo__title { color: var(--brand-deep); text-decoration: underline; text-underline-offset: .2em; }
.demo__text { color: var(--ink-2); }
.demo__note { margin: 1.75rem 0 0; color: var(--ink-3); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .demo__item img { transition: none; } }

/* Bezpečnosť: schéma od používateľa cez firewall a oddelené inštancie po bránu na ÚPVS */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shield {
  --g: clamp(1.75rem, 3.6vw, 3.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem minmax(0, 1.3fr) minmax(0, .95fr) auto; align-items: center; hyphens: manual; gap: 1.25rem var(--g);
  margin: 0; padding: clamp(2rem, 4.5vw, 3.75rem); border-radius: 28px;
  background: radial-gradient(60% 80% at 55% 40%, #12304a 0%, var(--night) 70%); color: var(--on-night);
}
.shield .i { color: var(--leaf); }
.shield small { display: block; color: var(--on-night-2); font-weight: 400; font-size: .86rem; }
.shield__who { display: grid; gap: 1rem; }
.shield__who li, .shield__inst li, .shield__gate { position: relative; border-radius: var(--r); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.shield__who li { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; font-weight: 600; line-height: 1.3; color: #fff; }
.shield__who .i { width: 1.5rem; height: 1.5rem; }
.shield__who li::after { content: ""; position: absolute; left: 100%; top: 50%; width: var(--g); height: 2px; background: linear-gradient(90deg, rgba(79,209,143,.15), var(--leaf)); }
.shield__wall { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 1.75rem; padding: 1.5rem .75rem; border-radius: var(--r-lg); background: rgba(79,209,143,.12); box-shadow: inset 0 0 0 1.5px rgba(79,209,143,.45); text-align: center; }
.shield__wall li { display: grid; justify-items: center; gap: .4rem; color: #fff; font-weight: 650; font-size: .95rem; line-height: 1.25; }
.shield__wall .i { width: 1.6rem; height: 1.6rem; }
.shield__wall small { font-size: .78rem; }
.shield__inst ul { position: relative; display: grid; gap: .75rem; }
.shield__inst li { display: grid; align-content: center; gap: .3rem; height: 4.75rem; padding: 0 1.15rem; opacity: .6; }
.shield__inst li.is-on { opacity: 1; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(79,209,143,.55); }
.shield__inst b { color: #fff; font-weight: 650; }
.shield__parts { display: flex; flex-wrap: nowrap; align-items: center; gap: .3rem .85rem; white-space: nowrap; color: var(--on-night-2); font-size: .84rem; }
.shield__parts > span { display: inline-flex; align-items: center; gap: .3rem; }
.shield__parts .i { width: 1rem; height: 1rem; }
.shield__inst li::before, .shield__inst li::after { content: ""; position: absolute; top: 50%; height: 2px; background: var(--leaf); }
.shield__inst li::before { right: 100%; width: var(--g); }
.shield__inst li::after { left: 100%; width: calc(var(--g) * .5); }
.shield__inst ul::after { content: ""; position: absolute; right: calc(var(--g) * -.5 - 1px); top: 2.375rem; bottom: 2.375rem; width: 2px; border-radius: 2px; background: var(--leaf); }
.shield__note { grid-column: 3; grid-row: 2; display: flex; gap: .5rem; align-items: center; margin: -.5rem 0 0; color: var(--on-night-2); font-size: .9rem; }
.shield__note .i { width: 1.15rem; height: 1.15rem; }
.shield__gate { display: grid; gap: .4rem; padding: 1.25rem; }
.shield__gate > .i { width: 1.75rem; height: 1.75rem; }
.shield__gate b { color: #fff; font-size: 1.1rem; font-weight: 700; }
.shield__gate span { color: var(--on-night-2); font-size: .88rem; line-height: 1.45; }
.shield__gate::before, .shield__gate::after { content: ""; position: absolute; top: 50%; height: 2px; background: var(--leaf); }
.shield__gate::before { right: 100%; width: calc(var(--g) * .5 + 2px); }
.shield__gate::after { left: 100%; width: var(--g); background: linear-gradient(90deg, var(--leaf), rgba(79,209,143,.4)); }
.shield__upvs { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.4rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; box-shadow: 0 0 0 8px rgba(79,209,143,.12), 0 20px 50px -10px rgba(0,0,0,.5); }
.shield__upvs .i { color: var(--brand); width: 1.5rem; height: 1.5rem; }
.shield__upvs small { color: var(--ink-3); font-weight: 500; font-size: .8rem; letter-spacing: 0; }
.shield__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 1.5rem; padding-top: 1.75rem; box-shadow: 0 -1px 0 rgba(255,255,255,.1); }
.shield__base li { display: flex; align-items: center; gap: .6rem; color: var(--on-night); font-size: .95rem; }

@media (max-width: 1080px) {
  .shield { --g: 1.5rem; grid-template-columns: 1fr; gap: var(--g); padding: 2rem 1.25rem; }
  .shield__who { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; }
  .shield__who li::after, .shield__inst li::before, .shield__inst li::after, .shield__inst ul::after { display: none; }
  .shield__wall { flex-direction: row; justify-content: space-around; gap: 1rem; padding: 1rem 1.25rem; }
  .shield__note { grid-column: auto; grid-row: auto; margin-top: calc(var(--g) * -.4); }
  .shield__gate, .shield__upvs { order: 1; }
  .shield__base { order: 2; }
  .shield__upvs { justify-self: center; }
  .shield__wall, .shield__inst, .shield__gate, .shield__upvs { position: relative; }
  .shield__wall::before, .shield__inst::before, .shield__gate::before, .shield__upvs::before { content: ""; position: absolute; left: 50%; right: auto; top: auto; bottom: 100%; width: 2px; height: var(--g); margin-left: -1px; background: var(--leaf); }
  .shield__gate::after { display: none; }
  .shield__base { margin-top: 0; flex-direction: column; gap: .75rem; }
  .shield__inst li { height: auto; min-height: 4.75rem; padding-block: .8rem; }
  .shield__parts { flex-wrap: wrap; }
}
