/* MAIROH – web v1.0 */

/* ---------- Písma (uložené na vlastnom serveri, bez Google Fonts) ---------- */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2-variations");
  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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* ---------- Farby a rozmery (podľa loga) ---------- */
:root {
  --navy: #06306a;      /* nápis MAIROH */
  --ink: #1d2c44;       /* text */
  --muted: #55667e;     /* vedľajší text */
  --line: #dae2ed;
  --mist: #f1f5fa;      /* svetlé sekcie */
  --tint: #e7effc;      /* podklad ikon */
  --blue: #0b44b8;      /* tlačidlá a odkazy */
  --blue-dark: #08348f;
  --sky: #0ab4f2;
  --green: #12c77a;
  --green-text: #087a4d;
  --amber: #b86b00;

  --ribbon: linear-gradient(100deg, #0b3fb0 0%, #0a9fe8 45%, #12d98a 82%, #22e84c 100%);

  --app-bg: #0a1631;
  --app-side: #0b1835;
  --app-panel: #0f2042;
  --app-line: #1d315a;
  --app-text: #e8eef8;
  --app-muted: #8fa1be;

  --r-btn: 10px;
  --r-card: 14px;
  --r-win: 16px;

  --wrap: 1180px;
  --f-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); margin: 0; }
p, ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--r-btn);
}
.skip:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.35rem;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 74px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; padding: 0; }
.nav ul a {
  font-family: var(--f-head); font-size: .94rem; font-weight: 600;
  color: var(--ink); text-decoration: none; padding: .35rem 0;
}
.nav ul a:hover { color: var(--blue); }
.nav ul a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.nav .btn { padding: .65rem 1.1rem; font-size: .94rem; }
.menu-btn {
  display: none; align-items: center; gap: .5rem;
  background: none; border: 1.5px solid var(--line); border-radius: var(--r-btn);
  padding: .5rem .8rem; font: 600 .95rem var(--f-head); color: var(--navy); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Úvod (hero) ---------- */
.hero { padding: 4.5rem 0 5.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 3.5rem; align-items: center; }
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
  line-height: 1.08; letter-spacing: -.025em; font-weight: 700;
}
.hero h1 span { display: block; }
.lead { margin-top: 1.4rem; font-size: 1.25rem; line-height: 1.55; color: var(--muted); max-width: 33rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.1rem; }

.hero-visual { position: relative; padding: 168px 0 2rem 48px; }
.ribbon { position: absolute; z-index: 0; pointer-events: none; overflow: visible; }
.hero-visual .ribbon { top: -18px; left: -36px; width: calc(100% + 110px); height: auto; }
.hero-visual .app { position: relative; z-index: 1; }
.hero-visual .notif { position: absolute; z-index: 2; right: -12px; bottom: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-visual .ribbon .band { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s cubic-bezier(.3, .7, .2, 1) forwards; }
  .hero-visual .ribbon .band-b1 { animation-delay: .2s; }
  .hero-visual .ribbon .band-a2 { animation-delay: .55s; }
  .hero-visual .ribbon .band-b2 { animation-delay: .75s; }
  .hero-visual .notif { opacity: 0; transform: translateY(10px); animation: pop .5s ease-out 1.15s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; transform: none; } }

/* ---------- Pás s výhodami ---------- */
.benefits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.benefits .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 2.3rem 2rem 2.4rem; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { padding-right: 0; }
.benefit h2 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; margin-top: .9rem; }
.benefit p { margin-top: .45rem; color: var(--muted); }

.ico {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--tint); color: var(--blue);
}
.ico svg { width: 24px; height: 24px; }

/* ---------- Sekcie ---------- */
.section { padding: 5.5rem 0; }
.section-soft { background: var(--mist); }
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; max-width: 24ch;
}
.section-head p { margin-top: .9rem; color: var(--muted); font-size: 1.15rem; max-width: 40rem; }
.section-head + * { margin-top: 3rem; }
.more { margin-top: 2.5rem; font-family: var(--f-head); font-weight: 600; font-size: 1rem; }

