/* ============================================================
   SMART NETWORK — návrh nového rozhraní (prototyp)
   Tokeny odvozené z brand podkladů Detail Studia + Tailwind theme
   ============================================================ */

@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }

:root {
  /* barvy */
  --ink: #070E24;
  --ink-2: #0B1433;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --txt: #F4F6FF;
  --muted: #97A3C6;
  --green: #039E49; --blue: #139AD7; --pink: #E63163;
  --yellow: #FAC02B; --orange: #E86025; --purple: #9873B9;
  --rainbow: linear-gradient(90deg, #1B8ECD, #9873B9, #E63163, #FAC02B, #039D4A);
  /* typografie */
  --font: 'Gilroy', system-ui, sans-serif;
  /* geometrie */
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--txt);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- typografické role ---------- */
.eyebrow {
  font-weight: 600; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.eyebrow--center { justify-content: center; }

.display { font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; }
h1.display { font-size: clamp(44px, 7.2vw, 92px); }
h2.display { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }

.grad {
  background: var(--rainbow);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 200% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .grad { animation: gradShift 7s ease-in-out infinite alternate; }
}
@keyframes gradShift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; letter-spacing: 0.01em;
  padding: 16px 30px; border-radius: 999px; border: 0;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--rainbow {
  color: #fff; background: var(--rainbow); background-size: 250% 100%;
  box-shadow: 0 8px 30px rgba(230, 49, 99, 0.35);
}
.btn--rainbow:hover { box-shadow: 0 12px 40px rgba(230, 49, 99, 0.5); background-position: 80% 0; }
.btn--ghost {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---------- ambientné pozadie — sklo potrebuje čo rozmazávať ---------- */
.ambient {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(84, 38, 125, 0.5), transparent 60%),
    radial-gradient(1000px 700px at -10% 40%, rgba(19, 154, 215, 0.32), transparent 60%),
    radial-gradient(900px 700px at 60% 115%, rgba(230, 49, 99, 0.3), transparent 60%),
    linear-gradient(160deg, #101A44 0%, #0A1233 45%, #070E24 100%);
  pointer-events: none;
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .orb { animation: orbFloat 26s ease-in-out infinite; }
}
.orb--1 { width: 620px; height: 620px; top: -12%; left: -8%; background: radial-gradient(circle, rgba(19,154,215,.55), transparent 70%); }
.orb--2 { width: 520px; height: 520px; top: 30%; right: -10%; background: radial-gradient(circle, rgba(230,49,99,.45), transparent 70%); animation-delay: -9s; }
.orb--3 { width: 460px; height: 460px; bottom: -10%; left: 22%; background: radial-gradient(circle, rgba(3,158,73,.42), transparent 70%); animation-delay: -17s; }
.orb--4 { width: 380px; height: 380px; top: 55%; left: 52%; background: radial-gradient(circle, rgba(250,192,43,.3), transparent 70%); animation-delay: -5s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-25px, 25px) scale(0.96); }
}
body > *:not(.ambient) { position: relative; z-index: 1; }

/* ---------- glass karty (recept podľa otc.vedno.it) ---------- */
.card {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .35s, box-shadow .35s;
}
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; gap: 34px;
}
.nav.is-scrolled {
  background: rgba(7, 14, 36, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo img { height: 34px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--txt); }
.nav__cta { margin-left: 8px; }
@media (max-width: 900px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }

/* ============================================================
   HERO — živá síť
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fade { display: none; }
.hero__inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 60px; pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero h1 { margin: 26px 0 22px; max-width: 13ch; }
.hero .lead { margin-bottom: 38px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  position: relative; z-index: 2;
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 64px;
}
.stat {
  padding: 18px 26px; border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 2px;
  min-width: 150px;
}
.stat b { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; }
.stat span { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat i { display: block; width: 26px; height: 4px; border-radius: 2px; margin-top: 10px; }

/* ============================================================
   SÍŤOVÁ NIT mezi sekcemi
   ============================================================ */
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head .display { margin-top: 18px; }
.section__head .lead { margin-top: 18px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

/* ============================================================
   JAK TO FUNGUJE — 3 kroky s maskoty
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps__wire {
  position: absolute; top: 72px; left: 10%; right: 10%; height: 2px; z-index: 0;
}
.steps__wire path { stroke: url(#wireGrad); }
.step { position: relative; z-index: 1; padding: 32px 26px 28px; text-align: center; overflow: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.step:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.25); }
.step__icon {
  width: 82px; height: 82px; border-radius: 50%;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.13);
  border: 1px solid color-mix(in srgb, var(--c, #fff) 55%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 0 34px color-mix(in srgb, var(--c, #fff) 28%, transparent);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}
.step__icon svg { width: 38px; height: 38px; stroke: var(--c, #fff); }
.step__no {
  font-size: 12.5px; font-weight: 800; letter-spacing: .2em;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  color: var(--c, #fff);
}
.step h3 { margin-bottom: 10px; font-size: 20px; }
.step p { color: var(--muted); font-size: 15px; }

/* ============================================================
   VYSVĚTLENÍ AKCÍ — glass explorer
   ============================================================ */
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.explorer__list { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.etab {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid transparent;
  background: none; color: var(--muted); text-align: left;
  font-weight: 700; font-size: 15.5px; width: 100%;
  transition: all .22s;
}
.etab i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 10px var(--c); }
.etab small { margin-left: auto; font-size: 12px; font-weight: 600; color: #5A6689; }
.etab:hover { color: var(--txt); background: rgba(255,255,255,.05); }
.etab.is-on {
  color: var(--txt);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.explorer__detail { padding: 38px 40px; min-height: 380px; }
.edetail__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.edetail__head h3 { font-size: 27px; font-weight: 900; }
.edetail__badge { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--c); color: #fff; padding: 6px 13px; border-radius: 999px; }
.edetail__desc { color: #C6CEE6; font-size: 16.5px; margin: 14px 0 24px; max-width: 62ch; }
.edetail__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.fact {
  padding: 16px 18px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.fact span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.fact b { font-size: 16.5px; font-weight: 800; }
.edetail__for { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.edetail__for .pill {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #C6CEE6;
}

/* ============================================================
   BLOG — články
   ============================================================ */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.post:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.28); }
.post__media { position: relative; aspect-ratio: 16/8.5; overflow: hidden; background: url('../img/brand-gradient.webp') center/cover; }
.post__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 30%, rgba(7,14,36,.65)); }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(7,14,36,.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; padding: 6px 13px; border-radius: 999px;
}
.post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__body time { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post__body h3 { font-size: 18.5px; line-height: 1.3; }
.post__body p { color: var(--muted); font-size: 14.5px; }
.post__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--blue); }
.post:hover .post__more { color: var(--txt); }

/* ============================================================
   TYPY AKCÍ — marquee
   ============================================================ */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; padding: 8px 0; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

.tcard {
  width: 320px; flex: none; padding: 28px;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s;
}
.tcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.tcard::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--c);
}
.tcard__icon { height: 46px; width: auto; margin-bottom: 18px; }
.tcard h3 { font-size: 20px; margin-bottom: 8px; }
.tcard p { color: var(--muted); font-size: 15px; }
.tcard__tag {
  position: absolute; top: 20px; right: 22px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c);
}

