@font-face {
  font-family: "Chivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/chivo-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Chivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/chivo-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;
}

/* Montkontrol, 20 godina
   Mobile first. Boje iz znaka: zelena, crvena, plava, žuta na tamnoj tinti. */

:root {
  --bg: #f2f2f0;
  --surface: #e4e4e0;
  --ink: #2a2b2c;
  --ink-deep: #1c1d1e;
  --muted: #55585b;
  --paper: #f2f2f0;

  --blue: #27469b;
  --blue-deep: #1d3678;
  --blue-soft: #cdd6f0;
  --green: #007a3c;
  --red: #e81221;
  --yellow: #ffdf00;
  --accent: var(--blue);

  --font: "Chivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap-section: clamp(112px, 16vh, 220px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
body.is-intro { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { padding-inline: var(--m); }
.skip-link {
  position: absolute; left: var(--m); top: -100px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 16px;
}
.skip-link:focus { top: var(--m); }

.dot { display: inline-block; width: 0.62em; height: 0.62em; border-radius: 50%; flex: none; }
.dot--blue { background: var(--blue); }
.dot--green { background: var(--green); }
.dot--yellow { background: var(--yellow); }
.dot--red { background: var(--red); }
.dot--ink { background: var(--ink); }

/* Type steps */
.h-big {
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.75rem, 11vw, 6rem);
  line-height: 0.92; letter-spacing: -0.045em;
}
.h-mid { font-weight: 900; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.02; letter-spacing: -0.03em; }
.h-sm { font-weight: 900; font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem); line-height: 1.1; letter-spacing: -0.02em; }

/* Buttons: fully round, like the ring in the logo; one fill */
.btn, .nav__cta, .cell, .chip, .refs__more, .intro__skip { border-radius: 999px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  font-weight: 700; font-size: var(--step-body);
  transition: transform .2s var(--ease-out), background-color .2s;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--blue-deep); }
.btn:active, .cell:active, .chip:active { transform: scale(0.97); }

