﻿/* ============================================================
   BYROKRATICKÝ INDEX — Stylesheet v4
   Farby: #083259 navy | #008ED7 blue | #F7C32E yellow (iba CTA)
   Font: Rubik | Ikonky: Iconoir
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800&display=swap");

:root {
  --navy: #083259;
  --navy-dk: #051f3a;
  --navy-md: #0a4575;
  --blue: #008ed7;
  --blue-l: #e6f5ff;
  --blue-dk: #006fa8;
  --yellow: #f7c32e;
  --yellow-dk: #d9a800;
  --white: #ffffff;
  --light: #f4f7fb;
  --border: #dde4ed;
  --text: #1a2b3c;
  --muted: #6b7a8d;
  --card-bg: rgba(5, 31, 58, 0.65);
  --red: #e74c3c;
  --r: 8px;
  --rl: 16px;
  --sh: 0 2px 14px rgba(8, 50, 89, 0.09);
  --shl: 0 8px 32px rgba(8, 50, 89, 0.15);
  --tr: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #051f3a;
}
::-webkit-scrollbar-thumb {
  background: #008ed7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #006fa8;
}
* {
  scrollbar-color: #008ed7 #051f3a;
  scrollbar-width: thin;
}
body.page-body * {
  scrollbar-color: rgba(0, 142, 215, 0.4) #e8edf2;
}
body {
  font-family: "Rubik", sans-serif;
  color: var(--text);
  background-color: #051f3a;
  background-image:
    linear-gradient(rgba(5, 31, 58, 0.5), rgba(5, 31, 58, 0.5)),
    url("../images/bg.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue);
  text-decoration: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
section {
  padding: 80px 0;
}

/* ── Buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 99px;
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--tr);
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.btn--yellow {
  background: var(--yellow);
  color: var(--navy-dk);
}
.btn--yellow:hover {
  background: var(--yellow-dk);
  color: var(--navy-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(247, 195, 46, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--blue {
  background: var(--blue);
  color: var(--white);
}
.btn--blue:hover {
  background: var(--blue-dk);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ── Section labels ──────────────────── */
.s-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.s-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.18;
}
.s-desc {
  color: var(--muted);
  font-size: 0.975rem;
  max-width: 640px;
  line-height: 1.8;
}

/* ════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════ */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-d1 {
  transition-delay: 0.1s;
}
.anim-d2 {
  transition-delay: 0.2s;
}
.anim-d3 {
  transition-delay: 0.3s;
}
.anim-d4 {
  transition-delay: 0.4s;
}
.anim-d5 {
  transition-delay: 0.5s;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 64px;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-bottom: 2px solid transparent;
  transition:
    background 0.3s ease,
    border-bottom-color 0.3s ease,
    box-shadow 0.3s ease;
}
.nav--scrolled {
  background: rgba(5, 31, 58, 0.97);
  border-bottom-color: #008ed7;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}
body.page-body .nav {
  background: rgba(5, 31, 58, 0.97);
  border-bottom-color: #008ed7;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Desktop: [left-links flex:1] [logo] [right-links flex:1] */
.nav__menu {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 0;
}
.nav__links--left {
  flex: 1;
  justify-content: flex-end;
}
.nav__links--right {
  flex: 1;
}
.nav__logo--desk {
  flex-shrink: 0;
  margin: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav__logo--desk img,
.nav__logo--mob img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.92);
}
.nav__logo--mob {
  display: none;
  align-items: center;
  text-decoration: none;
}
.nav__links li a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  display: block;
}
.nav__links li a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #008ed7;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav__links li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════════════════════════════
   HERO — fullscreen centered
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: transparent;
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero::before {
  display: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 0%, var(--navy) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Scroll arrow — below stats bar */
.hero__scroll-arrow {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.4rem;
  text-decoration: none;
  transition: color var(--tr);
  animation: heroScrollBounce 2.2s ease-in-out infinite;
}
.hero__scroll-arrow:hover {
  color: #008ed7;
}
@keyframes heroScrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateX(-50%) translateY(8px);
    opacity: 0.8;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 28px 24px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--white);
}
.hero__title em {
  color: #008ed7;
  font-style: normal;
}
.hero__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.58);
  max-width: 580px;
  line-height: 1.85;
  margin-bottom: 36px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn--hero {
  background: #008ed7;
  color: #fff;
  padding: 14px 36px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--tr);
  display: inline-flex;
  align-items: center;
}
.btn--hero:hover {
  background: #006fa8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 142, 215, 0.4);
  color: #fff;
}

