/* style.css — privatnisofer.cz
   Design: tichá prémiovost. Grafit + tlumené champagne, serif nadpisy, hodně prostoru.
   Světlý i tmavý režim. Layout v rem (korekce nafouknutého fontu → normalize.css). */

/* ===== DESIGN TOKENS ===== */
:root {
    color-scheme: light;
    --bg:        #FAF9F7;
    --surface:   #FFFFFF;
    --surface-2: #F3F1EC;
    --ink:       #1B1C1E;
    --muted:     #5A5B5E;
    --accent:    #8A6A33;
    --accent-ink:#6F5424;
    --line:      #E4E2DD;
    --line-2:    #D8D5CE;

    --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --wrap: 68rem;
    --wrap-narrow: 46rem;
    --radius: 4px;
    --radius-lg: 10px;
    --shadow: 0 1px 2px rgba(27,28,30,.05), 0 8px 30px rgba(27,28,30,.06);
    --gap: 1.25rem;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg:        #131417;
    --surface:   #1B1C20;
    --surface-2: #212227;
    --ink:       #EAE8E4;
    --muted:     #A5A39E;
    --accent:    #C9A45C;
    --accent-ink:#D8B978;
    --line:      #2A2B30;
    --line-2:    #34353B;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 34px rgba(0,0,0,.45);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --bg:#131417; --surface:#1B1C20; --surface-2:#212227; --ink:#EAE8E4;
        --muted:#A5A39E; --accent:#C9A45C; --accent-ink:#D8B978; --line:#2A2B30; --line-2:#34353B;
        --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 34px rgba(0,0,0,.45);
    }
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 1rem;
    letter-spacing: .003em;
}
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.18; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw + .5rem, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw + .4rem, 2.05rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.15rem, 1.4vw + .4rem, 1.4rem); margin-top: 1.75rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--accent); }
strong { font-weight: 650; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }

/* padding-inline drží boční mezeru i tam, kde je .container spolu s .section/.section--tight
   (ty nastavují jen svislé odsazení přes padding-block → boční padding se nepřebíjí). */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 1.25rem; }
main { display: block; }
.section { padding-block: 3.25rem; }
.section--tight { padding-block: 2.25rem; }
.prose { max-width: var(--wrap-narrow); }
.prose h2 + p, .prose h3 + p { margin-top: .25rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; color: var(--accent-ink); margin: 0 0 .75rem; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 1000; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }

/* ===== HEADER / NAV ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.3rem; height: 2.3rem; border: 1px solid var(--accent);
    border-radius: 50%; color: var(--accent-ink); font-family: var(--font-serif);
    font-weight: 600; font-size: 1rem; letter-spacing: .02em; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; gap: .18rem; line-height: 1.15; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.logo-text b { font-family: var(--font-serif); font-size: 1.02rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 600; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav > ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
/* Jen odkazy v liště (ne postranní ovládání EN / Rezervovat, jimž to jinak nuluje horizontální padding). */
.primary-nav > ul a { color: var(--ink); text-decoration: none; font-size: .95rem; padding: .3rem 0; border-bottom: 1.5px solid transparent; }
.primary-nav > ul a:hover { border-bottom-color: var(--accent); }
.primary-nav > ul a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent-ink); }
.nav-side { display: flex; align-items: center; gap: .75rem; }
.lang-switch { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); text-decoration: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: .35rem .55rem; min-height: 2rem; display: inline-flex; align-items: center; }
.lang-switch:hover { border-color: var(--accent); color: var(--accent-ink); }
.theme-toggle { background: transparent; border: 1px solid var(--line-2); color: var(--muted); border-radius: var(--radius); width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-ink); }
/* Jednotná výška všech ovládacích prvků v hlavičce (ikony, EN, Rezervovat). */
.nav-side .pwa-header-btn, .nav-side .theme-toggle { width: 2.5rem; height: 2.5rem; }
.nav-side .lang-switch, .nav-side .nav-cta { height: 2.5rem; min-height: 0; }
.nav-side .nav-cta { padding-top: 0; padding-bottom: 0; }
/* Světlý režim: měsíček (přepnout do tmy). Tmavý režim: sluníčko (přepnout do světla). */
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .theme-toggle .icon-moon { display: none; }
    :root:not([data-theme]) .theme-toggle .icon-sun { display: inline; }
}
.nav-toggle { display: none; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--accent); color: #fff; text-decoration: none;
    padding: .85rem 1.6rem; border: 1px solid var(--accent); border-radius: var(--radius);
    font-weight: 600; font-size: .98rem; letter-spacing: .01em; cursor: pointer;
    transition: background .18s, transform .18s; min-height: 2.75rem;
}
.btn:hover { background: var(--accent-ink); text-decoration: none; }
.btn--sm { padding: .5rem .9rem; font-size: .88rem; min-height: 2.25rem; }
.btn--ghost { background: transparent; color: var(--accent-ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); }
/* Tmavý text jen u plných tlačítek (na champagne pozadí), ne u ghost variant. */
[data-theme="dark"] .btn:not(.btn--ghost) { color: #17140c; }
[data-theme="dark"] .btn--ghost { color: var(--accent-ink); }
/* CTA „Rezervovat" v hlavičce je .btn; .primary-nav a mu jinak vnutí tmavý ink text (light režim). */
.primary-nav a.nav-cta { color: #fff; }
[data-theme="dark"] .primary-nav a.nav-cta { color: #17140c; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }

/* ===== HERO ===== */
.hero { padding: 3rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero h1 { margin: 0 0 1rem; }
.hero .lead { max-width: 34rem; margin-bottom: .5rem; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* ===== PHOTO + PLACEHOLDER ===== */
.photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
    background:
        radial-gradient(120% 100% at 30% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
        linear-gradient(150deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    color: var(--accent);
}
.photo--placeholder .ph-mark { color: var(--accent); opacity: .8; }
.photo--placeholder .ph-label { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ===== TL;DR ===== */
.tldr {
    background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.15rem 1.35rem; margin: 1.75rem 0;
}
.tldr strong:first-child { color: var(--accent-ink); }
.tldr p:last-child { margin-bottom: 0; }

/* ===== DIFERENCIÁTORY / FEATURES ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.feature { }
.feature .fnum { font-family: var(--font-serif); font-size: 1.1rem; color: var(--accent-ink); display: block; margin-bottom: .4rem; }
.feature h3 { margin: 0 0 .4rem; }
.feature p { color: var(--muted); margin: 0; }

/* ===== SERVICE CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card {
    display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.25rem; text-decoration: none; color: var(--ink);
    box-shadow: var(--shadow); transition: transform .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); text-decoration: none; }
.card h3 { margin: 0 0 .45rem; font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; margin: 0 0 1rem; }
.card .card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.card .price { font-weight: 650; color: var(--accent-ink); }
.card .arrow { color: var(--accent); font-size: 1.2rem; }

/* ===== "STANDARD V CENĚ" STRIP ===== */
.included { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.included-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.1rem 1.75rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.included-grid li { display: flex; gap: .7rem; align-items: flex-start; }
.included-grid svg { flex-shrink: 0; color: var(--accent); margin-top: .15rem; }
.included-grid b { display: block; font-family: var(--font-sans); font-weight: 600; }
.included-grid span { color: var(--muted); font-size: .92rem; }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.rates { width: 100%; border-collapse: collapse; font-size: .96rem; font-variant-numeric: tabular-nums; }
table.rates caption { text-align: left; font-weight: 600; padding: .9rem 1rem .3rem; color: var(--muted); }
table.rates th, table.rates td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.rates thead th { background: var(--surface-2); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
table.rates tbody tr:last-child td { border-bottom: none; }
table.rates td.price, table.rates th.price { text-align: right; white-space: nowrap; font-weight: 600; color: var(--accent-ink); }
/* Dlouhé popisné ceny (např. „12 Kč/km + čas a návrat řidiče, individuálně") se smějí zalomit, ať nepřetékají. */
table.rates td.price.price--wrap { white-space: normal; word-break: break-word; }
.table-note { font-size: .9rem; color: var(--muted); margin-top: -.5rem; }

/* ===== FAQ ===== */
.faq { margin-top: 1.5rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: .1rem 1.1rem; margin-bottom: .7rem; background: var(--surface); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; padding: .95rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > p { padding: .85rem 0 1rem; margin: 0; color: var(--muted); }
.faq details > p:first-of-type { color: var(--ink); }

/* ===== CALLOUT ===== */
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--todo { border-left-color: #b58900; }
.callout--todo strong { color: #8a6d00; }
[data-theme="dark"] .callout--todo strong { color: #e2b93b; }

/* ===== QUOTE / CLAIM BAND ===== */
.claim-band { background: var(--ink); color: var(--bg); text-align: center; padding: 3.5rem 1.25rem; }
[data-theme="dark"] .claim-band { background: #0C0D10; }
.claim-band blockquote { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.6vw + .4rem, 2rem); max-width: 40rem; margin: 0 auto; line-height: 1.3; }
.claim-band cite { display: block; margin-top: 1rem; font-family: var(--font-sans); font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

/* ===== CONTACT / CTA BAND ===== */
.cta-band { background: var(--surface-2); border-top: 1px solid var(--line); text-align: center; padding: 3rem 1.25rem; }
.cta-band h2 { margin-top: 0; }
.cta-phone { font-family: var(--font-serif); font-size: 1.6rem; color: var(--accent-ink); text-decoration: none; }

/* ===== FORMS ===== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.75rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
    width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2);
    border-radius: var(--radius); padding: .7rem .8rem; font-size: 1rem; min-height: 2.75rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); }
.form-success { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border: 1px solid var(--accent); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.form-error { color: #b3261e; font-size: .9rem; margin-top: .3rem; }
[data-theme="dark"] .form-error { color: #f2b8b5; }

/* ===== BREADCRUMB ===== */
/* .breadcrumb se používá vždy spolu s .container → boční okraj drží .container (padding-inline);
   zde jen svislé odsazení přes padding-block, aby shorthand nepřebíjel container. */
.breadcrumb { padding-block: 1rem .25rem; font-size: .86rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb .sep { color: var(--line-2); margin: 0 .1rem; }

/* ===== RELATED ===== */
.related { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.75rem; }
.related h2 { margin-top: 0; font-size: 1.3rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 3rem; }
/* .footer-grid je vždy .container footer-grid → boční okraj z .container (padding-inline);
   zde jen svislé odsazení, ať shorthand nenuluje horizontální padding kontejneru. */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: 3rem 2rem; }
.footer-h { font-family: var(--font-sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .9rem; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: var(--ink); text-decoration: none; font-size: .93rem; }
.footer-col a:hover { color: var(--accent-ink); }
.logo-mark--footer { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; margin-bottom: .85rem; }
.footer-claim { font-family: var(--font-serif); font-style: italic; color: var(--ink); max-width: 18rem; }
.footer-contact a { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.footer-legal p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.25rem; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: .84rem; margin: 0; }

/* PWA install button */
.pwa-appstore-btn { display: inline-flex; align-items: center; background: #000; border: 1px solid #a6a6a6; border-radius: 7px; padding: 6px 14px 6px 8px; text-decoration: none; color: #fff; margin-top: 1rem; }
.pwa-appstore-btn:hover { background: #222; text-decoration: none; }
.pwa-appstore-btn svg { flex-shrink: 0; margin-right: 6px; }
.pwa-appstore-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.pwa-appstore-small { font-size: 8px; text-transform: uppercase; letter-spacing: .5px; }
.pwa-appstore-big { font-size: 15px; font-weight: 500; }
/* Tlačítko má vždy černé pozadí; .footer-col a mu jinak vnutí tmavý text v light režimu. */
.footer-col a.pwa-appstore-btn, .footer-col a.pwa-appstore-btn:hover { color: #fff; }

/* ===== REZERVACE ===== */
.rez-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; margin-top: 2rem; }

/* toggle switch (zapamatovat údaje) */
.toggle-row { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; margin-top: 1rem; }
.toggle-row > input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track { flex-shrink: 0; width: 2.6rem; height: 1.5rem; background: var(--line-2); border-radius: 1rem; position: relative; transition: background .2s; margin-top: .1rem; }
.toggle-thumb { position: absolute; top: 2px; left: 2px; width: calc(1.5rem - 4px); height: calc(1.5rem - 4px); background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.toggle-row > input:checked + .toggle-track { background: var(--accent); }
.toggle-row > input:checked + .toggle-track .toggle-thumb { transform: translateX(1.1rem); }
.toggle-row > input:focus-visible + .toggle-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.toggle-label { font-size: .92rem; }
.toggle-label small { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }

/* profil karta */
.profil-karta { display: flex; align-items: center; gap: .85rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.profil-karta__ico { color: var(--accent); flex-shrink: 0; }
.profil-karta__text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.profil-karta__nadpis { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.profil-karta__text strong { font-size: 1.02rem; }
.profil-karta__akce { display: flex; flex-direction: column; gap: .35rem; align-items: flex-end; }
.profil-karta__akce button { background: none; border: none; color: var(--accent-ink); font-size: .85rem; cursor: pointer; padding: .15rem; text-decoration: underline; text-underline-offset: .15em; }
.profil-karta__akce button:hover { color: var(--accent); }

/* volba vozu */
.vuz-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.vuz-opt { position: relative; display: flex; border: 1px solid var(--line-2); border-radius: var(--radius); padding: .85rem .95rem; cursor: pointer; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.vuz-opt > input { position: absolute; opacity: 0; }
.vuz-opt__body { display: flex; flex-direction: column; gap: .15rem; }
.vuz-opt__body strong { font-size: .95rem; }
.vuz-opt__body small { color: var(--muted); font-size: .82rem; }
.vuz-opt > input:checked ~ .vuz-opt__body strong { color: var(--accent-ink); }
.vuz-opt:has(> input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent); }
.vuz-opt > input:focus-visible ~ .vuz-opt__body { outline: 2px solid var(--accent); outline-offset: 3px; }

/* termín */
.termin-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .7rem .8rem; font-size: 1rem; color: var(--ink); cursor: pointer; min-height: 2.75rem; text-align: left; }
.termin-btn:hover { border-color: var(--accent); }
.termin-btn svg { color: var(--accent); flex-shrink: 0; }

/* drawer / bottom sheet */
.rez-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.rez-drawer__panel { background: var(--surface); width: 100%; max-width: 26rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 1.25rem; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow); animation: sheetUp .25s ease; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (min-width: 600px) { .rez-drawer { align-items: center; } .rez-drawer__panel { border-radius: var(--radius-lg); } }
.rez-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.rez-drawer__head strong { font-family: var(--font-serif); font-size: 1.15rem; }
.rez-drawer__close { background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; width: 2.2rem; height: 2.2rem; }
.rez-drawer__foot { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1.25rem; }

/* kalendář */
.rez-cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.rez-cal__title { font-family: var(--font-serif); font-size: 1.1rem; }
.rez-cal__arrow { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); width: 2.4rem; height: 2.4rem; font-size: 1.3rem; color: var(--accent-ink); cursor: pointer; }
.rez-cal__arrow:hover { border-color: var(--accent); }
.rez-cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; margin-bottom: .35rem; }
.rez-cal__dow span { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.rez-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; }
.rez-cal__day { position: relative; aspect-ratio: 1; min-height: 2.4rem; border: 1px solid transparent; border-radius: var(--radius); background: var(--bg); color: var(--ink); font-size: .92rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.rez-cal__day:hover:not(.is-disabled) { border-color: var(--accent); }
.rez-cal__day--empty { background: none; cursor: default; }
.rez-cal__day.is-today:not(.is-disabled) { font-weight: 700; color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent); }
.rez-cal__day.is-selected { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: none; }
.rez-cal__day.is-range { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--ink); }
.rez-cal__hint { font-size: .74rem; color: var(--muted); text-align: center; margin: .7rem 0 0; }
[data-theme="dark"] .rez-cal__day.is-selected { color: #17140c; }
.rez-cal__day.is-disabled, .rez-cal__day.is-taken { color: var(--line-2); text-decoration: line-through; cursor: not-allowed; background: var(--surface-2); }
.rez-cal__day.is-partial::after { content: ''; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.rez-cal__legend { display: flex; align-items: center; gap: .3rem; margin-top: .85rem; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.rez-cal__legend .lg { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; margin-left: .5rem; }
.rez-cal__legend .lg--free { background: var(--bg); border: 1px solid var(--line-2); }
.rez-cal__legend .lg--taken { background: var(--surface-2); border: 1px solid var(--line-2); }

/* ciferníky (wheel picker) */
.rez-time { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.rez-time__group { text-align: center; }
.rez-time__label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .4rem; }
.rez-time__row { display: flex; align-items: center; gap: .25rem; }
.rez-time__colon { font-size: 1.3rem; font-weight: 600; }
.wheel { display: flex; flex-direction: column; align-items: center; }
.wheel__btn { background: none; border: none; color: var(--accent); font-size: .7rem; cursor: pointer; width: 2.6rem; height: 1.6rem; line-height: 1; }
.wheel__btn:hover { color: var(--accent-ink); }
.wheel__view { height: 7.2rem; overflow-y: auto; scroll-snap-type: y mandatory; width: 2.8rem; scrollbar-width: none; -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.wheel__view::-webkit-scrollbar { display: none; }
.wheel__list { padding: 2.88rem 0; }
.wheel__item { height: 1.44rem; line-height: 1.44rem; scroll-snap-align: center; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.05rem; color: var(--muted); transition: color .15s, transform .15s; }
.wheel__item.is-active { color: var(--ink); font-weight: 700; transform: scale(1.15); }

/* záloha + QR */
.zaloha-box { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid var(--accent); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-top: 1rem; }
.zaloha-box h3 { margin-top: 0; }
.qr-wrap { display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap; margin: 1rem 0; }
.qr-code { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.qr-img { width: 190px; height: 190px; border-radius: var(--radius); background: #fff; padding: .5rem; box-sizing: border-box; }
.qr-rozpis { flex: 1; min-width: 14rem; }
.qr-instrukce { margin-top: 1rem; }

/* PWA install ikona v hlavičce */
.pwa-header-btn { background: transparent; border: 1px solid var(--line-2); color: var(--accent-ink); border-radius: var(--radius); width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pwa-header-btn:hover { border-color: var(--accent); }

@media (max-width: 860px) { .rez-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
    .vuz-choice { grid-template-columns: 1fr; }
    .profil-karta { flex-wrap: wrap; }
    .profil-karta__akce { flex-direction: row; width: 100%; justify-content: flex-start; gap: 1rem; align-items: center; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.divider { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ===== OBJEDNÁVKOVÁ VÝZVA (kontakt) + ODKAZ NA DOTAZ (rezervace) ===== */
.order-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid var(--accent);
    border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; }
.order-cta__text { flex: 1; min-width: 15rem; }
.order-cta__text h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.order-cta__text p { margin: 0; color: var(--muted); }
.order-cta .btn { flex-shrink: 0; }
.ask-note { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
    border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 2rem; text-align: center; color: var(--muted); }

/* ===== SPODNÍ NAVIGACE (mobil) — dominantní rezervační ikona ===== */
.nav-mobile { display: none; }
[data-theme="dark"] .nav-mobile .nav-book-circle { color: #17140c; }
@media (max-width: 720px) {
    body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
    .nav-mobile {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
        background: color-mix(in srgb, var(--bg) 92%, transparent);
        backdrop-filter: blur(12px) saturate(1.4);
        border-top: 1px solid var(--line);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .nav-mobile a, .nav-mobile .nav-app {
        flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
        gap: .15rem; padding: .5rem .2rem .45rem; min-height: 3.5rem; text-decoration: none;
        color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .02em;
        background: none; border: 0; cursor: pointer; font-family: inherit;
    }
    .nav-mobile a.active { color: var(--accent-ink); }
    .nav-mobile a svg, .nav-mobile .nav-app svg { width: 22px; height: 22px; }
    /* dominantní rezervace — vystouplý kruh */
    .nav-mobile .nav-book { color: var(--accent-ink); }
    .nav-mobile .nav-book-circle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 3.5rem; height: 3.5rem; margin-top: -1.6rem; margin-bottom: .05rem;
        background: var(--accent); color: #fff; border-radius: 50%;
        border: 3px solid var(--bg);
        box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 45%, transparent);
    }
    .nav-mobile .nav-book-circle svg { width: 26px; height: 26px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .hero-photo { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 2.75rem; height: 2.75rem; background: transparent; border: 1px solid var(--line-2);
        border-radius: var(--radius); cursor: pointer; padding: 0 .7rem;
    }
    .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform .2s, opacity .2s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav {
        position: fixed; inset: 4.25rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.5rem;
        transform: translateY(-120%); transition: transform .25s ease; box-shadow: var(--shadow);
    }
    .primary-nav.open { transform: translateY(0); }
    .primary-nav > ul { flex-direction: column; gap: 0; }
    .primary-nav > ul li { border-bottom: 1px solid var(--line); }
    .primary-nav > ul a { display: block; padding: .95rem 0; border-bottom: none; }
    .nav-side { justify-content: flex-start; padding-top: 1rem; gap: 1rem; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ===== PRINT ===== */
@media print {
    .site-header, .site-footer, .theme-toggle, .nav-toggle, .skip-link, .cta-band, .claim-band, .nav-mobile { display: none; }
    body { padding-bottom: 0; }
    body { background: #fff; color: #000; }
    .card, .tldr, .form-card { box-shadow: none; }
}
