/* ==========================================================================
   Nový Občiansky zákonník – dočasný web
   ========================================================================== */

/* Montserrat (SIL Open Font License 1.1) – hostované lokálne, variabilný rez 300–800.
   latin-ext obsahuje slovenské znaky (č, ď, ľ, ň, ť, ž …). */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/montserrat-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/montserrat-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #091525;
  --navy-900: #071323;
  --surface: #151B24;
  --blue: #367CF5;
  --blue-btn: #2867E6;      /* tmavší odtieň pre tlačidlá – kontrast s bielym textom */
  --blue-light: #5EA0FF;
  --violet: #5B2A86;
  --violet-dark: #32135F;
  --white: #FFFFFF;
  --text-2: #D7DCE5;

  --font: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 88px;
  /* vzdialenosť od obsahu kontajnera k okraju okna – na „vytečenie“ vizuálu */
  --bleed: calc(var(--gutter) + max(0px, (100vw - var(--container)) / 2));
  --radius: 10px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Pozadie: podklady kampane (assets/img/bg) + tmavý závoj pre čitateľnosť textu.
   Úvod (desktop) = pozadie s knihou, História = svetelné lúče, mobil = podklady na výšku so §. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  --bg-webp: url("../img/bg/bg-desktop.webp");
  --bg-avif: url("../img/bg/bg-desktop.avif");
  background-color: var(--navy);
  background-image: var(--bg-webp);
  background-image: image-set(var(--bg-avif) type("image/avif"), var(--bg-webp) type("image/webp"));
  background-size: cover;
  background-position: left top;
}
body::after {
  background:
    linear-gradient(90deg, rgba(7, 19, 35, .78) 0%, rgba(7, 19, 35, .45) 45%, rgba(7, 19, 35, .1) 75%),
    linear-gradient(180deg, transparent 55%, rgba(7, 19, 35, .55) 100%);
}
.page-home::before {
  --bg-webp: url("../img/bg/bg-home-1600.webp");
  --bg-avif: url("../img/bg/bg-home-1600.avif");
  background-position: right bottom;
}
@media (min-width: 1600px) {
  .page-home::before {
    --bg-webp: url("../img/bg/bg-home-2560.webp");
    --bg-avif: url("../img/bg/bg-home-2560.avif");
  }
}
.page-home::after {
  background: linear-gradient(90deg, rgba(7, 19, 35, .72) 0%, rgba(7, 19, 35, .4) 38%, transparent 60%);
}

/* Na výšku orientované podklady pre mobil */
@media (max-width: 767.98px) and (orientation: portrait) {
  body::before,
  .page-home::before {
    --bg-webp: url("../img/bg/bg-home-mobile.webp");
    --bg-avif: url("../img/bg/bg-home-mobile.avif");
    background-position: center;
  }
  .page-history::before {
    --bg-webp: url("../img/bg/bg-history-mobile.webp");
    --bg-avif: url("../img/bg/bg-history-mobile.avif");
  }
  body::after,
  .page-home::after { background: rgba(7, 19, 35, .5); }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.accent { color: var(--blue); }

/* Krátka modrá linka */
.rule {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(54, 124, 245, .6);
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(94, 160, 255, .14);
  background: linear-gradient(180deg, rgba(7, 19, 35, .85), rgba(9, 21, 37, .35));
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}
.site-logo { flex-shrink: 0; }
.site-logo img { width: clamp(170px, 15vw, 200px); }

.site-header__panel {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.4vw, 1rem);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.35vw, 1.25rem);
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-2);
  text-decoration: none;
  transition: color .2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(54, 124, 245, .8);
  transform: scaleX(0);
  transition: transform .25s;
}
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after { transform: scaleX(.5); }
.site-nav a[aria-current] { color: var(--white); font-weight: 600; }
.site-nav a[aria-current]::after { transform: scaleX(1); }

.social { display: flex; align-items: center; }
@media (min-width: 1280px) {
  /* Tenký oddeľovač medzi menu a ikonami sociálnych sietí */
  .social { padding-left: clamp(.5rem, 1vw, 1rem); border-left: 1px solid rgba(215, 220, 229, .3); }
}
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 44px;
  border-radius: 8px;
  transition: color .2s, filter .2s;
}
.social a:hover { color: var(--blue-light); filter: drop-shadow(0 0 6px rgba(94, 160, 255, .6)); }
.social svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
}
.social svg .fill,
.social svg.solid { fill: currentColor; stroke: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  margin-right: -8px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute;
  left: 10px;
  width: 28px; height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .25s, opacity .2s;
}
.nav-toggle__bar { top: 23px; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; left: 0; }
.nav-toggle__bar::before { top: -9px; }
.nav-toggle__bar::after { top: 9px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1279.98px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: block; }
  .js .site-header__panel {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: rgba(9, 21, 37, .97);
    border-bottom: 1px solid rgba(94, 160, 255, .2);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .4);
    backdrop-filter: blur(10px);
  }
  .nav-open .site-header__panel { display: flex; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .nav-toggle { display: none; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav li { width: 100%; border-bottom: 1px solid rgba(215, 220, 229, .1); }
  .site-nav a { display: block; padding: .85rem 0; font-size: 1.05rem; }
  .site-nav a::after { right: auto; width: 48px; bottom: 8px; transform-origin: left; }
  .social { margin-left: -12px; }
}

/* ---------- Typografia ---------- */
.display {
  font-weight: 800;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.01em;
  font-size: clamp(2.4rem, .9rem + 5.6vw, 5.75rem);
}
.display--md { font-size: clamp(1.9rem, .55rem + 6.2vw, 4.75rem); }
.display__line { display: block; }

.claim {
  margin-top: .35em;
  font-weight: 400;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem);
  line-height: 1.2;
}
.claim--md {
  font-weight: 500;
  font-size: clamp(1.25rem, .9rem + 1.5vw, 2.1rem);
}

