/* MVP – weby pro malé firmy. Jazyk šablony Pane: papír, klidný serif, UI na vroubkovaném skle. */

@font-face { font-family: "Geist Serif"; src: url("../fonty/GeistSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonty/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonty/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonty/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokeny ---------- */

:root {
  --papir: #f8f7f4;
  --plocha: #f1efea;
  --plocha-2: #ebe8e1;
  --karta: #ffffff;
  --linka: #e4e1da;
  --linka-silna: #cdc9c0;
  --inkoust: #17171a;
  --na-inkoustu: #f8f7f4;
  --text: #46444c;
  --tlumeny: #6c6a73;
  --kobalt: #3346d3;
  --kobalt-svetly: #e6e9fb;
  --ember: #b83c0a;
  --ember-svetly: #fbe8dc;
  --zelena: #1d7348;
  --zelena-svetla: #e2f2e8;
  --vyber: #fbe0d0;

  --serif: "Geist Serif", Georgia, "Times New Roman", serif;
  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --okraj: clamp(16px, 5.2vw, 70px);
  --sirka: 1300px;
  --sekce: clamp(88px, 11vw, 150px);

  --r-stitek: 6px;
  --r-ovladac: 10px;
  --r-karta: 12px;
  --r-skorapka: 20px;

  --stin-karta: 0 1px 2px rgb(23 23 26 / 0.05), 0 8px 24px -6px rgb(23 23 26 / 0.1);
  --stin-okno: 0 2px 6px rgb(23 23 26 / 0.08), 0 28px 60px -18px rgb(23 23 26 / 0.35);
  --stin-tl: 0 1px 2px rgb(23 23 26 / 0.06), 0 0 0 1px rgb(23 23 26 / 0.07);

  --ven: cubic-bezier(0.23, 1, 0.32, 1);
  --sklo-filtr: none;
  --oznameni: #17171a;
  --kurzor: #c2410c;
  --cena-sklo: 1;
  --cena-zavoj: 30%;
  --cena-zavoj-dole: 30%;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-tema="svetly"]) {
    --papir: #111113; --plocha: #18181b; --plocha-2: #1f1f23; --karta: #1e1e22;
    --linka: #2a2a2f; --linka-silna: #3a3a41; --inkoust: #f2f1ee; --na-inkoustu: #141416;
    --text: #c8c6ce; --tlumeny: #9c9aa4; --kobalt: #9aa6ff; --kobalt-svetly: #23264a;
    --ember: #ff9a6c; --ember-svetly: #3a2219; --zelena: #6fd6a0; --zelena-svetla: #163223; --vyber: #4a2a1c;
    --stin-karta: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 28px -8px rgb(0 0 0 / 0.5);
    --stin-okno: 0 2px 6px rgb(0 0 0 / 0.3), 0 30px 64px -18px rgb(0 0 0 / 0.7);
    --stin-tl: 0 0 0 1px rgb(255 255 255 / 0.08);
    --sklo-filtr: brightness(0.78) saturate(1.08);
    --oznameni: #232328; --cena-sklo: 0.95; --cena-zavoj: 72%; --cena-zavoj-dole: 45%;
    color-scheme: dark;
  }
}
:root[data-tema="tmavy"] {
  --papir: #111113; --plocha: #18181b; --plocha-2: #1f1f23; --karta: #1e1e22;
  --linka: #2a2a2f; --linka-silna: #3a3a41; --inkoust: #f2f1ee; --na-inkoustu: #141416;
  --text: #c8c6ce; --tlumeny: #9c9aa4; --kobalt: #9aa6ff; --kobalt-svetly: #23264a;
  --ember: #ff9a6c; --ember-svetly: #3a2219; --zelena: #6fd6a0; --zelena-svetla: #163223; --vyber: #4a2a1c;
  --stin-karta: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 28px -8px rgb(0 0 0 / 0.5);
  --stin-okno: 0 2px 6px rgb(0 0 0 / 0.3), 0 30px 64px -18px rgb(0 0 0 / 0.7);
  --stin-tl: 0 0 0 1px rgb(255 255 255 / 0.08);
  --sklo-filtr: brightness(0.78) saturate(1.08);
  --oznameni: #232328; --cena-sklo: 0.95; --cena-zavoj: 72%; --cena-zavoj-dole: 45%;
  color-scheme: dark;
}

