/* ST Car – web. Celý tmavý: fotky na celou obrazovku, tmavé plochy, jeden zlatý akcent z loga. */
:root {
    --cerna: #0b0c0e;
    --tmava: #141518;
    --tmava-2: #1c1e22;
    --pozadi: #0b0c0e;      /* pozadí stránky */
    --plocha: #141518;      /* karty, panely, formuláře */
    --pole: #1c1e22;        /* vstupní pole */
    --bila: #ffffff;
    --text: #f1f0ec;
    --text-2: #c9cbd0;
    --slabe: #9a9da5;
    --slabe-tmave: #a3a6ad;
    --okraj: rgba(255, 255, 255, .12);
    --okraj-tmavy: rgba(255, 255, 255, .14);
    --akcent: #e6bf29;   /* zlatá z loga */
    --whatsapp: #25d366;
    --lista: 76px;
    --obal: 1240px;
    --pismo: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--lista); }
body { margin: 0; background: var(--pozadi); color: var(--text); font: 400 16px/1.65 var(--pismo); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
body.zamceno { overflow: hidden; }

.obal { width: 100%; max-width: var(--obal); margin: 0 auto; padding: 0 32px; }
.obal.uzke { max-width: 820px; }
.stitek { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--akcent); }
.na-stred { text-align: center; margin-top: 56px; }