/* zoznam funkcií */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; list-style: none; padding: 0; }
.features li { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.features h3 { font-size: 1.08rem; line-height: 1.35; letter-spacing: -.005em; }
.features p { margin-top: .25rem; color: var(--muted); font-size: 1.05rem; }

/* porovnanie */
.compare-section { background: var(--navy); color: #dfe8f6; }
.compare-section .section-head h2 { color: #fff; }
.compare-section .section-head p { color: #b9c8e0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare th, .compare td { text-align: left; padding: 1.05rem 1.2rem; vertical-align: top; }
.compare thead th { font-family: var(--f-head); font-size: 1rem; color: #fff; font-weight: 600; padding-top: 1.3rem; }
.compare tbody th { font-family: var(--f-head); font-weight: 600; font-size: .98rem; color: #fff; }
.compare tbody tr > * { border-top: 1px solid rgba(255, 255, 255, .13); }
.compare td { color: #c5d3e8; }
.compare .us { background: rgba(255, 255, 255, .07); color: #fff; }
.compare thead .us { position: relative; border-radius: 12px 12px 0 0; }
.compare thead .us::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--ribbon); border-radius: 12px 12px 0 0;
}
.compare tbody tr:last-child .us { border-radius: 0 0 12px 12px; }
.yes, .no { display: inline-flex; align-items: center; gap: .45rem; }
.yes svg, .no svg { width: 18px; height: 18px; flex: none; }
.yes svg { color: var(--green); }
.no svg { color: #8ea3c4; }

/* karty "pre koho" */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  display: flex; flex-direction: column; gap: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 1.7rem 1.6rem 1.6rem; text-decoration: none; color: var(--ink);
  transition: border-color .15s;
}
a.card:hover { border-color: var(--blue); color: var(--ink); }
.card h3 { font-size: 1.2rem; margin-top: .3rem; }
.card p { color: var(--muted); }
.card .link { margin-top: auto; padding-top: .4rem; font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: var(--blue); }

/* kroky */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; padding: 0; counter-reset: krok; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { position: relative; counter-increment: krok; padding-top: 4rem; }
.steps li::before {
  content: counter(krok);
  position: absolute; top: 0; left: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 1.05rem var(--f-head); color: var(--navy);
  background: #fff; border: 2px solid var(--navy);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.3rem; left: 3.4rem; right: -1.2rem; height: 2px; background: var(--line);
}
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: .45rem; color: var(--muted); }

/* partner a výzva */
.partner {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem;
  padding: 1.3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.partner h2 { font-size: 1rem; color: var(--muted); font-weight: 600; }
.partner p { color: var(--ink); }
.partner strong { font-family: var(--f-head); color: var(--navy); font-weight: 600; }

.cta {
  position: relative; overflow: hidden;
  margin-top: 3.5rem; padding: 3.2rem 3rem;
  background: var(--mist); border-radius: 22px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 2rem;
}
.cta h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; max-width: 20ch; }
.cta p { margin-top: .8rem; color: var(--muted); }
.cta .actions { margin-top: 1.6rem; }
.cta .ribbon { position: relative; width: 100%; height: 220px; }
.cta-plain { grid-template-columns: 1fr; }
.section-tight { padding-top: 0; }

/* ---------- Podstránky ---------- */
.page-head { padding: 4.2rem 0 3.2rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.025em; }
.page-head p { margin-top: 1rem; font-size: 1.22rem; color: var(--muted); max-width: 42rem; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; padding: 2.6rem 0; border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; }
.detail-title { display: flex; gap: 1.1rem; align-items: flex-start; }
.detail h2 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -.015em; }
.detail-title p { margin-top: .6rem; color: var(--muted); }

.checks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: .25rem; color: var(--green-text); }

.note {
  display: flex; gap: .8rem; align-items: flex-start;
  margin-top: 2.5rem; padding: 1.1rem 1.3rem; border-radius: var(--r-card);
  background: var(--mist); color: var(--ink);
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: .15rem; }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.6rem; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: .8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }

.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.aside-box { background: var(--mist); border-radius: var(--r-card); padding: 1.8rem; }
.aside-box h2 { font-size: 1.15rem; }
.aside-box dl { margin: 1rem 0 0; display: grid; gap: .9rem; }
.aside-box dt { font-size: .95rem; color: var(--muted); }
.aside-box dd { margin: .1rem 0 0; font-weight: 600; color: var(--ink); }
.todo { color: var(--amber); font-weight: 600; }

/* otázky */
.faq { margin-top: 3.5rem; max-width: 46rem; }
.faq h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--f-head); font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 1.2rem; color: var(--muted); }

