/*
 * tootevru.cz, Návrh B „Noční směna“
 * Tmavý, klidný, vysoce kontrastní jazyk „sodíkové pouliční lampy“.
 * Mobile-first, nativní CSS, custom properties. Tmavý režim je výchozí, světlý jen přes ruční přepínač
 * (html[data-theme="light"]), prefers-color-scheme se záměrně nesleduje.
 *
 * Obsah:
 *  1. Tokeny          2. Základ          3. Typografie       4. Layout
 *  5. Tlačítka        6. Top bar         7. Hlavička a menu  8. Hero a klíčová dírka
 *  9. Karty-visačky  10. Denní pás      11. Kdo přijede     12. Recenze
 * 13. Působnost      14. Patička        15. Mobilní lišta   16. Podstránky (hlavička)
 * 17. Ceník          18. O mně          19. Poptávka        20. Kontakt
 * 21. Právní text    22. Technické kresby 23. Sdílené komponenty (lightbox, mapa, cookies)
 * 24. Pohyb
 *
 * Z-index: topbar 1 · callbar 40 · nav panel 49 · header 50 · skip link 100 · dialogy top layer
 */

/* =========================================================== 1. TOKENY */
:root {
  color-scheme: dark;

  /* barvy: noc (výchozí) */
  --c-bg: #0E1012;
  --c-surface: #15181B;
  --c-surface-2: #1C2024;
  --c-ink: #ECEEF0;
  --c-muted: #9199A1;          /* 6,6:1 na --c-bg */
  --c-line: #262B30;           /* dekorativní linky */
  --c-line-strong: #68717A;    /* hrany formulářů a čipů, 3,6:1 na --c-surface */
  --c-accent: #F07A2A;         /* sodíková oranžová, 6,8:1 na --c-bg */
  --c-accent-hover: #F58D47;
  --c-accent-text: #F07A2A;    /* oranžový text */
  --c-on-accent: #0E1012;      /* text na oranžové, 6,8:1 */
  --c-live: #F07A2A;           /* značka „teď“, živý stav */
  --c-focus: #F07A2A;
  --c-error: #FF8A7A;          /* 7,8:1 na --c-surface */
  --c-success: #7FD1A0;
  --c-glow: rgb(240 122 42 / .12);
  --c-glow-strong: rgb(240 122 42 / .28);
  --c-shadow: rgb(0 0 0 / .72);
  --duo-lo: #121417;           /* duotón: stíny */
  --duo-hi: #F07A2A;           /* duotón: světla */
  --photo-filter: brightness(.72) contrast(1.08) saturate(.8);

  /* mapa (coverage-map.js čte při inicializaci) */
  --map-area-fill: #F07A2A;
  --map-area-stroke: #F07A2A;
  --map-area-opacity: .14;
  --map-base: #F07A2A;
  --map-town: #ECEEF0;
  --map-label: #ECEEF0;
  --map-halo: #0E1012;

  /* typografie: jediná rodina Archivo (variabilní osy wdth 62 až 125, wght 100 až 900) */
  --font-body: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-body);
  --font-mono: var(--font-body);   /* číslice: stejná rodina, tabular-nums, šířka 112 % */
  --fs-xs: .8125rem;               /* 13 px */
  --fs-sm: .9375rem;               /* 15 px */
  --fs-body: 1.0625rem;            /* 17 px */
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4.2vw, 5rem);
  --fs-hero: clamp(2rem, 1.1rem + 3.4vw, 3.625rem);
  --fs-price: clamp(1.875rem, 1.5rem + 1.3vw, 2.625rem);

  /* tvar: interaktivní prvky pilulka, karty a panely 14 px, pole formuláře 12 px */
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-btn: 999px;

  /* rozestupy */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.4rem + 4.4vw, 7rem);
  --gutter: 16px;
  --container: 1240px;
  --topbar-h: 44px;
  --header-h: 64px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --c-bg: #F2F3F4;
  --c-surface: #FBFBFB;
  --c-surface-2: #ECEEF0;
  --c-ink: #111315;
  --c-muted: #555C63;          /* 6,1:1 na --c-bg */
  --c-line: #D9DDE0;
  --c-line-strong: #7E868E;    /* 3,6:1 na --c-surface */
  --c-accent: #EA6F22;
  --c-accent-hover: #DD6419;
  --c-accent-text: #B04A10;    /* 4,9:1 na --c-bg */
  --c-on-accent: #111315;      /* 6,0:1 na --c-accent */
  --c-live: #B04A10;
  --c-focus: #B04A10;
  --c-error: #B3261E;
  --c-success: #1E7A46;
  --c-glow: rgb(234 111 34 / .14);
  --c-glow-strong: rgb(234 111 34 / .22);
  --c-shadow: rgb(17 19 21 / .16);
  --duo-lo: #1C2024;
  --duo-hi: #EA6F22;
  --photo-filter: brightness(.98) contrast(1.02) saturate(.9);

  --map-area-fill: #EA6F22;
  --map-area-stroke: #C2560F;
  --map-area-opacity: .16;
  --map-base: #C2560F;
  --map-town: #111315;
  --map-label: #111315;
  --map-halo: #FBFBFB;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --topbar-h: 40px; --header-h: 72px; } }

/* =========================================================== 2. ZÁKLAD */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
address { font-style: normal; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.form-success:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--c-accent); color: var(--c-on-accent); }

.skip-link { font-weight: 600; }

/* =========================================================== 3. TYPOGRAFIE */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  text-wrap: balance;
  color: var(--c-ink);
}
p, li, dd, blockquote { text-wrap: pretty; }

.h2 {
  font-size: var(--fs-h2);
  font-stretch: 125%;
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.01em;
}
.h3 {
  font-size: var(--fs-h3);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.2;
}
.num,
time {
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
}
.num { font-weight: 600; }
.muted { color: var(--c-muted); }
.lead {
  font-size: var(--fs-lead);
  color: var(--c-muted);
  max-width: 56ch;
}

/* =========================================================== 4. LAYOUT */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--section-y); position: relative; }
.section + .section { padding-top: 0; }
.stack > * + * { margin-top: var(--s-4); }

/* =========================================================== 5. TLAČÍTKA A ODKAZY */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn .ph { font-size: 1.2em; }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn--accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn--accent:hover { background: var(--c-accent-hover); }
.btn--accent:focus-visible { outline-color: var(--c-ink); }

.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { background: var(--c-surface-2); border-color: var(--c-ink); }