/* ============================================================
   NEJBLIŽŠÍ AKCE
   ============================================================ */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.event { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.event:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.28); }
.event__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.event:hover .event__media img { transform: scale(1.06); }
.event__type {
  position: absolute; top: 16px; left: 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--c); color: #fff; padding: 7px 14px; border-radius: 999px;
}
.event__date {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(7, 14, 36, .78); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: var(--r-sm);
  font-weight: 800; font-size: 14px;
}
.event__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.event__body h3 { font-size: 19px; }
.event__meta { display: flex; gap: 16px; color: var(--muted); font-size: 14px; font-weight: 500; }
.event__cap { margin-top: auto; }
.cap { display: flex; flex-direction: column; gap: 7px; }
.cap__label { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cap__bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.09); overflow: hidden; }
.cap__fill { height: 100%; border-radius: 3px; background: var(--rainbow); width: var(--w, 60%); transform-origin: left; }

/* ============================================================
   PODCAST — SMART TALK
   ============================================================ */
.podcast { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.podcast__video { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.podcast__video video { width: 100%; display: block; }
.podcast__lista { position: absolute; left: 12px; bottom: 12px; width: 46%; pointer-events: none; }
.wave { display: flex; align-items: center; gap: 5px; height: 34px; margin-bottom: 22px; }
.wave i { width: 4px; border-radius: 2px; background: var(--rainbow); background-size: 100% 400%; height: 30%; }
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wave 1.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * .09s); }
}
@keyframes wave { from { height: 22%; } to { height: 100%; } }