.lead {
  max-width: 36rem;
  color: var(--text-2);
  font-size: clamp(1rem, .92rem + .3vw, 1.15rem);
  line-height: 1.65;
}

/* ---------- Tlačidlo ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 56px;
  padding: .9rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-btn), #1F5BD8);
  box-shadow: 0 10px 30px -8px rgba(54, 124, 245, .65), inset 0 1px 0 rgba(255, 255, 255, .15);
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 36px -8px rgba(94, 160, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn__arrow {
  flex-shrink: 0;
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s;
}

/* ==========================================================================
   Úvodná stránka – hero
   ========================================================================== */
.hero {
  display: flex;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto;
  column-gap: 2rem;
}
.hero__content {
  align-self: center;
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 6vh, 4.5rem) 2rem;
}
.hero__content .rule { display: none; }
.hero__content .lead { margin-top: 1.75rem; }
.hero__content .btn { margin-top: 2.25rem; }

.hero__visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  margin-right: calc(-1 * var(--bleed));
}
/* Kniha je na desktope v pozadí stránky; výrez s knihou sa zobrazuje len na mobile */
.hero__book-mobile { display: none; }

/* Jemný symbol § v pozadí */
.hero__para {
  position: absolute;
  z-index: 0;
  top: 2%;
  left: 2%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14rem, 24vw, 28rem);
  line-height: 1;
  background: linear-gradient(160deg, rgba(94, 160, 255, .55), rgba(91, 42, 134, .45));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .35;
  filter: blur(1px);
  user-select: none;
  pointer-events: none;
}

.quote {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 30%;
  max-width: 15rem;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, .85rem + .5vw, 1.3rem);
  line-height: 1.45;
  color: var(--text-2);
}
.quote .rule { margin-bottom: 1.1rem; }

.hero__note {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
  font-size: .9rem;
  color: var(--text-2);
}
.hero__note .rule { margin-bottom: 1rem; }
.hero__note p + p { margin-top: .25rem; }

/* Pätička s poznámkou na podstránkach */
.site-note {
  padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(1.75rem, 4vw, 2.75rem);
  font-size: .9rem;
  color: var(--text-2);
}
.site-note .rule { margin-bottom: 1rem; }
.site-note p + p { margin-top: .25rem; }
/* Svetlé stránky: poznámka pokračuje na bielom pozadí */
.page-light .site-note {
  position: relative;
  margin-top: -2px; /* prekryje šev s bielou plochou pri sub-pixelovom scrollovaní */
  padding-top: 2px;
  background: #fff;
  color: var(--ink-2);
}

@media (max-width: 1023.98px) {
  .quote { left: 26%; top: 6%; max-width: 12rem; }
}

/* Mobil: text nad vizuálom knihy */
@media (max-width: 767.98px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }
  .hero__content { padding-block: 2.5rem 0; }
  .hero__content .rule { display: block; margin-top: 1.75rem; }
  .hero__content .lead { margin-top: 1.5rem; }
  .hero__content .btn { display: flex; width: 100%; max-width: 26rem; }
  .hero__visual {
    grid-column: 1;
    grid-row: auto;
    flex-direction: column;
    align-items: stretch;
    margin-inline: calc(-1 * var(--gutter));
    margin-top: 1.5rem;
  }
  .quote {
    position: static;
    max-width: none;
    padding-inline: var(--gutter);
    margin-bottom: -1rem;
  }
  .hero__para { display: none; }
  .hero__book-mobile { display: block; }
  .hero__book {
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 25%, #000 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 25%, #000 85%, transparent 100%);
  }
  .hero__note { grid-column: 1; grid-row: auto; margin-top: -1rem; }
}

/* ==========================================================================
   História rekodifikácie
   ========================================================================== */