.btn--compact {
  min-height: 44px;
  padding: 0 18px;
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

/* Hlavní tlačítko „zavolat“ s otočením klíče */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  min-height: 64px;
  padding: 8px 30px 8px 8px;
  border-radius: var(--radius-btn);
  background: var(--c-accent);
  color: var(--c-on-accent);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 18px 44px -20px var(--c-glow-strong), inset 0 0 0 1px rgb(255 255 255 / .08);
  transition: background-color .2s ease, transform .15s ease, box-shadow .3s ease;
}
.btn-call:hover { background: var(--c-accent-hover); box-shadow: 0 22px 54px -18px var(--c-glow-strong), inset 0 0 0 1px rgb(255 255 255 / .1); }
.btn-call:active { transform: scale(.98); }
.btn-call:focus-visible { outline-color: var(--c-ink); outline-offset: 4px; border-radius: var(--radius-btn); }
.btn-call__key {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-on-accent);
  color: var(--c-accent);
  font-size: 1.5rem;
}
.btn-call__key .ph { display: block; transition: transform .5s var(--ease-spring); }
.btn-call:hover .btn-call__key .ph,
.btn-call:focus-visible .btn-call__key .ph { transform: rotate(90deg); }
.btn-call__num {
  font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem);
  font-stretch: 112%;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  line-height: 1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--c-line-strong);
  text-underline-offset: .32em;
  transition: text-decoration-color .2s ease;
}
.link-arrow .ph { font-size: 1.1em; transition: transform .25s var(--ease-out); }
.link-arrow:hover { text-decoration-color: var(--c-accent); }
.link-arrow:hover .ph { transform: translateX(3px); }
.link-arrow--quiet { font-weight: 500; color: var(--c-muted); }
.link-arrow--quiet:hover { color: var(--c-ink); }
.link-arrow--quiet:hover .ph { transform: translate(2px, -2px); }

/* =========================================================== 6. TOP BAR */
.topbar {
  position: relative;
  z-index: 1;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-height: var(--topbar-h);
}
.topbar__contacts { display: flex; align-items: center; gap: 0; margin: 0 0 0 -10px; }
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: var(--topbar-h);
  min-width: 44px;
  padding: 0 10px;
  justify-content: center;
  color: var(--c-muted);
  text-decoration: none;
  transition: color .2s ease;
}
.topbar__link:hover { color: var(--c-ink); }
.topbar__link .ph { font-size: 1.05rem; }
.topbar__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.topbar__area {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-left: auto;
  white-space: nowrap;
}
.topbar__area .ph { font-size: 1.05rem; color: var(--c-accent-text); }
.topbar__area-more { display: none; }

.theme-switch {
  display: inline-flex;
  padding: 3px;
  margin-left: var(--s-2);
  border-radius: var(--radius-btn);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.theme-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.theme-switch__btn .ph { font-size: 1rem; }
.theme-switch__btn:hover { color: var(--c-ink); }
.theme-switch__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* aktivní režim řídí atribut na <html>, JS jen synchronizuje aria-pressed */
:root:not([data-theme="light"]) .theme-switch__btn[data-theme-set="dark"],
:root[data-theme="light"] .theme-switch__btn[data-theme-set="light"] {
  background: var(--c-surface-2);
  color: var(--c-ink);
  box-shadow: inset 0 0 0 1px var(--c-line-strong);
}
:root:not([data-theme="light"]) .theme-switch__btn[data-theme-set="dark"] .ph,
:root[data-theme="light"] .theme-switch__btn[data-theme-set="light"] .ph { color: var(--c-accent-text); }

@media (min-width: 560px) {
  .topbar__area-more { display: inline; }
}
@media (min-width: 900px) {
  .topbar__text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .theme-switch__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .theme-switch__btn { padding: 0 12px; }
  .topbar__link { padding: 0 12px; }
}

/* =========================================================== 7. HLAVIČKA A MENU */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.header.is-scrolled { border-bottom-color: var(--c-line); }
@supports (backdrop-filter: blur(1px)) {
  .header.is-scrolled {
    background: color-mix(in srgb, var(--c-bg) 86%, transparent);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
  }
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; margin-right: auto; border-radius: 6px; flex: none; }
.logo__img { height: 30px; width: auto; }
:root:not([data-theme="light"]) .logo__img--on-light,
:root[data-theme="light"] .logo__img--on-dark { display: none; }

.header__call { padding: 0 16px; }
.header__call .ph { font-size: 1.15rem; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--c-surface-2);
  color: var(--c-ink);
  font-size: 1.4rem;
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* mobilní panel */
.nav {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-top, calc(var(--topbar-h) + var(--header-h)));
  bottom: 0;
  z-index: 49;
  display: none;
  padding: var(--s-5) var(--gutter) var(--s-7);
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav[data-open] { display: flex; flex-direction: column; }
.nav__list { display: grid; gap: var(--s-1); }
.nav__link {
  display: flex;
  align-items: center;
  min-height: 60px;
  color: var(--c-ink);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem);
  font-stretch: 125%;
  font-weight: 750;
  letter-spacing: -.01em;
  text-decoration: none;
}
.nav__link[aria-current="page"] { color: var(--c-accent-text); }
.nav__panel-note { margin-top: auto; padding-top: var(--s-6); color: var(--c-muted); font-size: var(--fs-sm); }

@media (prefers-reduced-motion: no-preference) {
  .nav[data-open] { animation: nav-in .28s var(--ease-out); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
}

@media (max-width: 359px) {
  .header__call-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header__call { width: 44px; padding: 0; }
}

@media (min-width: 1024px) {
  .logo__img { height: 36px; }
  .header__inner { gap: var(--s-3); }
  .nav {
    position: static;
    display: block;
    padding: 0;
    margin-right: var(--s-3);
    background: none;
    border: 0;
    overflow: visible;
  }
  .nav__list { display: flex; gap: 2px; }
  .nav__link {
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-btn);
    color: var(--c-muted);
    font-size: 1rem;
    font-stretch: 100%;
    font-weight: 500;
    letter-spacing: 0;
    transition: color .2s ease, background-color .2s ease;
  }
  .nav__link:hover { color: var(--c-ink); background: var(--c-surface-2); }
  .nav__link[aria-current="page"] { color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
  .nav__panel-note, .nav-toggle { display: none; }
  .header__call { padding: 0 20px; }
}

/* =========================================================== 8. HERO A KLÍČOVÁ DÍRKA */
.hero {
  position: relative;
  overflow-x: clip;   /* záře přesahuje do stran, svisle smí doznít do další sekce */
  padding-block: var(--s-5) var(--s-4);
}
/* statická „záře pouliční lampy“ v rohu */
.hero::before {
  content: "";
  position: absolute;
  top: -38%;
  right: -34%;
  width: min(130vw, 1200px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--c-glow), transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: var(--s-7);
}
.live {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: var(--s-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink);
}
.live__dot {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-live);
}
.live__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--c-live);
  opacity: 0;
}
.live__time {
  padding-left: .625rem;
  border-left: 1px solid var(--c-line-strong);
  color: var(--c-muted);
  font-weight: 500;
}
.hero__title {
  margin-bottom: var(--s-4);
  font-size: var(--fs-hero);
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -.012em;
}
.hero__title-strong { display: block; font-weight: 800; }
.hero__title-soft {
  display: block;
  margin-top: .3em;
  max-width: 24ch;
  font-size: .5em;
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--c-ink);
}
.hero__lead {
  max-width: 40ch;
  margin-bottom: var(--s-5);
  font-size: var(--fs-lead);
  color: var(--c-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
}

.keyhole {
  position: relative;
  width: min(46vw, 200px);
  justify-self: center;
  margin: 0;
  filter: drop-shadow(0 0 28px var(--c-glow-strong));
}
.keyhole__frame {
  position: relative;
  aspect-ratio: 5 / 8;
  overflow: hidden;
  background: var(--c-surface-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160'%3E%3Cpath d='M37 81.4A34 34 0 1 1 63 81.4L74 152Q75 156 71 156L29 156Q25 156 26 152Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160'%3E%3Cpath d='M37 81.4A34 34 0 1 1 63 81.4L74 152Q75 156 71 156L29 156Q25 156 26 152Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.keyhole__frame picture { height: 100%; }
.keyhole__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 40%;
  transform: scale(1.22);
  transform-origin: 56% 30%;
  filter: var(--photo-filter);
}
/* světlo lampy: oranžový nádech shora, tma zdola */
.keyhole__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(100% 60% at 80% 6%, rgb(240 122 42 / .55), transparent 72%),
    linear-gradient(to bottom, transparent 40%, rgb(14 16 18 / .6));
  mix-blend-mode: multiply;
  pointer-events: none;
}
:root[data-theme="light"] .keyhole__frame::after {
  background: radial-gradient(90% 55% at 78% 8%, rgb(234 111 34 / .22), transparent 70%);
}
.keyhole__outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.keyhole__outline path {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: .85;
}

@media (min-width: 1024px) {
  .hero {
    display: grid;
    align-items: center;
    min-height: calc(88dvh - var(--topbar-h) - var(--header-h));
    padding-block: var(--s-6) var(--s-8);
  }
  .hero::before { top: -40%; right: -16%; width: min(92vw, 1000px); }
  .hero__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
  }
  .live { margin-bottom: var(--s-5); }
  .hero__title { margin-bottom: var(--s-5); }
  .hero__lead { margin-bottom: var(--s-6); }
  .keyhole { width: 100%; max-width: 360px; justify-self: end; margin-right: 4%; }
}