/* Hero stats bar — bottom strip (no bg, no borders) */
.hero__stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
}
.hero__stat {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  max-width: 200px;
}
.hero__stat-val {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__stat-unit {
  font-size: 0.75em;
  opacity: 0.6;
  font-weight: 400;
}
.hero__stat-lbl {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ── Hero country switcher ── */
.hero__switcher {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 28px 20px;
}
.hero__switcher-label {
  width: 100%;
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}
.country-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-family: "Rubik", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}
.country-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}
.country-btn.active {
  border-color: #008ed7;
  background: rgba(0, 142, 215, 0.18);
  color: #fff;
  font-weight: 600;
}
.country-btn .fi {
  width: 1.2em;
  height: 0.9em;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   PILLARS — Bold typographic columns
════════════════════════════════════════ */
.pillars-c {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;

  padding-top: 32px;
  margin-top: 0;
}
.pc-item {
  padding: 0 32px 0 0;
  border-right: 1px solid var(--border);
}
.pc-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 32px;
}
.pc-item:nth-child(2) {
  padding-left: 32px;
}
.pc-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 18px;
}
.pc-item i {
  font-size: 2rem;
  color: var(--navy);
  display: block;
  margin-bottom: 14px;
}
.pc-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 14px;
}
.pc-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 860px) {
  .pillars-c {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pc-item {
    border-right: none;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--border);
  }
  .pc-item:last-child {
    border-bottom: none;
    padding-left: 0;
  }
  .pc-item:nth-child(2) {
    padding-left: 0;
  }
}

/* ════════════════════════════════════════
   ZLODEJ CASU — dark section
════════════════════════════════════════ */
.thief {
  background: var(--navy-dk);
  color: var(--white);
  padding: 88px 28px;
}
.thief__head {
  text-align: center;
  margin-bottom: 64px;
}
.thief__head .s-label {
  color: rgba(255, 255, 255, 0.4);
}
.thief__head .s-title {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.thief__head p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ════════════════════════════════════════
   VÝSLEDKY
════════════════════════════════════════ */
.vysledky-head-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}
.vysledky-head-row .s-desc {
  flex: 1;
  margin-bottom: 0;
}
.trend-badge {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  border-radius: 16px;
  transform: rotate(-4deg);
  font-size: 0.87rem;
  font-weight: 500;
  box-shadow: 0 6px 22px rgba(8, 50, 89, 0.28);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.trend-badge strong {
  font-weight: 700;
}
@media (max-width: 640px) {
  .vysledky-head-row {
    flex-direction: column;
  }
}

.tabs-wrap {
  display: inline-flex;
  gap: 0;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 32px;
}
.tab-btn {
  padding: 9px 20px;
  border-radius: 7px;
  border: none;
  font-family: "Rubik", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition: var(--tr);
}
.tab-btn.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(8, 50, 89, 0.2);
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

.starting-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .starting-tables {
    grid-template-columns: 1fr;
  }
}

.starting-tables h3 {
  margin-bottom: 12px;
}

.results-ranking {
  margin-top: 56px;
}
.results-ranking .s-desc {
  margin-bottom: 24px;
}

