:root {
  --ink: #0e2447;
  --text: #3e5379;
  --muted: #6b7f9f;
  --line: #dbe6f6;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;

  --blue-50: #f0f6ff;
  --blue-100: #e3eeff;
  --blue-200: #c9dcff;
  --blue-300: #9fc0fb;
  --blue-400: #6b9cf3;
  --blue-500: #3f7be8;
  --blue-600: #2b63d3;
  --blue-700: #214fae;

  --shadow-sm: 0 1px 2px rgba(14, 36, 71, 0.06), 0 4px 12px rgba(43, 99, 211, 0.06);
  --shadow-md: 0 2px 4px rgba(14, 36, 71, 0.05), 0 16px 40px rgba(43, 99, 211, 0.12);
  --shadow-lg: 0 4px 8px rgba(14, 36, 71, 0.05), 0 32px 72px rgba(43, 99, 211, 0.18);

  --font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 76px;
  --page-gutter: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 28px;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open,
body.mobile-video-open,
body.modal-open { overflow: hidden; }

img, svg, video { display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection { background: var(--blue-200); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; stroke-width: 2.2; }

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.section { padding: 112px 0; }

section[id], article[id] { scroll-margin-top: 92px; }
#top { scroll-margin-top: 0; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { margin-top: 0; }
.section-head p:last-child { margin-top: 16px; font-size: 18px; line-height: 30px; }

h1 { font-size: 60px; line-height: 68px; letter-spacing: -1.6px; font-weight: 800; }
h2 { font-size: 42px; line-height: 52px; letter-spacing: -1px; }
h3 { font-size: 22px; line-height: 30px; letter-spacing: -0.2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 10px 24px rgba(43, 99, 211, 0.28);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(43, 99, 211, 0.34);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--blue-300);
  color: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { display: flex; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(14, 36, 71, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img {
  width: 132px;
  height: 48px;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 12px; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn),
.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
  color: #35507d;
  transition: background-color 0.2s, color 0.2s;
}
.nav a:not(.btn):hover,
.sub-toggle:hover,
.nav a.active,
.sub-toggle.active { background: var(--blue-100); color: var(--blue-600); }
.sub-toggle .icon { transition: transform 0.3s var(--ease); }
.has-sub.open .sub-toggle .icon,
.has-sub:hover .sub-toggle .icon { transform: rotate(180deg); }

.has-sub { position: relative; }
.has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 12px;
}
.sub {
  position: absolute;
  left: -8px;
  top: 54px;
  width: 300px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub,
.has-sub.open .sub { opacity: 1; visibility: visible; transform: translateY(0); }

.nav .sub a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: auto;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--ink);
}
.nav .sub a:hover { background: var(--blue-50); color: var(--ink); }
.sub-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-600);
}
.sub-text { display: flex; flex-direction: column; flex: 1 1 auto; }
.sub-text strong { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
.sub-text small { font-size: 13px; line-height: 18px; font-weight: 400; color: var(--muted); }
.sub-ext { color: var(--muted); }

.menu-btn {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.menu-btn span {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 29px; }

/* ---------- Mobile menu ---------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14, 36, 71, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  padding: 18px 24px max(28px, env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: -20px 0 60px rgba(14, 36, 71, 0.18);
  overflow-y: auto;
  touch-action: pan-y;
  transform: translateX(130%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s;
}
body.menu-open .scrim { opacity: 1; visibility: visible; }
body.menu-open .mobile-nav { transform: translateX(0); visibility: visible; }
.mobile-nav.is-dragging,
.scrim.is-dragging { transition: none; }
.mobile-nav > .btn { flex: none; }

.mobile-top { display: flex; flex: none; align-items: center; justify-content: space-between; height: 48px; }
.menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: none;
  border-radius: 14px;
  color: var(--ink);
}
.mobile-menu-links { display: flex; flex: 1 0 auto; align-items: center; padding: 28px 0; }
.m-list { width: 100%; }
.m-list > li { border-bottom: 1px solid var(--line); }
.m-list a,
.m-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 4px;
  background: transparent;
  border: 0;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.m-toggle .icon { transition: transform 0.3s var(--ease); }
.m-has-sub.open .m-toggle .icon { transform: rotate(180deg); }
.m-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.m-has-sub.open .m-sub { max-height: 280px; }
.m-sub a {
  padding: 12px 4px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text);
}
.m-sub li:last-child a { margin-bottom: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 156px 0 108px;
  background: linear-gradient(#edf4ff, #ffffff);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43, 99, 211, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 99, 211, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.6;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 520px; right: -140px; top: -120px; background: #bcd5ff; }
.blob-2 { width: 380px; height: 380px; left: -160px; bottom: -80px; background: #d6e6ff; animation-delay: -7s; }

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero-copy { position: relative; z-index: 1; flex: 1 1 480px; min-width: 0; }
.hero-copy h1 { margin-top: 0; }
.hl { position: relative; color: var(--blue-600); white-space: nowrap; }
.hl::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -3px;
  height: 8px;
  z-index: -1;
  border-radius: 7px;
  background: var(--blue-200);
  transform: scaleX(0);
  transform-origin: left center;
  animation: underline 1s 0.9s var(--ease) forwards;
}
.lead { margin-top: 26px; max-width: 520px; font-size: 20px; line-height: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
}
.hero-meta i { width: 4px; height: 4px; border-radius: 999px; background: var(--blue-300); }
.hero-meta a { color: var(--blue-600); font-weight: 600; }
.hero-meta a:hover { text-decoration: underline; }

/* Prístroj (dial) */
.hero-visual { position: relative; flex: 0 0 520px; width: 520px; height: 480px; }
.dial-card {
  position: absolute;
  left: 52px;
  top: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 416px;
  height: 400px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
}
.dial-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 46px;
  background: var(--blue-100);
  transform: rotate(-4deg);
}
.dial { width: 360px; height: 360px; overflow: visible; }
.dial-orbit {
  fill: none;
  stroke: var(--blue-200);
  stroke-width: 1.5;
  stroke-dasharray: 1 10;
  stroke-linecap: round;
  transform-origin: 180px 180px;
  animation: spin 60s linear infinite;
}
.dial-track { fill: none; stroke: var(--blue-100); stroke-width: 14; stroke-linecap: round; }
.dial-value {
  fill: none;
  stroke: var(--blue-500);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 565.5;
  stroke-dashoffset: 565.5;
  animation: fill 2.4s 0.5s var(--ease) forwards;
}
.needle {
  transform-origin: 180px 180px;
  transform: rotate(-132deg);
  animation: sweep 2.6s 0.5s var(--ease) forwards, wobble 7s 3.2s ease-in-out infinite alternate;
}
.needle line { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.hub { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.hub-dot { fill: var(--blue-600); }

.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink);
  animation: float 3.2s ease-in-out infinite alternate;
}
.chip-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-600);
}
.chip-1 { top: 8px; right: 0; }
.chip-2 { bottom: 20px; left: 0; animation-delay: -2s; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 24px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span {
  padding: 0 26px;
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--blue-300);
  white-space: nowrap;
}
.marquee-group span:nth-of-type(even) { color: var(--ink); }
.marquee-group i { width: 8px; height: 8px; flex: none; border-radius: 999px; background: var(--blue-200); }