/* ---------- Tlačítka ---------- */
.tlacitko { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 0; background: rgba(11, 12, 14, .25); color: var(--bila); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; backdrop-filter: blur(6px); transition: background .25s, color .25s, border-color .25s; }
.tlacitko:hover { background: var(--bila); color: var(--cerna); border-color: var(--bila); }
.tlacitko.plne { background: var(--akcent); border-color: var(--akcent); color: var(--cerna); backdrop-filter: none; }
.tlacitko.plne:hover { background: var(--bila); border-color: var(--bila); }
.tlacitko.obrys { background: transparent; color: var(--text); border-color: var(--text); backdrop-filter: none; }
.tlacitko.obrys:hover { background: var(--bila); color: var(--cerna); border-color: var(--bila); }
.tlacitko.whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #08130c; backdrop-filter: none; }
.tlacitko.whatsapp:hover { background: var(--bila); border-color: var(--bila); }
.tlacitko.whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.odkaz-tlacitko { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* ---------- Horní lišta ---------- */
.lista { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--lista); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 32px; color: var(--bila); background: rgba(11, 12, 14, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--okraj-tmavy); transition: background .3s, border-color .3s; }
.na-uvodu .lista:not(.odrolovano) { background: linear-gradient(rgba(11, 12, 14, .55), rgba(11, 12, 14, 0)); border-color: transparent; backdrop-filter: none; }
.lista-menu { justify-self: start; display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.burger { display: grid; gap: 5px; width: 26px; }
.burger i { display: block; height: 1.5px; background: currentColor; transition: width .25s; }
.burger i:nth-child(2) { width: 70%; }
.lista-menu:hover .burger i:nth-child(2) { width: 100%; }
.lista-logo { justify-self: center; text-decoration: none; display: flex; align-items: center; }
.lista-logo img { height: 46px; width: auto; }
.lista-site { justify-self: end; display: flex; gap: 6px; }
.ikona-site { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: currentColor; transition: background .2s, color .2s; }
.ikona-site:hover { background: var(--bila); color: var(--cerna); }
.ikona-site svg { width: 19px; height: 19px; fill: currentColor; }
main { padding-top: var(--lista); }
.na-uvodu main { padding-top: 0; }

/* ---------- Menu přes celou výšku ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--cerna); color: var(--bila); display: flex; flex-direction: column; padding: 0 32px 40px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .35s, visibility 0s .35s; overflow-y: auto; }
.menu.otevreno { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s; }
.menu-hlava { height: var(--lista); display: flex; align-items: center; flex: none; }
.krizek { position: relative; width: 26px; height: 26px; }
.krizek::before, .krizek::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.krizek::after { transform: rotate(-45deg); }
.menu-polozky { list-style: none; margin: auto 0; padding: 24px 0; max-width: var(--obal); width: 100%; align-self: center; }
.menu-polozky li { border-bottom: 1px solid var(--okraj-tmavy); }
.menu-polozky a { display: flex; align-items: center; gap: 22px; padding: 10px 0; font-size: clamp(22px, min(3.4vw, 4.4vh), 40px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; text-decoration: none; transition: color .2s, padding .3s; }
.menu-polozky a:hover { color: var(--akcent); padding-left: 12px; }
.menu-polozky .pomlcka { flex: none; width: 18px; height: 1.5px; background: var(--akcent); transition: width .3s; }
.menu-polozky a:hover .pomlcka { width: 32px; }
.menu-pata { max-width: var(--obal); width: 100%; align-self: center; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; color: var(--slabe-tmave); font-size: 15px; }
.menu-pata a { text-decoration: none; }
.menu-pata a:hover { color: var(--bila); }
.menu-site { display: flex; gap: 6px; margin-left: auto; color: var(--bila); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--bila); background: var(--cerna); overflow: hidden; }
.hero-fotky, .hero-foto { position: absolute; inset: 0; }
/* Fotka přes celou plochu (cover) bez přibližovací animace – auto není víc přiblížené, než musí. */
.hero-foto { background: var(--foto, none) center 60% / cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
.hero-foto.aktivni { opacity: 1; }
.hero-foto.bez-fotky, .bez-fotky { background: radial-gradient(120% 90% at 75% 30%, #2a2c31 0%, #111215 55%, #08090a 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 10, .72) 0%, rgba(8, 9, 10, .25) 55%, rgba(8, 9, 10, .1) 100%), linear-gradient(0deg, rgba(8, 9, 10, .6) 0%, transparent 35%); pointer-events: none; }
.hero-text { position: absolute; z-index: 2; left: 32px; right: 32px; top: 50%; transform: translateY(-50%); max-width: 760px; padding-left: max(0px, calc((100vw - var(--obal)) / 2)); }
.hero h1 { font-size: clamp(42px, 7vw, 96px); font-weight: 300; letter-spacing: -.035em; line-height: 1.02; }
.hero .znacka { margin: 22px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--akcent); }
.hero-vlevo, .hero-vpravo { position: absolute; z-index: 2; bottom: 40px; }
.hero-vlevo { left: 32px; }
.hero-vpravo { right: 32px; }
.hero-tecky { position: absolute; z-index: 2; bottom: 58px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-tecky button { width: 28px; height: 2px; padding: 0; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.hero-tecky button.aktivni { background: var(--bila); }

/* ---------- Sekce ---------- */
.sekce { padding: 120px 0; }
.sekce-hlava { max-width: 640px; margin-bottom: 56px; }
.sekce-hlava h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 300; }
.perex { margin: 18px 0 0; font-size: 18px; color: var(--slabe); }
.prazdne { padding: 48px; background: var(--plocha); border: 1px solid var(--okraj); text-align: center; color: var(--slabe); }
.prazdne a { color: var(--text); }

/* ---------- Karty vozů ---------- */
.mrizka { display: grid; gap: 28px; }
.mrizka-2 { grid-template-columns: repeat(2, 1fr); }
.mrizka-3 { grid-template-columns: repeat(3, 1fr); }
.mrizka-vypis { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.karta { display: flex; flex-direction: column; background: var(--plocha); text-decoration: none; border: 1px solid var(--okraj); transition: transform .3s, box-shadow .3s; }
.karta:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .9); border-color: rgba(230, 191, 41, .45); }
.karta-foto { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tmava-2); }
.karta-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.karta:hover .karta-foto img { transform: scale(1.04); }
.bez-foto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--slabe-tmave); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; background: radial-gradient(100% 100% at 70% 20%, #2a2c31, #111215); }
.stitek-stav { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: var(--akcent); color: var(--cerna); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stitek-stav.staticky { position: static; display: inline-block; margin-bottom: 16px; }
.karta-telo { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.karta h3 { font-size: 21px; font-weight: 600; }
.karta h3 span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--slabe); letter-spacing: 0; }
.parametry { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--slabe); }
.parametry li { white-space: nowrap; }
.parametry li { position: relative; }
.parametry li + li::before { content: ""; position: absolute; left: -10px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--okraj); }
.karta-pata { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-top: 1px solid var(--okraj); margin-top: 22px; }
.cena { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.cena small { display: block; font-size: 12px; font-weight: 500; color: var(--slabe); letter-spacing: 0; }
.karta-detail { color: var(--akcent); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Plochy s fotkou na celou obrazovku ---------- */
.plocha { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--bila); background: var(--foto, none) center / cover no-repeat, radial-gradient(120% 90% at 75% 30%, #2a2c31 0%, #111215 55%, #08090a 100%); }
.plocha::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 10, .86) 0%, rgba(8, 9, 10, .55) 55%, rgba(8, 9, 10, .2) 100%); }
.plocha.tmava::before { background: rgba(8, 9, 10, .55); }
.plocha.cela { min-height: calc(100vh - var(--lista)); min-height: calc(100svh - var(--lista)); }
.plocha-text { position: relative; z-index: 1; width: 100%; max-width: var(--obal); margin: 0 auto; padding: 96px 32px 140px; transform: translateY(-4%); }
.plocha-text > * { max-width: 640px; }
.plocha h1, .plocha h2 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 300; letter-spacing: -.03em; }
.plocha .perex { margin: 0 0 22px; color: var(--akcent); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
#dovoz .perex { color: rgba(255, 255, 255, .82); font-size: 19px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.plocha .popis { margin: 24px 0 0; font-size: 18px; color: rgba(255, 255, 255, .82); }
.plocha .tlacitko { margin-top: 40px; }
.plocha-vpravo { position: absolute; z-index: 1; right: 32px; bottom: 40px; margin: 0 !important; }

/* Výkup – celé na jednu obrazovku (bez rolování na běžném monitoru) */
.plocha.vykup { min-height: 0; height: calc(100vh - var(--lista)); height: calc(100svh - var(--lista)); max-height: 980px; }
.plocha.vykup .plocha-text { padding: 40px 32px 96px; transform: none; }
.plocha.vykup h1 { font-size: clamp(32px, min(4.2vw, 6vh), 60px); }
.plocha.vykup .popis { margin-top: 16px; font-size: 17px; }
.plocha.vykup .vyhody { margin-top: 32px; }
.plocha.vykup .vyhody li { padding-top: 16px; gap: 10px; }

/* Výhody výkupu */
.vyhody { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 22px; max-width: 900px !important; grid-template-columns: repeat(3, 1fr); }
.vyhody li { display: grid; gap: 16px; padding-top: 22px; border-top: 1px solid var(--okraj-tmavy); }
.vyhoda-ikona { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--akcent); color: var(--akcent); border-radius: 50%; }
.vyhoda-ikona svg { width: 22px; height: 22px; }
.vyhody h3 { font-size: 18px; }
.vyhody p { margin: 6px 0 0; font-size: 15px; color: rgba(255, 255, 255, .75); }