/* ============================================================
   ČLENSTVÍ
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 940px; margin: 0 auto; }
.plan { padding: 44px 40px; position: relative; overflow: hidden; }
.plan--smart { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); }
.plan--smart::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: var(--rainbow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan--ceo { background: linear-gradient(160deg, rgba(250,192,43,.16), rgba(250,192,43,.04)); border-color: rgba(250,192,43,.4); }
.plan__name { font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.plan--ceo .plan__name { color: var(--yellow); }
.plan__price { font-size: 44px; font-weight: 900; letter-spacing: -0.02em; }
.plan__price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; color: #C6CEE6; }
.plan li::before { content: '✓'; font-weight: 900; color: var(--green); flex: none; }
.plan--ceo li::before { color: var(--yellow); }

/* checkmark v úspechu rezervácie */
.success__check {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(3,158,73,.6);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 44px rgba(3,158,73,.4);
}
.success__check svg { width: 44px; height: 44px; stroke: #2FD675; }

/* ============================================================
   CTA finále
   ============================================================ */
.cta {
  position: relative; text-align: center; padding: 140px 0; overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-top: 1px solid var(--line);
}
.cta__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.cta .display { position: relative; margin: 20px auto 18px; }
.cta .lead { position: relative; margin: 0 auto 40px; }
.cta__actions { position: relative; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 54px 0 40px; background: #050B1D; }
.footer__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer__logo { height: 30px; }
.footer nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer a { color: var(--muted); font-size: 14px; font-weight: 500; }
.footer a:hover { color: var(--txt); }
.footer__note { width: 100%; color: #5A6689; font-size: 13px; margin-top: 18px; }

/* ============================================================
   REVEAL (GSAP fallback stavy)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(34px); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ============================================================
   APP SHELL — členská zóna
   ============================================================ */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh;
  padding: 28px 20px;
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-right: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  overflow: hidden;
}
.side__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; pointer-events: none; }
.side > * { position: relative; }
.side__logo { padding: 4px 10px 26px; }
.side__logo img { height: 30px; }
.side__label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #5A6689; padding: 18px 12px 8px; }
.side a.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; color: var(--muted);
  transition: background .2s, color .2s;
}
.side a.nav-item:hover { background: var(--surface); color: var(--txt); }
.side a.nav-item.is-active { background: var(--surface-2); color: var(--txt); box-shadow: inset 3px 0 0 var(--pink); }
.nav-item .ico { width: 20px; height: 20px; flex: none; opacity: .9; }
.side__user { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 14px 12px; border-top: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--rainbow); display: grid; place-items: center; font-weight: 900; font-size: 15px; color: #fff; flex: none; }
.side__user b { font-size: 14.5px; display: block; }
.side__user span { font-size: 12.5px; color: var(--muted); }

.main { padding: 30px 38px 60px; }
.topbar { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; }
.topbar h1 { font-size: 27px; font-weight: 900; letter-spacing: -0.01em; }
.topbar__search {
  margin-left: auto; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  padding: 10px 18px; width: 300px; color: var(--muted); font-size: 14.5px;
}
.topbar__search input { background: none; border: 0; outline: 0; color: var(--txt); font-family: inherit; font-size: 14.5px; width: 100%; }

.grid { display: grid; gap: 22px; }
.grid--dash { grid-template-columns: 1.25fr .95fr .8fr; align-items: stretch; }
.grid--dash2 { grid-template-columns: 1fr 1.2fr .8fr; }

.widget { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.widget__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.widget__head h3 { font-size: 16px; font-weight: 800; }
.widget__head a { font-size: 13px; font-weight: 600; color: var(--muted); }
.widget__head a:hover { color: var(--txt); }

/* nadcházející akce widget */
.nextev { position: relative; overflow: hidden; }
.nextev::after {
  content: ''; position: absolute; inset: 0;
  background: url('../img/brand-gradient.webp') center/cover;
  opacity: .35; z-index: 0;
}
.nextev > * { position: relative; z-index: 1; }
.nextev__type { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .14em; background: var(--pink); padding: 6px 13px; border-radius: 999px; }
.nextev h2 { font-size: 26px; font-weight: 900; line-height: 1.15; }
.nextev__meta { display: flex; gap: 18px; color: #C6CEE6; font-size: 14px; font-weight: 600; }
.count { display: flex; gap: 12px; margin-top: 6px; }
.count div { background: rgba(7,14,36,.55); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 0; width: 74px; text-align: center; }
.count b { font-size: 24px; font-weight: 900; display: block; font-variant-numeric: tabular-nums; }
.count span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.nextev__foot { display: flex; gap: 12px; align-items: center; margin-top: 4px; }

/* peněženka */
.wallet__balance { font-size: 40px; font-weight: 900; letter-spacing: -0.02em; }
.wallet__split { display: flex; gap: 16px; font-size: 13px; color: var(--muted); font-weight: 600; }
.wallet__split i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.wallet svg { width: 100%; height: 86px; margin-top: 4px; }

/* síť kontaktů */
.people { display: flex; flex-direction: column; gap: 14px; }
.person { display: flex; align-items: center; gap: 13px; }
.person .avatar { width: 42px; height: 42px; font-size: 14px; }
.person b { font-size: 14.5px; display: block; }
.person span { font-size: 12.5px; color: var(--muted); }
.person .tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); color: #C6CEE6; white-space: nowrap; }
.facepile { display: flex; }
.facepile .avatar { width: 34px; height: 34px; font-size: 12px; border: 2px solid var(--ink); margin-left: -8px; }
.facepile .avatar:first-child { margin-left: 0; }

/* aktivita */
.feed { display: flex; flex-direction: column; gap: 0; }
.feed__item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.feed__item:last-child { border-bottom: 0; }
.feed__dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; }
.feed__item span { color: var(--muted); font-size: 12.5px; display: block; }