/* =========================================================== 9. KARTY-VISAČKY */
.tags {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.tag {
  --hole-x: 30px;
  --hole-y: 30px;
  --hole-r: 9px;
  position: relative;
  display: block;
  height: 100%;
  color: var(--c-ink);
  text-decoration: none;
  border-radius: var(--radius-md);
}
.tag:focus-visible { outline-offset: 4px; border-radius: var(--radius-md); }
.tag__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  gap: var(--s-4);
  height: 100%;
  min-height: 168px;
  padding: 60px var(--s-5) var(--s-5);
  border-radius: inherit;
  background: var(--c-surface-2);
  box-shadow: inset 0 0 0 1px var(--c-line);
  /* skutečný průsek otvorem visačky */
  -webkit-mask: radial-gradient(circle at var(--hole-x) var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + .6px));
  mask: radial-gradient(circle at var(--hole-x) var(--hole-y), transparent var(--hole-r), #000 calc(var(--hole-r) + .6px));
  transform-origin: var(--hole-x) var(--hole-y);
  transition: transform .7s var(--ease-spring), box-shadow .25s ease, background-color .25s ease;
}
/* zesílený okraj otvoru jako u papírové visačky */
.tag__body::before {
  content: "";
  position: absolute;
  left: calc(var(--hole-x) - var(--hole-r) - 4px);
  top: calc(var(--hole-y) - var(--hole-r) - 4px);
  width: calc(2 * (var(--hole-r) + 4px));
  height: calc(2 * (var(--hole-r) + 4px));
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--c-line-strong);
  opacity: .7;
}
/* kroužek (motiv z loga): nahoře přes visačku, dole pod ní */
.tag__ring {
  position: absolute;
  left: -14.7px;
  top: -14.7px;
  width: 53.4px;
  height: 53.4px;
  border: 2.5px solid var(--c-accent);
  border-radius: 50%;
  -webkit-mask: conic-gradient(#000 0deg 155deg, transparent 155deg 208deg, #000 208deg);
  mask: conic-gradient(#000 0deg 155deg, transparent 155deg 208deg, #000 208deg);
  pointer-events: none;
}
.tag__text { display: grid; gap: var(--s-2); align-content: start; }
.tag__name {
  font-size: var(--fs-h3);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
.tag__note { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.4; }
.tag__price {
  margin-top: var(--s-3);
  font-size: var(--fs-price);
  font-stretch: 112%;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.tag__from { font-size: .5em; font-weight: 500; color: var(--c-muted); letter-spacing: 0; }
.tag__go {
  position: absolute;
  right: var(--s-5);
  bottom: var(--s-5);
  font-size: 1.35rem;
  color: var(--c-muted);
  transition: transform .3s var(--ease-out), color .2s ease;
}
.tag__art { display: none; }
.tag:hover .tag__body { box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.tag:hover .tag__go { color: var(--c-accent-text); transform: translateX(4px); }

.tags__note { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--c-muted); max-width: 60ch; }

@media (min-width: 480px) {
  .tag--wide .tag__body { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: end; }
  .tag--wide .tag__art { display: block; align-self: center; color: var(--c-muted); --ill-bg: var(--c-surface-2); padding-bottom: var(--s-5); }
}
@media (min-width: 720px) {
  .tags { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); }
  .tags__item--a { grid-column: span 7; }
  .tags__item--b { grid-column: span 5; }
  .tags__item--c { grid-column: span 5; }
  .tags__item--d { grid-column: span 7; }
  .tag__body { min-height: 220px; padding: 68px var(--s-6) var(--s-6); }
  .tag__go { right: var(--s-6); bottom: var(--s-6); }
  .tag--wide .tag__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .tag--wide .tag__art { padding: 0 var(--s-5) var(--s-5) 0; }
}

/* další služby: menší visačky ve vodorovném posuvném řádku */
.more { margin-top: var(--s-7); }
.more__title {
  margin-bottom: var(--s-4);
  font-size: var(--fs-h3);
  font-stretch: 112%;
  font-weight: 700;
}
.minitags {
  display: flex;
  gap: var(--s-3);
  margin: 0 calc(var(--gutter) * -1) var(--s-4);
  padding: 4px var(--gutter) var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--c-line-strong) transparent;
}
.minitags > li { flex: none; scroll-snap-align: start; }
.minitag {
  --hole-r: 5px;
  position: relative;
  display: grid;
  align-content: space-between;
  gap: var(--s-2);
  width: 196px;
  height: 100%;
  min-height: 104px;
  padding: var(--s-4) var(--s-4) var(--s-4) 40px;
  border-radius: var(--radius-md);
  background: var(--c-surface);
  color: var(--c-ink);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--c-line);
  -webkit-mask: radial-gradient(circle at 20px 50%, transparent var(--hole-r), #000 calc(var(--hole-r) + .6px));
  mask: radial-gradient(circle at 20px 50%, transparent var(--hole-r), #000 calc(var(--hole-r) + .6px));
  transition: box-shadow .2s ease, background-color .2s ease;
}
.minitag::before {
  content: "";
  position: absolute;
  left: 11px;
  top: calc(50% - 9px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--c-line-strong);
  opacity: .7;
}
.minitag:hover { background: var(--c-surface-2); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.minitag:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--c-focus); }
.minitag__name { font-weight: 600; line-height: 1.3; }
.minitag__price { font-stretch: 112%; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--c-ink); }
.minitag__price--tbd { font-weight: 500; font-stretch: 100%; color: var(--c-muted); font-size: var(--fs-sm); }

@media (min-width: 1024px) {
  .minitags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .minitag { width: auto; min-height: 88px; }
}
@media (min-width: 1280px) {
  .minitags { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .minitag { min-height: 112px; }
}

/* =========================================================== 10. DENNÍ PÁS S PŘÍPLATKY */
.band-layout { display: grid; gap: var(--s-6); }
.band-layout__head { max-width: 60ch; }
.band-layout__text { margin-top: var(--s-4); color: var(--c-muted); font-size: var(--fs-lead); }

.dayband {
  padding: var(--s-5) var(--s-4) var(--s-5);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.dayband__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-1) var(--s-5);
  margin-bottom: 44px;
}
.dayband__today { color: var(--c-muted); font-size: var(--fs-sm); }
.dayband__today time { font-weight: 600; color: var(--c-ink); }
.dayband__rate {
  font-size: clamp(1.125rem, 1rem + .7vw, 1.5rem);
  font-stretch: 112%;
  font-weight: 500;
  line-height: 1.2;
}
.dayband__rate strong { color: var(--c-accent-text); font-weight: 700; }

.dayband__track {
  position: relative;
  height: 60px;
  border-radius: 12px;
}
.dayband__zone {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--from) / 24 * 100%);
  width: calc((var(--to) - var(--from)) / 24 * 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-size: var(--fs-sm);
  font-stretch: 112%;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
}
.dayband__zone:first-child { border-radius: 12px 0 0 12px; }
.dayband__zone:nth-child(3) { border-radius: 0 12px 12px 0; }
.dayband__zone--on {
  background: color-mix(in srgb, var(--c-ink) 12%, var(--c-surface));
  color: var(--c-ink);
  box-shadow: inset 1px 0 0 var(--c-line-strong), inset -1px 0 0 var(--c-line-strong);
}
.dayband__zone--off,
.dayband[data-daytype="holiday"] .dayband__zone--on {
  background:
    repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--c-muted) 32%, transparent) 7px 8px),
    var(--c-surface-2);
  color: var(--c-muted);
}
.dayband[data-daytype="holiday"] .dayband__zone--on { box-shadow: none; }
.dayband[data-daytype="weekend"] .dayband__zone--off,
.dayband[data-daytype="holiday"] .dayband__zone {
  background:
    repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--c-muted) 36%, transparent) 4px 5px),
    var(--c-surface-2);
}
/* hodinové ryski */
.dayband__track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 5px;
  border-right: 1px solid var(--c-line-strong);
  background: repeating-linear-gradient(to right, var(--c-line-strong) 0 1px, transparent 1px calc(100% / 24));
  opacity: .8;
}
.dayband__now {
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: calc(var(--now-fraction, .5) * 100%);
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--c-live);
  box-shadow: 0 0 14px 2px var(--c-glow-strong);
}
.dayband__now-label {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(calc(var(--now-fraction, .5) * -100%));
  color: var(--c-accent-text);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.dayband__scale {
  position: relative;
  height: 1.25rem;
  margin-top: 16px;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
}
.dayband__scale span { position: absolute; top: 0; left: calc(var(--at) / 24 * 100%); transform: translateX(-50%); }
.dayband__scale span:first-child { transform: none; }
.dayband__scale span:last-child { transform: translateX(-100%); }
.dayband__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: var(--fs-sm);
}
.dayband__legend li { display: inline-flex; align-items: center; gap: .5rem; }
.dayband__key { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.dayband__key--on { background: color-mix(in srgb, var(--c-ink) 12%, var(--c-surface)); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.dayband__key--off {
  background: repeating-linear-gradient(135deg, transparent 0 3px, var(--c-muted) 3px 4px), var(--c-surface-2);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.info-block .dayband { padding: var(--s-4); }
.info-block .dayband__track { height: 44px; }
.info-block .dayband__head { margin-bottom: 38px; }
.info-block .dayband__rate { font-size: 1.125rem; color: var(--c-ink); }
.info-block .dayband__rate strong { color: var(--c-accent-text); font-weight: 700; }
.info-block .dayband__zone { font-size: var(--fs-xs); }

@media (min-width: 720px) {
  .dayband { padding: var(--s-6); }
  .dayband__track { height: 72px; }
  .dayband__zone { font-size: 1rem; }
}

/* =========================================================== 11. KDO PŘIJEDE (duotón) */
.person { display: grid; gap: var(--s-6); }
.duotone {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-md);
  background: var(--duo-hi);
}
.duotone picture { height: 100%; }
.duotone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.18) brightness(1.04);
  mix-blend-mode: multiply;
}
.duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--duo-lo);
  mix-blend-mode: lighten;
  pointer-events: none;
}
.person__photo { aspect-ratio: 1; max-height: 560px; }
@media (min-width: 900px) { .person__photo { aspect-ratio: 4 / 5; } }
.person__photo img { object-position: 28% 70%; transform: scale(1.3); transform-origin: 28% 72%; }
.person__name {
  margin-top: var(--s-5);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.1;
}
.person__text { margin-top: var(--s-3); max-width: 52ch; color: var(--c-muted); font-size: var(--fs-lead); }
.docs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin: var(--s-6) 0 var(--s-4);
}
.docs-mini__item {
  display: grid;
  gap: var(--s-2);
  width: 132px;
  color: var(--c-ink);
  text-decoration: none;
  border-radius: 10px;
}
.docs-mini__item picture {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--c-line);
}
.docs-mini__item img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
  filter: var(--photo-filter);
}
.docs-mini__item:hover img { transform: scale(1.04); }
.docs-mini__label { font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }

@media (min-width: 900px) {
  .person {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
  }
}

/* =========================================================== 12. RECENZE */
.reviews { display: grid; gap: var(--s-7); }
.segmented {
  display: inline-flex;
  padding: 4px;
  margin: var(--s-5) 0 var(--s-6);
  border-radius: var(--radius-btn);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.segmented__btn {
  min-width: 104px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--c-muted);
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.segmented__btn:hover { color: var(--c-ink); }
.segmented__btn[aria-selected="true"] { background: var(--c-ink); color: var(--c-bg); }
.rating { display: flex; align-items: center; gap: var(--s-4); }
.rating[hidden], .reviews__cta[hidden] { display: none; }
.rating__value {
  font-size: clamp(3.25rem, 2.6rem + 2.4vw, 4.5rem);
  font-stretch: 112%;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.rating__count { margin-top: var(--s-1); color: var(--c-muted); font-size: var(--fs-sm); }
.stars { display: inline-flex; gap: 2px; color: var(--c-accent); font-size: 1.25rem; line-height: 1; }
.stars--sm { font-size: .95rem; }
.reviews__cta {
  display: grid;
  justify-items: start;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
}
.reviews__cta p { color: var(--c-muted); }
.reviews__panel:focus-visible { outline-offset: 8px; border-radius: var(--radius-md); }
.review blockquote p { color: var(--c-ink); }
.review--featured blockquote p {
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  font-stretch: 125%;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
  text-wrap: balance;
  max-width: 30ch;
}
.review__by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) var(--s-3);
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
}
.review__name { font-weight: 600; }
.review__meta { color: var(--c-muted); }
.review-list {
  display: grid;
  gap: var(--s-6);
  margin-top: var(--s-7);
}
.review-list .review blockquote p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 720px) and (max-width: 1023px), (min-width: 1280px) {
  .review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
  .review-list > li + li { padding-left: var(--s-6); border-left: 1px solid var(--c-line); }
}
@media (min-width: 1024px) {
  .reviews { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-8); }
  .reviews__side { position: sticky; top: calc(var(--header-h) + var(--s-5)); align-self: start; }
  .reviews__main { padding-top: var(--s-2); }
}