/* ---------- Formuláře ---------- */
.formular-blok { padding: 96px 0; background: var(--plocha); border-bottom: 1px solid var(--okraj); }
.formular-blok h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; margin-bottom: 36px; }
.formular-mrizka { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.pole { display: grid; gap: 8px; align-content: start; }
.pole.siroke, .siroke { grid-column: 1 / -1; }
.pole label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slabe); }
.pole label small { letter-spacing: 0; text-transform: none; font-weight: 400; }
.pole.dvojice { grid-template-columns: 1fr 1fr; gap: 12px; }
.pole.dvojice > div { display: grid; gap: 8px; }
input:not([type=hidden]):not([type=checkbox]):not([type=file]), select, textarea { width: 100%; height: 52px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--text); background: var(--pole); border: 1px solid var(--okraj); border-radius: 0; appearance: none; -webkit-appearance: none; transition: border-color .2s, background .2s; }
textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--akcent); background: var(--pole); }
select { padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239a9da5' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.zaskrtnuti { display: flex !important; gap: 12px; align-items: flex-start; font-size: 14px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text) !important; cursor: pointer; }
.zaskrtnuti input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--slabe); background: var(--pole); display: inline-grid; place-content: center; cursor: pointer; }
.zaskrtnuti input:checked { background: var(--akcent); border-color: var(--akcent); }
.zaskrtnuti input:checked::after { content: ""; width: 10px; height: 6px; border: solid var(--cerna); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.nahrani { position: relative; display: grid !important; place-items: center; min-height: 92px; padding: 16px; border: 1px dashed var(--slabe); background: var(--pole); text-align: center; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 500 !important; color: var(--text) !important; cursor: pointer; }
.nahrani:hover, .nahrani.nad { border-color: var(--akcent); background: var(--plocha); }
.nahrani input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chyba { margin: 0; font-size: 13px; color: #f97066; }
.formular .tlacitko { margin-top: 28px; }
.hlaseni { margin: 0 0 28px; padding: 18px 22px; border-left: 3px solid var(--akcent); background: rgba(230, 191, 41, .12); }
.plocha .hlaseni { margin-top: 32px; background: rgba(11, 12, 14, .55); color: var(--bila); }

/* ---------- Okno (pop-up) ---------- */
.okno { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; }
.okno-pozadi { position: absolute; inset: 0; background: rgba(8, 9, 10, .78); backdrop-filter: blur(4px); }
.okno-obsah { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 48px); overflow-y: auto; background: var(--plocha); border: 1px solid var(--okraj); padding: 48px; }
.okno-obsah h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; margin-bottom: 32px; }
.okno-krizek { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.okno-krizek::before, .okno-krizek::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; background: var(--text); transform: rotate(45deg); }
.okno-krizek::after { transform: rotate(-45deg); }