/* ---------- Základ ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--linka-silna) transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--papir); color: var(--text);
  font: 400 16px/1.6 var(--sans); font-kerning: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; color: inherit; }
button, summary, label, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { touch-action: manipulation; }
::selection { background: var(--vyber); color: var(--inkoust); }
input, textarea { caret-color: var(--kobalt); }
:focus-visible { outline: 2px solid var(--kobalt); outline-offset: 3px; border-radius: var(--r-stitek); }
[hidden] { display: none !important; }

.i { width: 18px; height: 18px; flex: none; fill: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.obal { width: 100%; max-width: calc(var(--sirka) + 2 * var(--okraj)); margin-inline: auto; padding-inline: var(--okraj); }

.preskocit { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--inkoust); color: var(--na-inkoustu); padding: 10px 14px; border-radius: var(--r-ovladac); font-weight: 500; }
.preskocit:focus { top: 12px; }

/* ---------- Písmo ---------- */

.nadpis-1, .nadpis-2, .nadpis-3, .cena-castka, .cena-mock-castka, .mini-nadpis, .krok h3, .logo > span:last-child {
  font-family: var(--serif); font-weight: 400; color: var(--inkoust); font-synthesis: none;
}
.nadpis-1 { font-size: clamp(2.6rem, 1.45rem + 4.9vw, 5.1rem); line-height: 1.03; letter-spacing: -0.032em; text-wrap: balance; }
.nadpis-2 { font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.4rem); line-height: 1.06; letter-spacing: -0.028em; text-wrap: balance; }
.nadpis-3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.05rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Tlačítka, štítky, odkazy ---------- */

.tl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-ovladac);
  font: 500 15px/1 var(--sans); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ven), background-color 160ms ease, box-shadow 160ms ease;
}
.tl:active { transform: scale(0.97); }
.tl .i { width: 17px; height: 17px; }
.tl-plne { background: var(--inkoust); color: var(--na-inkoustu); }
.tl-bile { background: var(--karta); color: var(--inkoust); box-shadow: var(--stin-tl); }
.tl-male { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: var(--r-ovladac); }
.tl-cele { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .tl-plne:hover { background: color-mix(in oklab, var(--inkoust) 86%, var(--papir)); }
  .tl-bile:hover { background: var(--plocha); }
}

.tl-ikona {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: var(--r-ovladac); background: transparent; color: var(--inkoust); cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ven);
}
.tl-ikona:active { transform: scale(0.95); }
.tl-ikona .i { grid-area: 1 / 1; transition: opacity 200ms ease, transform 200ms var(--ven); }
@media (prefers-reduced-motion: reduce) { .tl-ikona .i { transition: opacity 200ms ease; } }
@media (hover: hover) and (pointer: fine) { .tl-ikona:hover { background: var(--plocha); } }

.stitek {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px;
  border-radius: var(--r-stitek); background: var(--plocha); color: var(--tlumeny);
  font: 500 12px/1 var(--sans); white-space: nowrap;
}
.stitek-zeleny { background: var(--zelena-svetla); color: var(--zelena); }
.stitek-plny { background: var(--inkoust); color: var(--na-inkoustu); }

.odkaz-sipka {
  display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px;
  color: var(--inkoust); font-weight: 500; font-size: 15px;
  border-bottom: 1px solid var(--linka-silna); transition: border-color 160ms ease;
}
.odkaz-sipka .i { width: 16px; height: 16px; transition: transform 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .odkaz-sipka:hover { border-color: var(--inkoust); }
  .odkaz-sipka:hover .i { transform: translateX(2px); }
}

/* ---------- Oznámení a hlavička ---------- */

.oznameni {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 40px; padding: 8px var(--okraj);
  background: var(--oznameni); color: #f8f7f4; font-size: 14px; font-weight: 500; text-align: center;
}
.oznameni .i { width: 16px; height: 16px; transition: transform 200ms ease; }
@media (hover: hover) and (pointer: fine) { .oznameni:hover .i { transform: translateX(3px); } }

.hlavicka {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--papir) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 200ms ease;
}
.hlavicka.je-posunuta { border-bottom-color: var(--linka); }
.navigace { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 7px; color: var(--inkoust); }
.logo > span:last-child { font-size: 23px; letter-spacing: 0.01em; line-height: 1; padding-top: 2px; }
.znacka { width: 27px; height: 27px; margin-top: -1px; color: var(--inkoust); fill: none; }