.country-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-item {
  background: var(--white);
  border-radius: var(--rl);
  padding: 20px 24px;
  box-shadow: var(--sh);
  border: 2px solid transparent;
  transition: border-color var(--tr);
}
.c-item--hl {
  border-color: var(--blue);
}
.c-item__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.c-item__flag {
  display: inline-block;
  width: 1.25em;
  height: 0.95em;
  margin-right: 10px;
  flex-shrink: 0;
  border-radius: 2px;
  background-position: center;
  background-size: cover;
  line-height: 1;
}
.c-item__name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  flex: 1;
}
.c-item__val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.c-item__val small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}
.c-item__rank-badge {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}
.c-item__track {
  height: 7px;
  background: var(--light);
  border-radius: 99px;
  overflow: hidden;
}
.c-item__fill {
  height: 100%;
  border-radius: 99px;
  background: var(--blue);
  width: 0;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.c-item--hl .c-item__fill {
  background: var(--navy);
}
.c-item__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.c-item__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}
.c-item__row-lbl {
  color: var(--muted);
  width: 130px;
  flex-shrink: 0;
}
.c-item__row-track {
  flex: 1;
  height: 5px;
  background: var(--light);
  border-radius: 99px;
  overflow: hidden;
}
.c-item__row-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--blue);
  width: 0;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.c-item__row-val {
  font-weight: 600;
  color: var(--navy);
  min-width: 42px;
  text-align: right;
}
/* ════════════════════════════════════════
   TOP ŽRÚTI — stepper
════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(88px, auto);
  max-width: 980px;
  margin: 20px auto 36px;
  gap: 18px;
}
.step-item {
  padding: 22px 20px;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 110px;
}
.step-ghost {
  position: absolute;
  right: 14px;
  top: 8px;
  display: block;
  font-size: clamp(4.2rem, 9vw, 9.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 0.9;
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: 0;
}
.step-hours {
  font-size: 2.6rem;
  font-weight: 900;
  color: #008ed7;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.step-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  max-width: 400px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  white-space: normal;
  word-break: break-word;
}
.thief-row {
  background: var(--white);
  border-radius: var(--rl);
  padding: 18px 22px;
  box-shadow: var(--sh);
  display: grid;
  grid-template-columns: 36px 1fr 80px;
  align-items: center;
  gap: 16px;
  transition: var(--tr);
}
.thief-row:hover {
  box-shadow: var(--shl);
  transform: translateX(3px);
}
.thief-row__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
}
.thief-row--1 .thief-row__num {
  background: #fff0ee;
  color: var(--red);
}
.thief-row--2 .thief-row__num {
  background: #fff5e6;
  color: #c0703a;
}
.thief-row--3 .thief-row__num {
  background: #fdf8e1;
  color: #a08000;
}
.thief-row__body {
  min-width: 0;
}
.thief-row__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thief-row__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-l);
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 8px;
}
.thief-row__track-wrap {
  margin-top: 4px;
}
.thief-row__track {
  flex: 1;
  height: 5px;
  background: var(--light);
  border-radius: 99px;
  overflow: hidden;
}
.thief-row__bar {
  height: 100%;
  border-radius: 99px;
  background: var(--blue);
  width: 0;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.thief-row--1 .thief-row__bar {
  background: var(--red);
}
.thief-row--2 .thief-row__bar {
  background: #c0703a;
}
.thief-row--3 .thief-row__bar {
  background: #a08000;
}
.thief-row__val {
  text-align: right;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.thief-row__unit {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

/* ════════════════════════════════════════
   DONUT CHART
════════════════════════════════════════ */
.donut-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
}
.donut-wrap svg {
  width: 100%;
  height: 100%;
}
.donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.donut-center__val {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.donut-center__unit,
.donut-center__lbl {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
/* ════════════════════════════════════════
   DETAIL LAYOUT — donut + categories
════════════════════════════════════════ */
.detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 44px;
}
.detail-donut {
  align-self: start;
}
.detail-donut .donut-wrap {
  width: 280px;
  height: 280px;
}
.detail-donut .donut-wrap svg {
  overflow: visible;
}
.detail-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-group {
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  transition: box-shadow var(--tr);
}
.cat-group:hover {
  box-shadow: var(--shl);
}
.cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--light);
  border-left: 4px solid transparent;
  padding-left: 14px;
  cursor: pointer;
  user-select: none;
}
.cat-head:hover {
  background: #eaeff7;
}
.cat-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  flex: 1;
  letter-spacing: 0.2px;
}
.cat-val {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
  white-space: nowrap;
  margin-left: 12px;
}
.cat-pct {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}
.cat-arrow {
  color: var(--blue);
  transition: transform var(--tr);
  flex-shrink: 0;
  margin-left: 8px;
}
.cat-group.open .cat-arrow {
  transform: rotate(180deg);
}
.cat-subs {
  display: none;
}
.cat-group.open .cat-subs {
  display: block;
}
.sub-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border-top: 1px solid var(--border);
}
.sub-row__name {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.4;
}
.sub-row__track {
  width: 90px;
  height: 6px;
  background: rgba(0, 142, 215, 0.12);
  border-radius: 99px;
  overflow: hidden;
  flex-shrink: 0;
}
.sub-row__fill {
  height: 100%;
  background: #008ed7;
  border-radius: 99px;
  width: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.sub-row__val {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  min-width: 50px;
  text-align: right;
}
.sub-row--expandable {
  cursor: pointer;
  user-select: none;
}
.sub-row--expandable:hover {
  background: #eef3fb;
}
.sub-row__arrow {
  color: var(--blue);
  transition: transform var(--tr);
  flex-shrink: 0;
  margin-left: 4px;
}
.sub-row--expandable.open .sub-row__arrow {
  transform: rotate(180deg);
}
.sub-items {
  display: none;
  background: #f7fafd;
}
.sub-row--expandable.open + .sub-items {
  display: block;
}
.sub-item-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 18px 7px 28px;
  border-top: 1px solid var(--border);
}
.sub-item-row__id {
  color: var(--muted);
  font-size: 0.72rem;
  flex-shrink: 0;
  min-width: 38px;
  padding-top: 2px;
  font-family: monospace;
}
.sub-item-row__name {
  flex: 1;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.35;
}
.sub-item-row__val {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--navy);
  white-space: nowrap;
  min-width: 44px;
  text-align: right;
}