/* ---------- Nabídka vozů ---------- */
.stranka-hlava { min-height: clamp(260px, 38vh, 420px); display: flex; align-items: flex-end; padding: 56px 0 44px; color: var(--bila); background: linear-gradient(180deg, rgba(8, 9, 10, .15) 0%, rgba(8, 9, 10, .35) 55%, rgba(8, 9, 10, .9) 100%), var(--foto, none) center 58% / cover no-repeat, var(--tmava); }
.pocet { margin: 0; display: flex; align-items: baseline; gap: 18px; }
.pocet strong { font-size: clamp(72px, 10vw, 140px); font-weight: 200; line-height: .9; letter-spacing: -.05em; }
.pocet span { font-size: 15px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--akcent); }
.nabidka { padding-top: 64px; }
.nabidka-rozvrzeni { display: grid; grid-template-columns: minmax(240px, 1fr) 3fr; gap: 48px; align-items: start; }
.filtr { position: sticky; top: calc(var(--lista) + 24px); }
.filtr-formular { display: grid; gap: 10px; padding: 18px 20px; background: var(--plocha); border: 1px solid var(--okraj); max-height: calc(100vh - var(--lista) - 48px); overflow-y: auto; scrollbar-width: thin; }
.filtr-formular .pole { gap: 5px; }
.filtr-formular .pole label { font-size: 11px; letter-spacing: .1em; }
.filtr-formular select { height: 40px; font-size: 15px; padding-left: 12px; padding-right: 34px; background-position: right 10px center; }
.filtr-formular .pole.dvojice { gap: 10px; }
.filtr-formular .pole.dvojice > div { gap: 5px; }
.posuvnik label { display: flex; justify-content: space-between; gap: 8px; }
.posuvnik output { color: var(--akcent); letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 13px; }
.posuvnik-meze { display: flex; justify-content: space-between; font-size: 11px; color: var(--slabe); }
input[type=range] { height: 22px !important; padding: 0 !important; background: transparent !important; border: 0 !important; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--akcent) var(--pruh, 100%), var(--okraj) var(--pruh, 100%)); }
input[type=range]::-moz-range-track { height: 3px; background: var(--okraj); }
input[type=range]::-moz-range-progress { height: 3px; background: var(--akcent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: var(--akcent); border: 3px solid var(--plocha); box-shadow: 0 0 0 1px var(--akcent); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--akcent); border: 3px solid var(--plocha); box-shadow: 0 0 0 1px var(--akcent); }
input[type=range]:focus-visible { outline: 1px solid var(--akcent); outline-offset: 4px; }
.filtr-formular .tlacitko { width: 100%; min-height: 46px; margin-top: 4px; }
.filtr-prepinac { display: none; }
.zrusit { text-align: center; font-size: 14px; color: var(--slabe); }
.vypis { display: flex; flex-direction: column; min-height: 100%; }
.strankovani { margin: 48px 0 0 auto; display: flex; gap: 6px; }
.strankovani a, .strankovani span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border: 1px solid var(--okraj); background: var(--plocha); text-decoration: none; font-weight: 600; }
.strankovani a:hover { border-color: var(--akcent); }
.strankovani span { background: var(--akcent); color: var(--cerna); border-color: var(--akcent); }