.odkazy { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.odkazy a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-ovladac); color: var(--text); font-size: 15px; font-weight: 500; transition: color 160ms ease, background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .odkazy a:hover { color: var(--inkoust); background: var(--plocha); } }
.odkazy-kontakt { display: none; }
.navigace-akce { display: flex; align-items: center; gap: 8px; }
.tl-menu { display: none; }
.i-slunce, .i-zavrit { opacity: 0; transform: scale(0.6) rotate(-30deg); }

:root[data-tema="tmavy"] .i-mesic { opacity: 0; transform: scale(0.6) rotate(30deg); }
:root[data-tema="tmavy"] .i-slunce { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="svetly"]) .i-mesic { opacity: 0; transform: scale(0.6) rotate(30deg); }
  :root:not([data-tema="svetly"]) .i-slunce { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .navigace { gap: 12px; min-height: 60px; }
  .tl-menu { display: inline-grid; }
  .navigace-akce { margin-left: auto; gap: 4px; }
  .navigace-akce .tl { margin-right: 4px; }
  .odkazy {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 8px var(--okraj) 20px; background: var(--papir); border-bottom: 1px solid var(--linka);
    box-shadow: 0 24px 40px -24px rgb(23 23 26 / 0.25);
    opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
    transition: opacity 180ms ease, transform 220ms var(--ven), visibility 0s linear 220ms;
  }
  .odkazy a { padding: 13px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--linka); }
  .odkazy-kontakt { display: block; }
  .odkazy-kontakt a { color: var(--tlumeny); font-size: 15px; }
  .odkazy-kontakt:last-child a { border-bottom: 0; }
  .hlavicka.menu-otevrene .odkazy { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 180ms ease, transform 220ms var(--ven), visibility 0s; }
  .hlavicka.menu-otevrene .i-menu { opacity: 0; transform: scale(0.6) rotate(30deg); }
  .hlavicka.menu-otevrene .i-zavrit { opacity: 1; transform: none; }
  .hlavicka.menu-otevrene { background: var(--papir); border-bottom-color: var(--linka); }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .odkazy { transform: none; transition: opacity 180ms ease, visibility 0s linear 180ms; }
  .hlavicka.menu-otevrene .odkazy { transition: opacity 180ms ease, visibility 0s; }
}
@media (max-width: 380px) {
  .navigace-akce .tl { display: none; }
}

/* ---------- Úvod ---------- */

.uvod { padding-top: clamp(56px, 8vw, 104px); }
.uvod-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nadpis-1 .radek, .sekce-nadpis-vety .radek { display: block; text-wrap: balance; }
.sekce-nadpis.sekce-nadpis-vety { max-width: none; }
.uvod-popis { max-width: 34rem; margin-top: 24px; color: var(--tlumeny); font-size: 17px; line-height: 1.55; }
.uvod-akce { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.uvod-jistota { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--tlumeny); font-size: 14px; }
.uvod-jistota .i { width: 17px; height: 17px; color: var(--zelena); }

.uvod-scena { margin-top: clamp(48px, 6vw, 72px); perspective: 1700px; animation: uvod-najezd 700ms var(--ven) 80ms both; }
@keyframes uvod-najezd { from { opacity: 0; transform: translateY(32px); } }
@keyframes jen-prolnuti { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .uvod-scena { animation: jen-prolnuti 400ms ease 80ms both; } }
.uvod-sklo {
  aspect-ratio: 2400 / 1160; transform-origin: 50% 100%;
  will-change: transform;
}

.sklo { position: relative; overflow: hidden; border-radius: var(--r-skorapka); background: var(--plocha-2); isolation: isolate; }
.sklo-deska { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: var(--sklo-filtr); }

