/* Web Pekař – vzhled převzatý ze šablony Kyros (WP), přepsaný bez frameworku. */

@font-face { font-family: Saira; font-weight: 700; font-display: swap; src: url(../fonts/saira-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Saira; font-weight: 700; font-display: swap; src: url(../fonts/saira-latin-700-normal.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; }
@font-face { font-family: Saira; font-weight: 800; font-display: swap; src: url(../fonts/saira-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Saira; font-weight: 800; font-display: swap; src: url(../fonts/saira-latin-800-normal.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; }
@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(../fonts/nunito-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(../fonts/nunito-latin-400-normal.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; }
@font-face { font-family: Nunito; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/nunito-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/nunito-latin-400-italic.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; }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(../fonts/nunito-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(../fonts/nunito-latin-700-normal.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; }

:root {
  --pozadi: #ebebeb;
  --text: #4a4a4a;
  --tmava: #111;
  --akcent: #c8102e;
  --linka: #d4d4d4;
  --bila: #fff;
  --nadpis: Saira, 'Arial Black', Arial, sans-serif;
  --obal: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; color: var(--text); font: 16px/1.75 Nunito, Arial, sans-serif;
  background: var(--pozadi) url(../../img/pozadi.webp) center top / 1920px auto repeat-y fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tmava); }
a:hover { color: var(--akcent); }
h1, h2, h3, h4 { font-family: var(--nadpis); color: var(--tmava); line-height: 1.2; margin: 0 0 .6em; }

.obal { width: 100%; max-width: var(--obal); margin: 0 auto; padding: 0 24px; }
.obal--uzky { max-width: 820px; }
.stred { text-align: center; }
.sekce { padding: 90px 0; }

.nadpis { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
.nadpis::after { content: ''; display: block; width: 40px; height: 1px; background: var(--tmava); margin: 18px 0 0; }
.stred .nadpis::after, .nadpis.stred::after { margin-left: auto; margin-right: auto; }
.podnadpis { font-size: 1.5rem; margin-bottom: 1.2em; }

.tlacitko {
  display: inline-block; background: var(--tmava); color: var(--bila); border: 0; cursor: pointer;
  font: 700 .95rem var(--nadpis); padding: 12px 34px; text-decoration: none; transition: background .2s;
}
.tlacitko:hover { background: var(--akcent); color: var(--bila); }

/* ── Hlavička ───────────────────────────────────────── */
.hlavicka { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.hlavicka.je-odrolovano { background: rgba(240, 240, 240, .96); box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.hlavicka__obal { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo img { width: 230px; filter: brightness(0) drop-shadow(2px 2px 1px rgba(0,0,0,.25)); }
.menu { display: flex; gap: 26px; }
.menu a { font: 700 .95rem var(--nadpis); text-decoration: none; }
.menu a.je-aktivni { color: var(--akcent); }
.menu-tlacitko { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-tlacitko span { display: block; width: 26px; height: 2px; background: var(--tmava); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* ── Hero ───────────────────────────────────────────── */
.hero { min-height: min(calc(100vh - 76px), 860px); display: flex; align-items: center; padding: 40px 0 0; }
.hero__obal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.hero__text { padding-bottom: 80px; }
.nadtitulek { display: block; text-transform: uppercase; letter-spacing: .3em; font: 400 .75rem/1.5 Nunito, Arial, sans-serif; color: var(--text); margin: 0 0 18px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; min-height: 3.6em; }
.hero h1 .nadtitulek { min-height: 0; }
.psani { border-right: 3px solid #999; padding-right: 4px; white-space: nowrap; }
.hero__body { list-style: none; display: flex; gap: 0; padding: 0; margin: 0 0 28px; font-size: .9rem; }
.hero__body li { border-left: 1px solid #999; padding: 0 18px 0 8px; line-height: 1.5; }
.hero__body strong { display: block; color: var(--tmava); font-family: var(--nadpis); }
.hero__foto { width: 100%; max-width: 520px; justify-self: end; mix-blend-mode: multiply; }

/* ── O mně ──────────────────────────────────────────── */
.kruhy { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 50px auto; text-align: center;
  font: 800 1.15rem var(--nadpis); color: var(--tmava); text-transform: uppercase; }
.kruh { display: grid; place-items: center; width: 140px; height: 140px; margin: 0 auto 14px; border: 4px solid var(--tmava);
  border-radius: 50%; font: 400 .95rem Nunito, sans-serif; text-transform: none; }
.citat-velky { margin-top: 70px; position: relative; padding-left: 0; }
.citat-velky::before { content: '\201D'; font: 800 6rem/1 Georgia, serif; color: var(--tmava); display: block; height: .5em; }
.citat-velky p { font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: #222; line-height: 1.5; margin: 0 0 14px; }
.citat-velky cite, .citat cite { font-style: normal; font-size: .85rem; border-left: 1px solid; padding-left: 12px; }

/* ── Nabídka ────────────────────────────────────────── */
.sloupce3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 40px; }
.sloupce4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 40px; }
.perex { max-width: 720px; margin: -4px auto 26px; }
.sloupce2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.sluzba svg { width: 34px; height: 34px; fill: none; stroke: var(--tmava); stroke-width: 1.6; margin-bottom: 12px; }
.sluzba h3 { font-size: 1.3rem; }

/* ── Portfolio ──────────────────────────────────────── */
.filtr { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 34px; }
.filtr button { background: none; border: 1px solid var(--linka); padding: 6px 16px; font: 700 .85rem var(--nadpis); cursor: pointer; color: var(--text); }
.filtr button:hover, .filtr button.je-aktivni { background: var(--tmava); border-color: var(--tmava); color: var(--bila); }
.mrizka { columns: 4 240px; column-gap: 24px; }
.dlazdice { display: block; position: relative; margin: 0 0 24px; break-inside: avoid; overflow: hidden; background: var(--bila);
  box-shadow: 0 2px 10px rgba(0,0,0,.06); text-decoration: none; }
.dlazdice img { width: 100%; transition: transform .5s; }
.dlazdice__popis { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #ddd; font-size: .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.82)); opacity: 0; transform: translateY(10px); transition: .3s; }
.dlazdice__popis strong { display: block; color: var(--bila); font: 700 1.15rem var(--nadpis); }
.dlazdice:hover img { transform: scale(1.04); }
.dlazdice:hover .dlazdice__popis, .dlazdice:focus-visible .dlazdice__popis { opacity: 1; transform: none; }
.dlazdice.je-skryta { display: none; }

/* ── Lightbox referencí ─────────────────────────────── */
html.lb-otevreny { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.82); display: grid; place-items: center;
  padding: 28px 70px; opacity: 0; transition: opacity .2s; }
.lb.je-otevreny { opacity: 1; }
.lb[hidden] { display: none; }
.lb__okno { position: relative; width: min(1280px, 100%); height: min(860px, calc(100vh - 56px)); background: var(--pozadi);
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; box-shadow: 0 20px 60px rgba(0,0,0,.4);
  transform: translateY(12px); transition: transform .2s; }
.lb.je-otevreny .lb__okno { transform: none; }
.lb__obrazek { overflow-y: auto; background: #d9d9d9; overscroll-behavior: contain; }
.lb__obrazek img { width: 100%; }
.lb__info { overflow-y: auto; padding: 44px 34px 30px; font-size: .95rem; overscroll-behavior: contain; }
.lb__nazev { font: 800 1.7rem/1.2 var(--nadpis); color: var(--tmava); margin: 0 0 .5em; }
.lb__kategorie { margin: 0 0 6px; font: 700 .78rem var(--nadpis); color: var(--akcent); text-transform: uppercase; letter-spacing: .08em; }
.lb__info .citat p { font-size: 1.05rem; }
.lb__akce { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.lb__detail { font: 700 .85rem var(--nadpis); }
.lb__zavrit { position: absolute; top: 6px; right: 8px; z-index: 2; width: 40px; height: 40px; border: 0; background: none;
  font: 300 2.2rem/1 Arial, sans-serif; color: var(--tmava); cursor: pointer; }
.lb__zavrit:hover { color: var(--akcent); }
.lb__sipka { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font: 300 2.4rem/1 Arial, sans-serif; cursor: pointer; transition: background .2s; }
.lb__sipka:hover { background: rgba(255,255,255,.28); }
.lb__sipka--pred { left: -64px; }
.lb__sipka--dalsi { right: -64px; }
.lb__sipka[hidden] { display: none; }

/* ── Životopis ──────────────────────────────────────── */
.casova-osa { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--linka); }
.casova-osa > li { position: relative; padding: 0 0 30px 28px; }
.casova-osa > li::before { content: ''; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; background: var(--tmava); border-radius: 50%; }
.obdobi { font: 700 .8rem var(--nadpis); color: var(--akcent); letter-spacing: .05em; }
.casova-osa h4 { font-size: 1.15rem; margin: 2px 0 2px; }
.kde { margin: 0 0 6px; font-style: italic; }
.casova-osa ul { margin: 0; padding-left: 18px; }
.pocitadla { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
  text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.pocitadla strong { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1.1 var(--nadpis); color: var(--tmava); letter-spacing: 0; }

/* ── Blog ───────────────────────────────────────────── */
.clanek-karta img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 20px; }
.clanek-karta h3 { font-size: 1.35rem; }
.clanek-karta h3 a { text-decoration: none; }
.vice { font: 700 .9rem var(--nadpis); }

/* ── Kontakt ────────────────────────────────────────── */
.formular { display: grid; gap: 14px; }
.formular input, .formular textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--linka); background: rgba(255,255,255,.75); }
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--tmava); outline-offset: -1px; }
.formular .tlacitko { justify-self: start; }
.medovy { position: absolute; left: -9999px; }
.formular__recaptcha { margin: 0; font-size: .78rem; color: #777; }
.formular__souhlas { margin: 0; font-size: .85rem; }
.formular__recaptcha a { color: inherit; }
.grecaptcha-badge { visibility: hidden !important; }   /* skrytí je povolené, když je pod formulářem poznámka */
.kontakt__udaje { padding-top: 90px; }
.kontakt__udaje h3 { font-size: 1.15rem; margin-bottom: .2em; }
.kontakt__udaje p { margin: 0 0 22px; font-size: 1.1rem; }
.hlaska { padding: 12px 16px; border-left: 4px solid; background: var(--bila); }
.hlaska--ok { border-color: #2e7d32; }
.hlaska:focus { outline: none; }
.hlaska--chyba { border-color: var(--akcent); }

/* ── Detail reference / článek ──────────────────────── */
.drobky { padding: 26px 0; font: 700 1.05rem var(--nadpis); border-bottom: 1px solid var(--linka); margin-bottom: 60px; }
.drobky span { color: var(--akcent); }
.drobky a { text-decoration: none; }
.reference { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; padding-bottom: 90px; }
.reference__obrazek img { width: 100%; box-shadow: 0 4px 24px rgba(0,0,0,.12); }
.reference__info { position: sticky; top: 100px; font-size: .95rem; }
.reference__info h1 { font-size: 1.7rem; }
.udaje { display: grid; grid-template-columns: auto 1fr; margin: 26px 0; }
.udaje dt, .udaje dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--linka); }
.udaje dd { text-align: right; }
.udaje dd a { color: var(--akcent); }
.citat { margin: 30px 0; padding: 0; }
.citat p { font: 700 1.2rem/1.55 var(--nadpis); color: #777; margin-bottom: 12px; }
.listovani { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; font: 700 .9rem var(--nadpis); }
.listovani a { text-decoration: none; }
.listovani__dalsi { margin-left: auto; text-align: right; }
.clanek { padding-bottom: 90px; }
.clanek h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.clanek img { margin: 20px 0 30px; width: 100%; }
.clanek h3 { margin-top: 1.6em; font-size: 1.3rem; }
.datum { font-size: .85rem; color: #777; }

/* ── Patička ────────────────────────────────────────── */
.paticka { background: var(--tmava); color: #aaa; font-size: .85rem; }
.paticka__obal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 26px; padding-bottom: 26px; }
.paticka p { margin: 0; }
.paticka small { color: #888; font-size: .78rem; }
.paticka a { color: #ddd; text-decoration: none; }
.paticka a:hover { color: var(--bila); }
.paticka__site a + a { margin-left: 18px; }

/* ── Cookie lišta (inc/cookies.php + assets/js/cookies.js) ─────────
   Rozvržení a chování jako viktorstav.cz / hospicchrudim.cz, barvy a písmo webu. */
.Cookies { position: fixed; inset: auto 0 0 0; z-index: 90; padding: 0 12px 12px; }
.Cookies[hidden] { display: none; }
.Cookies-panel { position: relative; max-width: 800px; margin: 0 auto; padding: 1.2rem 1.3rem 1.1rem; background: var(--bila);
  color: var(--text); border-top: 4px solid var(--tmava); box-shadow: 0 8px 32px rgba(0,0,0,.25); max-height: calc(100vh - 24px); overflow-y: auto; }
.Cookies-nadpis { margin: 0 2rem .5rem 0; font: 800 1.15rem/1.3 var(--nadpis); color: var(--tmava); }
.Cookies-text { margin: 0 0 .9rem; font-size: .85rem; line-height: 1.6; }
.Cookies-zavrit { position: absolute; top: .4rem; right: .5rem; width: 2rem; height: 2rem; padding: 0; border: 0; background: none;
  color: #777; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.Cookies-zavrit:hover, .Cookies-zavrit:focus { color: var(--akcent); }
.Cookies-tlacitka { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.Cookies-tlacitko { padding: .6rem 1.1rem; border: 2px solid var(--tmava); background: var(--bila); color: var(--tmava);
  font: 700 .85rem var(--nadpis); cursor: pointer; transition: .16s; }
.Cookies-tlacitko:hover, .Cookies-tlacitko:focus { background: var(--akcent); border-color: var(--akcent); color: var(--bila); }
.Cookies-tlacitko--hlavni { background: var(--tmava); color: var(--bila); }
.Cookies-tlacitko--tise { border-color: var(--linka); color: var(--text); }
.Cookies-tlacitko--ulozit { margin-left: auto; }
.Cookies-tlacitko[hidden] { display: none; }
.Cookies-nastaveni { margin: 0 0 1rem; padding-top: .2rem; border-top: 1px solid var(--linka); }
.Cookies-nastaveni[hidden] { display: none; }
.Cookies-skupina { padding: .8rem 0; border-bottom: 1px solid var(--linka); }
.Cookies-skupina:last-child { border-bottom: 0; }
.Cookies-prepinac { display: flex; align-items: center; gap: .5rem; font: 700 .9rem var(--nadpis); color: var(--tmava); cursor: pointer; }
.Cookies-prepinac input { width: 17px; height: 17px; margin: 0; accent-color: var(--tmava); cursor: pointer; }
.Cookies-prepinac input:disabled { cursor: default; }
.Cookies-znacka { padding: 1px 7px; background: var(--pozadi); color: #777; font: 400 .62rem Nunito, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.Cookies-popis { margin: .35rem 0 .6rem 25px; font-size: .78rem; line-height: 1.55; }
.Cookies-tabulka { width: 100%; margin-left: 25px; max-width: calc(100% - 25px); border-collapse: collapse; font-size: .74rem; line-height: 1.5; }
.Cookies-tabulka th, .Cookies-tabulka td { padding: .3rem .5rem .3rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pozadi); }
.Cookies-tabulka th { font: 700 .62rem var(--nadpis); color: var(--akcent); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.Cookies-tabulka code { font: .72rem ui-monospace, monospace; color: var(--tmava); }
/* koláček vlevo dole, když je rozhodnuto; pod lightboxem (100) */
.Cookies-ikona { position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--tmava); color: var(--bila);
  box-shadow: 0 4px 14px rgba(0,0,0,.3); line-height: 0; cursor: pointer; transition: transform .2s, background .2s; }
.Cookies-ikona svg { display: block; fill: currentColor; }
.Cookies-ikona:hover, .Cookies-ikona:focus { transform: scale(1.08); background: var(--akcent); }
.Cookies-ikona[hidden] { display: none; }
html.lb-otevreny .Cookies-ikona { display: none; }
/* zásady: tabulky cookies v textu */
.zasady .Cookies-tabulka { margin: .4rem 0 1.4rem; max-width: 100%; font-size: .85rem; }
.zasady h2 { font-size: 1.35rem; margin-top: 1.8em; }

/* ── Mobil ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .menu-tlacitko { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(240,240,240,.98);
    box-shadow: 0 8px 16px rgba(0,0,0,.08); display: none; padding: 8px 24px 16px; }
  .menu.je-otevrene { display: flex; }
  .menu a { padding: 10px 0; border-bottom: 1px solid var(--linka); }
  .menu-tlacitko[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-tlacitko[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-tlacitko[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hlavicka { background: rgba(240,240,240,.96); }
  .hero { min-height: 0; }
  .hero__obal { grid-template-columns: 1fr; }
  .hero__text { padding-bottom: 0; }
  .hero__foto { justify-self: center; max-width: 380px; }
  .sloupce3, .sloupce2 { grid-template-columns: 1fr; gap: 40px; }
  .sloupce4 { grid-template-columns: 1fr 1fr; gap: 36px; }
  .kruhy, .pocitadla { grid-template-columns: repeat(2, 1fr); }
  .reference { grid-template-columns: 1fr; }
  .reference__info { position: static; order: -1; }
  .kontakt__udaje { padding-top: 0; }
  /* lightbox na mobilu/tabletu: celá obrazovka, údaje nahoře, screenshot pod nimi, posouvá se celé okno */
  .lb { padding: 0; }
  .lb__okno { width: 100%; height: 100%; grid-template-columns: 1fr; grid-template-rows: auto auto; overflow-y: auto; overscroll-behavior: contain; }
  .lb__obrazek, .lb__info { overflow: visible; }
  .lb__info { order: -1; padding: 54px 20px 24px; }
  .lb__zavrit { position: fixed; top: 8px; right: 10px; background: rgba(235,235,235,.92); border-radius: 50%; }
  .lb__sipka { position: fixed; top: auto; bottom: 14px; margin: 0; background: rgba(17,17,17,.75); }
  .lb__sipka--pred { left: 14px; }
  .lb__sipka--dalsi { right: 14px; }
}
@media (max-width: 560px) {
  .sekce { padding: 60px 0; }
  .obal { padding: 0 16px; }
  .logo img { width: 180px; }
  .hero h1 { min-height: 4.8em; }
  .psani { white-space: normal; }
  .hero__body { flex-direction: column; gap: 10px; }
  .sloupce4 { grid-template-columns: 1fr; }
  .kruh { width: 110px; height: 110px; }
  .mrizka { columns: 2 150px; column-gap: 14px; }
  .dlazdice { margin-bottom: 14px; }
  .dlazdice__popis { opacity: 1; transform: none; padding: 24px 10px 8px; }
  .dlazdice__popis strong { font-size: .95rem; }
  .paticka__obal { flex-direction: column; }
  .Cookies { padding: 0; }
  .Cookies-panel { padding: 1rem 16px .9rem; }
  .Cookies-tlacitko { flex: 1 1 auto; }
  .Cookies-tlacitko--ulozit { margin-left: 0; }
  .Cookies-popis, .Cookies-tabulka { margin-left: 0; max-width: 100%; }
  /* čtyři sloupce se na telefon nevejdou – každá cookie je malý blok */
  .Cookies-tabulka, .Cookies-tabulka tbody, .Cookies-tabulka tr, .Cookies-tabulka td { display: block; }
  .Cookies-tabulka thead { display: none; }
  .Cookies-tabulka tr { padding: .35rem 0; border-bottom: 1px solid var(--pozadi); }
  .Cookies-tabulka td { border: 0; padding: 1px 0; }
  .Cookies-tabulka td::before { content: attr(data-popisek) ": "; color: #999; }
  .Cookies-tabulka td:first-child::before { content: ""; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