/* ════════════════════════════════════════
   FREKVENCIE — tc-card style
════════════════════════════════════════ */
.freq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.freq-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 50, 89, 0.06);
  box-shadow:
    0 2px 0 rgba(8, 50, 89, 0.04),
    0 8px 32px rgba(8, 50, 89, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  align-items: start;
}
.freq-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 0 rgba(8, 50, 89, 0.04),
    0 20px 52px rgba(8, 50, 89, 0.12);
}
.freq-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
}
.freq-card--monthly::before,
.freq-card--weekly::before,
.freq-card--annual::before {
  background: var(--blue);
}

/* Label — vľavo, row 1 */
.freq-card__lbl {
  grid-column: 1;
  grid-row: 1;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  align-self: center;
  margin: 0;
}

/* Big number — vpravo, row 1 */
.freq-card__val {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #083259;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: right;
  align-self: center;
  white-space: nowrap;
  margin-bottom: 0;
}
.freq-card__val span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

/* Percent — row 2, full width */
.freq-card__pct {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 4px;
  margin-bottom: 0;
}

/* Examples — pod dividerom, row 3 */
.freq-card__examples {
  grid-column: 1 / -1;
  grid-row: 3;
  list-style: none;
  border-top: 1px solid rgba(8, 50, 89, 0.08);
  padding-top: 14px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.freq-card__examples li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
/* Modrý krúžok namiesto šípky */
.freq-card__examples li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Skryť starý iconoir v li ak zostal */
.freq-card__examples li i {
  display: none;
}

/* ════════════════════════════════════════
   INFO STRIPS
════════════════════════════════════════ */
.info-strip {
  background: var(--blue-l);
  border-left: 3px solid var(--blue);
  border-radius: var(--r);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.info-strip__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}
.info-strip h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 600;
}
.info-strip p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.info-strip p:last-child {
  margin-bottom: 0;
}

/* ════════════════════════════════════════
   LOGOS
════════════════════════════════════════ */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  align-items: center;
}
.logo-card {
  background: var(--white);
  border-radius: var(--rl);
  padding: 16px 28px;
  box-shadow: var(--sh);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 68px;
  transition: var(--tr);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--border);
}
.partner-btn {
  border: 2px solid var(--border) !important;
  color: var(--navy) !important;
  background: var(--white) !important;
}
.partner-btn:hover {
  border-color: var(--blue) !important;
  background: var(--blue-l) !important;
}
.partner-btn img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-card:hover {
  box-shadow: var(--shl);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   CTA BAND
════════════════════════════════════════ */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: 60px 28px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.cta-band .btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════
   FOOTER — 3-col
════════════════════════════════════════ */
.footer {
  background: var(--navy-dk);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 28px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 46px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1) opacity(0.92);
}
.footer__brand p {
  font-size: 0.82rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.58);
  max-width: 480px;
  margin-bottom: 20px;
}
.footer__support {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  border: none;
  color: var(--navy-dk);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 99px;
  text-decoration: none;
  transition: var(--tr);
}
.footer__support:hover {
  background: var(--yellow-dk);
  transform: translateY(-1px);
}
.footer__support i {
  font-size: 1rem;
}

.footer__col h4 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul {
  list-style: none;
}
.footer__col li {
  margin-bottom: 10px;
}
.footer__col a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color var(--tr);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__col a:hover {
  color: var(--white);
}
.footer__col a i {
  font-size: 1rem;
}