/* =========================================================== 13. PŮSOBNOST */
.coverage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.coverage__map { height: 360px; min-height: 0; }
.coverage__panel { padding: var(--s-5); }
.coverage__panel > p:first-of-type { margin-top: var(--s-3); color: var(--c-muted); }
.district-list {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.district-list li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 600;
}
.district-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--c-accent);
}
.coverage__base {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: var(--fs-sm);
}
.coverage__base .ph { color: var(--c-accent-text); font-size: 1.1rem; }

@media (min-width: 900px) {
  .coverage__map { height: 480px; }
}
@media (min-width: 1200px) {
  .coverage__map { height: 560px; }
  .coverage__panel {
    position: absolute;
    top: var(--s-5);
    left: var(--s-5);
    z-index: 2;
    width: min(360px, 34%);
    border-radius: var(--radius-md);
    background: var(--c-surface);
    box-shadow: 0 0 0 1px var(--c-line), 0 30px 60px -30px var(--c-shadow);
  }
  @supports (backdrop-filter: blur(1px)) {
    .coverage__panel {
      background: color-mix(in srgb, var(--c-surface) 84%, transparent);
      backdrop-filter: blur(12px) saturate(1.1);
      -webkit-backdrop-filter: blur(12px) saturate(1.1);
    }
  }
}
@media (prefers-reduced-transparency: reduce) {
  .coverage__panel, .callbar, .header.is-scrolled { background: var(--c-surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* =========================================================== 14. PATIČKA */
.footer {
  padding-block: var(--s-8) var(--s-5);
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6) var(--s-5);
}
.footer__brand { grid-column: 1 / -1; display: grid; justify-items: start; gap: var(--s-4); }
.footer__claim { color: var(--c-muted); max-width: 34ch; }
.footer__title {
  margin-bottom: var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 700;
  font-stretch: 112%;
  color: var(--c-ink);
}
.footer__address, .footer__list { color: var(--c-muted); line-height: 1.9; }
.footer__list li { display: flex; }
.footer a,
.footer__linkbtn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 32px;
  color: var(--c-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .25em;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.footer a:hover, .footer__linkbtn:hover { color: var(--c-ink); text-decoration-color: currentColor; }
.footer .btn { color: var(--c-on-accent); text-decoration: none; min-height: 44px; }
.footer .btn:hover { color: var(--c-on-accent); }
.footer__linkbtn { padding: 0; border: 0; background: none; font-size: inherit; }
.footer__list--meta { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.footer__bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: var(--fs-xs);
}
.credit {
  padding: var(--s-4) var(--gutter) var(--s-5);
  background: var(--c-surface);
  color: var(--c-muted);
  font-size: var(--fs-xs);
  text-align: center;
}
.credit a { color: var(--c-ink); text-underline-offset: .2em; }

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; align-content: start; }
}

/* =========================================================== 15. PLOVOUCÍ MOBILNÍ LIŠTA */
.callbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-btn);
  background: var(--c-surface-2);
  box-shadow: 0 0 0 1px var(--c-line), 0 22px 44px -14px var(--c-shadow);
  transition: transform .4s var(--ease-out), opacity .3s ease, visibility .4s;
}
@supports (backdrop-filter: blur(1px)) {
  .callbar {
    background: color-mix(in srgb, var(--c-surface-2) 80%, transparent);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
  }
}
.callbar__call { flex: 1; min-height: 52px; font-size: 1.25rem; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.callbar__form {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-ink);
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--c-line-strong);
}
html.js .callbar[data-callbar="hero"]:not(.is-visible),
body.nav-open .callbar {
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 767px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 768px) {
  .callbar { display: none; }
}

/* =========================================================== 16. PODSTRÁNKY: HLAVIČKA */
.page-head {
  position: relative;
  overflow-x: clip;
  padding-block: var(--s-5) var(--s-7);
}
.page-head::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -30%;
  width: min(120vw, 1000px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--c-glow), transparent 72%);
  pointer-events: none;
}
.page-head__grid { position: relative; display: grid; gap: var(--s-6); align-items: end; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); color: var(--c-muted); font-size: var(--fs-sm); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); color: var(--c-line-strong); }
.breadcrumb a { color: var(--c-muted); text-underline-offset: .2em; }
.breadcrumb a:hover { color: var(--c-ink); }
.page-title {
  font-size: var(--fs-h1);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.015em;
}
.page-title--long { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.04; }
.page-lead { margin-top: var(--s-4); max-width: 52ch; color: var(--c-muted); font-size: var(--fs-lead); }
.page-head + .section { padding-top: 0; }
.page-head__art { color: var(--c-muted); --ill-bg: var(--c-bg); max-width: min(300px, 82%); }

@media (min-width: 900px) {
  .page-head { padding-block: var(--s-6) var(--s-8); }
  .page-head__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .page-head__art { justify-self: end; width: 100%; max-width: 380px; }
}

.section-head { max-width: 60ch; margin-bottom: var(--s-6); }
.section-head p { margin-top: var(--s-3); color: var(--c-muted); }

/* závěrečná výzva (podstránky) */
.cta-end {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--s-5);
  padding: var(--s-6) var(--s-5);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.cta-end::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -20%;
  width: 90%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--c-glow), transparent 70%);
  pointer-events: none;
}
.cta-end > * { position: relative; }
.cta-end__title { font-size: var(--fs-h2); font-stretch: 125%; font-weight: 760; line-height: 1.06; letter-spacing: -.01em; }
.cta-end p { margin-top: var(--s-3); color: var(--c-muted); max-width: 46ch; }
.cta-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
@media (min-width: 900px) {
  .cta-end { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--s-7); }
}

