/* ==========================================================================
   zal.cz 2026
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #f6f5f1;
  --bg-alt: #eeece6;
  --surface: #ffffff;
  --ink: #15191c;
  --ink-soft: #3a4146;
  --muted: #646b70;
  --line: #e1ded6;

  --accent: #2c6f71;          /* text, odkazy, tlačítka */
  --accent-strong: #1f5759;
  --accent-brand: #6ba0a2;    /* barva loga ZAL */
  --accent-tint: #e2eeee;
  --on-accent: #ffffff;

  --band-bg: #132a2b;
  --band-ink: #eef4f4;
  --band-muted: #b2c7c7;
  --band-link: #a6dcdd;
  --band-line: rgba(255, 255, 255, 0.14);

  --ok: #1f9d64;

  --shadow: 0 1px 2px rgba(20, 25, 28, 0.04), 0 10px 30px rgba(20, 25, 28, 0.07);
  --radius: 16px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1140px;
  --header-h: 64px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1314;
    --bg-alt: #121a1b;
    --surface: #161e20;
    --ink: #e8eded;
    --ink-soft: #c3cdce;
    --muted: #93a1a3;
    --line: #253133;

    --accent: #85c6c8;
    --accent-strong: #a8dadb;
    --accent-brand: #6ba0a2;
    --accent-tint: #173234;
    --on-accent: #0b1112;

    --band-bg: #10292a;
    --band-ink: #eef4f4;
    --band-muted: #a9bfbf;
    --band-link: #a6dcdd;
    --band-line: rgba(255, 255, 255, 0.12);

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);

    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0e1314;
  --bg-alt: #121a1b;
  --surface: #161e20;
  --ink: #e8eded;
  --ink-soft: #c3cdce;
  --muted: #93a1a3;
  --line: #253133;

  --accent: #85c6c8;
  --accent-strong: #a8dadb;
  --accent-brand: #6ba0a2;
  --accent-tint: #173234;
  --on-accent: #0b1112;

  --band-bg: #10292a;
  --band-ink: #eef4f4;
  --band-muted: #a9bfbf;
  --band-link: #a6dcdd;
  --band-line: rgba(255, 255, 255, 0.12);

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--accent-strong); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { margin: 0; }

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a.is-active,
.nav a.is-active:hover { background: var(--accent-tint); color: var(--accent); }
.nav a.nav-cta.is-active {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-brand) 45%, transparent);
}
.nav a.nav-cta {
  background: var(--ink);
  color: var(--bg);
  margin-left: 6px;
}
.nav a.nav-cta:hover { background: var(--accent); color: var(--on-accent); }

@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 440px) {
  .nav { display: none; }
}

.header-tools { display: flex; align-items: center; gap: 8px; }

.lang {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.lang > * { padding: 3px 8px; border-radius: 999px; text-decoration: none; }
.lang [aria-current] { background: var(--ink); color: var(--bg); }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang a[aria-disabled="true"] { cursor: not-allowed; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); background: var(--bg-alt); }
.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 72px;
  }
}

