@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/assets/fonts/opensans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/assets/fonts/opensans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; font-display: swap; src: url(/assets/fonts/opensans-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; font-display: swap; src: url(/assets/fonts/opensans-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/lora-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/lora-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Restaurace Stará sladovna — návrh 2026 (krémová, terakota, tmavě hnědá) */
:root {
    /* barvy */
    --bg: #f8f2ea; --bg2: #f1e7da; --card: #fbf7f1; --line: #e3d5c3;
    --ink: #3b1e14; --text: #4d3b30; --muted: #6f5b4c;   /* 5:1 i na --bg2 */
    --accent: #b4622d; --accent-d: #9a5022; --dark: #2e1c13;
    --accent-fill: #a8592a;   /* výplň s bílým textem (kontrast 5:1), --accent zůstává pro ikony a linky */
    --accent-l: #e3a777;      /* světlá terakota na tmavém pozadí */
    --on-dark: #d9c9b8;       /* text na tmavém pozadí (patička) */
    --field-line: #958069;    /* rámeček formulářových polí (3:1 proti poli i podkladu formuláře) */
    --ok: #2f5a1f; --ok-bg: #e6efdf; --err: #8a2b14; --err-bg: #f7e1da; --err-field: #fdf1ed;
    --shade: 25 14 8;         /* tmavé překryvy přes fotky: rgb(var(--shade) / .x) */
    --sh-c: 46 28 19;         /* hnědá báze stínů */
    --sh-1: 0 1px 2px rgb(var(--sh-c) / .06), 0 4px 14px rgb(var(--sh-c) / .08);
    --sh-2: 0 6px 24px rgb(var(--sh-c) / .1);

    /* písmo: škála v rem (1rem = 16 px, od 1180 px 17, od 1800 px 18, od 2400 px 20) */
    --serif: 'Lora', Georgia, 'Times New Roman', serif; --sans: 'Open Sans', Arial, sans-serif;
    --fs-xs: .84375rem;   /* 13,5 */
    --fs-s: .875rem;      /* 14 */
    --fs-sm: .9375rem;    /* 15 – menu, otevírací doba */
    --fs-m: .96875rem;    /* 15,5 – texty karet, položky lístku, kontakty (16,5 na 1440) */
    --fs-base: 1rem;      /* 16 – text, tlačítka */
    --fs-l: 1.03125rem;   /* 16,5 – delší texty */
    --fs-xl: 1.125rem;    /* 18 – perexy */
    --fs-h4: 1.25rem;     /* 20 */
    --fs-h3: clamp(1.375rem, 1rem + .6vw, 1.625rem);     /* 22 → 27 */
    --fs-h2: clamp(1.875rem, 1rem + 2.75vw, 3.5rem);     /* 30 → 56 na 1440 */
    --fs-h1: clamp(2.25rem, 1rem + 3.6vw, 4.25rem);      /* záhlaví podstránek: 36 → 69 na 1440 */
    --fs-hero: clamp(2.625rem, 1rem + 4.4vw, 4.75rem);   /* úvod: vždy větší než --fs-h1 (80 na 1440) */
    --lh: 1.65; --lh-head: 1.15;

    /* mezery a rytmus sekcí */
    --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem;
    --sec-xl: clamp(3.5rem, 1rem + 4.2vw, 5.5rem);
    --sec-l: clamp(3.25rem, .75rem + 3.6vw, 4.5rem);
    --sec-m: clamp(2.5rem, .5rem + 2.8vw, 3.75rem);
    --sec-s: clamp(1.75rem, .5rem + 1.4vw, 2.25rem);

    /* ikony */
    --ico-s: 1.125rem; --ico-m: 1.5rem; --ico-l: 1.75rem;

    /* přechody */
    --ease: cubic-bezier(.25, .7, .25, 1); --t-fast: .15s; --t-med: .25s; --t-slow: .5s;

    --wrap: 1296px; --pad: 32px; --r: 4px;
    /* logo má poměr 196 : 106 → výška = 0,54 × šířka; hlavička nechává nad i pod logem aspoň 11 px (plná) / 15 px (přes fotku) */
    --top-h: 88px; --top-h-over: 144px; --top-off: 12px; --logo-w: 112px; --logo-w-over: 170px;   /* top-off = logo nad fotkou posazené níž od horní hrany okna */
    --mcat-img: 300px; --mcat-gap: 40px;
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); scrollbar-gutter: stable; }
html.lock { overflow: hidden; }
body { margin: 0; font: 400 var(--fs-base)/var(--lh) var(--sans); color: var(--text); background: var(--bg); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-d); transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: var(--lh-head); margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap-s { max-width: 820px; margin: 0 auto; padding: 0 var(--pad); }
.kicker { font: 600 clamp(.8125rem, .75rem + .2vw, .875rem)/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--accent-d); margin: 0 0 var(--s-4); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* fokus přes fotku a v průhledné hlavičce: bílý obrys + tmavý prstenec */
html:not(.is-scrolled) .top--over :focus-visible, .hero :focus-visible, .phero :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px rgb(var(--shade) / .65); }
svg { width: 1em; height: 1em; flex: none; }
/* tahové ikony: stejná tloušťka čáry bez ohledu na velikost ikony */
svg[stroke] { stroke-width: var(--stroke, 1.6); }
svg[stroke] :is(path, circle, rect, line, polyline, ellipse) { vector-effect: non-scaling-stroke; }

/* tlačítka */
.btn { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; background: var(--accent-fill); color: #fff; border: 1px solid var(--accent-fill); border-radius: var(--r); padding: 1.0625rem 1.875rem; font: 600 var(--fs-base)/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn svg { width: var(--ico-s); height: var(--ico-s); }
.btn-line { background: transparent; color: var(--accent-d); border-color: var(--accent-d); }
.btn-line:hover { background: var(--accent-fill); color: #fff; border-color: var(--accent-fill); }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--accent); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-1); transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.round:hover { color: var(--accent-d); box-shadow: var(--sh-2); }
.round:disabled { opacity: .4; cursor: default; box-shadow: var(--sh-1); }
.round svg { width: 20px; height: 20px; --stroke: 2; }

/* hlavička */
.top { position: sticky; top: 0; z-index: 50; }
/* pozadí hlavičky je v ::before, ať stín nevytváří kontejner pro fixní výsuvné menu */
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); }
.top-in { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); height: var(--top-h); box-sizing: border-box; }
.brand { position: relative; display: block; line-height: 0; flex: none; }
.brand img { width: var(--logo-w); height: auto; }
.brand .brand-l { position: absolute; left: 0; top: 0; opacity: 0; }

