/*
 * Maturita – verejná prezentačná stránka (/predstavenie).
 * Zámerne samostatný súbor: nezávisí od Bootstrapu ani od štýlov aplikácie.
 * Paleta školská: navy #163a63, červená len ako malý akcent.
 */
:root {
    --navy: #163a63;
    --navy2: #245b96;
    --navy3: #0d2540;
    --red: #c8102e;
    --ink: #18202f;
    --muted: #5b6678;
    --line: #dfe5ee;
    --tint: #f4f7fb;
    --ok: #1f7a4d;
    --warn: #b7791f;
    --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.w-body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.w-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }

/* ---------- Tlačidlá ---------- */
.w-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px; border-radius: 10px;
    background: var(--navy); color: #fff; text-decoration: none;
    font-weight: 600; font-size: .98rem; border: 1px solid var(--navy);
    transition: background .15s, transform .15s, box-shadow .15s;
}
.w-btn:hover { background: var(--navy3); box-shadow: 0 6px 18px rgba(22,58,99,.25); transform: translateY(-1px); color: #fff; }
.w-btn-sm { padding: 9px 16px; font-size: .9rem; }
.w-btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.w-btn-ghost:hover { background: var(--tint); color: var(--navy); box-shadow: none; }
.w-btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.w-btn-light:hover { background: #eaf1f8; color: var(--navy); }
.w-btn-outline { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.w-btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.w-btn:focus-visible, .w-menu a:focus-visible { outline: 3px solid #8fb4de; outline-offset: 2px; }

/* ---------- Navigácia ---------- */
.w-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.w-nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.w-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.1rem; margin-right: auto; }
.w-brand img { height: 40px; width: auto; }
.w-menu { display: flex; gap: 4px; }
.w-menu a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.w-menu a:hover { color: var(--navy); background: var(--tint); }

/* ---------- Spoločné ---------- */
.w-eyebrow { color: var(--navy2); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; position: relative; padding-left: 28px; }
.w-eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; background: var(--red); }
.w-eyebrow-light { color: #b9d0ea; }
.w-lead { font-size: 1.15rem; color: var(--muted); margin-top: 20px; max-width: 540px; }
.w-sec { padding: 96px 0; }
.w-sec-tint { background: var(--tint); }
.w-head { max-width: 640px; margin-bottom: 48px; }
.w-head p:not(.w-eyebrow) { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.w-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.w-cta-c { justify-content: center; }
.w-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: .94rem; }
.w-ticks i { color: var(--ok); font-weight: 700; margin-right: 6px; }
.w-ticks-light { color: #d3e2f3; }
.w-ticks-light i { color: #8fd1ad; }

/* ---------- Hero ---------- */
.w-hero { padding: 80px 0 88px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.w-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.w-shot { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(22,58,99,.14); overflow: hidden; position: relative; }
.w-shot-bar { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 6px; padding: 11px 16px; font-size: .8rem; font-weight: 600; }
.w-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.w-shot-bar span { margin-left: 10px; }
.w-shot-body { padding: 20px; background: #eef1f6; }
.w-shot-h { font-size: .78rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.w-shot-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.w-mini { background: #fff; border-radius: 10px; padding: 12px; border-left: 4px solid; box-shadow: 0 1px 2px rgba(22,58,99,.08); }
.w-mini b { display: block; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.w-mini span { display: block; font-size: .72rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.w-mini-warn { border-color: var(--warn); } .w-mini-info { border-color: var(--navy2); } .w-mini-ok { border-color: var(--ok); }
.w-bar { height: 8px; background: #dbe2ec; border-radius: 99px; overflow: hidden; }
.w-bar span { display: block; height: 100%; background: var(--navy2); border-radius: 99px; }
.w-bar-l { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin: 5px 0 12px; }
.w-shot-note { position: absolute; right: 12px; bottom: 8px; font-size: .68rem; color: #8a94a6; }

/* ---------- Pás prínosov ---------- */
.w-strip { background: var(--navy); color: #fff; }
.w-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.w-strip i { font-size: 1.6rem; color: #8fb4de; }
.w-strip h3 { color: #fff; margin: 12px 0 6px; }
.w-strip p { color: #c9d8ea; font-size: .95rem; }

/* ---------- Roly ---------- */
.w-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.w-role { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; transition: box-shadow .2s, transform .2s; }
.w-role:hover { box-shadow: 0 14px 34px rgba(22,58,99,.1); transform: translateY(-2px); }
.w-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #eaf1f8; color: var(--navy); font-size: 1.4rem; margin-bottom: 16px; }
.w-role ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.w-role li { padding-left: 24px; position: relative; color: var(--muted); font-size: .94rem; }
.w-role li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--navy2); }

/* ---------- Kroky ---------- */
.w-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.w-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.w-steps li span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.w-steps h3 { margin-bottom: 8px; }
.w-steps p { color: var(--muted); font-size: .9rem; }

/* ---------- Funkcie ---------- */
.w-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.w-feat > div { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.w-feat > div:nth-child(3n) { border-right: 0; }
.w-feat > div:nth-last-child(-n+3) { border-bottom: 0; }
.w-feat i, .w-sec-grid i { font-size: 1.5rem; color: var(--navy2); }
.w-feat h3, .w-sec-grid h3 { margin: 12px 0 6px; }
.w-feat p, .w-sec-grid p { color: var(--muted); font-size: .93rem; }

/* ---------- Dokumenty ---------- */
.w-sec-navy { background: var(--navy); color: #d3e2f3; }
.w-sec-navy h2 { color: #fff; }
.w-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.w-split p:not(.w-eyebrow) { margin-top: 16px; }
.w-doc { position: relative; height: 340px; display: grid; place-items: center; }
.w-doc-page { position: relative; z-index: 2; width: 250px; height: 330px; background: #fff; border-radius: 6px; padding: 22px 22px; box-shadow: 0 24px 50px rgba(0,0,0,.35); transform: rotate(-2deg); }
.w-doc-back { position: absolute; z-index: 1; transform: rotate(5deg) translateX(34px); opacity: .6; padding: 0; }
.w-doc-head { height: 22px; background: linear-gradient(90deg, var(--navy) 0 30%, #dfe5ee 30%); border-radius: 2px; margin-bottom: 16px; }
.w-doc-t { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; color: var(--navy); text-align: center; font-size: .95rem; margin: 0 0 14px !important; }
.w-doc-k { color: var(--red); font-size: .7rem; font-weight: 700; text-decoration: underline; margin: 12px 0 6px !important; }
.w-l { display: block; height: 5px; background: #e3e8f0; border-radius: 3px; margin-bottom: 6px; }
.w-l1 { width: 100%; } .w-l2 { width: 82%; } .w-l3 { width: 60%; }

/* ---------- Bezpečnosť ---------- */
.w-sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.w-sec-grid > div { padding-top: 22px; border-top: 2px solid var(--navy); }

/* ---------- Mobil ---------- */
.w-split-center { grid-template-columns: .8fr 1.2fr; }
.w-phone { justify-self: center; width: 270px; border-radius: 36px; background: var(--navy3); padding: 10px; box-shadow: 0 24px 50px rgba(22,58,99,.25); }
.w-phone-in { background: #eef1f6; border-radius: 28px; padding: 18px 14px 22px; min-height: 420px; }
.w-phone-top { text-align: center; font-weight: 700; color: var(--navy); font-size: .85rem; margin-bottom: 18px; }
.w-push { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 11px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(22,58,99,.1); }
.w-push i { background: var(--navy); color: #fff; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .85rem; flex: none; }
.w-push b { display: block; font-size: .78rem; color: var(--ink); }
.w-push span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.35; }

/* ---------- Záverečná výzva ---------- */
.w-final { background: var(--navy); text-align: center; padding: 88px 0; }
.w-final h2 { color: #fff; max-width: 720px; margin: 0 auto; }
.w-final p { color: #c9d8ea; max-width: 600px; margin: 16px auto 0; font-size: 1.05rem; }

.w-foot { background: var(--navy3); color: #9fb3cb; font-size: .85rem; padding: 18px 0; }
.w-foot-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.w-foot a { color: #9fb3cb; text-decoration: none; }
.w-foot a:hover { color: #fff; text-decoration: underline; }


/* ============================================================
   Ukážka v praxi – animované scény (čisté CSS, slučka 10 s)
   ============================================================ */
.w-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--tint); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.w-tabs button { font: inherit; font-weight: 600; font-size: .94rem; color: var(--muted); background: transparent; border: 0; padding: 10px 18px; border-radius: 9px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.w-tabs button:hover { color: var(--navy); }
.w-tabs button.on { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(22,58,99,.25); }
.w-tabs button:focus-visible { outline: 3px solid #8fb4de; outline-offset: 2px; }

.w-demo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.w-dt { display: none; }
.w-dt.on { display: block; }
.w-dt h3 { font-size: 1.3rem; font-family: "Source Serif 4", Georgia, serif; font-weight: 600; margin-bottom: 16px; }
.w-dt ol { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.w-dt li::marker { color: var(--navy2); font-weight: 700; }

.w-demo { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(22,58,99,.14); overflow: hidden; }
.w-demo-bar { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 6px; padding: 11px 16px; font-size: .8rem; font-weight: 600; }
.w-demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.w-demo-bar span { margin-left: 10px; }
.w-sc { display: none; position: relative; height: 340px; background: #eef1f6; padding: 18px; overflow: hidden; }
.w-sc.on { display: block; }
.w-sc-h { font-size: .76rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }

.w-row, .w-card { background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 1px 2px rgba(22,58,99,.08); min-height: 60px; }
.w-row b, .w-card b { display: block; font-size: .85rem; color: var(--ink); }
.w-row small, .w-card small { display: block; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.w-chip { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.w-chip-gray { background: #e8edf4; color: var(--muted); }

.w-act { position: relative; flex: none; width: 170px; height: 32px; }
.w-st { position: absolute; right: 0; top: 0; height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 8px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.zs-a { background: var(--navy); color: #fff; }
.zs-b { background: #fbf0d9; color: var(--warn); }
.zs-c, .ks-d1, .ks-d2 { background: #dff1e7; color: var(--ok); }
.ks-a1, .ks-a2 { padding: 0; gap: 6px; }
.w-b { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; font-size: .78rem; font-weight: 700; }
.w-b-ok { background: var(--ok); color: #fff; }
.w-b-no { background: #e8edf4; color: var(--muted); }
.w-b-navy { background: var(--navy); color: #fff; }

.w-toast, .w-mail { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 11px 14px; box-shadow: 0 10px 28px rgba(22,58,99,.22); max-width: 270px; border-left: 4px solid var(--ok); }
.w-toast i { color: var(--ok); margin-top: 2px; }
.w-toast b { display: block; font-size: .8rem; }
.w-toast span { display: block; font-size: .72rem; color: var(--muted); }
.w-mail { left: 14px; right: auto; align-items: center; font-size: .78rem; font-weight: 600; color: var(--navy); max-width: none; }
.w-mail i { color: var(--ok); font-size: 1.05rem; }

.w-minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.w-sc .w-bar { margin-bottom: 12px; }
.w-sheet { position: absolute; right: 18px; bottom: 14px; width: 150px; background: #fff; border-radius: 6px; padding: 12px; box-shadow: 0 14px 34px rgba(22,58,99,.3); }
.w-sheet p { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; color: var(--navy); font-size: .74rem; text-align: center; margin: 8px 0; }
.w-sheet em { display: block; font-style: normal; font-size: .62rem; color: var(--red); font-weight: 700; margin-top: 8px; }
.vs-print { position: absolute; left: 18px; bottom: 18px; }

/* Kurzor */
.w-cur { position: absolute; width: 22px; height: 26px; z-index: 5; pointer-events: none; opacity: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 26'%3E%3Cpath d='M2 1l17 12-8 1.5 4.5 8-3.2 1.8-4.5-8L2 21z' fill='%23163a63' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }

/* ---------- Žiak ---------- */
.w-sc.on .zs-cur   { animation: zsCur 10s ease-in-out infinite; }
.w-sc.on .zs-a     { animation: zsA 10s infinite; }
.w-sc.on .zs-b     { animation: zsB 10s infinite; opacity: 0; }
.w-sc.on .zs-c     { animation: zsC 10s infinite; opacity: 0; }
.w-sc.on .zs-toast { animation: zsToast 10s infinite; opacity: 0; }
@keyframes zsCur   { 0% { left: 50%; top: 300px; opacity: 0; } 8% { opacity: 1; } 30% { left: calc(100% - 100px); top: 150px; opacity: 1; } 33% { transform: scale(.82); } 37% { transform: scale(1); } 50% { opacity: 1; } 58%, 100% { left: calc(100% - 100px); top: 150px; opacity: 0; } }
@keyframes zsA     { 0%, 33% { opacity: 1; transform: scale(1); } 34% { transform: scale(.94); } 35%, 99% { opacity: 0; } 100% { opacity: 1; } }
@keyframes zsB     { 0%, 34% { opacity: 0; } 36%, 60% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes zsC     { 0%, 61% { opacity: 0; } 64%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes zsToast { 0%, 62% { opacity: 0; transform: translateY(24px); } 67%, 92% { opacity: 1; transform: translateY(0); } 97%, 100% { opacity: 0; transform: translateY(0); } }

/* ---------- Konzultant ---------- */
.w-sc.on .ks-cur   { animation: ksCur 10s ease-in-out infinite; }
.w-sc.on .ks-btn1  { animation: ksPress1 10s infinite; }
.w-sc.on .ks-a1    { animation: ksA1 10s infinite; }
.w-sc.on .ks-d1    { animation: ksD1 10s infinite; opacity: 0; }
.w-sc.on .ks-card2 { animation: ksCard2 10s infinite; opacity: 0; }
.w-sc.on .ks-a2    { animation: ksA2 10s infinite; }
.w-sc.on .ks-d2    { animation: ksD2 10s infinite; opacity: 0; }
.w-sc.on .ks-mail  { animation: ksMail 10s infinite; opacity: 0; }
@keyframes ksCur   { 0% { left: 45%; top: 300px; opacity: 0; } 6% { opacity: 1; } 22% { left: calc(100% - 140px); top: 94px; } 25% { transform: scale(.82); } 28% { transform: scale(1); } 52% { left: calc(100% - 140px); top: 168px; opacity: 1; } 55% { transform: scale(.82); } 58% { transform: scale(1); } 66%, 100% { left: calc(100% - 140px); top: 168px; opacity: 0; } }
@keyframes ksPress1 { 0%, 100% { transform: none; } }
@keyframes ksA1    { 0%, 25% { opacity: 1; } 27%, 99% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ksD1    { 0%, 26% { opacity: 0; } 29%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes ksCard2 { 0%, 30% { opacity: 0; transform: translateY(10px); } 35%, 95% { opacity: 1; transform: translateY(0); } 99%, 100% { opacity: 0; } }
@keyframes ksA2    { 0%, 55% { opacity: 1; } 57%, 99% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ksD2    { 0%, 56% { opacity: 0; } 59%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes ksMail  { 0%, 62% { opacity: 0; transform: translateY(16px); } 67%, 93% { opacity: 1; transform: translateY(0); } 97%, 100% { opacity: 0; } }

/* ---------- Vedenie ---------- */
.w-sc.on .vs-m1 { animation: vsIn 10s infinite; opacity: 0; animation-delay: 0s; }
.w-sc.on .vs-m2 { animation: vsIn2 10s infinite; opacity: 0; }
.w-sc.on .vs-m3 { animation: vsIn3 10s infinite; opacity: 0; }
.w-sc.on .vs-b1 { animation: vsB1 10s infinite; width: 0; }
.w-sc.on .vs-b2 { animation: vsB2 10s infinite; width: 0; }
.w-sc.on .vs-b3 { animation: vsB3 10s infinite; width: 0; }
.w-sc.on .vs-cur   { animation: vsCur 10s ease-in-out infinite; }
.w-sc.on .vs-sheet { animation: vsSheet 10s infinite; opacity: 0; }
.w-sc.on .vs-print { animation: vsPrint 10s infinite; }
@keyframes vsIn  { 0%, 3% { opacity: 0; transform: translateY(10px); } 9%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes vsIn2 { 0%, 9% { opacity: 0; transform: translateY(10px); } 15%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes vsIn3 { 0%, 15% { opacity: 0; transform: translateY(10px); } 21%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes vsB1  { 0%, 24% { width: 0; opacity: 1; } 40%, 96% { width: 72%; opacity: 1; } 99%, 100% { width: 72%; opacity: 0; } }
@keyframes vsB2  { 0%, 28% { width: 0; opacity: 1; } 44%, 96% { width: 41%; opacity: 1; } 99%, 100% { width: 41%; opacity: 0; } }
@keyframes vsB3  { 0%, 32% { width: 0; opacity: 1; } 48%, 96% { width: 18%; opacity: 1; } 99%, 100% { width: 18%; opacity: 0; } }
@keyframes vsCur { 0% { left: 60%; top: 120px; opacity: 0; } 50% { left: 60%; top: 120px; opacity: 0; } 54% { opacity: 1; } 66% { left: 90px; top: 296px; } 69% { transform: scale(.82); } 72% { transform: scale(1); } 80% { opacity: 1; } 86%, 100% { left: 90px; top: 296px; opacity: 0; } }
@keyframes vsPrint { 0%, 68% { transform: none; } 70% { transform: scale(.94); } 72%, 100% { transform: none; } }
@keyframes vsSheet { 0%, 70% { opacity: 0; transform: translateY(70px); } 76%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

@media (max-width: 960px) {
    .w-demo-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    .w-tabs { display: flex; }
    .w-tabs button { flex: 1; justify-content: center; padding: 10px 6px; font-size: .82rem; }
    .w-tabs button i { display: none; }
    .w-row small, .w-card small { display: none; }
    .w-act { width: 132px; }
    .w-sheet { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
    .w-sc .w-cur { display: none; }
    .w-sc.on * { animation: none !important; }
    .w-sc.on .zs-a, .w-sc.on .zs-b, .w-sc.on .ks-a1, .w-sc.on .ks-a2 { opacity: 0 !important; }
    .w-sc.on .zs-c, .w-sc.on .ks-d1, .w-sc.on .ks-d2, .w-sc.on .ks-card2, .w-sc.on .zs-toast,
    .w-sc.on .ks-mail, .w-sc.on .vs-m1, .w-sc.on .vs-m2, .w-sc.on .vs-m3, .w-sc.on .vs-sheet { opacity: 1 !important; }
    .w-sc.on .vs-b1 { width: 72% !important; } .w-sc.on .vs-b2 { width: 41% !important; } .w-sc.on .vs-b3 { width: 18% !important; }
}


/* ============================================================
   Viacstránkový web: navigácia, hlavička podstránky, bloky
   ============================================================ */
.w-menu a.on { color: var(--navy); background: var(--tint); }
.w-menu-login { display: none; }
.w-burger { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; font-size: 1.4rem; color: var(--navy); cursor: pointer; }
.w-brand-light { color: #fff; }

.w-page { padding: 64px 0 56px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.w-page h1 { max-width: 780px; font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.w-page .w-lead { max-width: 680px; }
.w-crumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.w-crumb a { color: var(--navy2); text-decoration: none; font-weight: 600; }
.w-crumb a:hover { text-decoration: underline; }
.w-crumb i { font-size: .65rem; }

/* Rozcestník na úvodnej */
.w-teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.w-teasers a { display: flex; flex-direction: column; gap: 6px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.w-teasers a:hover { box-shadow: 0 14px 34px rgba(22,58,99,.1); transform: translateY(-2px); border-color: var(--line-strong, #b7c0d1); }
.w-teasers > a > i { font-size: 1.6rem; color: var(--navy2); }
.w-teasers h3 { margin-top: 8px; }
.w-teasers p { color: var(--muted); font-size: .93rem; flex: 1; }
.w-teasers span { color: var(--navy); font-weight: 600; font-size: .9rem; margin-top: 8px; }
.w-teasers span i { transition: transform .2s; display: inline-block; }
.w-teasers a:hover span i { transform: translateX(4px); }
.w-teasers .w-teaser-login { background: var(--tint); }

/* Rola – podrobný blok */
.w-block { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.w-block:first-child { border-top: 0; padding-top: 0; }
.w-block:last-child { padding-bottom: 0; }
.w-block-h h2 { margin: 4px 0 10px; font-size: 1.7rem; }
.w-block-h p { color: var(--muted); font-size: .95rem; }
.w-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.w-check li { position: relative; padding-left: 30px; color: var(--muted); }
.w-check li b { color: var(--ink); }
.w-check li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--ok); font-size: 1.1rem; }

/* Časová os krokov */
.w-tl { list-style: none; padding: 0; margin: 0; max-width: 820px; position: relative; }
.w-tl::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.w-tl li { display: flex; gap: 24px; padding-bottom: 32px; position: relative; }
.w-tl li:last-child { padding-bottom: 0; }
.w-tl li > span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; z-index: 1; box-shadow: 0 0 0 6px #fff; }
.w-tl h3 { font-size: 1.2rem; margin-bottom: 6px; }
.w-tl p { color: var(--muted); }

/* Funkcie */
.w-fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.w-fgrid article { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.w-fgrid article > i { font-size: 1.5rem; color: var(--navy2); }
.w-fgrid h2 { font-family: "Inter", sans-serif; font-size: 1.1rem; font-weight: 700; margin: 10px 0 12px; letter-spacing: 0; }
.w-fgrid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.w-fgrid li { position: relative; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.w-fgrid li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy2); }
.w-note { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding: 24px 28px; background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); }
.w-note > i { font-size: 1.6rem; color: var(--navy); }
.w-note p { color: var(--muted); margin-top: 6px; font-size: .95rem; }

/* Dokumenty */
.w-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.w-docs article { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.w-docs h3 { margin-bottom: 8px; }
.w-docs p { color: var(--muted); font-size: .94rem; }
.w-sec-grid-2 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.w-sec-grid a { color: var(--navy2); }

@media (max-width: 960px) {
    .w-nav-in { gap: 12px; }
    .w-burger { display: inline-grid; place-items: center; }
    .w-nav-login { display: none; }
    .w-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; flex-direction: column; gap: 2px; box-shadow: 0 16px 30px rgba(22,58,99,.1); }
    .w-menu.open { display: flex; }
    .w-menu a { padding: 12px; font-size: 1rem; }
    .w-menu-login { display: block; background: var(--navy); color: #fff !important; text-align: center; margin-top: 8px; }
    .w-teasers, .w-fgrid, .w-sec-grid-2 { grid-template-columns: 1fr 1fr; }
    .w-block { grid-template-columns: 1fr; gap: 20px; }
    .w-docs { grid-template-columns: 1fr; }
    .w-page { padding: 44px 0 40px; }
}
@media (max-width: 560px) {
    .w-teasers, .w-fgrid, .w-sec-grid-2 { grid-template-columns: 1fr; }
    .w-tl li { gap: 16px; }
    .w-note { flex-direction: column; gap: 10px; }
}
.w-foot-top { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.w-foot-top nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.w-foot-top .w-brand img { height: 34px; background: #fff; border-radius: 6px; padding: 2px 4px; }


/* ============================================================
   Ukážky tlačív (A4, mierka podľa šírky kontajnera)
   ============================================================ */
.w-papers { max-width: 640px; margin: 0 auto; container-type: inline-size; }
.w-paper { display: none; flex-direction: column; aspect-ratio: 210 / 297; background: #fff; color: #000; padding: 8cqw 7.5cqw 6cqw 9.5cqw; overflow: hidden;
    font-family: "Times New Roman", Times, serif; font-size: 1.8cqw; line-height: 1.32; box-shadow: 0 2px 4px rgba(22,58,99,.08), 0 24px 60px rgba(22,58,99,.16); border-radius: 2px; }
.w-paper.on { display: flex; }
.w-paper p, .w-paper h4 { margin: 0; }
.w-paper table { width: 100%; border-collapse: collapse; }
.w-paper td, .w-paper th { border: 1px solid #444; padding: .35em .7em; vertical-align: middle; }
.w-paper td.l { background: #efefef; font-weight: bold; width: 38%; }
.p-t { margin-bottom: .8em; }
.p-ev { display: flex; justify-content: space-between; border-bottom: 2px solid #000; padding-bottom: .25em; margin-bottom: 1em; font-weight: bold; }
.p-title { text-align: center; margin: 2.2em 0 1.2em; }
.p-title h4 { font-size: 1.65em; letter-spacing: .22em; margin-bottom: .3em; font-weight: 700; }
.p-title p { margin: .15em 0; }
.p-m { margin: .35em 0 !important; }
.p-lbl { font-weight: bold; text-decoration: underline; margin: 1em 0 .4em !important; }
.p-it { font-style: italic; margin: .6em 0 .2em !important; }
.p-body { text-align: justify; line-height: 1.55; margin-bottom: 1em !important; }
.p-cons { margin-top: 3.2em; }
.p-foot { margin-top: auto; }
.p-sign { display: flex; justify-content: space-between; align-items: flex-start; margin: 1.6em 0 1em; }
.p-sign > div { text-align: right; }
.p-sign b { display: block; }
.p-sign i { display: block; }
.p-bot { display: flex; justify-content: space-between; margin-top: 1.6em; }

.w-paper-pos { font-size: 1.75cqw; }
.p-skola { text-align: center; font-weight: bold; font-size: 1.25em; margin-bottom: .4em !important; }
.p-sub { text-align: center; margin-bottom: 1.2em !important; }
.p-h { text-align: center; text-transform: uppercase; letter-spacing: .06em; font-size: 1.2em; margin: .2em 0 1em !important; line-height: 1.4; }
.p-kv { display: flex; gap: .5em; margin-bottom: .45em; }
.p-kv b { min-width: 17em; }
.p-kv span { flex: 1; border-bottom: 1px solid #000; }
.p-grid { margin: .9em 0 .8em; font-size: .93em; }
.p-grid th { background: #efefef; font-weight: bold; }
.p-grid thead th:first-child { text-align: left; }
.p-grid td:not(:first-child), .p-grid th:not(:first-child) { text-align: center; }
.p-grid:not(.p-zap):not(.p-ovr) td:not(:first-child) { font-size: 1.3em; width: 7%; padding: .1em .3em; }
.p-ovr td { font-size: 1.3em; padding: .1em .3em; }
.p-txt { font-weight: bold; line-height: 1.45; }
.p-sign-pos { margin-top: auto; }
.w-paper-pos .p-lbl { margin: .8em 0 .3em !important; }

.w-paper-list { font-size: 1.8cqw; }
.p-zap td, .p-zap th { text-align: left !important; font-size: 1em; }
.p-zap .d { width: 17%; white-space: nowrap; }
.p-sigs { display: flex; gap: 6cqw; margin-top: auto; }
.p-sigs > div { flex: 1; font-size: .9em; }
.p-sigs i { display: block; border-top: 1px solid #000; margin-bottom: .3em; margin-top: 3em; }
.w-papers-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 20px; }
@media (max-width: 560px) { .w-papers-note { font-size: .8rem; } }


/* ============================================================
   Ukážka v praxi – rozšírené scény (3 na rolu, automatický postup)
   ============================================================ */
.w-dt li { transition: color .3s; padding-left: 4px; }
.w-dt li.on { color: var(--navy); font-weight: 600; }
.w-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.w-dots button { width: 56px; height: 14px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.w-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 6px; border-radius: 99px; background: #d3dbe7; }
.w-dots button span { position: absolute; left: 0; top: 4px; height: 6px; width: 0; border-radius: 99px; background: var(--navy); }
.w-dots button.on span { animation: dotFill 10s linear forwards; }
.w-dots button:focus-visible { outline: 3px solid #8fb4de; outline-offset: 2px; border-radius: 6px; }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }

.w-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.w-slot { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 8px; text-align: center; box-shadow: 0 1px 2px rgba(22,58,99,.08); }
.w-slot b { display: block; font-size: .78rem; }
.w-slot span { display: block; font-size: 1.1rem; font-weight: 700; margin-top: 2px; }
.w-file { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 10px 14px; margin-top: 12px; box-shadow: 0 1px 2px rgba(22,58,99,.08); }
.w-file > i { font-size: 1.3rem; color: var(--navy2); }
.w-file > div { flex: 1; }
.w-file b { display: block; font-size: .8rem; margin-bottom: 6px; }
.w-up { display: block; height: 6px; background: #dbe2ec; border-radius: 99px; overflow: hidden; }
.w-up > span { display: block; height: 100%; background: var(--navy2); border-radius: 99px; width: 0; }
.w-act2 { position: absolute; left: 18px; top: 196px; height: 32px; }
.w-act2 .w-b, .w-st2 { position: absolute; left: 0; top: 0; white-space: nowrap; }
.w-st2 { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 8px; background: #fbf0d9; color: var(--warn); font-size: .78rem; font-weight: 700; }

.w-dz { position: relative; height: 140px; border: 2px dashed #b7c0d1; border-radius: 12px; background: #fff; }
.w-dz > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 24px; text-align: center; }
.w-dz i { font-size: 1.8rem; color: var(--navy2); }
.w-dz b { font-size: .88rem; }
.w-dz span { font-size: .74rem; color: var(--muted); }
.w-dz .w-up { width: 70%; }
.w-dz .z3-ok i { color: var(--ok); }
.w-dz .z3-p, .w-dz .z3-ok { opacity: 0; }
.w-fchip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: .78rem; font-weight: 600; box-shadow: 0 8px 20px rgba(22,58,99,.22); opacity: 0; }
.w-fchip i { color: var(--red); }
.w-note2 { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; gap: 10px; background: #fff; border-left: 4px solid var(--warn); border-radius: 10px; padding: 11px 14px; box-shadow: 0 10px 28px rgba(22,58,99,.18); opacity: 0; }
.w-note2 i { color: var(--warn); margin-top: 2px; }
.w-note2 b { display: block; font-size: .8rem; }
.w-note2 span { display: block; font-size: .74rem; color: var(--muted); }

.w-fld { margin-bottom: 10px; }
.w-fld small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.w-in { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; min-height: 36px; font-size: .84rem; box-shadow: inset 0 1px 2px rgba(22,58,99,.05); }
.w-in-l { min-height: 66px; }
.tw { display: inline-block; white-space: nowrap; }
.w-ed { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.w-tb { display: flex; gap: 14px; padding: 6px 12px; background: #f4f7fb; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--navy); align-items: center; }
.w-tb u, .w-tb i, .w-tb b { font-style: normal; text-decoration: none; }
.w-tb i { font-style: italic; } .w-tb u { text-decoration: underline; }
.w-ed-t { padding: 8px 12px; font-size: .82rem; min-height: 56px; }
.w-ed-t .tw { display: block; width: fit-content; }
.k2-btn, .v2-btn, .v3-btn, .k3-print { position: absolute; }
.k2-btn, .v2-btn { right: 18px; bottom: 18px; }
.v3-btn, .k3-print { left: 18px; bottom: 18px; }

.w-seg { display: inline-flex; background: #dbe2ec; border-radius: 9px; padding: 3px; margin-bottom: 12px; font-size: .78rem; font-weight: 600; }
.w-seg span { padding: 6px 14px; border-radius: 7px; color: var(--muted); }

.w-rt { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; font-size: .76rem; box-shadow: 0 1px 2px rgba(22,58,99,.08); }
.w-rt th { background: #f4f7fb; text-align: center; padding: 6px 6px; color: var(--navy); }
.w-rt th:first-child, .w-rt td:first-child { text-align: left; padding-left: 12px; }
.w-rt td { padding: 6px; text-align: center; border-top: 1px solid #edf1f6; }
.rd { position: relative; display: inline-block; width: 14px; height: 14px; border: 2px solid #b7c0d1; border-radius: 50%; vertical-align: middle; }
.rd-on::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; background: var(--navy); transform: scale(0); }
.w-res { position: absolute; left: 18px; top: 236px; display: inline-flex; align-items: center; gap: 8px; background: #dff1e7; color: var(--ok); padding: 7px 14px; border-radius: 8px; font-size: .8rem; font-weight: 600; opacity: 0; }
.w-res b { color: var(--ok); }
.w-row-sm { min-height: 46px; padding: 8px 14px; }
.w-row-sm { opacity: 0; }
.w-cnt { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.w-cnt-0 { background: #f7dede; color: var(--danger, #b83232); }
.w-cnt-1, .w-cnt-2 { background: #fbf0d9; color: var(--warn); }

.w-sc.on .z2-cur { animation: z2Cur 10s infinite;  }
.w-sc.on .z2-sel { animation: z2Sel 10s infinite;  }
.w-sc.on .z2-file { animation: z2File 10s infinite; opacity: 0; }
.w-sc.on .z2-up { animation: z2Up 10s infinite; width: 0; }
.w-sc.on .z2-btn { animation: z2Btn 10s infinite; opacity: 0; }
.w-sc.on .z2-st { animation: z2St 10s infinite; opacity: 0; }
.w-sc.on .z2-toast { animation: z2Toast 10s infinite; opacity: 0; }
.w-sc.on .z3-chip { animation: z3Chip 10s infinite; opacity: 0; }
.w-sc.on .z3-cur { animation: z3Cur 10s infinite;  }
.w-sc.on .z3-a { animation: z3A 10s infinite;  }
.w-sc.on .z3-p { animation: z3P 10s infinite; opacity: 0; }
.w-sc.on .z3-up { animation: z3Up 10s infinite; width: 0; }
.w-sc.on .z3-ok { animation: z3Ok 10s infinite; opacity: 0; }
.w-sc.on .w-dz { animation: z3Dz 10s infinite;  }
.w-sc.on .z3-note { animation: z3Note 10s infinite; opacity: 0; }
.w-sc.on .k2-t1 { animation: k2T1 10s infinite; clip-path: inset(0 100% 0 0); }
.w-sc.on .k2-t2 { animation: k2T2 10s infinite; clip-path: inset(0 100% 0 0); }
.w-sc.on .k2-t3 { animation: k2T3 10s infinite; clip-path: inset(0 100% 0 0); }
.w-sc.on .k2-cur { animation: k2Cur 10s infinite;  }
.w-sc.on .k2-btn { animation: k2Btn 10s infinite;  }
.w-sc.on .k2-toast { animation: k2Toast 10s infinite; opacity: 0; }
.w-sc.on .rd-on.r1::after { animation: rd1 10s infinite; transform: scale(0); }
.w-sc.on .rd-on.r2::after { animation: rd2 10s infinite; transform: scale(0); }
.w-sc.on .rd-on.r3::after { animation: rd3 10s infinite; transform: scale(0); }
.w-sc.on .rd-on.r4::after { animation: rd4 10s infinite; transform: scale(0); }
.w-sc.on .rd-on.r5::after { animation: rd5 10s infinite; transform: scale(0); }
.w-sc.on .k3-res { animation: k3Res 10s infinite; opacity: 0; }
.w-sc.on .k3-cur { animation: k3Cur 10s infinite;  }
.w-sc.on .k3-sheet { animation: k3Sheet 10s infinite; opacity: 0; }
.w-sc.on .k3-print { animation: k3Pr 10s infinite;  }
.w-sc.on .v2-cur { animation: v2Cur 10s infinite;  }
.w-sc.on .v2-a { animation: v2A 10s infinite;  }
.w-sc.on .v2-t1 { animation: v2T1 10s infinite; clip-path: inset(0 100% 0 0); }
.w-sc.on .v2-t2 { animation: v2T2 10s infinite; clip-path: inset(0 100% 0 0); }
.w-sc.on .v2-btn { animation: v2Btn 10s infinite;  }
.w-sc.on .v2-toast { animation: v2Toast 10s infinite; opacity: 0; }
.w-sc.on .v3-r1 { animation: v3R1 10s infinite; opacity: 0; }
.w-sc.on .v3-r2 { animation: v3R2 10s infinite; opacity: 0; }
.w-sc.on .v3-r3 { animation: v3R3 10s infinite; opacity: 0; }
.w-sc.on .v3-r4 { animation: v3R4 10s infinite; opacity: 0; }
.w-sc.on .v3-cur { animation: v3Cur 10s infinite;  }
.w-sc.on .v3-btn { animation: v3Btn 10s infinite;  }
.w-sc.on .v3-toast { animation: v3Toast 10s infinite; opacity: 0; }
@keyframes z2Cur { 0% { left: 50%; top: 300px; opacity: 0; transform: scale(1); } 6% { left: 50%; top: 230px; opacity: 1; transform: scale(1); } 14% { left: 50%; top: 78px; opacity: 1; transform: scale(1); } 17% { left: 50%; top: 78px; opacity: 1; transform: scale(0.82); } 20% { left: 50%; top: 78px; opacity: 1; transform: scale(1); } 46% { left: 90px; top: 212px; opacity: 1; transform: scale(1); } 54% { left: 90px; top: 212px; opacity: 1; transform: scale(0.82); } 57% { left: 90px; top: 212px; opacity: 1; transform: scale(1); } 66% { left: 90px; top: 212px; opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes z2Sel { 0%, 16% { background: #fff; color: var(--ink); border-color: var(--line); } 19%, 96% { background: var(--navy); color: #fff; border-color: var(--navy); } 99%, 100% { background: #fff; color: var(--ink); border-color: var(--line); } }
@keyframes z2File { 0%, 22% { opacity: 0; transform: translateY(8px); } 26%, 96% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes z2Up { 0%, 28% { width: 0; } 46%, 98% { width: 100%; } 100% { width: 0; } }
@keyframes z2Btn { 0%, 44% { opacity: 0; } 48%, 54% { opacity: 1; transform: scale(1); } 55% { opacity: 1; transform: scale(.94); } 57%, 100% { opacity: 0; } }
@keyframes z2St { 0%, 58% { opacity: 0; transform: none; } 62%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes z2Toast { 0%, 68% { opacity: 0; transform: translateY(24px); } 73%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes z3Chip { 0%, 3% { left: 62%; top: 285px; opacity: 0; } 8% { left: 62%; top: 285px; opacity: 1; } 26% { left: 36%; top: 105px; opacity: 1; } 30%, 100% { left: 36%; top: 105px; opacity: 0; } }
@keyframes z3Cur { 0% { left: calc(62% + 16px); top: 292px; opacity: 0; transform: scale(1); } 8% { left: calc(62% + 16px); top: 292px; opacity: 1; transform: scale(1); } 26% { left: calc(36% + 16px); top: 112px; opacity: 1; transform: scale(0.9); } 30% { left: calc(36% + 16px); top: 112px; opacity: 1; transform: scale(1); } 40% { left: 60%; top: 230px; opacity: 0.8; transform: scale(1); } 46% { left: 60%; top: 230px; opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes z3A { 0%, 27% { opacity: 1; } 31%, 99% { opacity: 0; } 100% { opacity: 1; } }
@keyframes z3P { 0%, 32% { opacity: 0; transform: none; } 34%, 50% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; transform: none; } }
@keyframes z3Up { 0%, 34% { width: 0; } 50%, 98% { width: 100%; } 100% { width: 0; } }
@keyframes z3Ok { 0%, 56% { opacity: 0; transform: translateY(8px); } 60%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes z3Dz { 0%, 54% { border-color: #b7c0d1; background: #fff; } 58%, 95% { border-color: var(--ok); background: #f1faf5; } 99%, 100% { border-color: #b7c0d1; background: #fff; } }
@keyframes z3Note { 0%, 76% { opacity: 0; transform: translateY(16px); } 81%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes k2T1 { 0%, 6% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(33, end); } 22%, 98% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes k2T2 { 0%, 26% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(43, end); } 44%, 98% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes k2T3 { 0%, 46% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(38, end); } 60%, 98% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes k2Cur { 0% { left: 55%; top: 250px; opacity: 0; transform: scale(1); } 60% { left: 55%; top: 250px; opacity: 0; transform: scale(1); } 63% { left: 55%; top: 250px; opacity: 1; transform: scale(1); } 72% { left: calc(100% - 90px); top: 304px; opacity: 1; transform: scale(1); } 75% { left: calc(100% - 90px); top: 304px; opacity: 1; transform: scale(0.82); } 78% { left: calc(100% - 90px); top: 304px; opacity: 1; transform: scale(1); } 86% { left: calc(100% - 90px); top: 304px; opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes k2Btn { 0%, 74% { transform: scale(1); } 76% { transform: scale(.94); } 78%, 100% { transform: scale(1); } }
@keyframes k2Toast { 0%, 80% { opacity: 0; transform: translateY(24px); } 84%, 96% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes rd1 { 0%, 6% { transform: scale(0); } 10%, 96% { transform: scale(1); } 99%, 100% { transform: scale(0); } }
@keyframes rd2 { 0%, 14% { transform: scale(0); } 18%, 96% { transform: scale(1); } 99%, 100% { transform: scale(0); } }
@keyframes rd3 { 0%, 22% { transform: scale(0); } 26%, 96% { transform: scale(1); } 99%, 100% { transform: scale(0); } }
@keyframes rd4 { 0%, 30% { transform: scale(0); } 34%, 96% { transform: scale(1); } 99%, 100% { transform: scale(0); } }
@keyframes rd5 { 0%, 38% { transform: scale(0); } 42%, 96% { transform: scale(1); } 99%, 100% { transform: scale(0); } }
@keyframes k3Res { 0%, 46% { opacity: 0; transform: translateY(8px); } 50%, 96% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes k3Cur { 0% { left: 60%; top: 240px; opacity: 0; transform: scale(1); } 58% { left: 60%; top: 240px; opacity: 0; transform: scale(1); } 61% { left: 60%; top: 240px; opacity: 1; transform: scale(1); } 70% { left: 100px; top: 314px; opacity: 1; transform: scale(1); } 73% { left: 100px; top: 314px; opacity: 1; transform: scale(0.82); } 76% { left: 100px; top: 314px; opacity: 1; transform: scale(1); } 84% { left: 100px; top: 314px; opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes k3Sheet { 0%, 76% { opacity: 0; transform: translateY(70px); } 81%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes k3Pr { 0%, 71% { transform: scale(1); } 73% { transform: scale(.94); } 75%, 100% { transform: scale(1); } }
@keyframes v2Cur { 0% { left: 50%; top: 300px; opacity: 0; transform: scale(1); } 4% { left: 50%; top: 230px; opacity: 1; transform: scale(1); } 12% { left: 56px; top: 58px; opacity: 1; transform: scale(1); } 14% { left: 56px; top: 58px; opacity: 1; transform: scale(0.82); } 17% { left: 56px; top: 58px; opacity: 1; transform: scale(1); } 24% { left: 60%; top: 150px; opacity: 0; transform: scale(1); } 62% { left: calc(100% - 90px); top: 250px; opacity: 0; transform: scale(1); } 65% { left: calc(100% - 90px); top: 250px; opacity: 1; transform: scale(1); } 74% { left: calc(100% - 80px); top: 306px; opacity: 1; transform: scale(1); } 77% { left: calc(100% - 80px); top: 306px; opacity: 1; transform: scale(0.82); } 80% { left: calc(100% - 80px); top: 306px; opacity: 1; transform: scale(1); } 88% { left: calc(100% - 80px); top: 306px; opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes v2A { 0%, 13% { background: transparent; color: var(--muted); } 16%, 96% { background: var(--navy); color: #fff; } 99%, 100% { background: transparent; color: var(--muted); } }
@keyframes v2T1 { 0%, 22% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(19, end); } 34%, 98% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes v2T2 { 0%, 38% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(42, end); } 60%, 98% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes v2Btn { 0%, 75% { transform: scale(1); } 77% { transform: scale(.94); } 79%, 100% { transform: scale(1); } }
@keyframes v2Toast { 0%, 82% { opacity: 0; transform: translateY(24px); } 86%, 96% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes v3R1 { 0%, 4% { opacity: 0; transform: translateX(-18px); } 9%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes v3R2 { 0%, 10% { opacity: 0; transform: translateX(-18px); } 15%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes v3R3 { 0%, 16% { opacity: 0; transform: translateX(-18px); } 21%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes v3R4 { 0%, 22% { opacity: 0; transform: translateX(-18px); } 27%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes v3Cur { 0% { left: 50%; top: 300px; opacity: 0; transform: scale(1); } 48% { left: 50%; top: 300px; opacity: 0; transform: scale(1); } 52% { left: 50%; top: 270px; opacity: 1; transform: scale(1); } 60% { left: 100px; top: 308px; opacity: 1; transform: scale(1); } 63% { left: 100px; top: 308px; opacity: 1; transform: scale(0.82); } 66% { left: 100px; top: 308px; opacity: 1; transform: scale(1); } 74% { left: 100px; top: 308px; opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@keyframes v3Btn { 0%, 61% { transform: scale(1); } 63% { transform: scale(.94); } 65%, 100% { transform: scale(1); } }
@keyframes v3Toast { 0%, 68% { opacity: 0; transform: translateY(24px); } 72%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .w-sc.on .z2-file, .w-sc.on .z2-st, .w-sc.on .z2-toast, .w-sc.on .z3-ok, .w-sc.on .z3-note, .w-sc.on .k3-res,
    .w-sc.on .k3-sheet, .w-sc.on .k2-toast, .w-sc.on .v2-toast, .w-sc.on .v3-toast, .w-sc.on .w-row-sm { opacity: 1 !important; }
    .w-sc.on .tw { clip-path: none !important; }
    .w-sc.on .rd-on::after { transform: scale(1) !important; }
    .w-sc.on .z2-up, .w-sc.on .z3-up { width: 100% !important; }
    .w-dots button.on span { animation: none; width: 100%; }
}
@media (max-width: 560px) { .w-slot span { font-size: .95rem; } .w-seg span { padding: 6px 9px; } }

/* ---------- Responzívne ---------- */
@media (max-width: 960px) {
    .w-menu { display: none; }
    .w-hero-grid, .w-split, .w-split-center { grid-template-columns: 1fr; gap: 40px; }
    .w-strip-grid, .w-roles, .w-sec-grid { grid-template-columns: 1fr; gap: 24px; }
    .w-steps { grid-template-columns: 1fr 1fr; }
    .w-feat { grid-template-columns: 1fr 1fr; }
    .w-feat > div:nth-child(3n) { border-right: 1px solid var(--line); }
    .w-feat > div:nth-child(2n) { border-right: 0; }
    .w-feat > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .w-feat > div:last-child { border-bottom: 0; }
    .w-sec { padding: 64px 0; }
}
@media (max-width: 560px) {
    .w-wrap { padding: 0 18px; }
    .w-hero { padding: 48px 0 56px; }
    .w-steps, .w-feat { grid-template-columns: 1fr; }
    .w-feat > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
    .w-feat > div:last-child { border-bottom: 0 !important; }
    .w-shot-cards { grid-template-columns: 1fr; }
    .w-cta .w-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .w-btn, .w-role { transition: none; }
}

/* Doladenie rozmerov scén */
.w-row-sm { min-height: 0; padding: 8px 14px; margin-bottom: 7px; }
.w-row-sm > div { display: flex; gap: 10px; align-items: baseline; }
.w-row-sm small { margin-top: 0; }
.w-rt td { padding: 5px 6px; }
.w-res { top: 226px; }
.k3-sheet { width: 128px; bottom: 10px; right: 14px; padding: 10px; }

/* Logo aplikácie (SVG má vlastné pozadie) */
.w-brand img { height: 40px; width: 40px; }
.w-foot-top .w-brand img { height: 34px; width: 34px; background: none; padding: 0; border-radius: 0; }

/* Názov „e-Maturita“: predpona „e-“ v červenej */
.w-e { font-style: normal; color: var(--red); }
.w-brand-light .w-e { color: #ff8da0; }

/* Kontakt */
.w-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.w-contact h2 { font-size: 1.6rem; margin-bottom: 20px; }
.w-contact h3 { margin: 32px 0 14px; }
.w-clist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.w-clist li { display: flex; gap: 16px; align-items: flex-start; }
.w-clist li > i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eaf1f8; color: var(--navy); font-size: 1.2rem; }
.w-clist b { display: block; color: var(--ink); }
.w-clist span { display: block; color: var(--muted); font-size: .93rem; }
.w-clist a { color: var(--navy2); font-weight: 600; text-decoration: none; }
.w-clist a:hover { text-decoration: underline; }
.w-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 14px 40px rgba(22,58,99,.08); display: grid; gap: 16px; }
.w-form h2 { margin-bottom: 0; }
.w-form-note { font-size: .88rem; color: var(--muted); }
.w-form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--navy); }
.w-form input, .w-form textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.w-form input:focus, .w-form textarea:focus { outline: 3px solid #cfe0f3; border-color: var(--navy2); }
.w-form .w-btn { justify-self: start; cursor: pointer; }
.w-form-err { color: #b83232; font-size: .88rem; font-weight: 600; }
@media (max-width: 960px) { .w-contact { grid-template-columns: 1fr; gap: 36px; } .w-form { padding: 24px; } }

/* Video z aplikácie */
.w-vtabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.w-vtabs button { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid #d5dce6; background: #fff; color: #163a63; cursor: pointer; }
.w-vtabs button.on { background: #163a63; color: #fff; border-color: #163a63; }
.w-vid { display: none; max-width: 960px; margin: 0 auto; }
.w-vid.on { display: block; }
.w-vid video { width: 100%; aspect-ratio: 16/9; display: block; border-radius: 14px; border: 1px solid #d5dce6; box-shadow: 0 18px 40px -20px rgba(22,58,99,.45); background: #0b1b30; }
.w-vid figcaption { margin-top: 14px; text-align: center; color: #4a5a70; }
.w-strip-plain { border-radius: 18px; padding: 0 40px; }
@media (max-width: 760px) { .w-strip-plain { padding: 0 22px; } }
.w-strip-two { margin-top: 20px; }
.w-strip-two .w-strip-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .w-strip-two .w-strip-grid { grid-template-columns: 1fr; } }

/* Kontaktný formulár: ochrany a hlášky */
.w-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.w-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: #fde8ec; color: #8a1030; border: 1px solid #f5b8c4; margin-bottom: 14px; font-size: .94rem; }
.w-field-err { display: block; color: #b0102f; font-size: .85rem; margin-top: 4px; font-weight: 500; }
.w-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem; color: var(--muted); margin: 6px 0 14px; }
.w-consent input { width: auto !important; margin-top: 4px; flex: none; }
.w-form-ok { text-align: center; padding: 40px 28px; }
.w-form-ok > i { font-size: 2.6rem; color: #2e9e6b; }
.w-form-ok h2 { margin: 10px 0 8px; }
.w-form-ok a { color: var(--navy2); font-weight: 600; }
.w-alert-ok { background: #e6f5ee; color: #17603f; border-color: #b6e0cb; }

/* Cenník */
.w-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.w-price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; display: flex; flex-direction: column; }
.w-price-top { border: 2px solid var(--navy); box-shadow: 0 22px 44px -22px rgba(22,58,99,.45); transform: translateY(-8px); }
.w-price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.w-price h3 { margin: 0 0 4px; font-size: 1.25rem; color: var(--navy); }
.w-price-desc { color: var(--muted); font-size: .94rem; margin: 0 0 18px; min-height: 2.8em; }
.w-price-amt { margin: 0 0 18px; }
.w-price-amt b { font-family: "Source Serif 4", Georgia, serif; font-size: 2.6rem; color: var(--navy); line-height: 1; }
.w-price-amt span { color: var(--muted); font-size: .9rem; }
.w-price .w-btn { justify-content: center; width: 100%; margin-bottom: 22px; }
.w-btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.w-btn-ghost:hover { background: var(--tint); color: var(--navy); }
.w-price ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.w-price li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink); }
.w-price li i { color: var(--ok); font-size: 1.05rem; margin-top: 1px; flex: none; }
.w-price .w-pr-all { font-weight: 600; color: var(--navy); }
.w-price .w-pr-all i { color: var(--navy2); }
.w-price .w-pr-no { color: #9aa5b6; }
.w-price .w-pr-no i { color: #c3ccd9; }
.w-price-sup { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; gap: 8px; align-items: center; }
.w-incl { margin-top: 56px; background: var(--tint); border-radius: var(--radius); padding: 32px 32px 28px; }
.w-incl h3 { margin: 0 0 18px; color: var(--navy); }
.w-incl ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
.w-incl li { display: flex; gap: 14px; }
.w-incl li > i { font-size: 1.4rem; color: var(--navy2); flex: none; }
.w-incl li b { display: block; color: var(--ink); }
.w-incl li span { color: var(--muted); font-size: .93rem; }
.w-addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.w-addons > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.w-addons i { font-size: 1.5rem; color: var(--navy2); }
.w-addons h3 { margin: 10px 0 6px; font-size: 1.05rem; color: var(--navy); }
.w-addons p { margin: 0; color: var(--muted); font-size: .94rem; }
.w-price-note { margin: 22px 0 0; color: var(--muted); font-size: .88rem; text-align: center; }
@media (max-width: 960px) {
    .w-price-grid, .w-addons { grid-template-columns: 1fr; }
    .w-price-top { transform: none; margin: 10px 0; }
    .w-price-desc { min-height: 0; }
    .w-incl ul { grid-template-columns: 1fr; }
}

/* Menu s ôsmimi položkami: žiadne zalamovanie, hamburger už od 1180 px */
.w-brand, .w-menu a, .w-nav-login { white-space: nowrap; }
.w-menu a { padding: 8px 10px; }
@media (max-width: 1180px) {
    .w-burger { display: inline-grid; place-items: center; }
    .w-nav-login { display: none; }
    .w-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; flex-direction: column; gap: 2px; box-shadow: 0 16px 30px rgba(22,58,99,.1); }
    .w-menu.open { display: flex; }
    .w-menu a { padding: 12px; font-size: 1rem; }
    .w-menu-login { display: block; background: var(--navy); color: #fff !important; text-align: center; margin-top: 8px; }
}