.prohlizec { background: var(--karta); border-radius: 12px; box-shadow: var(--stin-okno); overflow: hidden; }
.prohlizec-lista { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--linka); background: var(--karta); }
.prohlizec-tecky { display: inline-flex; gap: 6px; }
.prohlizec-tecky i { width: 10px; height: 10px; border-radius: 50%; background: var(--linka-silna); }
.prohlizec-adresa {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%;
  margin-inline: auto; padding: 4px 12px; border-radius: var(--r-stitek); background: var(--plocha);
  color: var(--tlumeny); font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prohlizec-adresa .i { width: 13px; height: 13px; }

.uvod-prohlizec { position: absolute; left: 50%; top: 9%; width: 80%; translate: -50% 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.uvod-prohlizec .prohlizec-obraz { width: 100%; height: auto; aspect-ratio: 2160 / 1350; }

.kurzor { position: absolute; left: 41.5%; top: 66%; display: flex; align-items: flex-start; pointer-events: none; color: var(--ember); }
.kurzor .i { width: 22px; height: 22px; fill: currentColor; filter: drop-shadow(0 1px 1px rgb(23 23 26 / 0.2)); }
.kurzor-jmeno { margin: 16px 0 0 -4px; padding: 4px 9px; border-radius: var(--r-stitek); background: var(--kurzor); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.2; box-shadow: 0 4px 12px -4px rgb(23 23 26 / 0.35); }

.firmy { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: clamp(40px, 5vw, 56px); }
.firmy-popis { color: var(--tlumeny); font-size: 14px; }
.firmy-seznam { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; }
.firmy-seznam a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--tlumeny); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .firmy-seznam a:hover { color: var(--inkoust); } }

/* ---------- Sekce ---------- */

.sekce { padding-block: var(--sekce) 0; }
.sekce-posledni { padding-bottom: var(--sekce); }
.pas { margin-top: var(--sekce); padding-block: var(--sekce); background: var(--plocha); }
.pas + .sekce { padding-top: var(--sekce); }
.sekce-nadpis { max-width: 17ch; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sekce-hlava { margin-bottom: clamp(36px, 4.5vw, 56px); }
.sekce-hlava p { margin-top: 18px; color: var(--tlumeny); font-size: 17px; }
.sekce-hlava-stred { max-width: 40rem; margin-inline: auto; text-align: center; }
.sekce-hlava-stred p { max-width: 32rem; margin-inline: auto; }
.sekce-hlava-radek { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.sekce-hlava-radek .nadpis-2 { max-width: 15ch; }

/* ---------- Služby ---------- */

.sluzby { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.sluzba-sklo { aspect-ratio: 1040 / 780; margin-bottom: 22px; display: grid; place-items: center; }
.sluzba-nadpis { color: var(--inkoust); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.sluzba p { margin-top: 6px; max-width: 34ch; color: var(--tlumeny); font-size: 15px; }

.telefon {
  position: absolute; top: 9%; left: 50%; translate: -50% 0; width: 37%;
  padding: 5px; border-radius: 26px; background: #121214; box-shadow: var(--stin-okno);
}
.telefon img { width: 100%; height: auto; border-radius: 21px; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; }

.karta-mock { background: var(--karta); border-radius: var(--r-karta); box-shadow: var(--stin-karta); padding: 14px; color: var(--text); font-size: 13px; line-height: 1.4; }
.mock-hlava { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--inkoust); font-weight: 500; font-size: 13px; }
.mock-hlava > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.mock-hlava .i { width: 16px; height: 16px; color: var(--tlumeny); }

.kontrola { width: 76%; }
.kontrola li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--linka); }
.kontrola .i { width: 16px; height: 16px; color: var(--zelena); }

.zpravy { width: 74%; display: grid; gap: 8px; }
.zprava { padding: 9px 11px; border-radius: 10px; background: var(--plocha); }
.zprava-ja { background: var(--kobalt-svetly); }
.zprava-kdo { display: flex; gap: 6px; margin-bottom: 2px; color: var(--inkoust); font-weight: 500; font-size: 12px; }
.zprava-kdo span { color: var(--tlumeny); font-weight: 400; }

/* ---------- Sliby (bento) ---------- */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.bento-karta { grid-column: span 5; display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-skorapka); background: var(--karta); box-shadow: var(--stin-karta); }
.bento-siroka { grid-column: span 7; }
.bento-mock { flex: 1; display: grid; align-content: center; min-height: 240px; padding: clamp(16px, 2.2vw, 26px); border-radius: var(--r-karta); background: var(--plocha); }
.bento-text { padding: 18px 12px 12px; }
.bento-text h3 { color: var(--inkoust); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.bento-text p { margin-top: 4px; max-width: 46ch; color: var(--tlumeny); font-size: 15px; }
.bento-text .odkaz-sipka { margin-top: 14px; }

/* Návrh zdarma: firma se propisuje do ukázky */
.navrh { gap: 16px; align-content: start; }
.navrh-pole { display: grid; gap: 7px; }
.navrh-pole span { color: var(--inkoust); font-size: 14px; font-weight: 500; }
.navrh-pole input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--linka); border-radius: var(--r-ovladac);
  background: var(--karta); color: var(--inkoust); font-size: 16px; outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.navrh-pole input::placeholder { color: var(--tlumeny); opacity: 0.85; }