/* ---------- O nás ---------- */
.about { background: var(--bg-soft); }
.about-inner { display: flex; align-items: center; gap: 72px; }
.about-copy { flex: 1 1 460px; min-width: 0; }
.about-copy h2 { margin-top: 0; }
.about-copy > p { margin-top: 22px; font-size: 18px; line-height: 30px; }
.checks { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.checks li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 26px; color: var(--ink); font-weight: 500; }
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 25px;
  height: 25px;
  margin-top: -1px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  padding-bottom: 3px;
}

.stats { display: flex; flex-wrap: wrap; flex: 1 1 440px; gap: 20px; min-width: 0; }
.stat {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
  gap: 6px;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.stat-wide { flex: 1 1 420px; background: linear-gradient(135deg, #3f7be8, #2b63d3); border-color: transparent; }
.stat-num { font-family: var(--font-head); font-size: 56px; line-height: 64px; font-weight: 800; letter-spacing: -2px; color: var(--blue-600); }
.stat-text { font-size: 44px; letter-spacing: -1.4px; }
.stat-label { font-size: 15px; line-height: 22px; color: var(--muted); font-weight: 500; }
.stat-wide .stat-num { color: #fff; }
.stat-wide .stat-label { color: rgba(255, 255, 255, 0.82); }

/* ---------- Ponuky ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  min-width: 0;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card h3 { font-size: 28px; line-height: 36px; letter-spacing: -0.6px; }
.card p { margin-top: 8px; font-size: 17px; line-height: 26px; max-width: 400px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 18px;
  padding: 6px 0 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--blue-600);
}
.card-link .icon { transition: transform 0.3s var(--ease); }

/* ---------- Ukážka ---------- */
.showcase-section { background: var(--bg-soft); }
.showcase { display: flex; align-items: center; gap: 64px; }
.showcase-copy { flex: 1 1 400px; min-width: 0; }
.showcase-copy h2 { margin-top: 0; }
.showcase-copy > p { margin-top: 20px; font-size: 18px; line-height: 30px; }

.player {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 500px;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border-radius: 36px;
  background: linear-gradient(135deg, #e2eeff, #a9c9ff);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.player-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ring {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.ring-1 { width: 460px; height: 460px; animation: breathe 2.6s ease-in-out infinite alternate; }
.ring-2 { width: 330px; height: 330px; animation: breathe 2.6s -0.6s ease-in-out infinite alternate; }
.ring-3 { width: 214px; height: 214px; animation: breathe 2.6s -1.2s ease-in-out infinite alternate; }
.play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-600);
  box-shadow: 0 16px 40px rgba(14, 36, 71, 0.22);
  transition: transform 0.35s var(--ease);
}
.play .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.player:hover .play { transform: scale(1.12); }
.player-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- FinStat pás ---------- */
.band-section { padding: 112px 0 0; }
.band {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
  background: linear-gradient(135deg, #e9f2ff, #d3e4ff);
  border: 1px solid var(--blue-200);
  border-radius: 36px;
}
.band-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: #fff;
  color: var(--blue-600);
  box-shadow: var(--shadow-md);
}
.band-ico .icon { width: 32px; height: 32px; }
.band-text { flex: 1 1 auto; min-width: 0; }
.band-text h3 { font-size: 28px; line-height: 36px; letter-spacing: -0.6px; }
.band-text p { margin-top: 6px; font-size: 17px; line-height: 28px; }

/* ---------- Kontakt ---------- */
.contact-wrap { display: flex; align-items: flex-start; gap: 40px; }
.contact-list { display: flex; flex-direction: column; flex: 1 1 380px; gap: 16px; min-width: 0; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.contact-item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-item small { font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); }
.contact-item strong { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--blue-100);
  color: var(--blue-600);
  transition: background-color 0.3s, color 0.3s;
}
@media (min-width: 721px) and (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); border-color: var(--blue-200); box-shadow: var(--shadow-lg); }
  .card-link:hover .icon { transform: translateX(6px); }
  .contact-item:hover { transform: translateY(-3px); border-color: var(--blue-200); box-shadow: var(--shadow-md); }
  .contact-item:hover .contact-ico { background: var(--blue-600); color: #fff; }
}
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--blue-700);
  transition: background-color 0.25s, color 0.25s;
}
.contact-links a:hover { background: var(--blue-600); color: #fff; }

.form {
  display: flex;
  flex-direction: column;
  flex: 1 1 520px;
  align-items: stretch;
  gap: 20px;
  min-width: 0;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}
.form h3 { font-size: 26px; line-height: 34px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
.form > .field { flex: none; width: 100%; }
.field { display: flex; flex-direction: column; flex: 1 1 200px; gap: 8px; min-width: 0; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.field input,
.category-toggle,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field input,
.category-toggle { height: 54px; }
.field textarea { height: 140px; padding: 14px 18px; resize: vertical; min-height: 110px; }
.category-dropdown { position: relative; width: 100%; }
.category-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; }
.category-toggle.is-placeholder { color: var(--muted); }
.category-toggle:hover { background-color: var(--blue-100); border-color: var(--blue-300); }
.category-toggle .icon { color: var(--blue-600); transition: transform 0.2s var(--ease); }
.category-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.category-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 10;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s 0.22s;
}
.category-dropdown.is-open .category-options { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); transition-delay: 0s; }
.category-options li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink); font-size: 16px; line-height: 24px; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }
.category-options li:hover,
.category-options li.is-active { background: var(--blue-50); color: var(--blue-600); transform: translateX(3px); }
.category-options li[aria-selected="true"] { color: var(--blue-600); font-weight: 600; }
.category-options .icon { visibility: hidden; }
.category-options li[aria-selected="true"] .icon { visibility: visible; }
.field input::placeholder,
.field textarea::placeholder { color: #93a5c4; }
.field input:focus,
.category-toggle:focus-visible,
.category-toggle[aria-expanded="true"],
.field textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(63, 123, 232, 0.18);
}
.field.invalid input,
.field.invalid .category-toggle,
.field.invalid textarea { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12); }
.form-note { font-size: 14px; line-height: 22px; color: var(--muted); }
.form-note.error { color: #c0392b; }
.form-note.ok { color: var(--blue-700); }

/* ---------- Footer ---------- */
.footer { margin-top: 112px; padding: 40px 0; background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-brand p { font-size: 14px; line-height: 22px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { font-size: 15px; line-height: 24px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.footer-links a:hover { color: var(--blue-600); }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14, 36, 71, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  display: flex;
  flex-direction: column;
  flex: 0 1 960px;
  min-width: 0;
  padding: 14px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 14px 14px; font-family: var(--font-head); font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: background-color 0.2s;
}
.modal-close:hover { background: var(--blue-100); }
.modal video {
  align-self: stretch;
  min-width: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0e2447;
  border-radius: 18px;
}
.modal-note { display: none; padding: 14px 14px 6px; font-size: 14px; line-height: 22px; color: var(--muted); }
.modal-note a { color: var(--blue-600); font-weight: 600; }
.modal.failed .modal-note { display: block; }

/* ---------- Mobilné prehrávanie na celú obrazovku ---------- */
.mobile-player { position: fixed; inset: 0; z-index: 160; background: #000; }
.mobile-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.mobile-player-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}
.mobile-player-note { position: absolute; left: 20px; right: 20px; bottom: max(72px, env(safe-area-inset-bottom)); padding: 16px; border-radius: 12px; background: #182538; color: #fff; text-align: center; }
.mobile-player-note a { text-decoration: underline; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; align-items: center; }
/* karty a prvky s vlastným hover efektom si po zobrazení vrátia rýchle prechody */
.js .card.in,
.js .stat.in,
.js .contact-item.in { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s, opacity 0.9s var(--ease); transition-delay: 0ms; }

/* ---------- Keyframes ---------- */
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-50px, 40px) scale(1.08); } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes fill { to { stroke-dashoffset: 170; } }
@keyframes sweep { from { transform: rotate(-132deg); } to { transform: rotate(54deg); } }
@keyframes wobble { from { transform: rotate(54deg); } to { transform: rotate(66deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(calc(var(--shift, 1400px) * -1)); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05); } }

/* =====================================================================
   Responzívne (breakpointy v px)
   ===================================================================== */

@media (max-width: 1240px) {
  h1 { font-size: 54px; line-height: 62px; }
  .hero-inner { gap: 40px; }
}

@media (max-width: 1080px) {
  .hero { padding: 132px 0 88px; }
  .hero-inner { flex-direction: column; align-items: stretch; gap: 64px; }
  .hero-copy { flex: none; }
  .hero-visual { flex: none; margin: 0 auto; }
  h1 { font-size: 58px; line-height: 66px; }
  .about-inner { flex-direction: column; align-items: stretch; gap: 48px; }
  .about-copy, .stats { flex: none; }
  .showcase { flex-direction: column; align-items: stretch; gap: 48px; }
  .showcase-copy, .player { flex: none; }
  .contact-wrap { flex-direction: column; align-items: stretch; gap: 32px; }
  .contact-list, .form { flex: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .section { padding: 88px 0; }
  .band-section { padding-top: 88px; }
  .footer { margin-top: 88px; }
  h2 { font-size: 38px; line-height: 46px; }
  .band { flex-wrap: wrap; padding: 32px; gap: 24px; }
  .band-text { flex: 1 1 280px; }
}

@media (max-width: 720px) {
  :root { --page-gutter: 20px; }
  body { font-size: 16px; line-height: 26px; }
  .section { padding: 72px 0; }
  .band-section { padding-top: 72px; }
  .footer { margin-top: 72px; }
  .section-head { margin: 0 auto 40px; text-align: center; }
  .about-copy h2,
  .about-copy > p,
  .showcase-copy h2,
  .showcase-copy > p,
  .band-text,
  .form h3 { text-align: center; }
  h1 { font-size: 44px; line-height: 52px; letter-spacing: -1.2px; }
  h2 { font-size: 32px; line-height: 40px; letter-spacing: -0.7px; }
  .lead { font-size: 18px; line-height: 30px; }
  .hero { padding: 112px 0 72px; }
  .hero-inner { gap: 48px; margin: 25px 0; }
  .hero-visual { display: none; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .hero-actions,
  .showcase-copy .hero-actions,
  .hero-meta { justify-content: center; }
  .hero-actions .btn { flex: 1 1 200px; }
  .stat { padding: 26px 24px; }
  .stat-num { font-size: 46px; line-height: 54px; }
  .stat-text { font-size: 38px; }
  .card { padding: 28px; }
  .card h3 { font-size: 26px; line-height: 34px; }
  .card p { font-size: 15px; line-height: 24px; }
  .cards,
  .contact-cards {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: calc(100% + var(--page-gutter) * 2);
    margin-left: calc(var(--page-gutter) * -1);
    margin-right: calc(var(--page-gutter) * -1);
    padding: 10px var(--page-gutter) 24px;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-gutter);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .cards > .card,
  .contact-cards > .contact-item { flex: 0 0 calc(100% - 40px); scroll-snap-align: center; }
  .cards > .card:first-child,
  .contact-cards > .contact-item:first-child { scroll-snap-align: start; }
  .cards > .card:last-child,
  .contact-cards > .contact-item:last-child { scroll-snap-align: end; }
  .js .cards > .card,
  .js .contact-cards > .contact-item { opacity: 1; transform: none; transition: none; }
  .cards .card-link .icon,
  .contact-cards .contact-ico { transition: none; }
  .contact-cards .contact-item { min-height: 118px; }
  .form { padding: 28px 22px; border-radius: 28px; }
  .contact-item { padding: 20px; gap: 16px; }
  .marquee-group span { font-size: 20px; padding: 0 20px; }
  .band { flex-direction: column; flex-wrap: nowrap; align-items: center; padding: 28px 24px; border-radius: 28px; }
  .band-ico { margin: 0 auto; }
  .band-text { flex: none; width: 100%; }
  .band .btn { flex: none; width: 100%; }
  .contact-links { justify-content: center; }
  .showcase .player { display: none; }
  .footer-inner,
  .footer-brand { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .ring-1 { width: 380px; height: 380px; }
  .ring-2 { width: 270px; height: 270px; }
  .ring-3 { width: 172px; height: 172px; }
  .play { width: 68px; height: 68px; }
  .modal { padding: 14px; }
  .modal-box { padding: 10px; border-radius: 22px; }
}

@media (max-width: 600px) {
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: 340px; height: 372px; }
  .dial-card { left: 20px; top: 32px; width: 300px; height: 300px; border-radius: 30px; }
  .dial-card::before { inset: -10px; border-radius: 38px; }
  .dial { width: 270px; height: 270px; }
  .chip { gap: 8px; padding: 7px 14px 7px 7px; font-size: 13px; line-height: 18px; }
  .chip-ico { width: 32px; height: 32px; }
  .chip .icon { width: 18px; height: 18px; }
  .chip-1 { top: 0; right: 0; }
  .chip-2 { bottom: 4px; left: 0; }
}

@media (max-width: 420px) {
  :root { --page-gutter: 16px; }
  h1 { font-size: 38px; line-height: 46px; }
  h2 { font-size: 29px; line-height: 37px; }
  .hero-visual { width: 288px; height: 340px; }
  .dial-card { left: 0; top: 28px; width: 288px; height: 288px; }
  .dial { width: 256px; height: 256px; }
  .mobile-nav { width: 300px; padding: 18px 20px max(24px, env(safe-area-inset-bottom)); }
  .btn { padding: 0 22px; }
  .contact-ico { width: 48px; height: 48px; border-radius: 15px; }
  .contact-item strong { font-size: 16px; line-height: 24px; }
  .stat-text { font-size: 34px; }
}

/* ---------- Menej pohybu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .category-options { transform: none; transition: none; }
  .category-options li:hover,
  .category-options li.is-active { transform: none; }
  .cards,
  .contact-cards { scroll-behavior: auto; }
}