/* průhledná hlavička přes úvodní fotku: bílé logo a odkazy, po odrolování (html.is-scrolled z head.js) plná krémová a nižší */
.top--over { position: fixed; left: 0; right: 0; }
.top--over .brand { width: var(--logo-w-over); }   /* pevná šířka → menu se při zmenšení loga neposouvá */
html:not(.js) .top--over { position: absolute; }
.top--over::after { content: ''; position: absolute; inset: 0 0 -70px; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 34rem 15rem at 12% 0%, rgb(var(--shade) / .55), rgb(var(--shade) / 0) 70%), linear-gradient(180deg, rgb(var(--shade) / .5) 0%, rgb(var(--shade) / .24) 55%, rgb(var(--shade) / 0) 100%); }
html.is-scrolled .top--over::after { opacity: 0; }
html:not(.is-scrolled) .top--over { --top-h: var(--top-h-over); --logo-w: var(--logo-w-over); }
html:not(.is-scrolled) .top--over .top-in { padding-top: var(--top-off); }
html:not(.is-scrolled) .top--over .drawer-x { top: calc((var(--top-h) + var(--top-off) - 44px) / 2); }
html:not(.is-scrolled) .top--over::before { opacity: 0; }
html:not(.is-scrolled) .top--over .brand-d { opacity: 0; }
html:not(.is-scrolled) .top--over .brand-l { opacity: 1; }
.brand .brand-l { filter: drop-shadow(0 1px 2px rgb(0 0 0 / .45)) drop-shadow(0 2px 14px rgb(0 0 0 / .5)); }   /* bílé logo čitelné i proti světlé obloze */
html:not(.is-scrolled) .top--over .nav a { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 14px rgba(0, 0, 0, .35); }
html:not(.is-scrolled) .top--over .nav a::after { background: #fff; }
html:not(.is-scrolled) .top--over .burger span { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 0 10px rgba(0, 0, 0, .3); }
/* přechody hlavičky až po načtení (třída top-anim z JS) → žádný záblesk průhledné hlavičky při načtení uprostřed stránky */
html.top-anim .top::before, html.top-anim .top--over::after { transition: opacity .35s var(--ease); }
html.top-anim .top-in { transition: height .35s var(--ease), padding-top .35s var(--ease); }
html.top-anim .brand img { transition: opacity .35s var(--ease), width .35s var(--ease); }
html.top-anim .top--over .nav a, html.top-anim .top--over .burger span { transition: color .35s var(--ease), background-color .35s var(--ease); }
.nav { display: flex; gap: clamp(18px, 2vw, 30px); margin: 0 auto; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 50%; width: 28px; margin-left: -14px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform var(--t-med) var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.top-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.btn-call { padding: 15px 30px; }
/* Rezervovat: obrysové vedle plného Zavolat; nad fotkou bílé */
.btn-res { padding: 15px 24px; background: transparent; color: var(--accent-d); border-color: var(--accent-d); }
.btn-res:hover, .btn-res[aria-current] { background: var(--accent-fill); color: #fff; border-color: var(--accent-fill); }
html:not(.is-scrolled) .top--over .btn-res:not(:hover) { color: #fff; border-color: rgb(255 255 255 / .85); background: rgb(var(--shade) / .28); text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
html.top-anim .top--over .btn-res { transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: none; cursor: pointer; padding: 10px; margin-right: -10px; transition: background-color var(--t-fast) var(--ease); }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 60; background: var(--bg); padding: 70px 28px 28px; transform: translateX(100%); transition: transform var(--t-med) var(--ease), visibility 0s linear var(--t-med); display: flex; flex-direction: column; gap: 24px; box-shadow: -10px 0 30px rgb(var(--shade) / .18); }
.drawer[hidden] { display: flex; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; transition: transform var(--t-med) var(--ease); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font: 600 22px/1.3 var(--serif); color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer nav a.on { color: var(--accent-d); }
/* křížek na stejném místě jako burger */
.drawer-x { position: absolute; top: calc((var(--top-h) - 44px) / 2); right: calc(var(--pad) - 10px); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--r); background: none; font-size: 36px; line-height: 1; color: var(--ink); cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.drawer .btn { justify-content: center; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgb(var(--shade) / .5); opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease), visibility 0s linear var(--t-med); }
.scrim.on { opacity: 1; visibility: visible; transition: opacity var(--t-med) var(--ease), visibility 0s; }

/* úvodní hero */
.hero { position: relative; min-height: max(560px, 100vh); min-height: max(560px, 100svh); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--dark); }
.hero > img, .phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(var(--shade) / .78) 0%, rgb(var(--shade) / .5) 38%, rgb(var(--shade) / 0) 68%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--top-h-over) + 40px); padding-bottom: 60px; }
.hero .kicker, .phero .kicker { color: #fff; opacity: .9; }
.phero h1 .kicker { font-size: clamp(.8125rem, .75rem + .2vw, .875rem); margin: 0 0 var(--s-4); }
.hero h1 { color: #fff; font-size: var(--fs-hero); max-width: 9.5em; margin-bottom: 20px; line-height: 1.04; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-t { font-size: var(--fs-xl); max-width: 30em; margin-bottom: 30px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); text-wrap: pretty; }
.hero .btn { padding: 1.25rem 2.5rem; }
/* výzva k rolování: uprostřed dole, vede na další sekci */
.hero-more { position: absolute; left: 50%; bottom: 22px; z-index: 2; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 14px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .85; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); transition: opacity var(--t-fast) var(--ease); }
.hero-more:hover { opacity: 1; }
.hero-more i { position: relative; width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 14px; }
.hero-more i::before { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: hero-more 1.8s var(--ease) infinite; }
@keyframes hero-more { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }
#dal { scroll-margin-top: -16px; }   /* html scroll-padding = výška lišty + 16 → sekce začne přesně pod lištou */

/* záhlaví podstránek */
.phero { position: relative; min-height: clamp(340px, 36vw, 660px); display: flex; align-items: center; overflow: hidden; background: var(--dark); color: #fff; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(var(--shade) / .82) 0%, rgb(var(--shade) / .5) 45%, rgb(var(--shade) / .1) 80%); }
.phero-in { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--top-h-over) + 36px); padding-bottom: 56px; }
.phero h1 { color: #fff; font-size: var(--fs-h1); line-height: 1.08; margin-bottom: 14px; overflow-wrap: break-word; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.phero p { font-size: var(--fs-xl); max-width: 26em; margin: 0; text-wrap: pretty; }

/* oblíbená jídla */
.favs { padding: var(--sec-xl) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--s-6); }
.sec-head h2 { margin: 0; }
.fav-more { display: none; }
.fav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-inline: calc(-1 * clamp(0px, 2vw, 32px)); }
.fav-img { aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: var(--r); background: var(--bg2); margin-bottom: 18px; box-shadow: var(--sh-1); }
.fav-img img { width: 100%; height: 100%; object-fit: cover; }
.fav h3 { margin: 0 8px 6px; }
.fav p { margin: 0 8px; color: var(--text); font-size: var(--fs-m); text-wrap: pretty; }