.hero-name {
  display: block;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.hero-claim {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.lead {
  margin: 32px 0 0;
  max-width: 62ch;
  padding-left: 20px;
  border-left: 3px solid var(--accent-brand);
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
}
.lead strong { color: var(--ink); font-weight: 600; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.cta-row { gap: 10px; }
.cta-row .btn-ghost { padding-left: 16px; padding-right: 16px; }
.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-ghost:hover { border-color: var(--muted); color: var(--ink); }

/* Fotka */
.hero-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 400px;
  justify-self: end;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  /* Tenký rámeček těsně u fotky (outline, ne stín): drží tvar i na světlém pozadí. */
  outline: 3px solid var(--accent-brand);
  outline-offset: 0;
}

/* Štítky leží pod sebou vlevo dole a přesahují přes okraj kruhu */
.photo-tags {
  position: absolute;
  z-index: 2;
  left: -14px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  white-space: nowrap;
}
.status,
.photo-location {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.status { gap: 10px; }
.photo-location svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (max-width: 899px) {
  .hero-photo {
    order: -1;
    justify-self: start;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .hero-photo img { width: 88px; outline-width: 2px; }
  .photo-tags {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .status,
  .photo-location { padding: 8px 14px; white-space: normal; }
}

/* ---------- Rychlá fakta ---------- */
.facts {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 40px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 32px;
}
@media (min-width: 600px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }

.facts dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.facts dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}
/* Zvýraznění textu ve stylu zvýrazňovače: lom řádku mu nevadí. */
.hl {
  padding: 0 2px;
  background: linear-gradient(to top, color-mix(in srgb, var(--accent-brand) 55%, transparent) 0 46%, transparent 46%);
  color: var(--ink);
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.fact-link {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  margin-left: 4px;
}

/* ---------- Sekce ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--alt { background: var(--bg-alt); }
.section--compact { padding: 64px 0; }
@media (min-width: 900px) { .section--compact { padding: 80px 0; } }
.section:not(.section--alt) + .section:not(.section--alt) { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 2px;
  background: var(--accent-brand);
}
.section-intro {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.section-text {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.split { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 80px;
    align-items: start;
  }
  .split-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
  .split--even .section-head { margin-bottom: 0; }
}

/* ---------- Karty (Co přináším) ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
@media (min-width: 900px) { .card { padding: 36px; } }
.card:hover {
  border-color: color-mix(in srgb, var(--accent-brand) 60%, var(--line));
  transform: translateY(-2px);
}
.card-num {
  display: inline-block;
  margin-bottom: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
}
@media (min-width: 760px) {
  .card--wide { grid-column: 1 / -1; }
  .card--wide p { max-width: 80ch; }
}
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- Kroky (Jak pracuji) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 34px 64px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 42px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); }

.pullquote {
  margin: 80px 0 0;
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.pullquote p {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pullquote p::before,
.pullquote p::after { color: var(--accent-brand); }
.pullquote p::before { content: "„"; }
.pullquote p::after { content: "“"; }
/* anglické uvozovky pro anglickou verzi */
:lang(en) .pullquote p::before { content: "“"; }
:lang(en) .pullquote p::after { content: "”"; }

/* ---------- Zkušenosti ---------- */
.exp-grid { display: grid; gap: 56px; }
@media (min-width: 900px) {
  .exp-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 80px; }
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.timeline > li {
  position: relative;
  padding: 0 0 38px 30px;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-brand);
}
.timeline > li:first-child::before { background: var(--accent-brand); }
.timeline h3 { font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--ink-soft); }
.timeline p + p { margin-top: 10px; }
.timeline p.meta + p { margin-top: 0; }
.timeline .resp {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}
.timeline .resp li { position: relative; padding-left: 20px; }
.timeline .resp li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 2px;
  background: var(--accent-brand);
}
.timeline .resp strong { color: var(--ink); font-weight: 600; }
.timeline p.tech {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}
.timeline p.projects {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 0.93rem;
  color: var(--muted);
}
.timeline .meta {
  margin: 4px 0 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.muted-inline { font-weight: 400; color: var(--muted); }

.edu-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.edu-title--spaced { margin-top: 48px; }
.edu-list { list-style: none; margin: 0; padding: 0; }
.edu-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.edu-list li:last-child { border-bottom: 1px solid var(--line); }
.edu-list strong { font-weight: 600; }
.edu-list span { display: block; color: var(--muted); font-size: 0.95rem; }
.edu-list span.edu-note {
  margin-top: 2px;
  font-style: italic;
  font-size: 0.88rem;
}

/* ---------- Technologie ---------- */
.stack { margin: 0; border-top: 1px solid var(--line); }
.stack > div {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .stack > div { grid-template-columns: 170px 1fr; gap: 20px; align-items: baseline; }
}
.stack dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.stack dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--ink);
}

/* ---------- Příběh ---------- */
.waves {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 30px;
}
.waves li {
  position: relative;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.waves li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.waves li:last-child {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
}

.prose { max-width: 66ch; }
.prose p { margin: 0 0 1.1em; color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }

/* Sbalený příběh: text se k okraji plynule ztrácí, aby bylo vidět, že pokračuje.
   Výšku sbalené části (půl druhého odstavce) nastavuje js/main.js. Bez JS je text celý. */
@property --story-fade {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
.story-body {
  --story-fade: 0px;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--story-fade)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--story-fade)), transparent);
}
.story-body.is-collapsible {
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease, --story-fade 0.5s ease;
}
.story-body.is-collapsed { --story-fade: 122px; }
.story-body.is-collapsible p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .story-body.is-collapsible { transition: none; }
}

.story-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.story-toggle[hidden] { display: none; }
.story-toggle:hover { border-color: var(--muted); background: var(--surface); }
.story-toggle .story-less { display: none; }
.story-toggle[aria-expanded="true"] .story-more { display: none; }
.story-toggle[aria-expanded="true"] .story-less { display: inline; }
#pribeh, #story { scroll-margin-top: 56px; }

/* ---------- Co hledám + Kontakt (band) ---------- */
.band {
  background: var(--band-bg);
  color: var(--band-ink);
  padding: 80px 0;
}
@media (min-width: 900px) { .band { padding: 112px 0; } }

.band h2 { color: #ffffff; }
.band h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 2px;
  background: var(--accent-brand);
}
.band p { color: var(--band-muted); font-size: 1.1rem; }
.band a { color: var(--band-link); }
.band a:hover { color: #ffffff; }

.band-grid { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .band-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
}
.band-text p { max-width: 52ch; margin: 18px 0 0; }
.band-text .band-lead {
  margin-top: 22px;
  color: var(--band-ink);
  font-weight: 600;
  font-size: 1.2rem;
}

.contact-card {
  display: grid;
  gap: 28px;
  padding: 32px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--band-line);
}
.contact-intro { margin: 18px 0 0; }

.contact-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 1.05rem;
  flex: 1 1 auto;
}
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent-brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-list a { text-decoration: none; }
@media (max-width: 420px) {
  .contact-list { min-width: 0; }
  .contact-list a { overflow-wrap: anywhere; }
}
.contact-list a:hover { text-decoration: underline; }

.qr { flex: none; margin: 0; text-align: center; }
.qr img {
  /* 183 px = 61 čtverečků (53 kód + 2×4 okraj) × 3 px. Nesahat na rozměr:
     jiná velikost dá čtverečkům nestejnou šířku a hůř se skenuje. Okraj je přímo v SVG. */
  display: block;
  width: 183px;
  height: 183px;
  max-width: none;
  background: #ffffff;
  border-radius: 12px;
}
.qr figcaption { margin-top: 8px; font-size: 0.78rem; color: var(--band-muted); max-width: 183px; }
@media (max-width: 559px) { .qr { display: none; } }

/* ---------- Patička ---------- */
.site-footer {
  padding: 28px 0 72px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.footer-inner > span { display: inline-flex; align-items: center; gap: 8px; }
.footer-logo { height: 16px; width: auto; display: inline-block; }

/* ---------- Omezení pohybu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
