/*
 * Podnikatelské profily členů rodiny (holasovi.net/frantisek-profil-88722520/, vera-profil-06635971/).
 * Rozložení podle conceptual.cz, bez loga, černobílé. Světlý a tmavý režim: výchozí podle
 * prohlížeče, přepínač v záhlaví nastaví <html data-theme="light|dark"> (assets/profil.js).
 *
 * Inter (SIL Open Font License, viz fonts/OFL-Inter.txt), uložené přímo na webu.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-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;
}

/* ---------- Barvy: světlý režim ---------- */
:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #5e5e5c;
  --line: #e2e2df;
  --bg: #ffffff;
  --bg-soft: #f5f5f3;
  --card: #ffffff;
  --chip: #ededeb;
  --accent: #141414;
  --accent-ink: #ffffff;
  --accent-hover: #3a3a38;
  --header: rgba(255, 255, 255, .9);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Barvy: tmavý režim ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f0f0ee;
    --muted: #a3a3a0;
    --line: #2c2c2a;
    --bg: #0f0f0f;
    --bg-soft: #151515;
    --card: #191918;
    --chip: #262624;
    --accent: #f0f0ee;
    --accent-ink: #111111;
    --accent-hover: #d2d2cf;
    --header: rgba(15, 15, 15, .88);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f0f0ee;
  --muted: #a3a3a0;
  --line: #2c2c2a;
  --bg: #0f0f0f;
  --bg-soft: #151515;
  --card: #191918;
  --chip: #262624;
  --accent: #f0f0ee;
  --accent-ink: #111111;
  --accent-hover: #d2d2cf;
  --header: rgba(15, 15, 15, .88);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Záhlaví ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: saturate(1.4) blur(8px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: .01em; white-space: nowrap; }
.header-end { display: flex; align-items: center; gap: 1.25rem; }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }

.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.lang a {
  min-width: 2.4rem; padding: .3rem .55rem; border-radius: 999px; text-align: center;
  color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .06em; line-height: 1.2;
}
.lang a:hover { color: var(--ink); background: var(--bg-soft); }
.lang a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.lang a:focus-visible { outline-offset: 1px; border-radius: 999px; }

.vzhled {
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--ink); cursor: pointer;
}
.vzhled:hover { background: var(--bg-soft); }
.vzhled svg { width: 18px; height: 18px; }
.vzhled .ikona-slunce { display: none; }
:root[data-vzhled="dark"] .vzhled .ikona-slunce { display: block; }
:root[data-vzhled="dark"] .vzhled .ikona-mesic { display: none; }