/* o restauraci (text + fotka); levý okraj textu = levá hrana .wrap */
.split { display: grid; grid-template-columns: 44% 56%; background: var(--bg2); }
.split-t { display: flex; align-items: center; justify-content: flex-end; }
.split-in { width: 100%; padding: var(--sec-l) 44px var(--sec-l) max(var(--pad), calc(100% / .44 / 2 - var(--wrap) / 2 + var(--pad))); }
.split-in h2 { font-size: clamp(1.875rem, 3.1vw, 3rem); margin-bottom: 20px; }
.split-in p { color: var(--text); font-size: var(--fs-l); line-height: 1.7; }
.split-in .btn { margin-top: 10px; }
.split-img { min-height: 420px; position: relative; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* přednosti */
.feats { background: var(--card); border-bottom: 1px solid var(--line); }
.feats-in { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.feat { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 30px 24px; }
.feat:first-child { padding-left: 0; }
.feat + .feat::before { content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; border-left: 1px solid var(--line); }
.feat-ico { color: var(--accent); font-size: 3rem; line-height: 0; --stroke: 1.7; }
.feat-t { font: 600 var(--fs-h4)/1.2 var(--serif); color: var(--ink); letter-spacing: -.01em; margin: .25em 0 4px; }
.feat p.feat-d { margin: 0; font-size: var(--fs-s); color: var(--muted); line-height: 1.45; }
.feats--page { border-top: 1px solid var(--line); }

/* pás fotek */
.strip { background: var(--bg2); padding: var(--sec-s) 0; }
.strip-in { display: grid; grid-template-columns: 13rem 1fr; gap: 24px; align-items: center; }
.strip-head h2 { font-size: 2.25rem; margin: 0; }
.strip-head h2 a { color: inherit; text-decoration: none; }
.strip-head h2 a:hover { color: var(--accent-d); }
.strip-rail { position: relative; min-width: 0; }
.strip-track { --gap: 16px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 calc((100% - 4 * var(--gap)) / 4.3); aspect-ratio: 1; scroll-snap-align: start; overflow: hidden; border-radius: var(--r); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.strip-item:focus-visible { outline-offset: -4px; outline-color: #fff; box-shadow: inset 0 0 0 5px var(--accent); }
.strip-btns { position: absolute; top: 14px; right: 14px; display: flex; gap: 10px; }

/* info pás (otevírací doba / mapa / kontakt) */
.info { padding: var(--sec-l) 0; }
.menu + .info, .gallery + .info { border-top: 1px solid var(--line); }   /* lístek a galerie: kontakty i bez cesty na /kontakt */
.info-in { display: grid; grid-template-columns: 1fr 1.1fr 1fr; }
.info-col { padding: 0 clamp(22px, 2.6vw, 40px); min-width: 0; }
.info-col:first-child { padding-left: 0; }
.info-col + .info-col { border-left: 1px solid var(--line); }
.info-h { display: flex; align-items: center; gap: 12px; font-size: 1.4375rem; margin-bottom: 20px; }
.info-h svg { color: var(--accent); width: var(--ico-l); height: var(--ico-l); }
.hours { border-collapse: collapse; width: 100%; max-width: 20rem; font-size: var(--fs-sm); }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.info-addr { font-size: var(--fs-m); }
.info-addr strong { color: var(--ink); font-weight: 400; }
.info-map { aspect-ratio: 2.3 / 1; border-radius: var(--r); overflow: hidden; margin-bottom: 16px; background: var(--bg2); }
.info-map iframe, .contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.55) sepia(.12); }
/* zástupná plocha mapy (mapa Google se načte až po kliknutí): abstraktní plánek ulic v barvách webu */
.map-load { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; padding: 16px; box-sizing: border-box; text-align: center; color: var(--ink); text-decoration: none; cursor: pointer; background: var(--card) url(/assets/img/mapa-nahled.svg) center / cover no-repeat; }
.map-load-pin { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 50%; background: var(--accent-fill); color: #fff; box-shadow: 0 6px 18px rgb(var(--shade) / .25); transition: transform var(--t-fast) var(--ease); }
.map-load-pin svg { width: 26px; height: 26px; }
.map-load strong { font-size: var(--fs-base); text-decoration: underline; text-decoration-color: rgb(154 80 34 / .4); text-underline-offset: 4px; }
.map-load strong, .map-load small { padding: 0 8px; border-radius: 4px; background: rgb(248 242 234 / .85); }
.map-load small { font-size: 13px; color: var(--muted); max-width: 26em; }
.map-load:hover .map-load-pin { transform: translateY(-2px); }
.map-load:hover strong { text-decoration-color: currentColor; }
.info-line { margin: 0 0 12px; }
.info-line a { display: inline-flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; color: var(--text); text-decoration: none; font-size: var(--fs-m); }
.info-line a span, .ci-row p a { overflow-wrap: normal; }
.info-line a:hover { color: var(--accent-d); }
.info-line svg { color: var(--accent); width: var(--ico-m); height: var(--ico-m); }
.info-park { display: flex; gap: 12px; margin-top: 30px; }
.info-park > svg { color: var(--accent); width: var(--ico-m); height: var(--ico-m); margin-top: 2px; }
.info-park h3 { font-size: var(--fs-h4); margin-bottom: 4px; }
.info-park p { margin: 0; font-size: var(--fs-s); color: var(--muted); }

/* jídelní lístek */
.menu { padding: var(--s-6) 0 var(--sec-xl); }
.menu-intro { max-width: 46em; margin: 30px 0 0; color: var(--muted); text-wrap: pretty; }
.mcat { display: grid; grid-template-columns: 1fr var(--mcat-img); gap: var(--mcat-gap); padding: var(--sec-m) 0; border-bottom: 1px solid var(--line); align-items: start; }
.mcat--plain { grid-template-columns: 1fr; }
.mcat--plain .mcat-list { max-width: calc(100% - var(--mcat-img) - var(--mcat-gap)); }   /* ceny v jedné linii se sekcemi s fotkou */
.mcat h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); margin: 0 0 18px; text-wrap: balance; }
.mcat h2::after { content: ''; display: inline-block; vertical-align: middle; width: 72px; height: 1px; margin-left: 22px; background: var(--accent); opacity: .45; }
.mcat ul { list-style: none; margin: 0; padding: 0; }
.mcat li { display: grid; grid-template-columns: 4rem 1fr auto; align-items: baseline; column-gap: 20px; padding: .875rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-m); }
.mcat--noqty li { grid-template-columns: 1fr auto; }
.mcat li:last-child { border-bottom: 0; }
.mi-qty { color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mi-name em { color: var(--muted); font-size: var(--fs-xs); }
.mi-price { color: var(--accent-d); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mcat-img { margin: 8px 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; position: sticky; top: calc(var(--top-h) + 24px); box-shadow: var(--sh-2); }
.mcat-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-note { margin: 28px 0 0; color: var(--muted); font-size: var(--fs-s); font-style: italic; }

/* lístek: přepínač Jídla / Nápoje, boční menu (desktop), lišta + vysouvací přehled (mobil) */
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: var(--card); }
.seg button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 clamp(20px, 2.4vw, 34px); border: 0; border-radius: var(--r); background: none; color: var(--ink); font: 600 var(--fs-m)/1 var(--sans); cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.seg button small { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--accent-fill); color: #fff; }
.seg button[aria-selected="true"] small { color: rgb(255 255 255 / .8); }
.seg button:focus-visible { outline-offset: 2px; }
html:not(.js) .seg { display: none; }
.menu-body { margin-top: var(--s-6); }
.mgroup-h { font: 600 clamp(.8125rem, .75rem + .2vw, .875rem)/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--accent-d); margin: 0; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.mgroup + .mgroup { margin-top: var(--sec-m); }
.mgroup-next { margin: var(--s-6) 0 0; }
html:not(.js) .mgroup-next { display: none; }
.menu[data-active] .mgroup:not(.is-on) { display: none; }
.menu[data-active] .mbar-g:not(.is-on) { display: none; }
.mnav-top { display: none; }
.mnav-h { font: 600 var(--fs-xs)/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.mnav-g + .mnav-g { margin-top: var(--s-5); }
.mnav-g.is-on .mnav-h { color: var(--accent-d); }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { position: relative; display: block; padding: 8px 0 8px 16px; color: var(--text); text-decoration: none; font-size: var(--fs-s); line-height: 1.3; border-left: 2px solid var(--line); transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.mnav nav a:hover { color: var(--ink); border-left-color: var(--accent-l); }
.mnav nav a.on { color: var(--accent-d); font-weight: 600; border-left-color: var(--accent-fill); }
.mbar { display: none; }

@media (min-width: 921px) {
    .menu-body { display: grid; grid-template-columns: clamp(200px, 17vw, 260px) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
    .mnav { position: sticky; top: calc(var(--top-h) + 24px); max-height: calc(100vh - var(--top-h) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 4px 4px 4px 0; }
    .menu-main > .mgroup > .mcat:first-of-type { padding-top: var(--s-6); }
    .mgroup-h { display: none; }   /* část už pojmenovává boční menu i přepínač */
}
@media (min-width: 1800px) { :root { --mcat-img: 380px; --mcat-gap: 56px; } }

@media (max-width: 920px) {
    .menu-top { flex-direction: column; align-items: stretch; }
    .seg { display: flex; }
    .seg button { flex: 1; justify-content: center; }
    /* lepivá lišta přes celou šířku: tlačítko Kategorie + rychlý výběr aktuální části */
    .mbar { display: flex; align-items: center; gap: 10px; position: sticky; top: var(--top-h); z-index: 20; margin: var(--s-5) calc(-1 * var(--pad)) 0; padding: 8px var(--pad); background: var(--bg); border-block: 1px solid var(--line); }
    html:not(.js) .mbar { display: none; }
    .mbar-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--accent-fill); border-radius: var(--r); background: var(--accent-fill); color: #fff; font: 600 var(--fs-s)/1 var(--sans); cursor: pointer; }
    .mbar-btn svg { width: 18px; height: 18px; }
    .mbar-chips { --mL: 0px; --mR: 24px; flex: 1; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--mL), #000 calc(100% - var(--mR)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--mL), #000 calc(100% - var(--mR)), transparent 100%); }
    .mbar-chips::-webkit-scrollbar { display: none; }
    .mbar-chips.is-mid { --mL: 24px; }
    .mbar-chips.is-end { --mR: 0px; }
    .mbar-g { display: flex; gap: 6px; }
    .mbar-g a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: var(--fs-s); white-space: nowrap; }
    .mbar-g a { max-width: calc(100vw - 2 * var(--pad) - 132px); overflow: hidden; text-overflow: ellipsis; }   /* dlouhý název se vejde do lišty vedle tlačítka Kategorie */
    .mbar-g a.on { background: var(--bg2); color: var(--accent-d); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
    .menu-body { margin-top: 0; }
    /* přehled kategorií jako panel vysouvaný zdola (bez JS normálně v toku stránky) */
    html.js .mnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 82vh; max-height: 82dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px rgb(var(--shade) / .25); padding: 0 var(--pad) max(24px, env(safe-area-inset-bottom)); transform: translateY(105%); visibility: hidden; transition: transform var(--t-med) var(--ease), visibility 0s var(--t-med); }
    html.js .mnav.open { transform: none; visibility: visible; transition: transform var(--t-med) var(--ease); }
    html.js .mnav-top { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; margin: 0 calc(-1 * var(--pad)) var(--s-3); padding: 14px var(--pad) 10px; background: var(--bg); border-bottom: 1px solid var(--line); }
    .mnav-title { margin: 0; font: 600 var(--fs-h4)/1.2 var(--serif); color: var(--ink); }
    .mnav-x { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; font-size: 32px; line-height: 1; color: var(--ink); cursor: pointer; }
    html.js .mnav-g + .mnav-g { margin-top: var(--s-4); }
    html.js .mnav nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    html.js .mnav nav a { min-height: 48px; display: flex; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
    html.js .mnav nav a.on { border-color: var(--accent-fill); background: var(--accent-fill); color: #fff; }
    html:not(.js) .mnav { margin: var(--s-5) 0; }
    .sheet-scrim { position: fixed; inset: 0; z-index: 65; background: rgb(var(--shade) / .5); opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease), visibility 0s var(--t-med); }
    .sheet-scrim.on { opacity: 1; visibility: visible; transition: opacity var(--t-med) var(--ease); }
    .mgroup-h { margin-top: var(--s-5); }
}

/* malý nadpis jako součást h1 (název a město pro vyhledávače i AI) */
h1 .kicker { display: block; font-family: var(--sans); text-shadow: none; }
.hero h1 .kicker, .phero h1 .kicker { margin-bottom: var(--s-4); }

/* časté dotazy (kontakt) */
.faq { padding: 0 0 var(--sec-xl); }
.faq h2 { margin-bottom: var(--s-5); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font: 600 var(--fs-l)/1.35 var(--serif); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 400 22px/1 var(--sans); color: var(--accent-d); transition: transform var(--t-fast) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-d); }
.faq-a { padding: 0 48px 18px 0; color: var(--text); }
.faq-a p { margin: 0 0 8px; }

/* lístek ke stažení */
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 30px; }
.menu-foot { margin-top: 28px; align-items: flex-start; }
.menu-foot .menu-note { margin: 0; flex: 1 1 420px; }
.menu-foot .menu-note p { margin: 0 0 4px; }
.menu-pdf { flex: 0 1 auto; flex-wrap: wrap; }
.menu-pdf small { font-weight: 400; opacity: .75; font-size: var(--fs-xs); }

/* o restauraci (stránka) */
.story { padding: var(--sec-xl) 0; }
.story-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.story-t { max-width: 66ch; }
.story-t .lead { font: 500 1.3125rem/1.55 var(--serif); color: var(--ink); text-wrap: pretty; }
.story-img { margin: 0; border-radius: var(--r); overflow: hidden; position: sticky; top: calc(var(--top-h) + 26px); box-shadow: var(--sh-1); }
.partner { padding: var(--sec-l) 0; background: var(--bg2); }
.partner-in { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.partner-logo { display: block; background: var(--card); border: 1px solid var(--line); padding: 22px; border-radius: var(--r); transition: border-color var(--t-fast) var(--ease); }
.partner-logo:hover { border-color: var(--accent); }
.partner-t { max-width: 66ch; }
.partner-t p { text-wrap: pretty; }
.partner-t p:last-child { margin-bottom: 0; }

/* galerie */
.gallery { padding: var(--sec-m) 0 var(--sec-xl); }
.gallery-lead { max-width: 46em; color: var(--muted); margin-bottom: 30px; text-wrap: pretty; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal-item { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--bg2); }
.gal-item:nth-child(3n+2):last-child { grid-column: span 2; aspect-ratio: auto; position: relative; }   /* poslední řádek se 2 fotkami bez díry; výšku řádku dává sousední fotka */
.gal-item:nth-child(3n+2):last-child img { position: absolute; inset: 0; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }

/* kontakt */
.contact { padding: var(--sec-m) 0 var(--sec-xl); }
.contact-in { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; margin-bottom: 44px; }
.contact-info { align-self: stretch; padding-right: clamp(32px, 3.4vw, 56px); margin-right: clamp(32px, 3.4vw, 56px); border-right: 1px solid var(--line); }
.contact-info hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.ci-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.ci-row > svg { color: var(--accent); width: var(--ico-l); height: var(--ico-l); margin-top: 1px; }
.ci-row > p, .ci-row > div { min-width: 0; }
.ci-row p { margin: 0; font-size: var(--fs-m); }
.ci-row p a { color: var(--text); text-decoration: none; }
.ci-row p a:hover { color: var(--accent-d); }
.ci-row strong { color: var(--ink); font-family: var(--serif); font-size: 1.125rem; font-weight: 600; }
.ci-row h2, .ci-owner h2 { font-size: var(--fs-h4); margin-bottom: 8px; }
.ci-hours { flex: 1; }
.ci-hours > div { flex: 1; max-width: 20rem; }
.ci-owner { margin: 26px 0 0 calc(var(--ico-l) + 18px); font-size: var(--fs-s); color: var(--muted); }
.contact-form { background: var(--bg2); padding: clamp(26px, 2.6vw, 40px); border-radius: var(--r); }
.contact-form h2 { font-size: clamp(1.625rem, 1rem + 1vw, 2rem); margin-bottom: 18px; }
.cf-lead { color: var(--muted); }
.contact-form label { display: block; font-size: var(--fs-xs); color: var(--ink); margin-bottom: 14px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form input[type=date], .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--field-line); border-radius: var(--r); background: var(--card); font: 400 1rem/1.4 var(--sans); color: var(--ink); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent-d); outline-offset: 1px; border-color: var(--accent-d); box-shadow: none; background: #fff; }
.contact-form [aria-invalid=true] { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); background: var(--err-field); }
.contact-form [aria-invalid=true]:focus { border-color: var(--err); outline-color: var(--err); background: var(--err-field); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.f-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* rezervace: výběr času a počtu osob vypadá jako ostatní pole (vlastní šipka), datum stejně vysoké i na iOS */
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; text-overflow: ellipsis; }
.contact-form select, .contact-form select:focus, .contact-form select[aria-invalid=true], .contact-form select[aria-invalid=true]:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a5022' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; }
.contact-form select:focus { outline: 2px solid var(--accent-d); outline-offset: 1px; border-color: var(--accent-d); background-color: #fff; }
.contact-form select:disabled { opacity: .6; cursor: not-allowed; }
.contact-form input[type=date] { height: calc(1.4em + 24px); -webkit-appearance: none; appearance: none; }   /* stejná výška jako ostatní pole; prázdné datum na iOS jinak splaskne */
.contact-form input[type=date]::-webkit-date-and-time-value { text-align: left; }
.f-3 { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.f-2 > label, .f-3 > label { min-width: 0; }
.res-term { margin: -6px 0 14px; color: var(--err); font-size: var(--fs-xs); }
.res-term:empty { display: none; }
.res-form .res-done { margin: 0 0 18px; }
.contact-form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent-fill); cursor: pointer; }
.contact-form .consent:has([aria-invalid=true]) { color: var(--err); }
.consent [aria-invalid=true] { outline: 2px solid var(--err); outline-offset: 1px; }
.cf-turnstile { margin-bottom: 14px; }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: var(--r); font-size: var(--fs-s); }
.msg:empty { display: none; }
.msg-ok { background: var(--ok-bg); color: var(--ok); }
.msg-err { background: var(--err-bg); color: var(--err); }
.contact-form form > .msg-err { margin: 0 0 16px; }
/* odesílání: točící se kolečko v tlačítku */
.send:disabled::after { content: ''; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.contact-map { position: relative; width: 100%; aspect-ratio: 16 / 5; min-height: 280px; border-radius: var(--r); overflow: hidden; background: var(--bg2); }
.map-btn { margin-top: 16px; }
html:not(.js) .contact-form .send { visibility: hidden; }   /* bez JS formulář neprojde ochranou → místo odeslání telefon (noscript) */
.ci-cta { margin: 4px 0 18px calc(var(--ico-l) + 18px); }
.info-cta { margin: 22px 0 0; }

/* rezervace: formulář vlevo, telefon a otevírací doba vpravo */
.res { padding: var(--sec-m) 0 var(--sec-xl); }
.res-in { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; }
.res-form { margin-right: clamp(32px, 3.4vw, 56px); }
.res-aside { align-self: stretch; padding-left: clamp(32px, 3.4vw, 56px); border-left: 1px solid var(--line); }
.res-aside hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.res-aside .ci-row h2 { margin-bottom: 4px; }

/* GDPR a 404 */
.legal { padding: var(--sec-m) 0 var(--sec-xl); }
.legal h1 { font-size: clamp(2rem, 1rem + 2.6vw, 2.75rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal p { max-width: 66ch; }
.nf-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }

/* patička */
.foot { background: var(--dark); color: var(--on-dark); }
.foot-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; padding-top: 44px; padding-bottom: 34px; }
.foot-brand { justify-self: start; line-height: 0; }
.foot-brand img { width: 11rem; height: auto; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.foot-nav a { position: relative; color: var(--bg2); text-decoration: none; font-size: var(--fs-sm); padding: 6px 0; }
.foot-nav a::after { content: ''; position: absolute; left: 50%; width: 24px; margin-left: -12px; bottom: 0; height: 2px; background: var(--accent-l); transform: scaleX(0); transition: transform var(--t-med) var(--ease); }
.foot-nav a:hover { color: #fff; }
.foot-nav a:hover::after, .foot-nav a.on::after { transform: scaleX(1); }
.foot-nav a.on { color: #fff; }
.foot-social { justify-self: end; display: flex; gap: 20px; }
.foot-social a { color: #fff; font-size: var(--ico-l); line-height: 0; }
.foot-social a:hover { color: var(--accent-l); }
.foot-legal { padding-bottom: max(18px, env(safe-area-inset-bottom)); font-size: var(--fs-xs); }
.foot-legal p { margin: 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; }
.foot-legal a { color: var(--on-dark); white-space: nowrap; }
.foot-legal a:hover { color: #fff; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgb(20 12 8 / .94); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--t-med) var(--ease); touch-action: pinch-zoom; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb img { max-width: 94vw; max-height: 86vh; max-height: 86dvh; object-fit: contain; transition: opacity var(--t-med) var(--ease); }
.lb img.is-loading { opacity: 0; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgb(0 0 0 / .45); color: #fff; cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.lb button:hover { background: rgb(0 0 0 / .75); }
.lb button svg { width: 24px; height: 24px; --stroke: 2; }
.lb button[hidden] { display: none; }
.lb .lb-x { top: 12px; right: 12px; }
.lb .lb-p { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-n { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-c { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 6px 14px; border-radius: 999px; background: rgb(0 0 0 / .45); color: #fff; font-size: var(--fs-s); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-c:empty { display: none; }

/* zvětšení fotek a hover efekty jen u myši */
@media (hover: hover) {
    .strip-item:hover img, .gal-item:hover img { transform: scale(1.04); }
    .strip-item:focus-visible img { transform: none; }
    .burger:hover, .drawer-x:hover { background: rgb(var(--sh-c) / .08); }
    html:not(.is-scrolled) .top--over .burger:hover { background: rgb(255 255 255 / .14); }
}

/* omezení pohybu */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-more i::before { animation: none; }
    html.top-anim .top::before, html.top-anim .top--over::after, html.top-anim .top-in, html.top-anim .brand img,
    html.top-anim .top--over .nav a, html.top-anim .top--over .burger span,
    .drawer, .drawer.open, .scrim, .scrim.on, .nav a::after, .foot-nav a::after, .btn, .round, .gal-item img, .strip-item img, .lb, .lb img,
    html.js .mnav, html.js .mnav.open, .sheet-scrim, .sheet-scrim.on, .seg button { transition: none; }
    .strip-item:hover img, .gal-item:hover img { transform: none; }
    .send:disabled::after { animation: none; border-right-color: currentColor; opacity: .5; }
}

/* dotyková zařízení: větší plochy pro prst, vzhled beze změny */
@media (pointer: coarse) {
    .foot-nav a, .foot-social a, .foot-legal a { position: relative; }
    .foot-nav a::before { content: ''; position: absolute; inset: -8px -8px; }
    .foot-social a::after { content: ''; position: absolute; inset: -9px; }
    .foot-legal a::after { content: ''; position: absolute; inset: -12px -4px; }
    .info-line a, .ci-row p a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
}

/* ===== škálování písma a velké obrazovky ===== */
@media (min-width: 1180px) {
    html { font-size: 106.25%; }   /* 1rem = 17 px */
}
@media (min-width: 1800px) {
    html { font-size: 112.5%; }    /* 1rem = 18 px */
    :root { --wrap: 1560px; --top-h: 96px; --top-h-over: 156px; --top-off: 14px; --logo-w: 124px; --logo-w-over: 190px; --fs-hero: clamp(4.75rem, 5.8vw, 6.25rem); }
    .mcat ul { max-width: 900px; }
}
@media (min-width: 2400px) {
    .hero .hero-box { width: min(47%, 52rem); }
    html { font-size: 125%; }      /* 1rem = 20 px */
    :root { --wrap: 1760px; --fs-hero: 6rem; }
}

/* ===== desktop ===== */
@media (min-width: 921px) {
    .hero h1 { max-width: 8.6em; text-wrap: balance; }
    /* úvod: text vpravo, tmavý přechod zprava zakryje technickou část fotky (sila, vzduchotechnika, přístavba);
       fotka posunutá doleva, ať budova zůstane volně vidět */
    .hero > img { inset: 0 auto 0 0; width: auto; height: 100%; max-width: none; transform: translateX(-14%); -webkit-mask-image: linear-gradient(90deg, #000 68%, transparent 97%); mask-image: linear-gradient(90deg, #000 68%, transparent 97%); }   /* celá fotka na výšku hera (bez zvětšení), vidět celá délka budovy; pravý okraj se ztrácí do tmavého pozadí */
    .hero::before { background: linear-gradient(270deg, rgb(var(--shade) / .9) 0%, rgb(var(--shade) / .78) 30%, rgb(var(--shade) / .38) 50%, rgb(var(--shade) / 0) 66%); }
    .hero-box { margin-left: auto; width: min(40%, 38rem); }
    .hero-box h1 { max-width: none; font-size: min(var(--fs-hero), 4.6vw); text-wrap: wrap; }
    .hero-box .hero-t { max-width: none; }
    .story-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
}
/* malý desktop 921–1180 */
@media (min-width: 921px) and (max-width: 1180px) {
    .hero > img { transform: translateX(-22%); }
    :root { --mcat-img: 300px; --mcat-gap: 32px; }
    .strip-in { grid-template-columns: 11rem 1fr; }
    .strip-head h2 { font-size: 30px; }
    .strip-item { flex-basis: calc((100% - 3 * var(--gap)) / 3.3); }
    .info-in { grid-template-columns: 1fr 1fr 1.1fr; }
}

/* ===== tablet a mobil (≤ 920) ===== */
@media (max-width: 920px) {
    :root { --pad: 22px; --top-h: 80px; --top-h-over: 124px; --top-off: 10px; --logo-w: 100px; --logo-w-over: 136px; }
    /* hero na tabletu: budova doprava, text vlevo užší a silnější přechod → nápis na fasádě se netře s textem */
    .hero > img { object-position: 0% 50%; }
    .phero > img { object-position: 0% 50%; }
    .hero::before { background: linear-gradient(90deg, rgb(var(--shade) / .85) 0%, rgb(var(--shade) / .6) 55%, rgb(var(--shade) / .15) 85%); }
    .phero::before { background: linear-gradient(90deg, rgb(var(--shade) / .88) 0%, rgb(var(--shade) / .68) 60%, rgb(var(--shade) / .25) 90%); }
    .hero-t { max-width: 24em; }
    .fav-grid { grid-template-columns: 1fr 1fr; gap: 28px 22px; margin-inline: 0; }
    .split { grid-template-columns: 1fr; }
    .split-t { justify-content: flex-start; }
    .split-in { padding: var(--sec-l) var(--pad); }
    .split-img { min-height: 0; aspect-ratio: 16 / 10; }
    .feats-in { grid-template-columns: 1fr 1fr; }
    .feat:nth-child(3) { padding-left: 0; }
    .feat:nth-child(3)::before { display: none; }
    .feat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .strip-in { grid-template-columns: 1fr; gap: 14px; }
    .strip-head h2 { font-size: 1.875rem; }
    .strip-btns { position: static; justify-content: flex-end; margin-top: 12px; }
    .strip-item { flex-basis: calc((100% - 2 * var(--gap)) / 2.3); }
    .info-col, .info-col:first-child { padding: 0; }
    .info-col + .info-col { border-left: 0; }
    .hours { max-width: none; }
    .mcat { grid-template-columns: 1fr; gap: 20px; scroll-margin-top: 64px; }   /* lepivá lišta kategorií ~56 px; k tomu html scroll-padding */
    .mcat--plain .mcat-list { max-width: none; }
    .mcat-img { position: static; order: -1; aspect-ratio: 21 / 8; box-shadow: var(--sh-1); }
    .mcat h2::after { width: 40px; margin-left: 16px; }
    .story-in, .contact-in { grid-template-columns: 1fr; gap: 36px; }
    .story-img { position: static; }
    .contact-info { padding-right: 0; margin-right: 0; border-right: 0; }
    .res-in { grid-template-columns: 1fr; gap: 40px; }
    .res-form { margin-right: 0; }
    .res-aside { padding-left: 0; border-left: 0; }
    .gal-grid { grid-template-columns: 1fr 1fr; }
    .gal-item:nth-child(3n+2):last-child { grid-column: auto; aspect-ratio: 4 / 3; position: static; }
    .gal-item:nth-child(3n+2):last-child img { position: static; }
    .gal-item:nth-child(odd):last-child { grid-column: span 2; aspect-ratio: 8 / 3; }
    .foot-in { display: flex; flex-direction: column; text-align: center; gap: 22px; }
    .foot-brand { align-self: center; }
    .foot-brand img { width: 9rem; }
}
/* Rezervovat a Zavolat pod 1024 px jako kulatá tlačítka s ikonou (text jen pro čtečky) – s textem by se menu na 921–1023 zalomilo */
@media (max-width: 1023.98px) {
    .top-cta { margin-left: auto; gap: 10px; }
    .btn-call, .btn-res { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
    .btn-call svg, .btn-res svg { width: 20px; height: 20px; }
    .btn-call span, .btn-res span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    html:not(.is-scrolled) .top--over .btn-call, html:not(.is-scrolled) .top--over .btn-res { box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
}
/* menu: plné od 720 px, burger jen pod 720 */
@media (min-width: 720px) and (max-width: 920px) {
    .top-in { gap: 18px; }
    .nav { gap: 18px; }
    .nav a { font-size: 15px; }
}
@media (max-width: 719.98px) {
    .nav { display: none; }
    .burger { display: block; }
    /* bez JS: místo burgeru normální menu pod logem */
    html:not(.js) .burger, html:not(.js) .drawer { display: none; }
    html:not(.js) .top-in { height: auto; flex-wrap: wrap; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
    html:not(.js) .nav { order: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; width: 100%; margin: 0; }
    html:not(.js) .hero-in, html:not(.js) .phero-in { padding-top: 240px; }
}
/* tablet 600–920 */
@media (min-width: 600px) and (max-width: 920px) {
    /* lichá poslední karta přes oba sloupce, fotka vedle textu */
    .fav:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto 1fr; column-gap: 22px; }
    .fav:last-child:nth-child(odd) .fav-img { grid-row: 1 / -1; margin: 0; }
    .fav:last-child:nth-child(odd) h3 { grid-column: 2; grid-row: 2; align-self: end; }
    .fav:last-child:nth-child(odd) p { grid-column: 2; grid-row: 3; align-self: start; }
    /* info pás: otevírací doba | kontakt, pod nimi mapa přes celou šířku */
    .info-in { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
    .info-col:nth-child(1) { grid-column: 1; grid-row: 1; }
    .info-col:nth-child(3) { grid-column: 2; grid-row: 1; }
    .info-col:nth-child(2) { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line); padding-top: 32px; }
    .info-map { aspect-ratio: 16 / 7; }
    /* kontakt: údaje | otevírací doba */
    .contact-info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; align-content: start; }
    .contact-info > * { grid-column: 1; }
    .contact-info hr { display: none; }
    .contact-info .ci-hours { grid-column: 2; grid-row: 1 / span 4; }
    .contact-info .ci-owner { margin-top: 8px; }
    .contact-map { aspect-ratio: 16 / 9; min-height: 0; }   /* min-height by přes poměr stran rozšířil mapu přes okraj */
    .partner-in { grid-template-columns: 180px 1fr; gap: 32px; }
    .partner-logo { padding: 16px; }
}
/* ===== mobil (< 600) ===== */
@media (max-width: 599.98px) {
    .hero { align-items: flex-end; }
    .hero-in { padding-bottom: 104px; }
    .hero-more { bottom: 16px; }
    .hero::before { background: linear-gradient(0deg, rgb(var(--shade) / .9) 0%, rgb(var(--shade) / .72) 55%, rgb(var(--shade) / .15) 100%); }
    .hero > img { object-position: 62% center; }
    .hero h1 { font-size: clamp(36px, 11.6vw, 46px); max-width: none; }
    .hero-t { font-size: 16.5px; }
    .hero .btn { padding: 16px 22px; }
    .phero { min-height: 300px; }
    .phero p { font-size: 17px; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .sec-head .btn { display: none; }   /* tlačítko je na mobilu pod kartami (.fav-more) */
    .fav-more { display: block; margin-top: 32px; }
    .fav-grid { grid-template-columns: 1fr; gap: 36px; }
    .fav h3 { margin: 0 0 6px; font-size: 22px; }
    .fav p { margin: 0; }
    .feats-in { grid-template-columns: 1fr; }
    .feat + .feat::before { display: none; }
    .feat + .feat { border-top: 1px solid var(--line); }
    .feat { padding: 18px 0; align-items: center; }
    .feat-ico { font-size: 2.5rem; }
    .feat-t { margin-top: 0; }
    .strip-item { flex-basis: 70%; }
    .info-in { grid-template-columns: 1fr; gap: 36px; }
    .info-col + .info-col { border-top: 1px solid var(--line); padding-top: 32px; }
    .info-map { aspect-ratio: 4 / 3; }
    .f-2 { grid-template-columns: 1fr; gap: 0; }
    .f-3 { grid-template-columns: 1fr 1fr; gap: 0 12px; }
    .f-3 > label:first-child { grid-column: 1 / -1; }
    .contact-form { padding: 26px 20px; }
    .contact-form .send { width: 100%; justify-content: center; }
    .contact-map { aspect-ratio: 4 / 3; min-height: 0; }
    .mcat li { grid-template-columns: 46px 1fr auto; column-gap: 12px; font-size: 15px; }
    .mcat--noqty li { grid-template-columns: 1fr auto; }
    .mi-qty { font-size: 12.5px; }
    .menu-pdf { width: 100%; justify-content: center; text-align: center; }
    .story-t .lead { font-size: 18.5px; }
    /* partner: logo vedle prvního odstavce, celý text pod ním */
    .partner-in:has(.partner-logo) { grid-template-columns: 96px 1fr; gap: 16px 18px; }
    .partner-in:has(.partner-logo) .partner-t { display: contents; }
    .partner-in:has(.partner-logo) .partner-t > :not(:first-child) { grid-column: 1 / -1; margin: 0; }
    .partner-in:has(.partner-logo) .partner-t > :first-child { margin: 0; }
    .partner-in:not(:has(.partner-logo)) { grid-template-columns: 1fr; }
    .partner-logo { padding: 10px; }
    .gal-grid { gap: 8px; }
    .foot-nav { max-width: 300px; gap: 6px 24px; }
    .legal h2 { font-size: 20px; }
}
/* telefon na šířku: hero se vejde na jednu obrazovku i s tlačítkem */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: 0; }
    .hero-in { padding-top: calc(var(--top-h-over) + 14px); padding-bottom: 28px; }
    .hero h1 { font-size: 34px; }
    .hero-more { display: none; }
}
/* telefon na šířku: lišta kategorií nelepí, ať nezabírá třetinu výšky */
@media (max-height: 500px) and (orientation: landscape) { .mbar { position: static; } }