.footer__social-row {
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer__social-row span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.footer__social-row a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--tr);
  font-size: 1.05rem;
}
.footer__social-row a:hover {
  color: var(--white);
  transform: translateY(-2px);
}
.footer__social-row a:has(.iconoir-facebook):hover {
  background: #1877f2;
  border-color: #1877f2;
}
.footer__social-row a:has(.iconoir-twitter):hover {
  background: #1da1f2;
  border-color: #1da1f2;
}
.footer__social-row a:has(.iconoir-instagram):hover {
  background: #e4405f;
  border-color: #e4405f;
}
.footer__social-row a:has(.iconoir-linkedin):hover {
  background: #0a66c2;
  border-color: #0a66c2;
}
.footer__social-row a:has(.iconoir-youtube):hover {
  background: #ff0000;
  border-color: #ff0000;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color var(--tr);
}
.footer__bottom a:hover {
  color: var(--white);
}

/* ════════════════════════════════════════
   SUBPAGE HERO
════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 60px 28px 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.page-hero__inner .page-hero__sub {
  margin: 0 auto;
}
.page-hero .s-label {
  color: rgba(255, 255, 255, 0.38);
}
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 12px;
  color: var(--white);
}
.page-hero__sub {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 560px;
}

/* ════════════════════════════════════════
   PROSE
════════════════════════════════════════ */
.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text);
}
.onas-photo {
  margin: 32px 0;
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--sh);
}
.onas-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.prose h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 12px;
}
.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 8px;
}
.prose p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.85;
}
.prose ul {
  margin: 0 0 18px 20px;
  color: var(--muted);
}
.prose ul li {
  margin-bottom: 7px;
  line-height: 1.7;
}
.prose strong {
  color: var(--text);
}
.prose a {
  color: var(--blue);
}
.prose a:hover {
  text-decoration: underline;
}
.prose a.btn {
  color: inherit;
  text-decoration: none;
}
.prose a.btn--blue {
  color: var(--white);
}
.prose .highlight-box {
  background: var(--blue-l);
  border-left: 3px solid var(--blue);
  border-radius: var(--r);
  padding: 18px 22px;
  margin: 24px 0;
}
.prose .highlight-box p {
  margin: 0;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ════════════════════════════════════════
   BLOG
════════════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.post-card {
  background: var(--white);
  border-radius: var(--rl);
  box-shadow: var(--sh);
  overflow: hidden;
  transition: var(--tr);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.post-card:hover {
  box-shadow: var(--shl);
  transform: translateY(-3px);
}
.post-card__img {
  height: 170px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--border);
}
.post-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card__date {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.post-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.post-card__excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.post-card__link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
}
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.empty-state__icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  opacity: 0.4;
}
.empty-state p {
  font-size: 0.9rem;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1/-1;
  }
  .detail-layout {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
  .detail-donut .donut-wrap {
    width: 240px;
    height: 240px;
  }
}
@media (max-width: 720px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-donut {
    align-self: center;
  }
  .detail-donut .donut-wrap {
    width: 220px;
    height: 220px;
  }
}
@media (max-width: 1000px) {
  .nav__logo--mob {
    display: flex;
    flex: 1;
  }
  .nav__logo--desk {
    display: none;
  }
  .nav__menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(5, 31, 58, 0.98);
    flex-direction: column;
    padding: 8px 16px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    z-index: 199;
    border-top: 1px solid rgba(0, 142, 215, 0.4);
  }
  .nav__menu.open {
    display: flex;
    animation: slideDown 0.25s ease;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .nav__links--left,
  .nav__links--right {
    flex-direction: column;
    flex: none;
    width: 100%;
    padding: 0;
  }
  .nav__links li a {
    padding: 11px 14px;
    border-radius: var(--r);
    font-size: 0.9rem;
  }
  .nav__links li a::after {
    display: none;
  }
  .nav__right {
    flex-shrink: 0;
  }
  .nav__burger {
    display: flex;
  }
}
@media (max-width: 640px) {
  section {
    padding: 56px 0;
  }
  .hero {
    height: auto;
    min-height: 100vh;
  }
  .hero__stats-bar {
    flex-wrap: wrap;
    gap: 16px 0;
    padding: 20px 16px;
  }
  .hero__stat {
    min-width: 50%;
    max-width: none;
  }
  .hero__stat-divider {
    display: none;
  }
  .thief {
    padding: 52px 20px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__social-row {
    flex-wrap: wrap;
  }
  .thief-row {
    grid-template-columns: 28px 1fr 60px;
  }
  .thief-row__name {
    font-size: 0.82rem;
  }
  .freq-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   SECTION BACKGROUNDS
════════════════════════════════════════ */
section {
  background: #fff;
}
.hero {
  background: transparent;
}
/* Subpages: white background */
body.page-body {
  background: #fff;
  background-image: none;
}
body.page-body section:not(.page-hero) {
  background: #fff;
}
body.page-body .page-hero {
  background: var(--navy);
}
body.page-body .page-hero .s-label {
  color: rgba(255, 255, 255, 0.45);
}
body.page-body .page-hero .page-hero__title {
  color: var(--white);
}
body.page-body .page-hero .page-hero__sub {
  color: rgba(255, 255, 255, 0.6);
}

/* ════════════════════════════════════════
   THIEF SECTION — light bg
════════════════════════════════════════ */
.thief {
  background: #fff;
}
.thief__head .s-label {
  color: var(--blue);
}
.thief__head .s-title {
  color: var(--navy);
}

/* ── Time cards ── */
.tc-wrap {
  margin-top: 52px;
}
.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Card */
.tc-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 50, 89, 0.06);
  box-shadow:
    0 2px 0 rgba(8, 50, 89, 0.04),
    0 8px 32px rgba(8, 50, 89, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  cursor: default;
}
.tc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #083259;
  border-radius: 22px 22px 0 0;
}
.tc-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 0 rgba(8, 50, 89, 0.04),
    0 20px 52px rgba(8, 50, 89, 0.12);
}

