/* Zasobovani a.s. - spolecny styl pro zasobovani.cz a zasobovani.com (soubor je v obou docrootech stejny) */

:root {
  --ink: #17202a;
  --text: #2f3943;
  --muted: #5d6874;
  --rule: #d9dee3;
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --accent: #1d5486;
  --accent-ink: #143f66;
  --accent-soft: #e3ecf4;
  --navy: #102a43;
  --navy-2: #0b1f33;
  --gold: #e3a92b;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 var(--sans);
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.15; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 6px 10px; z-index: 10; }

/* ---------- hlavicka ---------- */

.site-head { background: #fff; border-bottom: 1px solid var(--rule); }
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 24px; padding-top: 14px; padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
}
.brand::before {
  content: "Z"; display: inline-grid; place-items: center; width: 32px; height: 32px;
  background: var(--accent); color: #fff; border-radius: 4px; font-size: 1.1rem; font-weight: 800;
}
.brand:hover { color: var(--ink); }
.brand span { color: var(--muted); font-weight: 500; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; font-size: .95rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav .lang {
  border: 1px solid var(--rule); padding: 3px 9px; border-radius: 4px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--muted);
}
.nav .lang:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 640px) {
  .site-head .wrap { padding-top: 12px; }
  .nav { width: 100%; gap: 0 14px; font-size: .9rem; }
  .nav .lang { margin-left: auto; }
}

/* ---------- uvod ---------- */

.hero { background: var(--bg-alt); padding: 36px 0 48px; }
.hero-grid { display: grid; gap: 30px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 34em; margin-top: 20px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; filter: brightness(1.12) saturate(1.05); }
figure figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 28px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: .98rem;
}
.btn:hover { background: var(--accent-ink); color: #fff; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after, .more a::after { content: " \2192"; }
.link-arrow:hover { text-decoration: underline; }

@media (min-width: 880px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
  .hero-photo { position: relative; }
  .hero-photo::before {
    content: ""; position: absolute; z-index: 0; inset: 22px -22px 30px 22px;
    background: var(--accent-soft); border-radius: 4px;
  }
  .hero-photo img, .hero-photo figcaption { position: relative; z-index: 1; }
}

/* ---------- cisla ---------- */

.facts-band { background: var(--navy); color: #fff; }
.facts dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.facts div { padding: 22px 16px 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.14); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.facts dd { margin: 6px 0 0; color: #b4c4d4; font-size: .92rem; line-height: 1.4; }
@media (min-width: 880px) {
  .facts dl { grid-template-columns: repeat(4, 1fr); }
  .facts div { padding: 36px 28px 36px 0; border-bottom: 0; }
  .facts div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
}

/* ---------- sekce ---------- */

.section { padding: 60px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 42em; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }
.section h2::before {
  content: ""; display: block; width: 36px; height: 3px; background: var(--gold); margin-bottom: 16px;
}
@media (min-width: 880px) { .section { padding: 92px 0; } }

.cols { display: grid; gap: 22px; }
.cols > * {
  background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--accent);
  border-radius: 4px; padding: 24px 24px 8px;
}
.section.alt .cols > * { border-color: var(--rule); border-top-color: var(--accent); }
.cols h3 { margin-bottom: 10px; }
.cols .more, .more { font-weight: 600; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }
@media (min-width: 760px) { .cols { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 760px) { .cols.two { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; gap: 30px; align-items: center; }
.split figure { margin: 0; }
.split figure img { width: 100%; border-radius: 4px; }
.split h2 + p { margin-top: 16px; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.rev > :first-child { order: 2; }
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { background: var(--accent-soft); color: var(--accent-ink); padding: 6px 12px; border-radius: 4px; font-size: .93rem; font-weight: 500; }

/* ---------- historie ---------- */

.timeline { margin: 0; position: relative; }
.timeline div { position: relative; display: grid; gap: 2px 32px; padding: 0 0 26px 28px; }
.timeline div::before {
  content: ""; position: absolute; left: 4px; top: 10px; bottom: -10px; width: 2px; background: var(--rule);
}
.timeline div:last-child::before { display: none; }
.timeline div::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; border: 2px solid var(--accent);
}
.timeline dt { font-weight: 700; font-size: 1.15rem; color: var(--accent); }
.timeline dd { margin: 0; max-width: 46em; }
.timeline dd strong { color: var(--ink); }
@media (min-width: 760px) {
  .timeline div { grid-template-columns: 6rem 1fr; padding-left: 36px; }
}

/* ---------- vyzva ---------- */

.note {
  background: #fff; border-left: 3px solid var(--gold); padding: 14px 18px; margin: 22px 0 0; border-radius: 0 4px 4px 0;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- kontakt ---------- */

.contact-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.contact-grid > div { border-top: 3px solid var(--accent); padding-top: 18px; }
.contact-grid h3 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-grid p { margin-bottom: .6em; }
.big { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.big a { color: var(--ink); text-decoration: none; }
.big a:hover { color: var(--accent); text-decoration: underline; }
.small { font-size: .9rem; color: var(--muted); }

.people { display: grid; gap: 22px; }
@media (min-width: 760px) { .people { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.people > div { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 4px; padding: 22px 24px 8px; }
.people .name { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0; }
.people .role { color: var(--muted); margin: 2px 0 10px; }

/* ---------- paticka ---------- */

.site-foot { background: var(--navy-2); color: #a9b7c6; padding: 36px 0 42px; font-size: .9rem; }
.site-foot .wrap { display: grid; gap: 24px; }
.site-foot p { margin-bottom: .6em; }
.site-foot a { color: #d6e0ea; }
.site-foot a:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.eu { display: inline-block; background: #fff; padding: 8px 10px; border-radius: 4px; }
.eu img { width: 240px; }
@media (min-width: 880px) {
  .site-foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