.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 2rem;
  padding-block: clamp(2rem, 5vw, 3.5rem) 1rem;
}
.intro__content { position: relative; z-index: 2; }
.intro__content .claim { margin-top: .6rem; }
.intro__content .lead { margin-top: 1.25rem; }
.intro__visual {
  position: relative;
  margin-right: calc(-1 * var(--bleed));
  margin-left: -10%;
}
.intro__visual picture { position: relative; z-index: 1; }
.intro__visual .hero__para {
  top: -12%;
  left: 12%;
  z-index: 2;
  font-size: clamp(10rem, 17vw, 20rem);
}
.intro__visual img {
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 25%), linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 25%), linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%);
  mask-composite: intersect;
}

@media (max-width: 767.98px) {
  .intro__inner { grid-template-columns: minmax(0, 1fr); }
  .intro__visual {
    order: -1;
    margin: -1rem calc(-1 * var(--gutter)) -3.5rem 15%;
    opacity: .9;
  }
  .intro__visual img {
    /* jemný prechod do pozadia na všetkých stranách – hore pod hlavičkou, vľavo aj do textu pod obrázkom */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 40%),
      linear-gradient(to bottom, transparent 0, #000 25%, #000 50%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0, #000 40%),
      linear-gradient(to bottom, transparent 0, #000 25%, #000 50%, transparent 100%);
    mask-composite: intersect;
  }
}

/* ---------- Timeline ---------- */
.timeline-section { padding-block: clamp(2rem, 4vw, 3rem); }

.milestone__year {
  font-size: clamp(1.05rem, .2rem + 1.05vw, 1.3rem);
  font-weight: 600;
  line-height: 1.75rem;
  white-space: nowrap;
}
.milestone__dot {
  display: block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue);
  box-shadow:
    0 0 0 3px rgba(54, 124, 245, .25),
    0 0 14px 3px rgba(94, 160, 255, .65);
}
.milestone--current .milestone__dot {
  box-shadow:
    0 0 0 4px rgba(54, 124, 245, .35),
    0 0 22px 6px rgba(94, 160, 255, .85);
}
.milestone__teaser {
  max-width: 40rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text-2);
}
.more {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.more:hover { color: var(--white); }

/* Celý text: bez JS sa zobrazí priamo pod teaserom */
.milestone__full { display: none; }
.no-js .milestone__full,
.no-dialog .milestone__full {
  display: block;
  margin-top: .75rem;
  font-size: .9rem;
  color: var(--text-2);
}
.no-js .milestone__teaser,
.no-dialog .milestone__teaser { display: none; }
.milestone__full p + p { margin-top: .75rem; }
.milestone__full a,
.dialog__body a { color: var(--blue-light); text-underline-offset: 3px; }
.milestone__subtitle {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
}

/* Vertikálna os – mobil a tablet */
.timeline {
  --dot: 20px;
  position: relative;
  display: grid;
  gap: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--dot) / 2 - 1px);
  top: 1rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-light), rgba(94, 160, 255, .5) 85%, transparent);
  box-shadow: 0 0 8px rgba(94, 160, 255, .55);
}
.milestone {
  display: grid;
  grid-template-columns: var(--dot) minmax(0, 1fr);
  grid-template-areas: "dot year" ". text";
  column-gap: 1.25rem;
  row-gap: .35rem;
}
.milestone__year { grid-area: year; }
.milestone__dot { grid-area: dot; position: relative; align-self: center; }
.milestone__teaser,
.milestone__full { grid-area: text; }

/* Horizontálna os – desktop */
@media (min-width: 1180px) {
  .timeline {
    --line-y: calc(1.75rem + 1rem + var(--dot) / 2);
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.15fr) minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1rem;
    padding-right: 1.5rem;
  }
  .timeline::before {
    left: 0; right: 0;
    top: calc(var(--line-y) - 1px);
    bottom: auto;
    width: auto; height: 2px;
    background: linear-gradient(to right, rgba(94, 160, 255, .25), var(--blue-light) 6%, var(--blue-light));
  }
  .timeline::after {
    content: "";
    position: absolute;
    right: 1px;
    top: calc(var(--line-y) - 7px);
    width: 14px; height: 14px;
    border-top: 2px solid var(--blue-light);
    border-right: 2px solid var(--blue-light);
    transform: rotate(45deg);
    filter: drop-shadow(0 0 4px rgba(94, 160, 255, .7));
  }
  .milestone {
    display: flex;
    flex-direction: column;
    row-gap: 0; /* medzera z mobilnej mriežky by posunula bodku pod čiaru */
  }
  .milestone__dot { margin: 1rem 0 1.25rem; }
}