/* Icon + number row */
.tc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.tc-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(8, 50, 89, 0.07);
  color: #083259;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.tc-card__num {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #083259;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: right;
}

/* Label */
.tc-card__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #083259;
  line-height: 1.35;
}

/* Divider */
.tc-card__divider {
  height: 1px;
  background: rgba(8, 50, 89, 0.08);
  margin: 14px 0;
}

/* Note */
.tc-card__note {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Shuffle button */
.tc-footer {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.tc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 50px;
  background: #008ed7;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: "Rubik", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition:
    background 0.2s,
    transform 0.18s,
    box-shadow 0.2s;
}
.tc-btn i {
  font-size: 1.05rem;
  display: flex;
}
.tc-btn:hover {
  background: #006fa8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 142, 215, 0.4);
}
.tc-btn:active {
  transform: translateY(0);
}

@media (max-width: 740px) {
  .tc-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .tc-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   PAGE HERO (subpages) — on dark bg.png
════════════════════════════════════════ */
.page-hero {
  background: transparent;
  padding-top: 100px;
}
.page-hero::after {
  display: none;
}
.page-hero::before {
  display: none;
}
.page-hero__title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}
.page-hero__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ════════════════════════════════════════
   SUBPAGES — white bg, normal text
════════════════════════════════════════ */
body.page-body .s-title {
  color: var(--navy);
}
body.page-body .s-desc {
  color: var(--muted);
}
body.page-body .prose h2,
body.page-body .prose h3 {
  color: var(--navy);
}
body.page-body .prose p,
body.page-body .prose ul,
body.page-body .prose li {
  color: var(--text);
}
body.page-body .prose strong {
  color: var(--navy);
}
body.page-body .prose .highlight-box {
  background: var(--blue-l);
  border-left-color: var(--blue);
}
body.page-body .prose .highlight-box p {
  color: var(--text);
}
body.page-body .info-strip {
  background: var(--blue-l);
  border-left-color: var(--blue);
}
body.page-body .info-strip h3 {
  color: var(--navy);
}
body.page-body .info-strip p {
  color: var(--muted);
}
body.page-body .logo-card {
  background: var(--white);
  border-color: var(--border);
  color: var(--navy);
}
body.page-body .logo-card:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.empty-state {
  color: var(--muted);
}
.empty-state a {
  color: #008ed7;
  font-weight: 600;
}
.empty-state__icon {
  color: #008ed7;
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
  opacity: 0.85;
}

/* ════════════════════════════════════════
   MOBILE RESPONSIVE FIXES
════════════════════════════════════════ */

/* Nav — menší padding na mobile, burger bližšie k okraju */
@media (max-width: 1000px) {
  .nav {
    padding: 0 16px;
  }
}

/* Trend badge — bez rotácie, vycentrovaný na mobile */
@media (max-width: 640px) {
  .trend-badge {
    rotate: 0deg !important;
    transform: none !important;
    align-self: center;
    margin: 0 auto;
  }
}

/* Zlodej času nadpis — menší text na mobile */
@media (max-width: 640px) {
  .thief__head .s-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}

/* Cat-head — fix pre šípky ktoré idú mimo obrazovky */
@media (max-width: 640px) {
  .cat-name {
    min-width: 0;
    font-size: 0.9rem;
    word-break: break-word;
  }
  .cat-val {
    font-size: 0.95rem;
    margin-left: 4px;
    white-space: nowrap;
  }
  .cat-pct {
    display: none;
  }
  .cat-arrow {
    margin-left: 4px;
    flex-shrink: 0;
  }
  .cat-head {
    gap: 8px;
  }
}

/* ════════════════════════════════════════
   PAGE LOADER
════════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease 0.1s,
    visibility 0.5s ease 0.1s;
}
.page-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.page-loader__logo {
  width: 160px;
  filter: brightness(0) invert(1) opacity(0.9);
  animation: loader-pulse 1.8s ease-in-out infinite;
}
.page-loader__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

/* ════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════ */
.about__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 20px;
  max-width: 860px;
}
.about-body {
  max-width: 1060px;
}
.about-body p {
  font-size: 0.975rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}