.navrh-pole input:focus { border-color: var(--kobalt); box-shadow: 0 0 0 3px var(--kobalt-svetly); }

.mini-web { position: relative; background: var(--karta); border-radius: var(--r-karta); box-shadow: var(--stin-karta); overflow: hidden; }
.mini-lista { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-bottom: 1px solid var(--linka); }
.mini-lista .prohlizec-tecky i { width: 7px; height: 7px; }
.mini-adresa { margin-inline: auto; padding: 2px 10px; border-radius: 6px; background: var(--plocha); color: var(--tlumeny); font-size: 11px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-obsah { padding: 14px 16px 18px; }
.mini-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mini-logo { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--inkoust); font-weight: 700; font-size: 12px; }
.mini-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-logo .i { width: 15px; height: 15px; color: var(--kobalt); }
.mini-odkazy { display: flex; gap: 12px; color: var(--tlumeny); font-size: 11px; }
.mini-nadpis { font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.75rem); line-height: 1.08; letter-spacing: -0.025em; overflow-wrap: anywhere; min-height: 1.08em; }
.mini-text { margin-top: 6px; color: var(--tlumeny); font-size: 12px; }
.mini-tlacitko { display: inline-flex; margin-top: 12px; padding: 7px 11px; border-radius: var(--r-stitek); background: var(--kobalt); color: #fff; font-size: 12px; font-weight: 500; }
:root[data-tema="tmavy"] .mini-tlacitko { color: var(--papir); }
@media (prefers-color-scheme: dark) { :root:not([data-tema="svetly"]) .mini-tlacitko { color: var(--papir); } }
.mini-stitek { position: absolute; right: 10px; bottom: 10px; }

/* Pevná cena */
.cena-mock { gap: 14px; }
.cena-mock-castka { font-size: clamp(2.3rem, 1.9rem + 1.2vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; }
.cena-mock-od { font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--tlumeny); vertical-align: 0.6em; }
.radky div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--linka); }
.radky dt { color: var(--text); }
.radky dd { color: var(--inkoust); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.radky-pozn { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--linka); color: var(--zelena); font-weight: 500; }
.radky-pozn .i { width: 16px; height: 16px; }

/* Doména a web na vás */
.soubory { display: grid; gap: 0; padding: 4px 14px; border-radius: var(--r-karta); background: var(--karta); box-shadow: var(--stin-karta); }
.soubory li { display: flex; align-items: center; gap: 10px; min-height: 46px; border-top: 1px solid var(--linka); color: var(--inkoust); font-size: 14px; }
.soubory li:first-child { border-top: 0; }
.soubory li > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soubory .i { width: 17px; height: 17px; color: var(--tlumeny); }

/* Měsíční přehled */
.prehled { width: min(100%, 440px); justify-self: center; }
.prehled-cisla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.prehled-cisla div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 12px; border-radius: var(--r-ovladac); background: var(--plocha); }
.prehled-cisla dt { color: var(--tlumeny); font-size: 12px; line-height: 1.3; }
.prehled-cisla dd { font-family: var(--serif); color: var(--inkoust); font-size: 30px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.prehled-pozn { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--tlumeny); font-size: 12px; }
.prehled-pozn .i { width: 15px; height: 15px; }

/* ---------- Ukázka ---------- */

.pripad { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(12px, 1.6vw, 18px); padding: 10px; border-radius: var(--r-skorapka); background: var(--plocha); }
.pripad-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: clamp(18px, 3vw, 40px); align-self: center; }
.pripad-body { display: grid; gap: 12px; }
.pripad-body li { display: flex; gap: 11px; color: var(--text); font-size: 15px; line-height: 1.45; }
.pripad-body .i { width: 18px; height: 18px; margin-top: 1px; color: var(--inkoust); }
.pripad-text .tl { margin-top: 6px; }