/* ---------- Úvod ---------- */
.hero { padding: 56px 0 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 1rem;
  background: var(--chip); color: var(--ink);
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 750;
}
h1 .titul { color: var(--muted); font-weight: 600; }
.lead { margin: 0 0 2rem; color: var(--muted); font-size: 1.15rem; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid var(--line); color: var(--ink); background: var(--card);
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--bg-soft); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Oddíly ---------- */
section.block { padding: 56px 0; }
section.block.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1.75rem; font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -.01em; line-height: 1.2;
}
h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--ink); flex: none; }
.intro { margin: -1rem 0 1.5rem; color: var(--muted); max-width: 62ch; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Údaje */
.facts { margin: 0; padding: 8px 28px; }
.fact { display: grid; grid-template-columns: 220px 1fr; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { color: var(--muted); font-size: .95rem; padding-top: .1rem; }
.fact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.fact dd address { font-style: normal; }
.fact .note { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
.fact .country { font-weight: 400; color: var(--muted); }
.fact .map-link { display: inline-block; margin-top: .4rem; font-weight: 500; font-size: .95rem; }
.fact .obory { margin: .5rem 0 0; padding-left: 1.2rem; font-weight: 400; }
.fact .obory li { margin: .15rem 0; }
.fact .obory-nadpis { display: block; margin-top: .6rem; font-weight: 400; color: var(--muted); font-size: .95rem; }
.ext svg { width: 15px; height: 15px; vertical-align: -.15em; margin-left: .3rem; }
.num-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.num { font-size: 1.15rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.num-row a { font-weight: 500; font-size: .95rem; }
.odkazy { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .35rem; }
.odkazy a { font-weight: 500; font-size: .95rem; }

/* Tlačítko Kopírovat */
.kopirovat {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .55rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--card); color: var(--muted); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.kopirovat:hover { color: var(--ink); background: var(--bg-soft); }
.kopirovat svg { width: 14px; height: 14px; }
.kopirovat[data-stav="hotovo"] { color: var(--ink); border-color: var(--ink); }

/* Čím se zabývám */
.oblasti { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.oblast { padding: 22px 24px; display: flex; flex-direction: column; gap: .6rem; }
.oblast h3 { margin: 0; font-size: 1.08rem; font-weight: 700; }
.oblast p { margin: 0; color: var(--muted); font-size: .98rem; }
.stitky { list-style: none; margin: auto 0 0; padding: .25rem 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stitky li { padding: .18rem .6rem; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .01em; }
.stitky li.hlavni { background: var(--accent); color: var(--accent-ink); }

/* Bankovní účty */
.ucty { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.ucet { padding: 22px 26px; }
.ucet h3 { margin: 0 0 .75rem; font-size: 1rem; font-weight: 700; }
.ucet dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; align-items: baseline; }
.ucet dt { color: var(--muted); font-size: .9rem; }
.ucet dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; }
.ucet dd .num { font-size: 1.02rem; }
.ucet dd.slabe { font-weight: 400; }
.zdroj { margin: 1.25rem 0 0; color: var(--muted); font-size: .95rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 280px 1fr; overflow: hidden; }
.person { padding: 32px 28px; background: var(--bg-soft); border-right: 1px solid var(--line); }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em;
  margin-bottom: 1rem;
}
.person .name { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.3; }
.person .role { margin: .2rem 0 0; color: var(--muted); }
.channels { list-style: none; margin: 0; padding: 12px 28px; }
.channel { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.channel:last-child { border-bottom: 0; }
.channel .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--ink); }
.channel .icon svg { width: 22px; height: 22px; }
.channel .label { display: block; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.channel .value { font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; }
.channel .value.id { letter-spacing: .06em; }
.channel .hint { display: inline-block; font-size: .9rem; margin-top: .15rem; }
.channel .hint svg { width: 14px; height: 14px; vertical-align: -.1em; margin-left: .25rem; }
.nowrap { white-space: nowrap; }

/* ---------- Zápatí ---------- */
.site-footer { padding: 28px 0 36px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.site-footer a { color: var(--muted); }

/* ---------- Menší obrazovky ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .contact { grid-template-columns: 1fr; }
  .person { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 20px; display: flex; align-items: center; gap: 16px; }
  .person .avatar { margin: 0; flex: none; }
  .fact { grid-template-columns: 180px 1fr; }
}
@media (max-width: 680px) {
  .nav { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .lead { font-size: 1.05rem; }
  section.block { padding: 40px 0; }
  .facts { padding: 4px 20px; }
  .fact { grid-template-columns: 1fr; padding: 14px 0; }
  .ucty, .oblasti { grid-template-columns: 1fr; }
  .oblast { padding: 18px 20px; }
  .ucet { padding: 18px 20px; }
  .ucet dl { grid-template-columns: 1fr; gap: .1rem; }
  .ucet dd { margin-bottom: .45rem; }
  .channels { padding: 4px 20px; }
  .channel { grid-template-columns: 40px 1fr; gap: 14px; }
  .channel .icon { width: 40px; height: 40px; }
  .channel .value { font-size: 1.02rem; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 400px) {
  .site-header .wrap { gap: .6rem; }
  .brand { font-size: .9rem; }
  .header-end { gap: .5rem; }
  .lang a { min-width: 2rem; padding: .3rem .4rem; }
  .vzhled { width: 34px; height: 34px; }
}

@media print {
  .site-header { position: static; }
  .nav, .lang, .vzhled, .actions, .skip, .kopirovat { display: none; }
  .card { box-shadow: none; }
  section.block.soft { background: none; }
}