/* ---------- Detail vozu ---------- */
.detail.sekce { padding-top: 48px; }
.zpet { display: inline-block; margin-bottom: 28px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--slabe); }
.zpet:hover { color: var(--text); }
.detail-rozvrzeni { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.detail-rozvrzeni > *, .detail-popis > * { min-width: 0; }
.galerie-hlavni { position: relative; aspect-ratio: 16 / 10; background: var(--tmava-2); overflow: hidden; }
.galerie-hlavni img { width: 100%; height: 100%; object-fit: cover; }
.galerie-zvetsit { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galerie-lupa { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(11, 12, 14, .6); color: var(--bila); opacity: .85; transition: opacity .2s; }
.galerie-lupa svg { width: 20px; height: 20px; }
.galerie-zvetsit:hover .galerie-lupa { opacity: 1; background: var(--akcent); color: var(--cerna); }
.galerie-pocet { position: absolute; left: 14px; bottom: 14px; padding: 4px 10px; background: rgba(11, 12, 14, .6); font-size: 13px; color: var(--bila); }
.galerie-sipka { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; background: rgba(11, 12, 14, .55); color: var(--bila); font-size: 20px; cursor: pointer; }
.galerie-sipka:hover { background: var(--bila); color: var(--cerna); }
.galerie-sipka.vlevo { left: 16px; }
.galerie-sipka.vpravo { right: 16px; }
.galerie-nahledy { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.galerie-nahledy button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; opacity: .65; }
.galerie-nahledy button.aktivni, .galerie-nahledy button:hover { border-color: var(--akcent); opacity: 1; }
.galerie-nahledy img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { position: sticky; top: calc(var(--lista) + 24px); }
.detail-info h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; }
.detail-info h1 span { display: block; margin-top: 8px; font-size: 17px; color: var(--slabe); letter-spacing: 0; }
.cena.velka { margin: 24px 0 28px; font-size: 32px; }
.tabulka { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--okraj); }
.tabulka dt, .tabulka dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--okraj); }
.tabulka dt { color: var(--slabe); padding-right: 24px; }
.tabulka dd { font-weight: 600; text-align: right; }
.detail-akce { display: grid; gap: 10px; margin-top: 32px; }
.detail-akce .tlacitko.whatsapp svg { width: 20px; }
.detail-popis { margin-top: 40px; }
.detail-vybava { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--okraj); }
.vybava-kategorie { border-bottom: 1px solid var(--okraj); }
.vybava-skupina { border-top: 1px solid var(--okraj); }
.vybava-skupina summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.vybava-skupina summary::-webkit-details-marker { display: none; }
.vybava-skupina summary:hover .vybava-nazev { color: var(--bila); }
.vybava-nazev { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--akcent); transition: color .2s; }
.vybava-pocet { margin-left: 12px; font-weight: 500; letter-spacing: 0; color: var(--slabe); }
.vybava-znak { position: relative; flex: none; width: 16px; height: 16px; }
.vybava-znak::before, .vybava-znak::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--akcent); transition: transform .25s; }
.vybava-znak::after { transform: rotate(90deg); }
.vybava-skupina[open] .vybava-znak::after { transform: rotate(0deg); }
.vybava-skupina .vybava { columns: 3; column-gap: 56px; padding: 4px 0 28px; }
.detail-popis h2, .detail-vybava h2, .dalsi-nadpis { font-size: 26px; font-weight: 400; margin-bottom: 18px; }
.detail-vybava h2 { margin-bottom: 28px; }
.text-blok { white-space: pre-line; color: var(--text-2); }
.vybava { list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--text-2); }
.vybava li { padding: 7px 0 7px 20px; line-height: 1.45; position: relative; break-inside: avoid; }
.vybava li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 1.5px; background: var(--akcent); }
.dalsi-nadpis { margin-top: 96px; }