.pripad-sklo { min-height: 520px; display: grid; align-items: end; padding: clamp(24px, 5vw, 56px) clamp(24px, 6vw, 72px) 0; }
.pripad-prohlizec { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pripad-okno { height: clamp(360px, 36vw, 470px); overflow: hidden; outline-offset: -3px; }
.pripad-okno img { width: 100%; height: auto; will-change: transform; }
.pripad-okno.je-rucni { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }

/* ---------- Postup ---------- */

.postup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 36px); counter-reset: krok; }
.krok { position: relative; padding-top: 30px; }
.krok::before { content: ""; position: absolute; top: 15px; left: 32px; right: calc(-1 * clamp(20px, 2.6vw, 36px)); height: 1px; background: var(--linka-silna); }
.krok:last-child::before { display: none; }
.krok-cislo {
  position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--papir); box-shadow: inset 0 0 0 1px var(--linka-silna);
  color: var(--inkoust); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.krok h3 { margin-top: 26px; font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.krok > p:not(.krok-pozn) { margin-top: 10px; color: var(--tlumeny); font-size: 15px; }
.krok-pozn { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--inkoust); font-size: 14px; font-weight: 500; }
.krok-pozn .i { width: 16px; height: 16px; color: var(--tlumeny); }

/* ---------- Ceník ---------- */