/* =========================================================== 17. CENÍK */
.calc-wrap { display: grid; gap: var(--s-6); }
.calc { display: grid; gap: var(--s-6); }
.calc__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__legend {
  margin-bottom: var(--s-4);
  padding: 0;
  font-size: var(--fs-h3);
  font-stretch: 112%;
  font-weight: 700;
}
.chips { display: grid; gap: var(--s-2); grid-template-columns: minmax(0, 1fr); }
.chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 56px;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  background: var(--c-surface);
  color: var(--c-ink);
  box-shadow: inset 0 0 0 1px var(--c-line-strong);
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .15s ease;
}
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--c-ink); }
.chip:active { transform: scale(.99); }
.chip__name { font-weight: 600; line-height: 1.25; }
.chip__meta { color: var(--c-muted); font-size: var(--fs-sm); font-stretch: 112%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip:has(input:checked) { background: var(--c-accent); color: var(--c-on-accent); box-shadow: none; }
.chip:has(input:checked) .chip__meta { color: var(--c-on-accent); }
.chip:has(input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.calc__hint { margin-top: var(--s-3); color: var(--c-muted); font-size: var(--fs-sm); }

.calc__result {
  align-self: start;
  padding: var(--s-5);
  border-radius: var(--radius-md);
  background: var(--c-surface-2);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.calc__result-title { font-size: var(--fs-h3); font-stretch: 112%; font-weight: 700; }
.calc__rows { margin-top: var(--s-4); }
.calc__row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-2);
  color: var(--c-muted);
}
.calc__row dd { margin: 0; color: var(--c-ink); font-stretch: 112%; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.calc__total {
  display: grid;
  gap: var(--s-1);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line-strong);
}
.calc__total-label { color: var(--c-muted); font-size: var(--fs-sm); }
.calc__total-value {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-stretch: 112%;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.calc__total-value small { font-size: .45em; font-weight: 500; color: var(--c-muted); letter-spacing: 0; }
.calc__fine { margin-top: var(--s-4); color: var(--c-muted); font-size: var(--fs-sm); }
.calc__result .btn { margin-top: var(--s-5); width: 100%; }

@media (min-width: 720px) {
  .chips--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .calc-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); }
  .calc__result { position: sticky; top: calc(var(--header-h) + var(--s-5)); padding: var(--s-6); }
}

.pricelist { display: grid; gap: var(--s-7); }
.price-group__title {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  font-size: var(--fs-h3);
  font-stretch: 112%;
  font-weight: 700;
}
.price-group__title .ph { color: var(--c-accent-text); font-size: 1.3rem; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding-block: var(--s-2);
}
.price-row__name { font-weight: 500; }
.price-row__sub { display: block; color: var(--c-muted); font-size: var(--fs-sm); font-weight: 400; }
.price-row__leader {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 1px dashed var(--c-line-strong);
  opacity: .55;
  transform: translateY(-.3em);
}
.price-row__price {
  flex: none;
  font-stretch: 112%;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-row__price--tbd { color: var(--c-muted); font-weight: 500; font-stretch: 100%; }
.price-group__art { margin-top: var(--s-4); color: var(--c-muted); --ill-bg: var(--c-bg); max-width: 300px; }
@media (min-width: 900px) {
  .pricelist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-8); }
}

.surcharges { display: grid; gap: var(--s-6); }
.surcharges .lead { margin-top: var(--s-4); }
.surcharges__list { display: grid; gap: var(--s-4); }
.surcharge {
  display: grid;
  gap: var(--s-1);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}
@media (min-width: 480px) {
  .surcharge { grid-template-columns: 10.5rem minmax(0, 1fr); align-items: baseline; gap: var(--s-4); }
}
.surcharge dt {
  font-size: var(--fs-price);
  font-stretch: 112%;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--c-accent-text);
}
.surcharge dd { margin: 0; }
@media (min-width: 900px) {
  .surcharges { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
}

.notes {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-7);
  padding: var(--s-5);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.notes p { display: flex; gap: var(--s-3); }
.notes .ph { flex: none; margin-top: .2em; color: var(--c-accent-text); font-size: 1.2rem; }

.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--c-line); }
.faq details:last-child { border-bottom: 1px solid var(--c-line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 60px;
  padding-block: var(--s-3);
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { flex: none; font-size: 1.25rem; color: var(--c-muted); transition: transform .3s var(--ease-out); }
.faq details[open] summary .ph { transform: rotate(45deg); color: var(--c-accent-text); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq details p { padding-bottom: var(--s-5); max-width: 64ch; color: var(--c-muted); }

/* =========================================================== 18. O MNĚ */
.about-hero { align-items: center; }
.about-hero__photo { aspect-ratio: 4 / 5; width: 100%; max-height: 640px; }
.about-hero__photo img { object-position: 30% 72%; transform: scale(1.2); transform-origin: 28% 74%; }
.story { display: grid; gap: var(--s-7); }
.story__text { display: grid; gap: var(--s-4); max-width: 62ch; margin-top: var(--s-5); }
.story__text p:first-child {
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  font-stretch: 112%;
  font-weight: 500;
  line-height: 1.35;
  color: var(--c-ink);
}
.story__text p { color: var(--c-muted); }
.timeline { position: relative; display: grid; gap: var(--s-6); padding-left: 36px; margin-top: var(--s-6); }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--c-line-strong);
}
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2.5px solid var(--c-accent);
  background: var(--c-bg);
}
.timeline__date {
  display: block;
  font-size: 1.25rem;
  font-stretch: 112%;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.timeline__text { margin-top: var(--s-1); color: var(--c-muted); }
.timeline__title { display: block; margin-top: var(--s-1); font-weight: 600; }
@media (min-width: 1024px) {
  .story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; }
}

.docs { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.docs__item { margin: 0; }
.docs__link { display: block; border-radius: var(--radius-md); color: var(--c-ink); text-decoration: none; }
.docs__link picture { overflow: hidden; border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--c-line); background: var(--c-surface-2); }
.docs__link img { aspect-ratio: 3 / 4; object-fit: cover; filter: var(--photo-filter); transition: transform .6s var(--ease-out); }
.docs__link:hover img { transform: scale(1.03); }
.docs__caption { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
.docs__caption .ph { color: var(--c-muted); flex: none; }
@media (max-width: 719px) {
  .docs__item:nth-child(3) { grid-column: 1 / -1; }
  .docs__item:nth-child(3) img { aspect-ratio: 4 / 3; object-position: 50% 40%; }
}
@media (min-width: 720px) {
  .docs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .docs { align-items: start; }
  .docs__item:nth-child(2) { margin-top: var(--s-7); }
}

/* =========================================================== 19. POPTÁVKA */
.inquiry { display: grid; gap: var(--s-6); }
.acute {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  padding: var(--s-5);
  border-radius: var(--radius-md);
  background: var(--c-surface-2);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.acute::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -40%;
  width: 110%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--c-glow), transparent 70%);
  pointer-events: none;
}
.acute > * { position: relative; }
.acute__title { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem); font-stretch: 125%; font-weight: 760; line-height: 1.08; letter-spacing: -.01em; }
.acute__text { color: var(--c-muted); }
.acute .live { margin: 0; }
.acute__note { padding-top: var(--s-4); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: var(--fs-sm); width: 100%; }