/* mini staty řádek */
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 22px; }
.mstat { padding: 20px 24px; display: flex; flex-direction: column; gap: 2px; }
.mstat b { font-size: 28px; font-weight: 900; }
.mstat span { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.mstat i { width: 22px; height: 4px; border-radius: 2px; margin-top: 8px; }

/* ============================================================
   KALENDÁŘ
   ============================================================ */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #D6DCF0;
  font-weight: 700; font-size: 13.5px; padding: 9px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: all .2s;
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, #fff); }
.chip:hover { color: var(--txt); border-color: rgba(255,255,255,.3); }
.chip.is-on { color: var(--txt); background: var(--surface-2); border-color: color-mix(in srgb, var(--c, #fff) 65%, transparent); }
.cal-month { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 34px 0 18px; display: flex; align-items: center; gap: 16px; }
.cal-month::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* modal rezervace */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__back { position: absolute; inset: 0; background: rgba(4, 8, 22, .7); backdrop-filter: blur(6px); }
.modal__box {
  position: relative; width: 560px; max-width: 100%; max-height: 92vh; overflow: auto; padding: 38px;
  background: linear-gradient(180deg, rgba(30,42,88,.75), rgba(13,23,55,.85));
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 40px 100px rgba(0,0,0,.6);
}
.modal__close { position: absolute; top: 18px; right: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--txt); width: 38px; height: 38px; border-radius: 50%; font-size: 17px; }
.modal h3 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.modal .muted { color: var(--muted); font-size: 14.5px; }
.modal__row { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.modal__row .pill { background: var(--surface); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #C6CEE6; }
.modal label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 7px; }
.modal input, .modal select, .modal textarea {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--txt); font-family: inherit; font-size: 15.5px;
  padding: 13px 16px; outline: 0;
}
.modal input:focus, .modal select:focus { border-color: var(--blue); }
.modal__foot { display: flex; gap: 12px; margin-top: 28px; align-items: center; }
.modal__success { text-align: center; padding: 20px 0 10px; display: none; }
.modal__success h3 { font-size: 26px; }

/* konfety */
.confetti { position: fixed; width: 10px; height: 14px; top: -20px; z-index: 120; pointer-events: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid--dash, .grid--dash2 { grid-template-columns: 1fr 1fr; }
  .statrow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__wire { display: none; }
  .explorer { grid-template-columns: 1fr; }
  .explorer__list { flex-direction: row; flex-wrap: wrap; }
  .etab { width: auto; }
  .etab small { display: none; }
  .blog { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .events, .cal-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .blog { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .edetail__facts { grid-template-columns: 1fr; }
  .explorer__detail { padding: 28px 24px; }
  .podcast { grid-template-columns: 1fr; gap: 36px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 80; transform: translateX(-100%); transition: transform .3s; width: 264px; }
  .side.is-open { transform: none; }
  .main { padding: 22px 20px 50px; }
  .burger { display: inline-flex !important; }
  .topbar { flex-wrap: wrap; gap: 14px; }
  .topbar h1 { font-size: 19px; flex: 1; }
  .topbar__search { width: auto; flex: 1 0 100%; order: 5; }
}
@media (max-width: 640px) {
  .grid--dash, .grid--dash2 { grid-template-columns: 1fr; }
  .hero__stats { gap: 10px; }
  .stat { min-width: calc(50% - 10px); padding: 14px 18px; }
  .stat b { font-size: 24px; }
  .section { padding: 76px 0; }
}
.burger { display: none; background: var(--surface); border: 1px solid var(--line); color: var(--txt); border-radius: 10px; padding: 9px 13px; font-size: 18px; }