/* formulár */
.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { display: block; font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: var(--navy); margin-bottom: .4rem; }
.field .opt { font-family: var(--f-body); font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: #fff;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 180, 242, .25); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
.consent input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9rem 1.1rem; border-radius: var(--r-btn); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e3f6ec; color: #0b5e3b; }
.form-status.err { background: #fdecea; color: #8a1f12; }

/* ---------- Ukážka aplikácie (vymyslené údaje) ---------- */
.app {
  background: var(--app-bg); color: var(--app-text);
  border-radius: var(--r-win); overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(6, 48, 106, .55), 0 0 0 1px rgba(6, 48, 106, .25);
  font-family: var(--f-body); font-size: 14px; line-height: 1.4;
  text-align: left;
}
.app-bar { display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem; background: #071028; border-bottom: 1px solid var(--app-line); }
.app-url { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .7rem; border-radius: 99px; background: #0f1d3d; color: var(--app-muted); font-size: 12.5px; }
.app-url svg { width: 12px; height: 12px; }
.app-body { display: grid; grid-template-columns: 158px minmax(0, 1fr); min-height: 390px; }
.app-side { background: var(--app-side); border-right: 1px solid var(--app-line); padding: .95rem .7rem; }
.app-brand { display: flex; align-items: center; gap: .45rem; padding: 0 .35rem .9rem; }
.app-brand .m { height: 18px; width: auto; }
.app-brand .w { height: 11px; width: auto; }
.app-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-side li { display: flex; align-items: center; gap: .5rem; padding: .42rem .5rem; border-radius: 8px; color: var(--app-muted); font-size: 13px; white-space: nowrap; }
.app-side li svg { width: 15px; height: 15px; flex: none; }
.app-side li.on { background: rgba(10, 180, 242, .14); color: #fff; }
.app-main { padding: 1.05rem 1.15rem 1.2rem; display: grid; gap: .85rem; align-content: start; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.app-head h4 { font-family: var(--f-head); color: #fff; font-size: 16.5px; font-weight: 600; }
.app-head span { color: var(--app-muted); font-size: 12.5px; }
.app-btn { background: #1653d6; color: #fff; border-radius: 8px; padding: .32rem .7rem; font-size: 12.5px; font-weight: 600; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: .8rem; }
.app-stack { display: grid; gap: .8rem; align-content: start; }
.panel { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 12px; padding: .75rem .85rem; min-width: 0; }
.panel h5 { margin: 0 0 .35rem; font-size: 12.5px; font-weight: 600; color: var(--app-muted); font-family: var(--f-body); }
.row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--app-line); }
.row:first-of-type { border-top: 0; }
.row b { font-weight: 600; color: #fff; }
.row small { display: block; color: var(--app-muted); font-size: 12px; }
.tag { flex: none; font-size: 11.5px; font-weight: 600; padding: .12rem .5rem; border-radius: 99px; }
.t-soon { background: rgba(255, 176, 46, .16); color: #ffc261; }
.t-ok { background: rgba(18, 199, 122, .16); color: #4fe0a0; }
.t-info { background: rgba(10, 180, 242, .16); color: #6fd3ff; }
.t-plain { background: rgba(143, 161, 190, .16); color: #c3cfe2; }
.big { font-family: var(--f-head); font-size: 26px; font-weight: 700; color: #fff; }
.big small { font-size: 13px; color: var(--app-muted); font-weight: 500; font-family: var(--f-body); }
.avatars { display: flex; margin-top: .5rem; }
.avatars span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; color: #0a1631; margin-left: -6px; border: 2px solid var(--app-panel);
}
.avatars span:first-child { margin-left: 0; }
.a1 { background: #6fd3ff; } .a2 { background: #4fe0a0; } .a3 { background: #ffc261; } .a4 { background: #b9a7ff; } .a5 { background: #ff9fb0; }
.a-off { background: #2a3d66 !important; color: #8fa1be !important; }

/* kalendár */
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.cal-day { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 10px; padding: .55rem; min-height: 200px; display: grid; gap: .4rem; align-content: start; }
.cal-day h5 { margin: 0 0 .15rem; font-size: 12px; color: var(--app-muted); font-weight: 600; }
.ev { border-radius: 7px; padding: .35rem .45rem; font-size: 11.5px; line-height: 1.3; border-left: 3px solid; }
.ev b { display: block; font-weight: 600; color: #fff; }
.ev span { color: #c3cfe2; }
.ev-job { background: rgba(10, 180, 242, .12); border-color: #0ab4f2; }
.ev-term { background: rgba(255, 176, 46, .12); border-color: #ffb02e; }
.ev-off { background: rgba(18, 199, 122, .12); border-color: #12c77a; }
.ev-meet { background: rgba(185, 167, 255, .12); border-color: #b9a7ff; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--app-muted); font-size: 12px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: .35rem; }

/* tabuľky v ukážke */
.app-table-wrap { overflow-x: auto; }
.app-table { width: 100%; border-collapse: collapse; min-width: 440px; }
.app-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--app-muted); padding: .45rem .6rem; border-bottom: 1px solid var(--app-line); }
.app-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--app-line); color: #dbe4f2; font-size: 13px; }
.app-table td:first-child { color: #fff; font-weight: 600; }
.app-tabs { display: flex; gap: .3rem; }
.app-tabs span { padding: .28rem .7rem; border-radius: 8px; font-size: 12.5px; color: var(--app-muted); }
.app-tabs .on { background: rgba(10, 180, 242, .14); color: #fff; }
.app-search { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem; border-radius: 8px; background: #0f1d3d; border: 1px solid var(--app-line); color: var(--app-muted); font-size: 12.5px; }
.app-search svg { width: 13px; height: 13px; }

/* notifikácia v mobile */
.notif {
  width: 280px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: .7rem;
  background: #fff; color: var(--ink); border-radius: 16px; padding: .8rem .95rem;
  box-shadow: 0 22px 44px -16px rgba(6, 48, 106, .45), 0 0 0 1px rgba(6, 48, 106, .06);
  font-size: 14px; line-height: 1.35;
}
.notif-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--mist); display: grid; place-items: center; }
.notif-ico img { width: 28px; height: auto; }
.notif-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.notif b { display: block; color: var(--navy); font-family: var(--f-head); font-size: 14px; font-weight: 600; margin-top: .1rem; }

.phone {
  width: 300px; border-radius: 40px; padding: 14px; background: #0a1631;
  box-shadow: 0 40px 70px -30px rgba(6, 48, 106, .55);
}
.phone-screen { border-radius: 28px; background: linear-gradient(170deg, #12306e 0%, #0a1631 70%); padding: 2.2rem 1rem 2rem; min-height: 470px; display: grid; gap: .7rem; align-content: start; }
.phone-time { text-align: center; color: #fff; font-family: var(--f-head); font-size: 46px; font-weight: 300; letter-spacing: -.02em; }
.phone-date { text-align: center; color: #b9c8e0; font-size: 14px; margin: -.4rem 0 1.2rem; }
.phone .notif { width: 100%; box-shadow: none; }

/* galéria ukážok */
.demo { display: grid; gap: 4.5rem; }
.demo-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 3rem; align-items: center; }
.demo-item h3 { font-size: 1.35rem; letter-spacing: -.01em; }
.demo-item p { margin-top: .6rem; color: var(--muted); }
.demo-phone { justify-items: center; }
.demo .app-body { min-height: 0; }
.demo-phone .phone { justify-self: center; }

/* ---------- Pätička ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 3.8rem 0 1.8rem; font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin-top: .9rem; color: var(--muted); max-width: 18rem; }
.foot-h { font-size: .98rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--ink); display: grid; gap: .3rem; }
.foot-bottom {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--muted); font-size: .95rem;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.made-by { display: inline-flex; align-items: center; opacity: .9; }
.made-by:hover { opacity: 1; }
.made-by img { height: 24px; width: auto; }

/* ---------- 404 ---------- */
.notfound { padding: 7rem 0; }
.notfound h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.notfound p { margin-top: .8rem; color: var(--muted); }

/* ---------- Mobil a tablet ---------- */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { padding: 120px 0 2rem 36px; max-width: 720px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-4 li:nth-child(2)::after { display: none; }
  .demo-item { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.4rem;
    box-shadow: 0 16px 30px -18px rgba(6, 48, 106, .35);
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav ul a[aria-current="page"] { box-shadow: none; }
  .benefits .wrap { grid-template-columns: 1fr; }
  .benefit, .benefit:first-child, .benefit:last-child { padding: 1.8rem 0; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .features { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps li { padding: 0 0 0 3.6rem; }
  .steps li::after { display: none; }
  .detail { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta { grid-template-columns: 1fr; padding: 2.4rem 1.6rem; }
  .cta .ribbon { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .hero { padding: 2.8rem 0 3.5rem; }
  .lead { font-size: 1.15rem; }
  .actions .btn { flex: 1 1 100%; }
  .section { padding: 4rem 0; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .app-grid { grid-template-columns: 1fr; }
  .cal { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; }
  .hero-visual { padding: 84px 0 1rem 22px; }
  .hero-visual .ribbon { left: -26px; width: calc(100% + 60px); }
  .hero-visual .notif { position: relative; right: auto; bottom: auto; margin: -1.6rem -6px 0 auto; width: 260px; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .steps-4 { grid-template-columns: 1fr; }
}