/* ---------- Prohlížeč fotek (zvětšení) ---------- */
.prohlizec { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(5, 6, 7, .96); }
.prohlizec img { max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); object-fit: contain; user-select: none; }
.prohlizec .galerie-sipka { position: fixed; }
.prohlizec .galerie-sipka.vlevo { left: 24px; }
.prohlizec .galerie-sipka.vpravo { right: 24px; }
.prohlizec .okno-krizek { position: fixed; top: 20px; right: 20px; }
.prohlizec .okno-krizek::before, .prohlizec .okno-krizek::after { background: var(--bila); }
.prohlizec .galerie-pocet { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); }
.okno-perex { margin: -16px 0 28px; color: var(--slabe); }

/* ---------- O nás ---------- */
.o-nas .text-blok { white-space: normal; font-size: 18px; }
.o-nas .text-blok p { margin: 0 0 22px; }
.o-nas .uvodni { font-size: 23px; line-height: 1.5; color: var(--text); }
.pilire { list-style: none; padding: 0; margin: 80px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--akcent); }
.pilire li { padding: 36px 32px 8px 0; }
.pilire li + li { padding-left: 32px; border-left: 1px solid var(--okraj); }
.pilire .vyhoda-ikona { margin-bottom: 4px; }
.pilire h3 { margin: 18px 0 12px; font-size: 22px; font-weight: 500; }
.pilire p { margin: 0; color: var(--slabe); }
.zaver { text-align: center; }
.zaver .podpis { margin-top: 36px; font-size: 20px; font-weight: 600; }
.zaver .podpis span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--akcent); }

/* ---------- Patička s mapou ---------- */
.paticka { position: relative; background: var(--cerna); color: var(--bila); }
.paticka-mapa { height: 620px; filter: grayscale(1) contrast(1.05) brightness(.9); }
.paticka-mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.paticka-panely { position: absolute; left: 0; right: 0; top: 0; height: 620px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; pointer-events: none; }
.paticka-panel { pointer-events: auto; padding: 32px 36px; background: rgba(11, 12, 14, .92); backdrop-filter: blur(8px); min-width: 280px; }
.paticka-panel .stitek { color: var(--akcent); }
.paticka-panel .stitek.mezera { margin-top: 22px; }
.paticka-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.paticka-panel a { text-decoration: none; color: var(--slabe-tmave); transition: color .2s; }
.paticka-panel a:hover { color: var(--bila); }
.paticka-kontakt p { margin: 0 0 4px; color: var(--slabe-tmave); }
.paticka-logo { height: 44px; width: auto; margin-bottom: 18px; }
.paticka-kontakt .nazev { font-size: 22px; font-weight: 600; color: var(--bila); margin-bottom: 10px; }
.paticka-spodek { max-width: var(--obal); margin: 0 auto; padding: 22px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--slabe-tmave); }
.paticka-spodek a, .paticka-spodek .odkaz-tlacitko { color: inherit; }

