/* VM-NS — stilovi sajta */
:root {
  --ink: #0b1014;
  --ink-2: #121a20;
  --ink-3: #1b252d;
  --paper: #f4f6f5;
  --white: #ffffff;
  --line: #e1e7e5;
  --line-dark: #26323b;
  --text: #16202a;
  --muted: #5a6670;
  --muted-light: #9aa6ae;
  --teal: #2dd4bf;
  --teal-strong: #14b8a6;
  --teal-dark: #0f766e;
  --teal-soft: #e3f7f3;
  --violet: #a78bfa;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 16, 20, .05), 0 8px 24px -12px rgba(11, 16, 20, .12);
  --shadow-hover: 0 2px 4px rgba(11, 16, 20, .06), 0 18px 40px -16px rgba(11, 16, 20, .22);
  --head: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--teal-strong); outline-offset: 3px; border-radius: 6px; }

/* ---------- dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px;
  font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: #5eead4; }
.btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-line { border-color: var(--line); color: var(--text); background: var(--white); }
.btn-line:hover { border-color: var(--teal-dark); color: var(--teal-dark); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 20, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.logo-mark { width: 36px; height: 36px; }
.logo-word { font: 800 21px/1 var(--head); letter-spacing: .02em; }
.logo-word span { color: var(--muted-light); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  font: 500 15px/1 var(--body); color: #d5dde2; text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-item.open > .nav-link { color: #fff; background: rgba(255,255,255,.06); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item.open > .nav-link svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); right: -180px;
  width: 640px; padding: 14px;
  background: var(--white); color: var(--text);
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px -20px rgba(0,0,0,.45);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a {
  display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.mega a:hover { background: var(--paper); }
.mega img { width: 46px; height: 46px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.mega small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.header-cta { margin-left: 10px; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 0; color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* mobilni meni */
.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 49; overflow-y: auto;
  background: var(--ink); color: #fff; padding: 18px 20px 40px;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu h2 { font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin: 10px 0 12px; }
.mobile-menu a.m-link {
  display: flex; align-items: center; gap: 14px; padding: 10px 4px;
  border-bottom: 1px solid var(--line-dark); text-decoration: none; font-weight: 600;
}
.mobile-menu a.m-link img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; }
.mobile-menu .btn { width: 100%; margin-top: 22px; }
body.menu-open { overflow: hidden; }

/* ---------- hero (početna) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: 84px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(45, 212, 191, .16), transparent 70%),
    radial-gradient(520px 360px at 10% 110%, rgba(167, 139, 250, .12), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; margin: 22px 0 22px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 18px; color: #b9c4cb; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 28px; margin: 40px 0 0; padding: 0; list-style: none; justify-content: start; }
.hero-facts li { display: flex; align-items: center; gap: 10px; color: #dfe6ea; font-size: 15px; }
.hero-facts svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

.hero-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-bottom: 26px; }
.tile {
  aspect-ratio: 1; background: var(--white); border-radius: 18px; padding: 14%;
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.6);
  transition: transform .3s ease;
}
.tile { position: relative; min-width: 0; }
.tile img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.tile:hover { transform: translateY(-4px); }
.hero-mosaic .tile:nth-child(3n+2) { transform: translateY(26px); }
.hero-mosaic .tile:nth-child(3n+2):hover { transform: translateY(22px); }

/* ---------- sekcije ---------- */
.section { padding: 96px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-top: 14px; }
.section-head p { color: var(--muted); max-width: 480px; }
.eyebrow.dark { color: var(--teal-dark); }

/* kategorije */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; text-decoration: none; box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #cfe9e4; }
.cat-img { height: 170px; display: grid; place-items: center; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cat-img img { max-height: 140px; max-width: 85%; width: auto; object-fit: contain; }
.cat-card h3 { font-size: 21px; font-weight: 700; }
.cat-card p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--teal-dark); font-weight: 600; }
.cat-meta svg { width: 20px; height: 20px; transition: transform .25s; }
.cat-card:hover .cat-meta svg { transform: translateX(4px); }

/* za koga */
.sectors { background: var(--white); border-block: 1px solid var(--line); padding: 34px 0; }
.sectors-inner { display: flex; align-items: center; gap: 18px 36px; flex-wrap: wrap; justify-content: center; }
.sectors-inner span { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sectors-inner b { font: 700 17px/1 var(--head); color: var(--text); display: inline-flex; align-items: center; gap: 10px; }
.sectors-inner b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-strong); }