/* ---------- Intro (Three.js) ---------- */
.intro { display: none; }
.js .intro {
  display: block; position: fixed; inset: 0; z-index: 100;
  background: var(--ink-deep); color: var(--paper);
}
.js.no-intro .intro { display: none; }
.intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro__text {
  position: absolute; left: 0; right: 0; bottom: 14svh;
  text-align: center; padding-inline: var(--m); pointer-events: none;
}
.intro__years {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; line-height: .9;
  font-size: clamp(2.5rem, 12vw, 7rem);
}
.intro__dates { margin-top: 14px; font-size: var(--step-body); font-weight: 700; color: #c9cacb; }
.intro__skip {
  position: absolute; right: var(--m); top: var(--m);
  min-height: 44px; padding: 0 18px; background: #2f3133; color: var(--paper);
  font-weight: 700; font-size: var(--step-small);
  transition: background-color .2s, transform .2s var(--ease-out);
}
.intro__skip:hover { background: #3c3f42; }

/* ---------- Hero ---------- */
.hero {
  --ph: min(76vw, 42svh);
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding-bottom: 20px;
  overflow: hidden;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--m); gap: 24px; position: relative; z-index: 5;
}
.nav__logo img { width: 150px; height: auto; }
.nav__links, .nav__cta { display: none; }
.nav__links a, .nav__cta { font-weight: 700; font-size: var(--step-body); }
.nav__links a { position: relative; padding: 8px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__menu {
  position: relative; width: 44px; height: 44px; margin-right: -8px;
  display: grid; place-items: center;
}
.nav__bar {
  position: absolute; left: 8px; right: 8px; height: 3px; border-radius: 3px;
  background: currentColor;
  transition: transform .4s var(--ease-out), right .4s var(--ease-out);
}
.nav__bar:first-child { transform: translateY(-5px); }
.nav__bar:last-child { transform: translateY(5px); right: calc(8px + 28px * .3); }
.nav__menu[aria-expanded="true"] .nav__bar:first-child { transform: translateY(0) rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__bar:last-child { transform: translateY(0) rotate(-45deg); right: 8px; }
.mobile-menu {
  position: absolute; inset: 76px 0 auto 0; z-index: 6;
  background: var(--ink); color: var(--paper);
  display: grid; padding: 12px var(--m) 24px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-weight: 900; font-size: 2rem; letter-spacing: -0.03em; padding: 8px 0; text-transform: uppercase; }

.hero__stage { position: relative; display: grid; place-items: center; min-height: calc(var(--ph) * 1.25 + 40px); }
.hero__photo {
  position: relative; z-index: 1;
  width: var(--ph); aspect-ratio: 4 / 5; overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; filter: brightness(.72) contrast(1.08); }
.band {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  margin: 0; overflow: hidden; white-space: nowrap;
  font-weight: 900; text-transform: uppercase;
  font-size: 34vw; line-height: 0.88; letter-spacing: -0.05em;
  pointer-events: none;
}
.band--ink { z-index: 0; color: var(--ink); }
.band--paper { z-index: 2; color: var(--paper); clip-path: inset(0 calc(50% - var(--ph) / 2)); }
.band__track { display: inline-flex; align-items: center; will-change: transform; }
.band__item { padding-right: 0.22em; }
.band__dot {
  width: 0.24em; height: 0.24em; border-radius: 50%; background: currentColor;
  margin-right: 0.22em; flex: none;
}
.hero__copy { text-align: center; padding: 28px var(--m) 32px; }
.hero__lead { font-size: 1.125rem; line-height: 1.35; max-width: 36ch; margin-inline: auto; font-weight: 700; }
.hero__foot { display: grid; gap: 14px; padding-inline: var(--m); }
.hero__place { font-size: 1rem; text-align: center; }
.hero__foot .btn { width: 100%; }

/* ---------- Panorama ---------- */
.intro-pano { min-height: 100svh; padding-top: var(--gap-section); overflow: hidden; }
.intro-pano__head { max-width: 1400px; }
.intro-pano .h-big { max-width: 16ch; font-size: 9.2vw; }
.intro-pano__captions { margin-top: 28px; display: grid; gap: 16px; max-width: 46ch; }
.intro-pano__captions p { font-size: 1rem; line-height: 1.45; }
.intro-pano__captions p + p { color: var(--muted); }
.intro-pano__media { margin-top: 40px; aspect-ratio: 4 / 5; overflow: hidden; }
.intro-pano__media img { width: 100%; height: 118%; object-fit: cover; }

/* ---------- Usluge ---------- */
.services { padding-block: var(--gap-section); }
.services__top { display: grid; gap: 16px; margin-bottom: 48px; }
.services__note { font-size: var(--step-body); max-width: 42ch; min-height: 3em; }
.services__cols { display: grid; gap: 40px; }
.svc__name { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 14px; }
.svc ul { display: grid; gap: 2px; }
.svc li {
  font-size: 1.125rem; line-height: 1.4; color: var(--muted);
  cursor: default; transition: color .2s, transform .3s var(--ease-out);
  outline-offset: 2px;
}
.svc li:hover, .svc li:focus-visible, .svc li.is-on { color: var(--ink); transform: translateX(6px); }
.svc__sum { margin-top: 14px; font-size: 1rem; }

/* ---------- Showcase ---------- */
.showcase { background: var(--blue); color: var(--paper); display: grid; padding: var(--m) var(--m) 40px; gap: 28px; }
.showcase__media { aspect-ratio: 1; overflow: hidden; background: var(--blue-deep); }
.showcase__media img { width: 100%; height: 100%; object-fit: cover; }
.showcase__body { display: flex; flex-direction: column; gap: 28px; }
.tabs { display: flex; gap: 24px; }
.tabs button {
  font-size: 1.0625rem; font-weight: 400; color: var(--blue-soft); min-height: 44px;
  transition: color .2s;
}
.tabs button[aria-selected="true"] { color: #fff; font-weight: 900; }
.tabs button:hover { color: #fff; }
.tabs button:focus-visible { outline-color: var(--yellow); }
.showcase__text .h-mid { font-size: 1.75rem; }
.showcase__desc { margin-top: 24px; max-width: 34ch; font-size: var(--step-body); }
.showcase__meta { margin-top: 14px; color: var(--blue-soft); font-size: 1rem; }
.showcase__actions { display: grid; gap: 8px; }
.cell {
  display: flex; align-items: center; padding: 0 28px; min-height: 60px; font-weight: 700;
  transition: background-color .2s, color .2s, transform .2s var(--ease-out);
}
.cell--paper { background: var(--paper); color: var(--blue); }
.cell--paper:hover { background: var(--yellow); color: var(--ink); }
.cell--deep { background: var(--blue-deep); color: #fff; }
.cell--deep:hover { background: #142a62; }
.cell:focus-visible { outline-color: var(--yellow); }

/* ---------- Brojke ---------- */
.stats { padding-block: var(--gap-section); display: grid; gap: 56px; }
.stats .h-sm { margin-bottom: 40px; }
.stats dl { display: grid; gap: 28px; }
.stat { display: grid; grid-template-columns: 88px 1fr; column-gap: 20px; align-items: baseline; }
.stat dt { text-align: right; font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat dd { font-size: 1rem; max-width: 40ch; }
.stats__photo { width: 100%; overflow: hidden; }
.stats__photo img { width: 100%; height: auto; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: 24px; background: var(--ink); color: var(--paper); }
.marquee__track {
  display: inline-flex; align-items: center; gap: 0.3em; white-space: nowrap;
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(3.5rem, 12vw, 11rem);
  will-change: transform;
}
.marquee__track .dot { width: 0.28em; height: 0.28em; margin-inline: 0.06em; }

/* ---------- Reference ---------- */
.refs { padding-block: var(--gap-section); }
.refs__title { font-size: clamp(2.5rem, 9.5vw, 4.25rem); line-height: .98; max-width: 14ch; }
.refs__grid { display: grid; gap: 48px; margin-top: 56px; }
.refs__photo { order: 2; width: 100%; overflow: clip; }
.refs__photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.refs__photo figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; background: var(--surface);
  font-size: 0.9375rem; font-weight: 700;
  transition: background-color .2s, color .2s, transform .2s var(--ease-out);
}
.chip span { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { background: #d6d6d1; }
.chip.is-active { background: var(--ink); color: var(--paper); }
.chip.is-active span { color: #b9babb; }
.chip.is-active .dot--ink { background: var(--paper); }
.refs__count { margin: 24px 0 8px; font-size: 1rem; color: var(--muted); }
.ref-list { display: grid; }
.ref {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2px;
  padding: 13px 0; font-size: 1rem; line-height: 1.35;
}
.ref.is-folded { display: none; }
.ref.is-hidden { display: none; }
.ref__name { font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.ref__dots { display: inline-flex; gap: 3px; flex: none; transform: translateY(-1px); }
.ref__dots .dot { width: 9px; height: 9px; }
.ref__work { color: var(--muted); }
.ref__by { color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.refs__more {
  margin-top: 20px; min-height: 52px; padding: 0 22px; background: var(--ink); color: var(--paper);
  font-weight: 700; transition: background-color .2s, transform .2s var(--ease-out);
}
.refs__more:hover { background: var(--blue); }
.refs__more[hidden] { display: none; }

/* ---------- O nama ---------- */
.about { padding-block: var(--gap-section); display: grid; gap: 40px; }
.about__title { font-weight: 900; text-transform: uppercase; font-size: 17vw; line-height: .85; letter-spacing: -0.05em; }
.about__sub { margin-top: 16px; font-size: 1rem; color: var(--muted); max-width: 30ch; }
.about__flow { display: grid; gap: 72px; }
.about__block { overflow: clip; }
.about__block img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 24px; }
.about__block h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; }
.about__block p { max-width: 52ch; }
.about__block p + p { margin-top: 1em; }
.about__block--list { background: var(--green); color: #fff; padding: 28px 24px 32px; }
.about__block--list li { font-size: 1.125rem; font-weight: 700; padding: 8px 0; }

/* ---------- Kontakt ---------- */
.contact {
  min-height: 72svh; background: var(--ink); color: var(--paper); overflow: clip;
  display: grid; grid-template-rows: auto 1fr auto auto; grid-template-columns: minmax(0, 1fr); gap: 24px;
  padding: 32px var(--m) 28px;
}
.contact__top { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.contact__ring { width: 34vw; max-width: 380px; flex: none; }
.contact__lead { font-size: 1.25rem; line-height: 1.3; font-weight: 700; max-width: 26ch; letter-spacing: -0.01em; }
.contact__mail {
  grid-row: 3; display: block; font-weight: 900; letter-spacing: -0.05em; line-height: .9;
  font-size: 8.4vw; transition: color .25s;
}
.contact__mail { white-space: nowrap; }
.contact__mail:hover, .contact__mail:focus-visible { color: var(--yellow); }
.contact :focus-visible { outline-color: var(--yellow); }
.contact__foot { grid-row: 4; display: grid; gap: 12px; font-size: 0.9375rem; }
.contact__foot a { font-weight: 700; }
.contact__foot { color: #c9cacb; }
.contact__foot a { color: var(--paper); }
.contact__foot a:hover { color: var(--yellow); }

/* ---------- Footer ---------- */
.footer {
  background: var(--blue); color: var(--paper);
  display: grid; grid-template-columns: minmax(0, 1fr);
  padding: 40px var(--m) 20px;
}
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-wrap: anywhere; gap: 32px 20px; font-size: 0.9375rem; color: var(--blue-soft); }
.footer__h { color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer :focus-visible { outline-color: var(--yellow); }
.footer__legal { margin-top: 56px; font-size: var(--step-small); color: var(--blue-soft); display: grid; gap: 6px; }
.footer__credit a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* =================== Tablet =================== */
@media (min-width: 768px) {
  .hero { --ph: min(46vw, 44svh); }
  .hero__photo { aspect-ratio: 1; }
  .hero__stage { min-height: calc(var(--ph) + 48px); }
  .band { font-size: 22vw; }
  .hero__lead { font-size: 1.375rem; }
  .hero__foot { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; }
  .hero__foot .btn { width: auto; }
  .hero__place { text-align: left; }
  .intro-pano__captions { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 48px; max-width: none; }
  .intro-pano__media { aspect-ratio: 16 / 9; }
  .services__cols { grid-template-columns: 1fr 1fr; gap: 56px 32px; }
  .showcase__actions { grid-template-columns: 1fr 1fr; }
  .cell { min-height: 72px; }
  .contact__mail { font-size: 7.2vw; }
  .contact__foot { display: flex; justify-content: space-between; }
  .contact__foot p:last-child { text-align: right; }
  .footer__legal { display: flex; justify-content: space-between; gap: 24px; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =================== Desktop =================== */
@media (min-width: 1100px) {
  .nav { padding: 24px var(--m); }
  .nav__logo img { width: 190px; }
  .nav__links { display: flex; gap: 32px; }
  .nav__cta {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
    background: var(--ink); color: var(--paper); transition: background-color .2s, transform .2s var(--ease-out);
  }
  .nav__cta:hover { background: var(--blue); }
  .nav__menu, .mobile-menu { display: none !important; }

  .hero { --ph: min(32vw, 54svh, 560px); }
  .band { font-size: clamp(150px, 15vw, 260px); }
  .hero__stage { min-height: calc(var(--ph) + 64px); }
  .hero__copy { padding-top: 40px; }

  .intro-pano__media { aspect-ratio: 21 / 9; }
  .intro-pano__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; max-width: none; }
  .intro-pano__head h2 { grid-column: 1 / 8; }
  .intro-pano__captions { grid-column: 8 / 13; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 0; }
  .intro-pano .h-big { font-size: clamp(3rem, 6.5vw, 6rem); }

  .services__top { grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: 96px; }
  .services__top h2 { grid-column: 1 / 7; }
  .services__note { grid-column: 7 / 13; }
  .services__cols { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .svc__sum { display: none; }
  .svc li { font-size: 1.0625rem; line-height: 1.3; }

  .showcase { grid-template-columns: 1fr 1fr; min-height: 88svh; padding: 0; gap: 0; }
  .showcase__media { margin: 40px; align-self: center; }
  .showcase__body { justify-content: space-between; padding: 40px 40px 40px 0; }
  .showcase__text { max-width: 560px; }
  .showcase__text .h-mid { font-size: clamp(2rem, 2.6vw, 2.5rem); }
  .showcase__desc { margin-top: 48px; }
  .tabs button { font-size: 1.125rem; }

  .stats { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .stats__list { grid-column: 2 / 8; }
  .stats .h-sm { padding-left: calc(132px + 24px); margin-bottom: 56px; }
  .stat { grid-template-columns: 132px 1fr; column-gap: 24px; }
  .stat dt { font-size: 2rem; }
  .stat dd { font-size: 1.0625rem; }
  .stats__photo { grid-column: 9 / 12; width: 100%; margin-top: 160px; }

  .refs__title { text-indent: 3vw; max-width: none; }
  .refs__grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: 96px; }
  .refs__photo { order: 0; grid-column: 1 / 5; width: 100%; align-self: start; position: sticky; top: 32px; }
  .refs__table { grid-column: 6 / 13; }
  .ref { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 10.5rem; column-gap: 24px; padding: 11px 0; }
  .ref__by { text-align: right; font-size: 1rem; }

  .about { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .about__pin { grid-column: 1 / 6; position: sticky; top: 32px; }
  .about__title { font-size: clamp(5rem, 9vw, 9.5rem); }
  .about__flow { grid-column: 7 / 13; gap: 96px; padding-top: 6svh; }

  .contact { min-height: 100svh; padding: 40px var(--m) 32px; }
  .footer__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .contact__lead { font-size: 1.375rem; }
  .contact__mail { font-size: 9.6vw; margin-bottom: 4vh; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .band__track { transform: translateX(-12%); }
}

/* ---------- Kolačići ---------- */
.cookie {
  position: fixed; z-index: 90; left: var(--m); right: var(--m); bottom: var(--m);
  max-width: 460px; padding: 22px 22px 20px;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.cookie.is-open { opacity: 1; transform: none; }
.cookie[hidden] { display: none; }
.cookie :focus-visible { outline-color: var(--yellow); }
.cookie__title { font-size: 1.125rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; outline: none; }
.cookie__text { font-size: 0.9375rem; line-height: 1.45; color: #d6d7d8; }
.cookie__text a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.cookie__text a:hover { color: var(--yellow); }
.cookie__prefs { display: grid; gap: 12px; margin-top: 16px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.9375rem; line-height: 1.4; color: #d6d7d8; cursor: pointer; }
.cookie__opt strong { display: block; color: var(--paper); }
.cookie__opt input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--yellow); }
.cookie__opt input:disabled { cursor: not-allowed; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookie__btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 0.9375rem;
  transition: background-color .2s, color .2s, transform .2s var(--ease-out);
}
.cookie__btn:active { transform: scale(0.97); }
.cookie__btn--light { background: var(--paper); color: var(--ink); }
.cookie__btn--light:hover { background: var(--yellow); }
.cookie__btn--ghost { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; }
.cookie__btn--ghost:hover { color: var(--yellow); }
.footer__linkbtn { color: inherit; text-align: left; font-size: inherit; }
.footer__linkbtn:hover { color: var(--yellow); }

/* ---------- Pravne stranice ---------- */
.page-head { position: relative; z-index: 5; }
.legal { padding: 48px var(--m) var(--gap-section); }
.legal__head { max-width: 1100px; margin-bottom: 48px; }
.legal__title { font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: .95; font-size: clamp(2.25rem, 8vw, 5rem); }
.legal__meta { margin-top: 16px; color: var(--muted); font-size: 1rem; }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 900; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { line-height: 1.6; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 12px; }
.legal__body ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 6px; }
.legal__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--ink); }
.legal__body strong { font-weight: 700; }
.legal__table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.9375rem; }
.legal__table th, .legal__table td { text-align: left; padding: 12px 12px 12px 0; vertical-align: top; border-bottom: 1px solid #cfd0cc; }
.legal__table th { font-weight: 700; }
.legal__table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875em; }
.legal__btn {
  margin-top: 16px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.legal__btn:hover { background: var(--blue); }
.legal__btn:active { transform: scale(0.97); }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 960px; }
.facts__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid #cfd0cc; }
.facts__row dt { color: var(--muted); font-size: var(--step-small); }
.facts__row dd { font-weight: 700; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.facts__row dd small { display: block; font-weight: 400; color: var(--muted); font-size: var(--step-small); margin-top: 2px; }
.facts__note { margin-top: 32px; max-width: 72ch; color: var(--muted); font-size: 1rem; }

@media (min-width: 768px) {
  .facts__row { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: baseline; }
}
@media (min-width: 1100px) {
  .legal { padding-top: 72px; }
  .legal__head { margin-bottom: 72px; }
}
.legal__btn + p { margin-top: 16px; }