.about-body p:last-child {
  margin-bottom: 0;
}

/* ════════════════════════════════════════
   HERO — brand label above h1
════════════════════════════════════════ */
.hero__brand-label {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 4px;
}

/* ════════════════════════════════════════
   COUNTRY SELECT BAR
════════════════════════════════════════ */
#country-select-bar {
  background: #fff;
  padding: 36px 0 0;
}
.cps-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cps-btns-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cps-btns-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}
.cps-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#country-select-bar .country-btn {
  border-color: var(--border);
  background: #fff;
  color: var(--navy);
}
#country-select-bar .country-btn:hover {
  border-color: var(--blue);
  background: var(--blue-l);
  color: var(--navy);
}
#country-select-bar .country-btn.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.cps-country-heading {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  padding-bottom: 32px;
  border-bottom: 3px solid var(--blue);
}
@media (max-width: 640px) {
  .cps-btns-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cps-country-heading {
    font-size: 1.8rem;
  }
}

/* 6 top žrútov — 1 stĺpec na mobile */
@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .step-item {
    min-height: auto;
  }
  .step-hours {
    font-size: 2rem;
  }
  .step-ghost {
    font-size: clamp(3rem, 18vw, 6rem);
  }
  .step-name {
    font-size: 0.95rem;
  }
}

/* Social icons — text na vlastný riadok, ikony všetky vedľa seba */
@media (max-width: 640px) {
  .footer__social-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer__social-row > span {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
  }
}

/* Novinky — posts-grid na veľmi malých obrazovkách */
@media (max-width: 360px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 16px;
  }
}

/* ════════════════════════════════════════
   EN — section ID aliases (SK: #o-indexe → EN: #about, SK: #zruti → EN: #top-burdens)
════════════════════════════════════════ */
#about {
  background: var(--navy);
}
#about .s-title {
  color: #fff;
}
#about .s-desc {
  color: rgba(255, 255, 255, 0.62);
}
#about .pillars-c {
  border-top-color: rgba(255, 255, 255, 0.15);
}
#about .pc-item {
  border-right-color: rgba(255, 255, 255, 0.1);
}
#about .pc-item h3 {
  color: #fff;
}
#about .pc-item p {
  color: rgba(255, 255, 255, 0.55);
}
#about .pc-item i {
  color: rgba(255, 255, 255, 0.6);
}
#about .pc-label {
  color: #008ed7;
}

#top-burdens {
  background: var(--navy-dk);
}
#top-burdens .s-label {
  color: rgba(0, 142, 215, 0.85);
}
#top-burdens .s-title {
  color: var(--white);
}
#top-burdens .s-desc {
  color: rgba(255, 255, 255, 0.45);
}

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -52px;
  left: 16px;
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.18s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.7rem;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