/* ---------- Spodný CTA blok ---------- */
.cta-band { padding-block: 1rem clamp(3rem, 6vw, 5rem); }
.cta-band__box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgba(94, 160, 255, .35);
  border-radius: 16px;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(54, 124, 245, .18), transparent 70%),
    linear-gradient(135deg, rgba(21, 27, 36, .85), rgba(16, 38, 90, .55) 60%, rgba(50, 19, 95, .45));
  box-shadow: 0 0 40px -10px rgba(54, 124, 245, .45), inset 0 1px 0 rgba(94, 160, 255, .25);
}
.cta-band__img img {
  width: clamp(120px, 11vw, 160px);
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent);
  mask-image: radial-gradient(closest-side, #000 70%, transparent);
}
.cta-band__text {
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(94, 160, 255, .35);
}
.cta-band__title {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, .6rem + 1.5vw, 2.1rem);
  line-height: 1.1;
}
.cta-band__sub {
  margin-top: .35rem;
  font-size: clamp(1.05rem, .9rem + .5vw, 1.4rem);
  color: var(--text-2);
}

@media (min-width: 1360px) {
  .cta-band__title { white-space: nowrap; }
  .cta-band__box .btn { max-width: 22rem; }
}
@media (max-width: 1359.98px) {
  .cta-band__box { grid-template-columns: auto minmax(0, 1fr); }
  .cta-band__box .btn { grid-column: 2; justify-self: start; margin-left: clamp(1.25rem, 3vw, 2.5rem); }
}
@media (max-width: 559.98px) {
  .cta-band__box { grid-template-columns: minmax(0, 1fr); }
  .cta-band__img img { width: 140px; }
  .cta-band__text { padding-left: 0; border-left: 0; }
  .cta-band__box .btn { grid-column: auto; justify-self: stretch; margin-left: 0; }
}

/* ---------- Dialóg „(viac)“ ---------- */
.dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(85vh, 900px);
  padding: 0;
  border: 1px solid rgba(94, 160, 255, .35);
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(160deg, var(--surface), #0d1a33 70%, #1c1240);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 40px -10px rgba(54, 124, 245, .5);
}
.dialog::backdrop {
  background: rgba(4, 10, 20, .78);
  backdrop-filter: blur(4px);
}
.dialog__inner { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); }
.dialog__close {
  position: absolute;
  top: .75rem; right: .75rem;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}
.dialog__close:hover { background: rgba(255, 255, 255, .14); }
.dialog__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dialog__year {
  padding-right: 3rem;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-light);
}
.dialog__body { margin-top: 1rem; color: var(--text-2); line-height: 1.7; }
.dialog__body p + p { margin-top: 1rem; }
.dialog__body .milestone__subtitle { margin-bottom: -.25rem; }

/* ==========================================================================
   Hlavné zmeny a podstránky
   ========================================================================== */
:root {
  --violet-light: #B48CFF;
  --ink: #0B1F4B;
  --ink-2: #44506A;
  --line-light: #E2E8F4;
  --surface-light: #F5F8FE;
}