.form-card {
  padding: var(--s-5) var(--s-4);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
.form__group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.form__legend { padding: 0; font-size: var(--fs-h3); font-stretch: 112%; font-weight: 700; margin-bottom: var(--s-1); }
.form__row { display: grid; gap: var(--s-4); }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); align-content: start; min-width: 0; }
.field__label { font-weight: 600; font-size: 1rem; }
.field__opt { color: var(--c-muted); font-weight: 400; font-size: var(--fs-sm); }
.field__hint { color: var(--c-muted); font-size: var(--fs-sm); }
.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 128px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-muted) 50%),
    linear-gradient(135deg, var(--c-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.input::placeholder, .textarea::placeholder { color: var(--c-muted); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 2px;
  border-color: var(--c-focus);
  border-radius: var(--radius-sm);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--c-error); box-shadow: inset 0 0 0 1px var(--c-error); }
.input:disabled { opacity: .5; cursor: not-allowed; }
.field__error {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  color: var(--c-error);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.field__error::before {
  content: "\e4e2";
  font-family: "Phosphor";
  font-size: 1.1em;
  line-height: 1.3;
}
.field__error[hidden] { display: none; }

.form .chips { grid-template-columns: minmax(0, 1fr); }
.form .chip { min-height: 52px; }
.date-field [data-date-other] { margin-top: var(--s-3); }
.date-field [data-date-other][hidden] { display: none; }
.date-strip { gap: var(--s-2); padding-bottom: var(--s-3); scrollbar-color: var(--c-line-strong) transparent; }
.date-chip {
  min-width: 4.5rem;
  padding: 14px 8px 16px;
  border-radius: var(--radius-btn);
  border-color: var(--c-line-strong);
  background: var(--c-surface-2);
}
.date-chip:hover { border-color: var(--c-ink); }
.date-chip__dow { font-weight: 600; }
.date-chip__day { font-stretch: 112%; }
.date-chip:has(input:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 3px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { color: var(--c-muted); font-size: var(--fs-sm); max-width: 60ch; }
.form__privacy a { color: var(--c-ink); text-underline-offset: .2em; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.form__submit .btn { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }

.form-success {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  padding: var(--s-6) var(--s-5);
}
.form-success[hidden] { display: none; }
.form-success__icon { font-size: 2.5rem; color: var(--c-success); }
.form-success__title { font-size: var(--fs-h2); font-stretch: 125%; font-weight: 760; line-height: 1.06; }
.form-success p { color: var(--c-muted); max-width: 48ch; }

@media (min-width: 640px) {
  .form-card { padding: var(--s-6); }
  .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--street { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
@media (min-width: 640px) and (max-width: 1023px), (min-width: 1280px) {
  .form .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .inquiry { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
  .acute { position: sticky; top: calc(var(--header-h) + var(--s-5)); padding: var(--s-6); }
  .form-card { padding: var(--s-7); }
}

/* =========================================================== 20. KONTAKT */
.contact { display: grid; gap: var(--s-6); }
.vcard-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: var(--s-6);
  min-height: 380px;
  padding: var(--s-5);
  border-radius: var(--radius-md);
  background: var(--c-surface-2);
  box-shadow: inset 0 0 0 1px var(--c-line), 0 40px 80px -50px var(--c-shadow);
}
.vcard-panel::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid var(--c-accent);
  opacity: .9;
  pointer-events: none;
}
.vcard-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 90%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--c-glow), transparent 70%);
  pointer-events: none;
}
.vcard-panel > * { position: relative; z-index: 1; }
.vcard-panel__top { display: grid; gap: var(--s-2); justify-items: start; }
.vcard-panel__name { font-weight: 600; margin-top: var(--s-4); }
.vcard-panel__role { color: var(--c-muted); font-size: var(--fs-sm); }
.vcard-panel__phone {
  display: inline-grid;
  gap: .12em;
  color: var(--c-ink);
  font-size: clamp(2.25rem, 1.2rem + 3.2vw, 3.875rem);
  font-stretch: 112%;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: color .2s ease;
}
.vcard-panel__phone small { font-size: max(.3em, 15px); font-weight: 500; color: var(--c-muted); letter-spacing: 0; line-height: 1.2; }
.vcard-panel__phone:hover { color: var(--c-accent-text); }
.vcard-panel__hint { color: var(--c-muted); font-size: var(--fs-sm); margin-top: var(--s-2); }
.vcard-panel__facts {
  display: grid;
  gap: var(--s-1);
  color: var(--c-muted);
  font-size: var(--fs-sm);
}
.vcard-panel__facts a { color: var(--c-ink); font-size: 1.0625rem; font-weight: 500; text-underline-offset: .2em; }
.vcard-panel__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.vcard-panel__art { position: absolute; right: var(--s-5); bottom: var(--s-5); width: 44%; max-width: 280px; color: var(--c-muted); --ill-bg: var(--c-surface-2); opacity: .9; z-index: 0; }

.contact-side { display: grid; gap: var(--s-6); align-content: start; }
.info-block__title { font-size: var(--fs-h3); font-stretch: 112%; font-weight: 700; margin-bottom: var(--s-3); }
.info-block p { color: var(--c-muted); }
.info-block p strong { color: var(--c-ink); font-weight: 600; }
.info-block .dayband { margin-top: var(--s-4); }
.profile-links { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }

@media (max-width: 559px) {
  .vcard-panel__art { display: none; }
  .vcard-panel::before { width: 180px; height: 180px; top: -96px; right: -96px; }
}
.page-poptavka .callbar__form { display: none; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; }
  .vcard-panel { min-height: 460px; padding: var(--s-7); }
}

/* =========================================================== 21. PRÁVNÍ TEXT */
.legal { display: grid; gap: var(--s-5); max-width: 76ch; }
.legal__lead { font-size: var(--fs-lead); color: var(--c-muted); }
.legal__toc {
  padding: var(--s-5);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.legal__toc ol { margin: 0; padding-left: 1.4rem; display: grid; gap: var(--s-1); }
.legal__toc li::marker { color: var(--c-muted); font-variant-numeric: tabular-nums; }
.legal__toc a { color: var(--c-ink); text-underline-offset: .2em; text-decoration-color: var(--c-line-strong); }
.legal__toc a:hover { text-decoration-color: var(--c-accent); }
.legal section { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2 {
  margin: var(--s-6) 0 var(--s-4);
  font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.2;
}
.legal p, .legal li { max-width: 68ch; }
.legal p + p { margin-top: var(--s-4); }
.legal ul { padding-left: 1.3rem; display: grid; gap: var(--s-2); }
.legal li::marker { color: var(--c-accent-text); }
.legal a, .legal__link-btn { color: var(--c-accent-text); text-underline-offset: .2em; }
.legal a[href^="tel:"] { white-space: nowrap; }
.legal__link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.legal em { color: var(--c-muted); }
.legal__table-wrap {
  margin: var(--s-4) 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px var(--c-line);
  overflow: hidden;
}
.legal__table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.legal__table thead { display: none; }
.legal__table tr { display: grid; gap: var(--s-1); padding: var(--s-4); }
.legal__table tr + tr { border-top: 1px solid var(--c-line); }
.legal__table th, .legal__table td { display: block; padding: 0; text-align: left; vertical-align: top; }
.legal__table tbody th { font-size: 1rem; font-weight: 700; margin-bottom: var(--s-1); }
.legal__table td::before { display: block; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; }
#udaje .legal__table td:nth-of-type(1)::before { content: "Údaje"; }
#udaje .legal__table td:nth-of-type(2)::before { content: "Účel"; }
#udaje .legal__table td:nth-of-type(3)::before { content: "Právní základ"; }
#cookies .legal__table td:nth-of-type(1)::before { content: "Kategorie"; }
#cookies .legal__table td:nth-of-type(2)::before { content: "Účel"; }
#cookies .legal__table td:nth-of-type(3)::before { content: "Platnost"; }
.legal__updated { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: var(--fs-sm); }

@media (min-width: 760px) {
  .legal__table-wrap { overflow-x: auto; }
  .legal__table thead { display: table-header-group; }
  .legal__table tr { display: table-row; padding: 0; }
  .legal__table th, .legal__table td { display: table-cell; padding: 14px 16px; border-top: 1px solid var(--c-line); }
  .legal__table thead th { border-top: 0; background: var(--c-surface); color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; }
  .legal__table tbody th { font-size: var(--fs-sm); margin: 0; }
  .legal__table td::before { display: none; }
}
@media (min-width: 1100px) {
  .legal {
    max-width: none;
    grid-template-columns: 260px minmax(0, 72ch);
    column-gap: var(--s-8);
  }
  .legal > * { grid-column: 2; }
  .legal__toc { grid-column: 1; grid-row: 1 / span 8; position: sticky; top: calc(var(--header-h) + var(--s-5)); align-self: start; }
  .legal__toc ol { padding-left: 1.2rem; }
}

/* =========================================================== 22. TECHNICKÉ KRESBY */
.ill { width: 100%; height: auto; color: inherit; overflow: visible; }
.ill .ill__s { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ill .ill__ink { stroke: var(--c-ink); stroke-opacity: .82; }
.ill .ill__acc { stroke: var(--c-accent); stroke-opacity: 1; }
.ill .ill__acc-fill { fill: color-mix(in srgb, var(--c-accent) 22%, transparent); }
.ill .ill__void, .ill .ill__bg { fill: var(--ill-bg, var(--c-bg)); }
.ill .ill__hatch { stroke: currentColor; stroke-width: .75; opacity: .42; }
.ill .ill__hatch-a { fill: url(#ill-hatch-cyl-a); }
.ill .ill__hatch-b { fill: url(#ill-hatch-cyl-b); }
.ill .ill__center { stroke-dasharray: 12 3 2 3; opacity: .7; }
.ill .ill__hidden { stroke-dasharray: 4 3; }
.ill .ill__shear { stroke-dasharray: 6 4; }
.ill .ill__dim { opacity: .65; }
.ill .ill__ring { stroke-dasharray: none; }

/* =========================================================== 23. SDÍLENÉ KOMPONENTY */
.lightbox { background: color-mix(in oklab, #0E1012 95%, transparent); font-family: var(--font-body); }
.lightbox__caption { font-stretch: 112%; }
.lightbox__img { border-radius: var(--radius-md); }

.coverage-map .leaflet-container,
.coverage-map.leaflet-container { background: var(--c-surface); }
.coverage .coverage-map .leaflet-control-zoom { border: 0; box-shadow: 0 0 0 1px var(--c-line); border-radius: var(--radius-sm); overflow: hidden; }
.coverage .coverage-map .leaflet-control-zoom a {
  width: 40px;
  height: 40px;
  line-height: 38px;
  background: var(--c-surface-2);
  color: var(--c-ink);
  border-bottom-color: var(--c-line);
}
.coverage .coverage-map .leaflet-control-zoom a:hover { background: var(--c-surface); color: var(--c-accent-text); }
.coverage .coverage-map .leaflet-control-attribution { background: color-mix(in srgb, var(--c-bg) 80%, transparent); color: var(--c-muted); }
.coverage .coverage-map .leaflet-control-attribution a { color: var(--c-ink); }
.leaflet-tooltip.town-label { font-family: var(--font-body); }
@media (max-width: 639px) {
  .leaflet-tooltip.town-label { font-size: 11px; }
  .leaflet-tooltip.town-label.is-base { font-size: 12px; }
}
/* podklad OSM (sdílený skript) doladit k tónům návrhu: noc tmavší než výchozí, den světle šedý */
.coverage-map--dark { --map-tile-filter: grayscale(1) invert(1) brightness(.6) contrast(1.12); }
.coverage-map--light { --map-tile-filter: grayscale(1) contrast(.9) brightness(1.05); }

#cc-main {
  --cc-font-family: var(--font-body);
  --cc-btn-primary-hover-bg: var(--c-accent-hover);
  --cc-btn-primary-hover-color: var(--c-on-accent);
  --cc-btn-primary-hover-border-color: var(--c-accent-hover);
  --cc-overlay-bg: rgb(14 16 18 / .7);
  color-scheme: inherit;
}
#cc-main .cm, #cc-main .pm { box-shadow: 0 0 0 1px var(--c-line), 0 30px 60px -20px var(--c-shadow); }
#cc-main .cm__title, #cc-main .pm__title { font-stretch: 112%; }
#cc-main .cm__btn, #cc-main .pm__btn { min-height: 44px; font-weight: 600; }
#cc-main .pm__badge { background: var(--c-surface-2); color: var(--c-ink); }

/* =========================================================== 24. POHYB */
@media (prefers-reduced-motion: no-preference) {
  .live__dot::after { animation: live-pulse 2.4s cubic-bezier(.2, .6, .4, 1) infinite; }
  @keyframes live-pulse {
    0% { transform: scale(1); opacity: .55; }
    80%, 100% { transform: scale(2.8); opacity: 0; }
  }

  .hero__copy > * { animation: rise .8s var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .keyhole { animation: keyhole-in 1.2s var(--ease-out) .1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes keyhole-in { from { opacity: 0; transform: scale(.96); } }

  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  }
  html.js [data-reveal].is-visible { opacity: 1; transform: none; }

  /* visačka se na kroužku zhoupne */
  .tag:hover .tag__body { transform: rotate(-1.4deg); }
  .tag--wide:hover .tag__body { transform: rotate(-.8deg); }

  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn-call__key .ph { transform: none !important; }
}