.ceny { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); align-items: stretch; }
.cena { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-skorapka); background: var(--karta); box-shadow: var(--stin-karta); }
.cena .sklo-deska { z-index: -2; opacity: var(--cena-sklo); }
.cena-hlavni { background: var(--karta); }
.cena-hlavni::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--karta) 28%, color-mix(in oklab, var(--karta) var(--cena-zavoj), transparent) 62%, color-mix(in oklab, var(--karta) var(--cena-zavoj-dole), transparent)); }
.cena-vrch { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cena-nazev { color: var(--inkoust); font-size: 17px; font-weight: 500; }
.cena-castka { margin-top: 22px; font-size: clamp(2.3rem, 1.9rem + 1.2vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cena-od { font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--tlumeny); vertical-align: 0.6em; }
.cena-pozn { margin-top: 8px; color: var(--tlumeny); font-size: 14px; }
.cena-plus { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 12px; padding: 9px 12px; border-radius: var(--r-ovladac); background: color-mix(in oklab, var(--plocha) 85%, transparent); color: var(--tlumeny); font-size: 13px; }
.cena-plus-castka { font-family: var(--serif); color: var(--inkoust); font-size: 20px; line-height: 1.1; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cena-popis { margin-top: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--linka); color: var(--text); font-size: 15px; }
.cena-seznam { display: grid; gap: 10px; margin: 20px 0 28px; }
.cena-seznam li { display: flex; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.4; }
.cena-seznam .i { width: 17px; height: 17px; margin-top: 1px; color: var(--inkoust); }
.cena .tl { margin-top: auto; }
.ceny-pozn { max-width: 44rem; margin: 28px auto 0; color: var(--tlumeny); font-size: 14px; text-align: center; }

/* ---------- Otázky ---------- */

.otazky { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.otazky details { border-radius: var(--r-karta); background: var(--plocha); }
.otazky summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 58px; padding: 14px 18px; color: var(--inkoust); font-size: 16px; font-weight: 500;
  cursor: pointer; list-style: none; border-radius: var(--r-karta);
}
.otazky summary::-webkit-details-marker { display: none; }
.otazky summary .i { width: 18px; height: 18px; color: var(--tlumeny); transition: transform 260ms var(--ven); }
.otazky details[open] summary .i { transform: rotate(45deg); }
.odpoved { padding: 0 18px 18px; }
.odpoved p { max-width: 58ch; color: var(--text); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .otazky summary:hover { background: var(--plocha-2); } }
@supports selector(::details-content) {
  .otazky details { interpolate-size: allow-keywords; }
  .otazky details::details-content { height: 0; overflow: clip; transition: height 280ms var(--ven), content-visibility 280ms allow-discrete; }
  .otazky details[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .otazky details::details-content { transition: none; }
}

/* ---------- Poptávka ---------- */

.zaver { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(12px, 1.6vw, 18px); padding: 10px; border-radius: var(--r-skorapka); background: var(--plocha); }
.zaver-text { padding: clamp(18px, 3.4vw, 48px); align-self: center; }
.zaver-text .nadpis-2 { max-width: 12ch; }
.zaver-text > p { margin-top: 18px; max-width: 30rem; color: var(--tlumeny); font-size: 17px; }
.kontakty { display: grid; gap: 12px; margin-top: 30px; }
.kontakty li { display: flex; align-items: center; gap: 10px; color: var(--inkoust); font-size: 15px; font-weight: 500; }
.kontakty .i { color: var(--tlumeny); }
.kontakty a { border-bottom: 1px solid var(--linka-silna); transition: border-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .kontakty a:hover { border-color: var(--inkoust); } }

.zaver-sklo { padding: clamp(14px, 4vw, 56px); display: grid; align-items: center; }
.formular { display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border-radius: 16px; background: var(--karta); box-shadow: var(--stin-okno); }
.pole-radek { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pole { display: grid; gap: 6px; align-content: start; }
.pole > span:first-child, .volby legend { color: var(--inkoust); font-size: 14px; font-weight: 500; }
.pole em { font-style: normal; font-weight: 400; color: var(--tlumeny); margin-left: 4px; }
.pole input, .pole textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--linka); border-radius: var(--r-ovladac);
  background: var(--papir); color: var(--inkoust); font-size: 16px; line-height: 1.4; outline: none; resize: vertical;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.pole textarea { min-height: 92px; }
.pole input::placeholder, .pole textarea::placeholder { color: var(--tlumeny); opacity: 0.85; }
.pole input:focus, .pole textarea:focus { border-color: var(--kobalt); background: var(--karta); box-shadow: 0 0 0 3px var(--kobalt-svetly); }
.pole-chyba { display: none; color: var(--ember); font-size: 13px; }
.pole.je-chyba input { border-color: var(--ember); }
.pole.je-chyba .pole-chyba { display: block; }

.volby { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.volby legend { padding: 0; margin-bottom: 8px; }
.volby label { position: relative; }
.volby input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.volby span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border-radius: var(--r-ovladac);
  background: var(--papir); box-shadow: inset 0 0 0 1px var(--linka); color: var(--text); font-size: 14px; font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ven);
}
.volby label:active span { transform: scale(0.97); }
.volby input:checked + span { background: var(--inkoust); color: var(--na-inkoustu); box-shadow: none; }
.volby input:focus-visible + span { outline: 2px solid var(--kobalt); outline-offset: 2px; }
.formular .tl { margin-top: 4px; min-height: 50px; }
.formular .tl:disabled { cursor: progress; opacity: 0.72; }
.lapac { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.formular-pozn { color: var(--tlumeny); font-size: 13px; }
.formular-pozn-mail { display: flex; align-items: center; gap: 7px; margin-top: -4px; color: var(--text); }
.formular-pozn-mail .i { width: 16px; height: 16px; color: var(--tlumeny); }
.formular-pozn a { color: var(--inkoust); border-bottom: 1px solid var(--linka-silna); }
.formular-hotovo {
  display: flex; gap: 12px; padding: 14px; border-radius: var(--r-karta); background: var(--zelena-svetla); color: var(--text); font-size: 14px; outline: none;
  transition: opacity 300ms var(--ven), transform 300ms var(--ven);
  @starting-style { opacity: 0; transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) { .formular-hotovo { transition: opacity 200ms ease; @starting-style { transform: none; } } }
.formular-hotovo .i { width: 22px; height: 22px; color: var(--zelena); }
.formular-hotovo-nadpis { color: var(--inkoust); font-weight: 500; margin-bottom: 2px; }
.formular-hotovo a { color: var(--inkoust); border-bottom: 1px solid currentColor; }

/* ---------- Patička ---------- */

.paticka { padding-block: clamp(56px, 7vw, 80px) 28px; background: var(--plocha); }
.paticka-mrizka { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.paticka-znacka p { margin-top: 16px; max-width: 30ch; color: var(--tlumeny); font-size: 14px; }
.paticka-titulek { margin-bottom: 12px; color: var(--tlumeny); font-size: 14px; }
.paticka-sloupec li { padding: 2px 0; color: var(--inkoust); font-size: 15px; }
.paticka-sloupec li:not(:has(a)) { padding-block: 8px; }
.paticka-sloupec a { display: inline-block; padding-block: 6px; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .paticka-sloupec a:hover { color: var(--tlumeny); } }
.doplnit { display: inline-block; padding: 1px 7px; border: 1px dashed var(--ember); border-radius: var(--r-stitek); color: var(--ember); font-size: 13px; }
.paticka-spodek { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--linka-silna); color: var(--tlumeny); font-size: 14px; }
.paticka-spodek .odkaz-sipka { font-size: 14px; }

/* ---------- Rozvržení pro menší displeje ---------- */

@media (max-width: 1080px) {
  .bento-karta, .bento-siroka { grid-column: span 6; }
  .postup { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .krok:nth-child(2)::before { display: none; }
}
@media (max-width: 960px) {
  .sluzby { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .sluzba:last-child { grid-column: 1 / -1; }
  .sluzba:last-child .sluzba-sklo { aspect-ratio: 2.1 / 1; }
  .sluzba:last-child .zpravy { width: min(74%, 380px); }
  .pripad, .zaver { grid-template-columns: 1fr; }
  .pripad-sklo { min-height: 0; }
  .ceny { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .paticka-mrizka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paticka-znacka { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sluzby { grid-template-columns: 1fr; gap: 44px; }
  .sluzba:last-child .sluzba-sklo { aspect-ratio: 1040 / 780; }
}
@media (max-width: 760px) {
  .bento-karta, .bento-siroka { grid-column: 1 / -1; }
  .bento-mock { min-height: 0; }
  .otazky { grid-template-columns: 1fr; }
  .uvod-prohlizec { left: 7%; width: 170%; top: 8%; translate: 0 0; }
  .prohlizec-lista { height: 30px; gap: 8px; padding: 0 10px; }
  .prohlizec-tecky i { width: 7px; height: 7px; }
  .prohlizec-adresa { font-size: 11px; padding: 2px 8px; }
  .uvod-prohlizec .prohlizec-adresa { margin-left: 4px; }
  .uvod-sklo { aspect-ratio: 1 / 0.86; }
  .kurzor { left: 28%; top: 64%; }
  .kurzor-jmeno { font-size: 12px; }
}
@media (max-width: 560px) {
  .uvod-akce { flex-direction: column; align-self: stretch; }
  .uvod-akce .tl { width: 100%; }
  .postup { grid-template-columns: 1fr; row-gap: 36px; }
  .krok { padding-top: 0; padding-left: 50px; }
  .krok::before { display: block !important; top: 34px; bottom: -36px; left: 15px; right: auto; width: 1px; height: auto; }
  .krok:last-child::before { display: none !important; }
  .krok h3 { margin-top: 2px; }
  .pole-radek { grid-template-columns: 1fr; }
  .pripad-sklo { padding: 20px 16px 0; }
  .zaver-sklo { padding: 10px; }
  .sluzba-sklo { aspect-ratio: 4 / 3.2; }
  .prehled-cisla { grid-template-columns: 1fr; }
  .prehled-cisla div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; }
  .paticka-mrizka { grid-template-columns: 1fr; }
  .oznameni-vic { display: none; }
}

/* ---------- Vedlejší stránky ---------- */

.navigace-zpet { margin-left: auto; }
.i-zpet { transform: scaleX(-1); }
.text-stranka { max-width: calc(46rem + 2 * var(--okraj)); padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); }
.text-uvod { margin-top: 18px; color: var(--tlumeny); font-size: 17px; }
.text-stranka h2 { margin: 40px 0 8px; color: var(--inkoust); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.text-stranka p { max-width: 68ch; color: var(--text); }
.text-stranka a { color: var(--inkoust); border-bottom: 1px solid var(--linka-silna); }
.text-stranka .doplnit { margin-top: 8px; }
.text-datum { margin-top: 40px; color: var(--tlumeny) !important; font-size: 14px; }
.paticka-mala { padding-block: 0 28px; }
.paticka-mala .paticka-spodek { margin-top: 0; }

.nenalezeno { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(48px, 8vw, 104px) clamp(80px, 10vw, 140px); }
.nenalezeno-sklo { width: min(100%, 520px); aspect-ratio: 1040 / 600; display: grid; place-items: center; margin-bottom: 40px; }
.nenalezeno-okno { width: 72%; }
.nenalezeno-kod { padding: 26px 0 30px; font-family: var(--serif); color: var(--inkoust); font-size: clamp(2.6rem, 1.45rem + 4.9vw, 5.1rem); line-height: 1; letter-spacing: -0.03em; }
.nenalezeno > p { max-width: 30rem; margin-top: 14px; color: var(--tlumeny); font-size: 17px; }
.nenalezeno .tl { margin-top: 28px; }