/* ---------- Omrvinky ---------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .6rem;
  font-size: clamp(.95rem, .9rem + .25vw, 1.1rem);
  color: var(--text-2);
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: .6rem;
  opacity: .6;
}
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--blue-light); }

/* ---------- Úvod podstránky ---------- */
.page-hero { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-hero .breadcrumb { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.display--page {
  font-size: clamp(1.5rem, 6.4vw, 4.4rem);
  overflow-wrap: break-word;
}
.page-hero__meta {
  margin-top: .8rem;
  font-size: clamp(1.15rem, .9rem + 1vw, 1.75rem);
  font-weight: 600;
}
.page-hero__sub {
  margin-top: .8rem;
  font-size: clamp(1.1rem, .9rem + .9vw, 1.6rem);
  font-weight: 600;
  line-height: 1.35;
}

.eyebrow {
  font-size: clamp(.85rem, .8rem + .3vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.eyebrow--violet { color: var(--violet-light); }
.accent--violet { color: var(--violet-light); }

/* ---------- Sklenené karty ---------- */
.card-grid {
  display: grid;
  gap: clamp(.9rem, 1.5vw, 1.25rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 620px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(94, 160, 255, .45);
  border-radius: 14px;
  /* Bez backdrop-filter: nad pevným pozadím stránky spôsoboval sekanie pri scrollovaní. */
  background: linear-gradient(160deg, rgba(37, 90, 220, .42), rgba(12, 30, 80, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 26px -10px rgba(54, 124, 245, .7);
}
.card--violet {
  border-color: rgba(170, 120, 255, .5);
  background: linear-gradient(160deg, rgba(118, 62, 222, .55), rgba(50, 19, 95, .74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 26px -10px rgba(140, 80, 255, .7);
}
.card__title {
  font-size: clamp(1.2rem, 1rem + .55vw, 1.5rem);
  font-weight: 700;
  line-height: 1.22;
}
.card__text {
  margin-top: .9rem;
  color: var(--text-2);
  line-height: 1.55;
}
.card__ref {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(94, 160, 255, .4);
  font-size: .95rem;
  color: var(--text-2);
}
.card__text:not(:last-child) { margin-bottom: 1.5rem; }
.card--violet .card__ref { border-top-color: rgba(170, 120, 255, .45); }

/* Karta ako odkaz */
a.card { color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 160, 255, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 34px -6px rgba(54, 124, 245, .85);
}
a.card--violet:hover { border-color: rgba(180, 140, 255, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 34px -6px rgba(150, 90, 255, .85); }

.arrow-circle {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: transform .2s, background-color .2s;
}
.arrow-circle svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a:hover > .arrow-circle,
a:hover .arrow-circle { transform: translateX(3px); }

/* ---------- Hlavné zmeny ---------- */
.overview-hero .display { font-size: clamp(2.4rem, 1rem + 6vw, 5.5rem); }
.overview-hero__title2 {
  margin-top: .35rem;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.overview-hero .claim { margin-top: .4rem; font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 1rem + 1.4vw, 2.2rem); }
.overview-hero .lead { margin-top: 1rem; max-width: 46rem; }

.stats {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgba(94, 160, 255, .5);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(37, 90, 220, .22), rgba(12, 30, 80, .45));
  box-shadow: 0 0 30px -12px rgba(54, 124, 245, .7);
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  margin-top: 1.1rem;
}
.stats__value {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}
.stats__desc { margin-top: .5rem; color: var(--text-2); line-height: 1.4; }
@media (min-width: 900px) {
  .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .stats__item { padding-inline: clamp(1rem, 2.5vw, 2.5rem); }
  .stats__item:first-child { padding-left: 0; }
  .stats__item + .stats__item { border-left: 1px solid rgba(94, 160, 255, .45); }
}

.checks { padding-block: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2rem); }
.checks__list {
  display: grid;
  gap: 1.75rem clamp(1.5rem, 3vw, 3rem);
  margin-top: 1.4rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .checks__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.checks__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.check-icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4d8dff, #1f5bd8);
  box-shadow: 0 0 0 4px rgba(54, 124, 245, .2), 0 0 18px rgba(54, 124, 245, .6);
}
.check-icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.checks__title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.checks__text { margin-top: .45rem; color: var(--text-2); line-height: 1.55; }

.audience { padding-block: clamp(2rem, 4vw, 3rem); }
.audience__lead {
  margin-top: .6rem;
  max-width: 46rem;
  font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem);
  line-height: 1.35;
}
.audience__grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 900px) { .audience__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.audience-card { padding: clamp(1.5rem, 3vw, 2.25rem); }
.audience-card .eyebrow { font-size: .9rem; }
.audience-card__title {
  display: block;
  margin-top: .6rem;
  /* „PRE PODNIKATEĽOV“ sa musí zmestiť do jedného riadku karty */
  font-size: clamp(1.6rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .audience-card__title { font-size: clamp(1.6rem, 2.9vw, 3.4rem); }
}
.audience-card__text {
  display: block;
  margin-top: 1rem;
  color: var(--text-2);
  font-size: clamp(1.05rem, .95rem + .55vw, 1.5rem);
  line-height: 1.4;
}
.audience-card__more {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(1rem, .95rem + .3vw, 1.25rem);
  font-weight: 600;
}
.audience-card .arrow-circle { width: 3.25rem; height: 3.25rem; color: var(--blue-light); }
.audience-card.card--violet .arrow-circle { color: var(--violet-light); }

/* Svetlá sekcia */
.section-light {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--surface-light);
  color: var(--ink);
}
.link-grid { display: grid; gap: clamp(.9rem, 1.5vw, 1.25rem); }
@media (min-width: 760px) { .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 6px 20px -12px rgba(13, 40, 100, .25);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.link-card:hover { transform: translateY(-2px); border-color: #b9cdf3; box-shadow: 0 12px 28px -12px rgba(13, 40, 100, .35); }
.link-card .eyebrow { font-size: .78rem; color: #1E6AE6; }
.link-card__title { margin-top: .3rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.link-card .arrow-circle { border: 0; background: #dbe7fb; color: var(--ink); }

.cta-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(.9rem, 1.5vw, 1.25rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: 12px;
  border: 1px solid rgba(94, 160, 255, .5);
  background:
    linear-gradient(118deg, transparent 60%, rgba(94, 160, 255, .35) 60.2%, transparent 61%),
    linear-gradient(118deg, transparent 72%, rgba(94, 160, 255, .25) 72.2%, transparent 73%),
    linear-gradient(135deg, #0a1d4f, #0d2f86 60%, #1a49c4);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 34px -16px rgba(13, 40, 120, .7);
  transition: transform .2s, box-shadow .2s;
}
.cta-wide:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(13, 40, 120, .85); }
.cta-wide .eyebrow { font-size: .8rem; }
.cta-wide__title {
  margin-top: .3rem;
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.cta-wide__text { margin-top: .4rem; color: var(--text-2); }
.cta-wide .arrow-circle { width: 3.25rem; height: 3.25rem; color: var(--blue-light); }

/* ---------- Zmeny pre ľudí / podnikateľov ---------- */
.audience-hero {
  display: grid;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 900px) { .audience-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } }
.audience-hero .breadcrumb { grid-column: 1 / -1; }
.audience-hero h1 { text-transform: uppercase; }
.audience-hero__pre {
  display: block;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
}
.audience-hero__big {
  display: block;
  font-size: clamp(4rem, 2rem + 8vw, 8.5rem);
  font-weight: 800;
  line-height: .95;
}
.audience-hero__h2 {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}
.audience-hero .lead { margin-top: 1rem; }

.topic-grid { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.topic-grid .card-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .topic-grid .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .topic-grid .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.topic-card__num { font-size: .9rem; color: var(--text-2); }
.topic-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .35rem;
}
.topic-card .card__title { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); }
.topic-card .card__text { margin-top: .55rem; font-size: .95rem; }
.topic-card .arrow-circle { width: 2.25rem; height: 2.25rem; }

.business-grid { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.business-card {
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
}
.business-card__body { flex: 1; min-width: 0; }
.business-card__num {
  display: block;
  margin-bottom: .35rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--blue-light);
}
.business-card.card--violet .business-card__num { color: var(--violet-light); }
.business-card .card__title { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); }
.business-card .card__text { margin-bottom: 0; }
.business-card .arrow-circle { width: 3rem; height: 3rem; }

/* ---------- Detail témy ---------- */
.feature-cards { padding-bottom: clamp(2rem, 4vw, 3rem); }
.feature-cards .card { min-height: 100%; }

.topic-nav {
  display: grid;
  gap: 1rem 1.5rem;
  padding-block: 1.25rem 0;
}
@media (min-width: 760px) { .topic-nav { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.topic-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: clamp(1.05rem, .95rem + .3vw, 1.2rem);
  font-weight: 500;
}
.topic-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.topic-nav__label { display: block; margin-bottom: .2rem; font-size: clamp(.85rem, .8rem + .2vw, 1rem); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--blue-light); }
.back-wrap { padding-bottom: clamp(3rem, 6vw, 5rem); }
.topic-nav__back { text-align: center; }
.topic-nav__next { text-align: right; }
@media (max-width: 759.98px) { .topic-nav__back, .topic-nav__next { text-align: left; } }

/* ---------- Svetlé podstránky (tabuľky, zoznamy, kroky) ---------- */
.page-light main {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
}
.page-light .page-hero { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.light-area {
  position: relative;
  flex: 1;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  background: #fff;
  color: var(--ink);
}
.light-area::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.light-area .breadcrumb { margin-top: 0; }
.accent-rule {
  display: block;
  width: 5rem;
  height: 3px;
  margin-bottom: 1.5rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), #8B5CF6);
}
.light-lead {
  max-width: 48rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  color: var(--ink-2);
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 34px -18px rgba(13, 40, 100, .3);
  font-size: 1.02rem;
}
.compare th,
.compare td {
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}
.compare tr:last-child > * { border-bottom: 0; }
.compare th + th,
.compare td + td,
.compare th + td { border-left: 1px solid var(--line-light); }
.compare thead th {
  padding-block: 1rem;
  background: #EEF3FC;
  color: #1D3F8F;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.compare tbody th { width: 22%; font-weight: 700; color: var(--ink); }
.compare tbody td { color: var(--ink-2); }
.compare tbody td:last-child { background: #F5F8FF; color: var(--ink); }
.compare tbody tr:nth-child(even) > * { background-color: #FAFBFE; }
.compare tbody tr:nth-child(even) td:last-child { background: #F0F5FF; }
.compare tbody tr.is-highlighted > th,
.compare tbody tr.is-highlighted > td { background: #E5EDFD; }

@media (max-width: 719.98px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare { border: 0; box-shadow: none; overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr {
    margin-bottom: 1rem;
    border: 1px solid var(--line-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px -16px rgba(13, 40, 100, .3);
  }
  .compare tbody th { width: 100%; padding: 1rem 1.1rem; background: #EEF3FC !important; border: 0; }
  .compare tbody td { padding: .9rem 1.1rem; border-left: 0 !important; border-bottom: 1px solid var(--line-light); }
  .compare tbody tr > :last-child { border-bottom: 0; }
  .compare tbody tr.is-highlighted > th { background: #D8E4FB !important; }
  .compare tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .25rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #1D3F8F;
  }
}

.check-grid {
  display: grid;
  gap: 1rem clamp(1rem, 2vw, 1.25rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check-grid li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: var(--surface-light);
  box-shadow: 0 6px 18px -14px rgba(13, 40, 100, .3);
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
}
.check-grid .check-icon { width: 2rem; height: 2rem; flex-shrink: 0; box-shadow: none; }
.check-grid .check-icon svg { width: .95rem; height: .95rem; }

.steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  padding-left: 0;
}
.step {
  position: relative;
  padding: 2.4rem 1.4rem 1.6rem;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: linear-gradient(#fff, #F8FAFE);
  box-shadow: 0 10px 28px -18px rgba(13, 40, 100, .35);
}
.step__num {
  position: absolute;
  z-index: 2;
  top: -1.35rem;
  left: 1.4rem;
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3f86ff, #1653d4);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(54, 124, 245, .35);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}
.step:nth-child(even) .step__num {
  background: radial-gradient(circle at 35% 30%, #8a5cf0, #5B2A86);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(120, 70, 220, .35);
}
.step__title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.step__text { margin-top: .7rem; color: var(--ink-2); line-height: 1.6; }
.steps { margin-top: 2.5rem; row-gap: 2.5rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.25rem; }
  .steps::before {
    content: "";
    position: absolute;
    left: 1rem; right: 1rem;
    top: -1px;
    z-index: 1; /* nad kartami, pod číslami */
    height: 2px;
    background: linear-gradient(90deg, var(--blue), #8B5CF6);
  }
}

/* ==========================================================================
   História – Cesta k novému Občianskemu zákonníku (zvislá časová os)
   ========================================================================== */
.road { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.road__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.road__title { font-size: clamp(1.6rem, 5vw, 3.6rem); }
.road__lead {
  margin-top: .8rem;
  font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem);
  color: var(--text-2);
}

.road__list {
  --num: 2.5rem;
  --gap: 6rem;
  position: relative;
  display: grid;
  gap: 1.75rem;
}
.road__list::before {
  content: "";
  position: absolute;
  top: .5rem; bottom: .5rem;
  left: calc(var(--num) / 2 - 1px);
  width: 2px;
  background: linear-gradient(to bottom, rgba(94, 160, 255, .2), var(--blue-light) 4%, var(--blue-light) 96%, rgba(94, 160, 255, .2));
  box-shadow: 0 0 10px rgba(94, 160, 255, .7);
}
.road-step {
  position: relative;
  padding-left: calc(var(--num) + 1.25rem);
}
.road-step__num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--num); height: var(--num);
  border-radius: 50%;
  border: 2px solid var(--blue-light);
  background: #0B1C45;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 0 14px rgba(94, 160, 255, .6);
}
.road-step__date { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 700; line-height: 1.3; }
.road-step__title { margin-top: .15rem; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.road-step__text { margin-top: .3rem; color: var(--text-2); font-size: .95rem; line-height: 1.55; }

.road-step__more { margin-top: .35rem; }
.road-step__more summary {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--blue-light);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
}
.road-step__more summary::-webkit-details-marker { display: none; }
.road-step__more summary svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.road-step__more[open] summary svg { transform: rotate(180deg); }
.road-step__more summary:hover { color: var(--white); }
.road-step__more p + p { margin-top: .6rem; }
.road-step__more-body {
  margin-top: .5rem;
  padding: .8rem 1rem;
  border-left: 2px solid rgba(94, 160, 255, .6);
  border-radius: 0 8px 8px 0;
  background: rgba(16, 38, 90, .55);
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.6;
}

/* Posledný krok – schválenie */
.road-step--final .road-step__num {
  border-color: var(--violet-light);
  background: radial-gradient(circle at 35% 30%, #8a5cf0, #5B2A86);
  box-shadow: 0 0 0 4px rgba(150, 90, 255, .25), 0 0 22px rgba(150, 90, 255, .8);
}
.road-step--final .road-step__date,
.road-step--final .road-step__title { color: var(--violet-light); }

/* Desktop: kroky striedavo vľavo a vpravo od stredovej čiary, s posunom o pol kroku */
@media (min-width: 900px) {
  .road__list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--gap);
    row-gap: .9rem;
    max-width: 68rem;
    margin-inline: auto;
  }
  .road__list::before { left: calc(50% - 1px); }
  .road-step {
    grid-row: var(--row) / span 2;
    padding-left: 0;
  }
  .road-step:nth-child(odd) { grid-column: 1; }
  .road-step:nth-child(even) { grid-column: 2; }
  .road-step:nth-child(odd) .road-step__num { left: calc(100% + var(--gap) / 2 - var(--num) / 2); }
  .road-step:nth-child(even) .road-step__num { left: calc(-1 * var(--gap) / 2 - var(--num) / 2); }
}

/* ==========================================================================
   História – dokumenty
   ========================================================================== */
.docs { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
.docs__block + .docs__block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.docs__title {
  max-width: 52rem;
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
}
.docs__sub {
  margin-top: 1rem;
  font-size: clamp(.9rem, .85rem + .3vw, 1.05rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.docs__grid {
  display: grid;
  gap: clamp(.9rem, 1.5vw, 1.25rem);
  margin-top: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 820px) { .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.docs-group__title { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); font-weight: 700; line-height: 1.3; }
.docs-group__list { margin-top: .8rem; display: grid; gap: .55rem; }
.doc-link {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--text-2);
  text-decoration: none;
  line-height: 1.45;
}
.doc-link:hover { color: var(--white); }
.doc-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.doc-link__icon {
  flex-shrink: 0;
  width: 1.2rem; height: 1.2rem;
  margin-top: .1rem;
  fill: none; stroke: var(--blue-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ==========================================================================
   História – fialovo zvýraznené body vodorovnej osi (2023 – súčasnosť, 1. 10. 2026)
   ========================================================================== */
.milestone--violet .milestone__year { color: var(--violet-light); }
.milestone--violet .milestone__dot {
  border-color: #8B5CF6;
  box-shadow:
    0 0 0 3px rgba(150, 90, 255, .3),
    0 0 16px 4px rgba(150, 90, 255, .75);
}

/* ==========================================================================
   Plníme programové vyhlásenie vlády (podľa plnime_programove_vyhlasenie_vlady_dizajn.jpeg)
   ========================================================================== */
.pvv-hero {
  /* pozadie je spoločné pozadie stránky (svetelné lúče), ako na ostatných podstránkach */
  display: flex;
  align-items: center;
  min-height: clamp(240px, 32vw, 440px);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.pvv-hero .container { width: 100%; }

.pvv-hero .display { font-size: clamp(1.9rem, 5.6vw, 4.6rem); }

.page-pvv .light-area { padding-top: clamp(1.5rem, 3vw, 2rem); }
.page-pvv .light-area::before { display: none; }

.pvv-quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.75rem);
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 4vw, 3.5rem);
  border-left: 5px solid #1E5BE6;
  border-radius: 0 10px 10px 0;
  background: #EEF4FE;
}
.pvv-quote__icon {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: .8;
  color: #1E5BE6;
}
.pvv-quote blockquote { margin: 0; }
.pvv-quote blockquote p {
  font-size: clamp(1.15rem, .95rem + 1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.pvv-quote figcaption {
  margin-top: 1.25rem;
  font-size: clamp(.88rem, .85rem + .2vw, 1rem);
  color: #5A6680;
}
.pvv-text {
  max-width: 58rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  font-size: clamp(1.05rem, .98rem + .4vw, 1.35rem);
  line-height: 1.6;
  color: #1C2A4A;
}
.pvv-btn {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 1rem 2.5rem;
  border-radius: 6px;
  background: #1E5BE6;
  color: #fff;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.pvv-btn:hover { background: #164BC4; transform: translateY(-1px); }
.pvv-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 559.98px) {
  .pvv-quote { grid-template-columns: minmax(0, 1fr); }
  .pvv-btn { display: flex; justify-content: center; }
}

/* ---------- Tlačidlo „Späť na Hlavné zmeny“ (fialové, vpravo dole) ---------- */
.back-row {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.btn--violet {
  background: linear-gradient(135deg, #7C3AED, #5B2A86);
  box-shadow: 0 10px 30px -8px rgba(140, 80, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.btn--violet:hover {
  box-shadow: 0 14px 36px -8px rgba(160, 110, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn--back { justify-content: flex-start; }
.btn--back .btn__arrow { display: inline-flex; }
.btn--back .btn__arrow svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn--back:hover .btn__arrow { transform: translateX(-4px); }
@media (max-width: 559.98px) {
  .back-row .btn { width: 100%; }
}

/* ==========================================================================
   Rekodifikačná komisia (namiesto PDF so zoznamom členov)
   ========================================================================== */
.kom-hero__sub {
  max-width: 44rem;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem);
  color: var(--text-2);
}
.kom-section + .kom-section { margin-top: clamp(3rem, 6vw, 4.5rem); }
.kom-section__title {
  max-width: 52rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-bottom: .75rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--blue), #8B5CF6) 1;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.kom-block + .kom-block { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.kom-block__title {
  margin-bottom: 1rem;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem);
  font-weight: 700;
  color: #1E5BE6;
}
.kom-sub {
  margin: 1.25rem 0 .75rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-2);
}
.kom-block__title + .kom-sub { margin-top: 0; }
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: .75rem;
}
.person {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-light);
  border-left: 4px solid #1E5BE6;
  border-radius: 0 10px 10px 0;
  background: var(--surface-light);
}
.person__name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.person__role { font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.kom-partners {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.kom-partners li {
  padding: .7rem 1.15rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--surface-light);
  font-weight: 600;
  color: var(--ink);
}
.ws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
}
.ws-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px -18px rgba(13, 40, 100, .3);
}
.ws-card:nth-child(even) { border-top: 4px solid #7C3AED; }
.ws-card:nth-child(odd) { border-top: 4px solid #1E5BE6; }
.ws-card__num {
  display: inline-grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  margin-bottom: .75rem;
  border-radius: 50%;
  background: #EEF4FE;
  font-weight: 700;
  color: #1E5BE6;
}
.ws-card:nth-child(even) .ws-card__num { background: #F3EDFE; color: #6D28D9; }
.ws-card__title {
  margin-bottom: .85rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.ws-card__list li {
  padding: .45rem 0;
  border-top: 1px solid var(--line-light);
  color: var(--ink-2);
}
.kom-pdf { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