/* zašto */
.why { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -240px; background: radial-gradient(closest-side, rgba(45,212,191,.14), transparent); }
.why-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 20px; }
.why-lead { color: #b9c4cb; font-size: 17px; }
.why-brands { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.why-brands span { padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 14px; color: #dfe6ea; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 26px; }
.why-item .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(45,212,191,.12); color: var(--teal); margin-bottom: 18px; }
.why-item .ico svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.why-item p { color: #a9b5bc; font-size: 15px; }

/* CTA traka */
.cta { padding: 96px 0; }
.products + .cta, .section.light + .cta { padding-top: 0; }
.cta-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(120deg, #0f2a2a, var(--ink) 60%);
  color: #fff; border-radius: 28px; padding: 54px;
}
.cta-box::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(167,139,250,.18), transparent); }
.cta-box h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.cta-box p { color: #b9c4cb; margin-top: 12px; }
.cta-contacts { position: relative; z-index: 1; display: grid; gap: 10px; }
.cta-contacts a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
.cta-contacts a:hover { border-color: var(--teal); background: rgba(45,212,191,.08); }
.cta-contacts svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.cta-contacts small { display: block; color: var(--muted-light); font-size: 13px; }
.cta-contacts strong { font-weight: 600; font-size: 16px; }

/* ---------- stranica kategorije ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 46px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(45,212,191,.14), transparent 70%); }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted-light); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 56px); font-weight: 800; margin: 16px 0 16px; }
.page-hero .sub { font: 700 clamp(19px, 2vw, 23px)/1.35 var(--head); color: #fff; margin-bottom: 10px; max-width: 760px; }
.page-hero .lead { font-size: 18px; color: #b9c4cb; max-width: 760px; }
.page-hero .count { margin-top: 22px; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: #dfe6ea; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.chips a { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); text-decoration: none; font-size: 14px; font-weight: 500; }
.chips a:hover { border-color: var(--teal); color: var(--teal); }

.products { padding: 56px 0 96px; }
.group + .group { margin-top: 64px; }
.group-head { margin-bottom: 24px; scroll-margin-top: 100px; }
.group-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.group-head p { color: var(--muted); margin-top: 6px; }

.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.prod {
  display: grid; grid-template-columns: 200px 1fr; gap: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}
.prod-img { background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 16px; align-self: start; aspect-ratio: 1; overflow: hidden; }
.prod-img { position: relative; }
.prod-img img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.prod > * { min-width: 0; }
.prod h3 { font-size: 21px; font-weight: 700; }
.prod-desc { color: var(--muted); font-size: 15px; margin-top: 8px; }
.specs { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); font-size: 14px; }
.specs dt, .specs dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 18px; }
.specs dd { font-weight: 500; }
.prod-actions { margin-top: 18px; }
.prod-actions .btn { padding: .7em 1.1em; font-size: 14px; }

.prod-grid.single { grid-template-columns: 1fr; max-width: 980px; }
.prod-grid.single .prod { grid-template-columns: 340px 1fr; gap: 36px; padding: 30px; }

/* kompaktne kartice (kancelarijski materijal, papirni program) */
.prod-grid.compact { grid-template-columns: repeat(3, 1fr); }
.prod-grid.compact .prod { grid-template-columns: 1fr; gap: 16px; }
.prod-grid.compact .prod-img { aspect-ratio: 4 / 3; }
.prod-grid.compact .prod h3 { font-size: 18px; }
.prod-grid.tight { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-grid.tight .prod { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
.prod-grid.tight .prod-img { aspect-ratio: 4 / 3; }
.prod-grid.tight .prod h3 { font-size: 16px; }
.prod-grid.tight .specs { margin-top: 10px; font-size: 13px; }
.prod-grid.tight .specs dt, .prod-grid.tight .specs dd { padding-block: 6px; }
.prod-grid.tight .specs dt { padding-right: 12px; }

.system {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; margin-top: 18px; border-radius: 14px;
  background: var(--teal-soft); color: #0b4f49; font-weight: 600;
}
.system:first-child { margin-top: 0; }
.system a { font-size: 14px; color: var(--teal-dark); white-space: nowrap; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); margin-bottom: 20px; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card small { color: var(--muted); font-size: 14px; }
.contact-card h2 { font-size: 22px; font-weight: 700; margin: 4px 0 14px; }
.contact-card .big { font: 700 20px/1.3 var(--head); text-decoration: none; overflow-wrap: anywhere; }
.contact-card .big:hover { color: var(--teal-dark); }
.contact-card .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.contact-card .row .btn { padding: .7em 1.1em; font-size: 14px; }
.contact-note { margin-top: 28px; color: var(--muted); text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c4cb; padding: 64px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-tag { margin-top: 16px; max-width: 320px; }
.footer-tag strong { color: var(--teal); font-weight: 600; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted-light); }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 48px; font-weight: 800; margin: 14px 0; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- animacija pojavljivanja ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-mosaic { max-width: 560px; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-grid.tight { grid-template-columns: repeat(3, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-box { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 820px) {
  .cat-grid, .prod-grid.compact, .contact-grid { grid-template-columns: 1fr 1fr; }
  .prod-grid.tight { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 64px; }
  .mobile-menu { inset: 64px 0 0; }
  .hero { padding: 56px 0 72px; }
  .hero-lead { font-size: 17px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .section { padding: 68px 0; }
  .cat-grid, .contact-grid, .prod-grid.compact { grid-template-columns: 1fr; }
  .cat-img { height: 150px; }
  .prod, .prod-grid.single .prod { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .prod-img { aspect-ratio: 4 / 3; }
  .why-list { grid-template-columns: 1fr; }
  .cta { padding: 68px 0; }
  .cta-box { padding: 30px 22px; border-radius: 22px; }
  .products { padding: 40px 0 68px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .prod-grid.tight { grid-template-columns: 1fr; }
}

/* ---------- Kolačići ---------- */
.cookie {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px;
  max-width: 760px; margin-inline: auto;
  display: flex; align-items: center; gap: 18px 24px;
  padding: 18px 20px; background: var(--white); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px -18px rgba(11, 16, 20, .45);
}
.cookie[hidden] { display: none; }
.cookie h2 { font: 800 16px/1.2 var(--head); margin: 0 0 4px; }
.cookie p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cookie p a { color: var(--teal-dark); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: .7em 1.2em; font-size: 15px; min-height: 44px; }
@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a, .cookie-open { color: inherit; }
.cookie-open { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-open.inline { color: var(--teal-dark); font-weight: 600; }

/* ---------- Pravne stranice ---------- */
.legal { padding: 56px 0 80px; background: var(--white); }
.prose { max-width: 760px; }
.prose h2 { font: 800 clamp(21px, 2.2vw, 26px)/1.25 var(--head); margin: 40px 0 12px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--teal-dark); font-weight: 600; }
.prose strong { color: var(--text); }
.prose code { font-size: .92em; background: var(--paper); padding: 2px 6px; border-radius: 6px; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.prose th { color: var(--text); font-weight: 700; background: var(--paper); }