/* ---------- Menší obrazovky ---------- */
@media (max-width: 1024px) {
    .nabidka-rozvrzeni { grid-template-columns: 1fr; gap: 24px; }
    .filtr { position: static; }
    .filtr-prepinac { display: flex; width: 100%; justify-content: space-between; align-items: center; height: 52px; padding: 0 20px; border: 1px solid var(--okraj); background: var(--plocha); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
    .filtr-prepinac::after { content: "+"; font-size: 20px; font-weight: 300; }
    .filtr-prepinac[aria-expanded=true]::after { content: "–"; }
    .filtr-formular { display: none; border-top: 0; }
    .filtr-formular.rozbaleno { display: grid; }
    .detail-rozvrzeni { grid-template-columns: 1fr; }
    .detail-info { position: static; }
    .vybava-skupina .vybava { columns: 2; }
    .filtr-formular { max-height: none; }
    .plocha.vykup { height: auto; min-height: calc(100svh - var(--lista)); max-height: none; }
    .mrizka-3 { grid-template-columns: repeat(2, 1fr); }
    .vyhody { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --lista: 64px; }
    .obal, .lista, .menu { padding-left: 16px; padding-right: 16px; }
    .lista-menu span:last-child { display: none; }
    .lista-site .ikona-site { width: 34px; height: 34px; }
    .lista-logo img { height: 36px; }
    .sekce { padding: 80px 0; }
    .mrizka-2, .mrizka-3, .formular-mrizka, .pilire { grid-template-columns: 1fr; }
    .pilire li, .pilire li + li { padding: 28px 0 4px; border-left: 0; border-top: 1px solid var(--okraj); }
    .pilire li:first-child { border-top: 0; }
    .hero-text { left: 16px; right: 16px; }
    .hero-vlevo, .hero-vpravo { bottom: 24px; padding: 0 18px; min-height: 48px; font-size: 12px; letter-spacing: .1em; }
    .hero-vlevo { left: 16px; }
    .hero-vpravo { right: 16px; }
    .hero-tecky { bottom: 92px; }
    .plocha-text { padding: 80px 16px 128px; transform: none; }
    .plocha-vpravo { right: 16px; bottom: 24px; }
    .okno { padding: 0; }
    .okno-obsah { max-height: 100vh; height: 100%; padding: 64px 16px 32px; }
    .formular-blok { padding: 64px 0; }
    .paticka-mapa { height: 360px; }
    .paticka-panely { position: static; height: auto; flex-direction: column; align-items: stretch; padding: 0; }
    .paticka-panel { min-width: 0; padding: 32px 16px; background: var(--cerna); }
    .paticka-panel + .paticka-panel { border-top: 1px solid var(--okraj-tmavy); }
    .paticka-spodek { padding: 22px 16px; border-top: 1px solid var(--okraj-tmavy); }
    .vybava-skupina .vybava { columns: 1; }
    .prohlizec img { max-width: 100vw; max-height: calc(100vh - 120px); }
    .prohlizec .galerie-sipka { top: auto; bottom: 16px; transform: none; }
    .galerie-nahledy { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .galerie-nahledy button { flex: 0 0 84px; scroll-snap-align: start; }
    .menu-site { margin-left: 0; }
    .strankovani { margin-left: 0; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-foto { transition: opacity .6s; }
}
