/* SPOLEČNÁ ŠABLONA – styly. Barvy přicházejí z obsah.mjs jako CSS proměnné na <html>:
   --akcent (červená), --tmava (navy text), --seda, --paticka, --svetla.
   Rozměry odpovídají původnímu webu na Base44 (Tailwind): md = 768 px, lg = 1024 px. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; font-family: ui-sans-serif, system-ui, -apple-system, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
body { background: #fff; color: var(--tmava); -webkit-font-smoothing: antialiased; }
img, video, svg, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; cursor: pointer; text-align: inherit; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--akcent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ik { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.ik.mala { width: .875rem; height: .875rem; }
html.nacita, html.nacita body { overflow: hidden; }

/* ---------- Načítací obrazovka ---------- */
#nacitani {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--tmava); transition: opacity .6s ease, visibility .6s;
}
#nacitani.pryc { opacity: 0; visibility: hidden; }
.n-symbol {
  position: relative; width: 64px; aspect-ratio: 1; overflow: hidden;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
  background: rgba(255, 255, 255, .08);
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.n-kov {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 120%;
  background: var(--kov, linear-gradient(to top, #c42a0e 0%, var(--akcent) 55%, #ff7a45 100%));
  transform: translateY(100%); animation: liti 3.2s cubic-bezier(.3, .1, .3, 1) forwards;
}
/* hladina kovu – jemná vlna */
.n-kov::before {
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
  background: radial-gradient(12px 6px at 12px 6px, #ff7a45 98%, transparent) 0 0 / 24px 12px repeat-x;
  animation: vlna 1.1s linear infinite;
}
#nacitani.hotovo .n-kov { animation: none; transform: translateY(0); transition: transform .45s ease-out; }
#nacitani.pryc .n-symbol { transform: scale(1.08); }
.n-text {
  margin-top: 1.75rem; min-height: 1rem; color: rgba(255, 255, 255, .62); font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase;
  transition: opacity .3s ease;
}
.n-text.mizi { opacity: 0; }
@keyframes liti { 0% { transform: translateY(100%); } 100% { transform: translateY(22%); } }
@keyframes vlna { to { background-position-x: 24px; } }

/* ---------- Ovládání vpravo nahoře, plovoucí logo ---------- */
.ovladani { display: none; }
#plovouci-logo { display: none; }
@media (min-width: 768px) {
  .ovladani { display: flex; align-items: center; gap: .75rem; position: fixed; top: 1.5rem; right: 1.5rem; z-index: 50; }
  #plovouci-logo {
    display: block; position: fixed; top: 1.5rem; left: 1.5rem; z-index: 50;
    opacity: 0; transform: translateY(-20px); pointer-events: none; transition: opacity .4s, transform .4s;
  }
  #plovouci-logo.videt { opacity: 1; transform: none; pointer-events: auto; }
  #plovouci-logo img { height: 3rem; width: auto; }
}
.portal, .jazyk-tlacitko {
  height: 3rem; min-width: 3rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: rgba(23, 22, 46, .38); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12); transition: filter .2s;
}
.portal:hover, .jazyk-tlacitko:hover { filter: brightness(1.1); }
.portal { color: #fff; }
.p-kratce { font-size: .75rem; font-weight: 700; letter-spacing: -.025em; }
.p-dlouze { display: block; max-width: 0; font-size: .875rem; font-weight: 500; white-space: nowrap; overflow: hidden; transition: max-width .25s ease-in-out, padding .25s; }
.portal:hover .p-kratce, .portal:focus-visible .p-kratce { display: none; }
.portal:hover .p-dlouze, .portal:focus-visible .p-dlouze { max-width: 14rem; padding: 0 1.25rem; }
/* dotyková zařízení (mobil, tablet): zkratka „Z.P.“ se bez najetí myší nerozbalí → tlačítko skrýt */
@media (hover: none) { .portal { display: none; } }
.jazyk { position: relative; }
.jazyk-tlacitko { width: 3rem; font-size: 1.5rem; }
.jazyk-nabidka {
  position: absolute; right: 0; margin-top: .5rem; min-width: 200px; border-radius: .75rem; overflow: hidden; z-index: 50;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  animation: dolu .2s ease-out;
}
.jazyk-nabidka button { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; transition: background .15s; }
.jazyk-nabidka button:hover { background: rgba(255, 255, 255, .4); }
.jazyk-nabidka button[aria-current] { background: rgba(255, 255, 255, .5); }
.jazyk-nabidka .vlajka { font-size: 1.5rem; }
.jazyk-nabidka span:last-child { font-size: .875rem; font-weight: 500; color: #374151; }
@keyframes dolu { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Posuv po sekcích (desktop) ---------- */
@media (min-width: 768px) {
  .posun { height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; }
  .snap { scroll-snap-align: start; scroll-snap-stop: always; }
}

/* ---------- Odhalování při posunu ---------- */
.odhal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--zpozdeni, 0s); }
.onas-mrizka.odhal { transform: translateY(60px); }
.kontakt-logo.odhal { transform: translateY(20px); transition-duration: .6s; }
.kontakt-bloky.odhal { transform: translateY(30px); }
.copyright.odhal { transform: none; }
.odhal.videt { opacity: 1; transform: none; }

/* ---------- 1 · Úvod ---------- */
.uvod { position: relative; height: 100vh; min-height: 100svh; width: 100%; overflow: hidden; background: #000; }
.uvod-pozadi { position: absolute; inset: 0; will-change: transform; }
.uvod-pozadi img, .uvod-pozadi video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(100%); }
.uvod-pozadi video { background: transparent; } /* bez opacity:0 – Safari neviditelné video nespustí; do prvního snímku je vidět fotka pod ním */
.zavoj { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.uvod-obsah { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: space-between; overflow: hidden; padding-bottom: 5rem; }
.nadlogo {
  width: 239vw; max-width: 2800px; max-height: 85vh; margin-top: -10vw; object-fit: contain; flex-shrink: 0;
  opacity: 0; transform: translateY(-40px);
}
.uvod-spodek { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding: 0 1.5rem; text-align: center; }
.uvod-podtitul { color: var(--seda); font-size: .8125rem; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(12px); }
html.spusteno .uvod-podtitul { animation: objev .8s ease 1.2s forwards; }
@media (min-width: 768px) { .uvod-podtitul { font-size: .9375rem; } }
.uvod-obsah:has(.uvod-podtitul) { padding-bottom: 7.5rem; }
.uvod-obsah:has(.uvod-podtitul) .nadlogo { max-height: 70vh; }
.uvod:has(.uvod-podtitul) .uvod-sipka { color: var(--seda); }
.uvod-logo { line-height: 0; }
.uvod-logo img { width: min(300px, 55vw); max-height: 20vh; object-fit: contain; opacity: 0; transform: translateY(20px); }
.uvod-sipka { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); z-index: 10; color: rgba(255, 255, 255, .7); opacity: 0; }
.uvod-sipka .ik { animation: skok 2s ease-in-out infinite; }
html.spusteno .nadlogo { animation: objev-nadlogo 1s ease .3s forwards; }
html.spusteno .uvod-logo img { animation: objev .8s ease .8s forwards; }
html.spusteno .uvod-sipka { animation: jen-objev .6s ease 1.5s forwards; }
@keyframes objev-nadlogo { to { opacity: .3; transform: none; } }
@keyframes objev { to { opacity: 1; transform: none; } }
@keyframes jen-objev { to { opacity: 1; } }
@keyframes skok { 50% { transform: translateY(10px); } }
@media (min-width: 768px) {
  .nadlogo { width: 188vw; }
  .uvod-logo img { width: min(400px, 45vw); }
}
@media (min-width: 1024px) {
  .nadlogo { width: 161vw; }
  .uvod-logo img { width: min(449px, 38vw); }
}

/* ---------- 2 · O nás ---------- */
.onas { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 4rem 1.5rem; background: #fff; overflow: hidden; color: var(--tmava); }
.onas-pozadi { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(100%); opacity: .2; pointer-events: none; user-select: none; }
.obal { position: relative; z-index: 10; width: 100%; max-width: 72rem; margin: 0 auto; }
.onas-mrizka { display: grid; gap: 1.5rem; align-items: center; }
.onas-vlevo { order: 2; }
.onas-vpravo { order: 1; transform: scale(.9); opacity: 0; transition: transform .8s ease, opacity .8s ease; }
.onas-mrizka.videt .onas-vpravo { transform: none; opacity: 1; }
.onas h2 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; color: var(--akcent); margin-bottom: 1rem; }
.onas-text { font-size: .875rem; line-height: 1.625; }
.onas-text p + p { margin-top: .75rem; }
@media (min-width: 768px) {
  .onas { padding: 5rem 4rem; }
  .onas-mrizka { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .onas-vlevo { order: 1; } .onas-vpravo { order: 2; }
  .onas h2 { font-size: 3rem; margin-bottom: 1.5rem; }
  .onas-text { font-size: 1rem; }
  .onas-vlevo .onas-text p + p { margin-top: 1rem; }
}
@media (min-width: 1024px) {
  .onas { padding-left: 6rem; padding-right: 6rem; }
  .onas-mrizka { gap: 6rem; }
  .onas h2 { font-size: 3.75rem; }
}

/* Historie – časová osa */
.historie { margin-top: 2.5rem; }
.historie h3 { font-size: .75rem; line-height: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--akcent); margin-bottom: 2rem; }
.osa li { display: grid; grid-template-columns: 1.5rem 1fr; column-gap: 1rem; position: relative; opacity: 0; transform: translateX(-20px); transition: opacity .4s ease, transform .4s ease; transition-delay: calc(var(--i) * .07s); }
.osa.videt li { opacity: 1; transform: none; }
.osa .bod { width: .625rem; height: .625rem; border-radius: 999px; background: var(--akcent); margin: .25rem auto 0; position: relative; z-index: 1; }
.osa li:not(:last-child)::before { content: ""; position: absolute; left: calc(.75rem - .5px); top: 1.125rem; bottom: .25rem; width: 1px; background: color-mix(in srgb, var(--akcent) 30%, transparent); }
.osa-karta { padding-bottom: 1.5rem; min-height: 3.5rem; }
.osa .rok { display: block; color: var(--akcent); font-weight: 700; font-size: .875rem; line-height: 1.25rem; }
.osa-text { display: block; color: var(--tmava); font-size: .75rem; line-height: 1rem; font-weight: 600; margin-top: .125rem; }
@media (min-width: 768px) {
  .historie { margin-top: 4rem; }
  .osa { display: flex; justify-content: space-between; position: relative; }
  .osa::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: color-mix(in srgb, var(--akcent) 30%, transparent); }
  .osa li { display: flex; flex-direction: column; align-items: center; text-align: center; width: 12.5%; transform: translateY(20px); transition-duration: .5s; transition-delay: calc(var(--i) * .08s); }
  .osa li:not(:last-child)::before { display: none; }
  .osa .bod { margin: 0 0 .75rem; flex-shrink: 0; }
  .osa-karta { padding: .5rem; margin: 0 .25rem; min-height: 0; border-radius: .75rem; }
  .osa .rok { margin-bottom: .25rem; }
  .osa-text { line-height: 1.25; margin-top: 0; }
}

/* ---------- 3 · Výrobní služby ---------- */
.sluzby { width: 100%; min-height: 100vh; display: flex; flex-direction: column; background: #fff; padding: 4rem 1.5rem; }
.panely { display: none; }
.harmonika { display: flex; flex-direction: column; gap: .25rem; }
.h-polozka { border-radius: .75rem; overflow: hidden; }
.h-hlava { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; }
.h-cislo { color: var(--akcent); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.h-nazev { flex: 1; color: var(--tmava); font-weight: 700; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; }
.h-znak { color: var(--seda); font-size: 1.125rem; line-height: 1; }
.h-telo { padding: 0 1rem 1.25rem; }
.h-telo > * + * { margin-top: 1rem; }
.h-foto { aspect-ratio: 4 / 3; width: 100%; }
@media (min-width: 768px) {
  .sluzby { height: 100vh; padding: 0; }
  .harmonika { display: none; }
  .panely { display: flex; flex: 1; gap: 2px; overflow: hidden; }
  .panel {
    position: relative; overflow: hidden; background: #fff; min-width: 0; flex: 1 0 0; border-right: 1px solid #ddd;
    transition: flex-grow .55s cubic-bezier(.4, 0, .2, 1), flex-basis .55s cubic-bezier(.4, 0, .2, 1);
  }
  .panel:last-child { border-right: 0; }
  /* otevřený panel: ostatní zůstanou jako pruhy pevné šířky, aby byl nápis čitelný a šly dobře trefit */
  .panely.otevreno .panel { flex-grow: 0; flex-basis: 4.5rem; }
  .panely.otevreno .panel.aktivni { flex-grow: 1; flex-basis: 0; }
  .panel-pozadi { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(100%); opacity: .2; pointer-events: none; user-select: none; }
  .panel-stitek {
    position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; text-align: center;
    transition: opacity .3s;
  }
  .panel-stitek span {
    writing-mode: vertical-lr; transform: rotate(180deg); white-space: nowrap;
    color: var(--akcent); font-weight: 700; font-size: 1rem; line-height: 1.5rem; letter-spacing: .1em; text-transform: uppercase;
  }
  .panel.aktivni .panel-stitek { opacity: 0; pointer-events: none; }
  .panel-obsah {
    position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: center; padding: 2rem 1.5rem; overflow: auto; cursor: pointer;
    opacity: 0; pointer-events: none; transition: opacity .45s ease 0s;
  }
  .panel.aktivni .panel-obsah { opacity: 1; pointer-events: auto; transition-delay: .25s; }
  .panel-mrizka {
    display: grid; grid-template-columns: 3fr 2fr; gap: 2rem; align-items: stretch; width: 100%; max-width: 72rem; margin: 0 auto;
    height: 100%; max-height: 70vh; cursor: auto;
  }
  .panel-foto { height: 100%; }
  .panel-karta { display: flex; align-items: center; overflow: auto; }
  .karta { width: 100%; padding: 1.5rem; border-radius: .75rem; }
}

/* Texty služby */
.cara { width: 6rem; height: 3px; background: var(--akcent); margin-bottom: 1rem; }
.cara.m { width: 4rem; margin-bottom: .5rem; }
.sluzby h3 { color: var(--akcent); font-size: 1.5rem; line-height: 2rem; font-weight: 700; margin-bottom: 1rem; }
.sl-odst { color: color-mix(in srgb, var(--tmava) 80%, transparent); font-size: .875rem; line-height: 1.625; }
.sl-odst > * + * { margin-top: .75rem; }
.sl-odst ul { padding-left: .25rem; }
.sl-odst li { display: flex; align-items: flex-start; gap: .5rem; }
.sl-odst li + li { margin-top: .25rem; }
.tecka { margin-top: .375rem; width: .5rem; height: .5rem; border-radius: 999px; background: var(--akcent); flex-shrink: 0; }
.odkaz-a { display: inline-flex; align-items: center; gap: .25rem; color: var(--akcent); font-weight: 700; }
.odkaz-a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .sluzby h3 { font-size: 1.875rem; line-height: 2.25rem; }
  .sl-odst { font-size: 1rem; }
}

/* Karusel */
.karusel { position: relative; width: 100%; height: 100%; min-height: 220px; border-radius: .75rem; overflow: hidden; background: color-mix(in srgb, var(--tmava) 20%, transparent); }
.karusel img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .6s ease-in-out; -webkit-touch-callout: none; }
.karusel img.aktivni { opacity: 1; }
.k-sipka {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; padding: .5rem; border-radius: 999px; color: #fff;
  background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .15s, background .15s;
}
.k-sipka .ik { width: 1.25rem; height: 1.25rem; }
.k-sipka:hover { background: rgba(0, 0, 0, .6); }
.k-vlevo { left: .75rem; } .k-vpravo { right: .75rem; }
.karusel:hover .k-sipka, .k-sipka:focus-visible { opacity: 1; }
@media (hover: none) { .k-sipka { opacity: 1; } }
.k-tecky { position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%); display: flex; gap: .375rem; z-index: 10; }
.k-tecky button { width: .5rem; height: .5rem; border-radius: 999px; background: rgba(255, 255, 255, .4); transition: all .15s; }
.k-tecky button.aktivni { background: #fff; transform: scale(1.25); }

/* ---------- 4 · Naše výrobky ---------- */
.vyrobky { min-height: 100vh; display: flex; align-items: center; padding: 4rem 0; background: #fff; overflow: hidden; }
.vyrobky-obal { width: 100%; }
.vyrobky h2 { padding: 0 1.5rem; font-size: 1.5rem; line-height: 2rem; font-weight: 700; color: var(--akcent); margin-bottom: 2.5rem; }
.pas { position: relative; }
.pas-stin { pointer-events: none; position: absolute; top: 0; bottom: 1rem; width: 4rem; z-index: 10; opacity: 0; transition: opacity .3s; }
.pas-stin.vlevo { left: 0; background: linear-gradient(to right, #fff 0%, transparent 100%); }
.pas-stin.vpravo { right: 0; background: linear-gradient(to left, #fff 0%, transparent 100%); }
.pas-stin.viditelny { opacity: 1; }
.pas-posun { overflow-x: auto; padding-bottom: 1rem; scrollbar-width: thin; }
.pas-mrizka { display: grid; gap: .75rem; grid-template-rows: repeat(2, 1fr); grid-auto-flow: column; grid-auto-columns: clamp(140px, 18vw, 240px); width: max-content; }
.dlazdice {
  position: relative; overflow: hidden; border-radius: .75rem; background: #f3f4f6; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); aspect-ratio: 1 / 1;
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease calc(var(--i) * .03s), transform .4s ease calc(var(--i) * .03s);
}
.pas-mrizka.videt .dlazdice { opacity: 1; transform: none; }
.pas-mrizka.videt .dlazdice:hover { transform: scale(1.03); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.dlazdice img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .vyrobky { height: 100vh; padding: 5rem 0; }
  .vyrobky h2 { padding: 0 4rem; font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 3.5rem; }
  .pas-stin { width: 6rem; }
  .pas-mrizka { gap: 1rem; }
}
@media (min-width: 1024px) {
  .vyrobky h2 { padding: 0 6rem; font-size: 3rem; line-height: 1; }
}

/* O nás – perex a bloky s podnadpisem */
.onas:has(.onas-perex) .onas-pozadi { opacity: .09; }
.onas:has(.onas-perex) .onas-mrizka { align-items: start; }
.onas:has(.onas-perex) .onas-vlevo { order: 1; } .onas:has(.onas-perex) .onas-vpravo { order: 2; }
.onas:has(.onas-perex) .onas-vlevo .onas-text { margin-bottom: .5rem; }
.onas-perex { font-size: 1.125rem; line-height: 1.45; font-weight: 500; color: var(--tmava); margin-bottom: 1rem; }
.onas:has(.onas-perex) strong { font-weight: 700; color: var(--tmava); }
.onas-vlevo .onas-text > p + .onas-blok { margin-top: 1.5rem; }
.onas-blok + .onas-blok { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--tmava) 12%, transparent); }
.onas-blok h3 { color: var(--akcent); font-size: .8125rem; line-height: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.onas:has(.onas-perex) .osa-text { font-weight: 500; color: #575756; }
@media (min-width: 768px) {
  .onas-perex { font-size: 1.375rem; margin-bottom: 1.25rem; }
  .onas:has(.onas-perex) .historie { margin-top: 2.5rem; }
  .onas:has(.onas-perex) .historie h3 { margin-bottom: 1.25rem; }
  .onas:has(.onas-perex) .onas-vpravo { padding-top: .5rem; }
}

/* Pruh s čísly (O nás) */
.cisla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; margin-top: 2.5rem; padding: 1.5rem 0; border-top: 1px solid color-mix(in srgb, var(--akcent) 30%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--akcent) 30%, transparent); }
.cisla > div { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i) * .08s); }
.cisla.videt > div { opacity: 1; transform: none; }
.cisla dt { color: var(--akcent); font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; }
.cisla dd { margin-top: .25rem; color: #575756; font-size: .75rem; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 768px) {
  .cisla { grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 1.5rem 3rem; margin-top: 3rem; }
  .cisla dt { font-size: 1.5rem; }
}
@media (min-width: 1280px) { .cisla dt { font-size: 1.875rem; } }

/* ---------- 5 · Kontakt ---------- */
.kontakt { min-height: 100vh; display: flex; flex-direction: column; background: var(--paticka); }
.kontakt-stred { flex: 1; display: flex; align-items: center; justify-content: center; padding: 4rem 1.5rem; }
.kontakt-obsah { text-align: center; width: 100%; }
.kontakt-obsah > * + * { margin-top: 2.5rem; }
.kontakt-logo { width: 12rem; margin: 0 auto; }
.kontakt-bloky > * + * { margin-top: 1.5rem; }
.poptat { display: flex; justify-content: center; }
.kontakt-bloky > .poptat + * { margin-top: 2.5rem; }
.poptat-tlacitko { display: inline-flex; align-items: center; gap: .625rem; padding: .875rem 1.75rem; border-radius: 999px; background: #C42A0E; color: #fff; font-size: .9375rem; font-weight: 600; letter-spacing: .03em; transition: background .15s, transform .15s; }
.poptat-tlacitko:hover { background: var(--akcent); transform: translateY(-1px); }
.poptat-tlacitko .ik { width: 1.125rem; height: 1.125rem; }
.lide { display: flex; flex-direction: column; gap: 2rem; justify-content: center; text-align: center; }
.osoba > * + * { margin-top: .25rem; }
.osoba .role { font-size: .75rem; line-height: 1rem; color: color-mix(in srgb, var(--svetla) 50%, transparent); letter-spacing: .1em; text-transform: uppercase; }
.osoba .jmeno { color: var(--svetla); font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.osoba a { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--svetla); font-size: .875rem; line-height: 1.25rem; transition: color .15s; }
.osoba a:hover, .weby a:hover, .tlacitka button:hover { color: var(--akcent); }
.weby { display: flex; flex-direction: column; gap: 1rem; justify-content: center; color: var(--svetla); }
.weby a { display: flex; align-items: center; justify-content: center; gap: .5rem; transition: color .15s; }
.weby .ik { width: 1rem; height: 1rem; }
.weby span { font-size: .875rem; line-height: 1.25rem; letter-spacing: .025em; }
.adresa { display: flex; flex-direction: column; align-items: center; gap: .25rem; color: var(--svetla); font-size: .875rem; line-height: 1.25rem; letter-spacing: .025em; }
.adresa .firma { font-weight: 500; }
.adresa .ico { font-size: .75rem; line-height: 1rem; color: color-mix(in srgb, var(--svetla) 60%, transparent); }
.oddelovac { width: 100%; max-width: 28rem; margin-left: auto; margin-right: auto; border-top: 1px solid color-mix(in srgb, var(--svetla) 20%, transparent); }
.tlacitka { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem; color: var(--svetla); font-size: .875rem; line-height: 1.25rem; letter-spacing: .025em; }
.tlacitka button { transition: color .15s; }
.svislitko { color: color-mix(in srgb, var(--svetla) 40%, transparent); }
html:not([lang="cs"]) .jen-cs { display: none; }
.mapa { width: 100%; overflow: hidden; }
.mapa iframe { width: 100%; height: 220px; border: 0; filter: grayscale(100%) invert(90%) contrast(85%); background: #3a3a3a; }
.copyright { padding-top: 2rem; color: var(--svetla); font-size: .75rem; line-height: 1rem; letter-spacing: .1em; }
@media (min-width: 768px) {
  .kontakt { min-height: 100vh; }
  .kontakt-stred { padding-top: 3rem; padding-bottom: 3rem; }
  .kontakt-stred { padding-left: 4rem; padding-right: 4rem; }
  .kontakt-logo { width: 14rem; }
  .lide { flex-direction: row; gap: 4rem; text-align: left; }
  .osoba a { justify-content: flex-start; }
  .weby { flex-direction: row; gap: 2rem; }
}
@media (min-width: 1024px) { .kontakt-stred { padding-left: 6rem; padding-right: 6rem; } }

/* EU lišta */
.eu { width: 100%; }
.eu-detail { background: #fff; border-bottom: 1px solid #bfdbfe; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .05); padding: 1.25rem 1rem; }
.eu-vnitrek { max-width: 56rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.eu-vnitrek img { height: 5rem; object-fit: contain; flex-shrink: 0; }
.eu-vnitrek p { font-size: .875rem; line-height: 1.625; color: #374151; }
.eu-lista { width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem; background: #039; color: #fff; font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .025em; padding: .5rem 1rem; text-align: center; transition: background .15s; }
.eu-lista:hover { background: #027; }
.eu-lista img { height: 1.25rem; width: auto; object-fit: contain; }
.eu-sipka { margin-left: .25rem; }
@media (min-width: 768px) {
  .eu-detail { padding: 1.25rem 2.5rem; }
  .eu-vnitrek { flex-direction: row; }
  .eu-vnitrek img { height: 6rem; }
  .eu-lista { font-size: .875rem; line-height: 1.25rem; }
}

/* ---------- Okna (fotka, video, PDF, materiály) ---------- */
.okno { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; animation: objev-okno .25s ease; }
@keyframes objev-okno { from { opacity: 0; } }
@keyframes priblizeni { from { opacity: 0; transform: scale(.95); } }

.okno-foto { z-index: 100; background: rgba(0, 0, 0, .9); }
.f-obrazek { max-height: 90vh; max-width: 90vw; border-radius: .5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); animation: priblizeni .3s ease; }
.f-zavrit { position: absolute; top: 1rem; right: 1rem; z-index: 10; color: rgba(255, 255, 255, .8); }
.f-zavrit .ik { width: 2rem; height: 2rem; }
.f-sipka { position: absolute; z-index: 10; padding: .5rem; color: rgba(255, 255, 255, .8); }
.f-sipka .ik { width: 2.5rem; height: 2.5rem; }
.f-vlevo { left: 1rem; } .f-vpravo { right: 1rem; }
.f-zavrit:hover, .f-sipka:hover { color: #fff; }

.okno-video { z-index: 100; background: rgba(0, 0, 0, .85); padding: 0 1rem; }
.v-ram { position: relative; width: 100%; max-width: 48rem; aspect-ratio: 16 / 9; animation: priblizeni .3s ease; }
.v-zavrit { position: absolute; top: -2.5rem; right: 0; color: #fff; font-size: .875rem; letter-spacing: .025em; transition: color .15s; }
.v-zavrit:hover { color: var(--akcent); }
.v-ram video { width: 100%; height: 100%; border-radius: .25rem; background: #000; }

.okno-zprava { z-index: 9999; background: rgba(0, 0, 0, .8); padding: 1rem; }
.z-ram { position: relative; width: 100%; height: 100%; max-width: 56rem; background: #fff; border-radius: .5rem; overflow: hidden; animation: priblizeni .3s ease; }
.z-ram iframe { width: 100%; height: 100%; border: 0; }
.z-zavrit { position: absolute; top: .75rem; right: .75rem; z-index: 10; padding: .5rem; border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); color: #374151; }
.z-zavrit:hover { background: #fff; }
.z-zavrit .ik { width: 1.25rem; height: 1.25rem; }

.okno-materialy { z-index: 200; background: rgba(0, 0, 0, .7); padding: 1rem; }
.m-ram { background: #fff; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); width: 100%; max-width: 48rem; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; animation: m-objev .3s ease; color: var(--tmava); }
@keyframes m-objev { from { opacity: 0; transform: scale(.95) translateY(20px); } }
.m-hlava { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid #f0f0f0; }
.m-hlava h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.m-hlava p { font-size: .875rem; line-height: 1.25rem; color: var(--seda); }
.m-hlava button { color: var(--seda); margin-left: 1rem; transition: color .15s; }
.m-hlava button:hover { color: var(--tmava); }
.m-vyber { padding: 1rem 1.5rem; border-bottom: 1px solid #f0f0f0; background: #fafafa; }
.m-rozbal { position: relative; width: 100%; max-width: 24rem; }
.m-zvoleny { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #fff; border: 1px solid #e0e0e0; border-radius: .75rem; padding: .75rem 1rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: border-color .15s; }
.m-zvoleny:hover { border-color: var(--akcent); }
.m-zvoleny .ik { color: var(--seda); width: 1rem; height: 1rem; transition: transform .2s; }
.m-zvoleny[aria-expanded="true"] .ik { transform: rotate(180deg); }
.m-oz { font-weight: 700; }
.m-obch { color: var(--seda); margin-left: .5rem; font-size: .875rem; }
.m-seznam { position: absolute; top: 100%; left: 0; right: 0; margin-top: .25rem; background: #fff; border: 1px solid #e0e0e0; border-radius: .75rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); z-index: 10; overflow: hidden; }
.m-seznam button { width: 100%; padding: .75rem 1rem; border-bottom: 1px solid #f0f0f0; transition: background .15s; }
.m-seznam button:last-child { border-bottom: 0; }
.m-seznam button:hover { background: #fafafa; }
.m-seznam button.zvoleno { background: color-mix(in srgb, var(--akcent) 5%, transparent); color: var(--akcent); }
.m-seznam .m-typ { display: block; font-size: .75rem; color: var(--seda); }
.m-telo { overflow-y: auto; flex: 1; padding: 1.25rem 1.5rem; }
.m-telo > * + * { margin-top: 1.25rem; }
.m-telo h3 { font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.m-telo .m-norma { color: var(--seda); font-size: .875rem; }
.m-tabulky { display: grid; gap: 1.25rem; }
.m-tab h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--seda); margin-bottom: .5rem; }
.m-tab dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; row-gap: .25rem; }
.m-tab dl div { display: flex; justify-content: space-between; gap: .5rem; font-size: .875rem; border-bottom: 1px solid #f0f0f0; padding-bottom: .25rem; }
.m-tab dt { color: color-mix(in srgb, var(--tmava) 60%, transparent); font-weight: 500; }
.m-tab dd { font-weight: 600; text-align: right; }
.m-pouziti { background: #fafafa; border-radius: .75rem; padding: 1rem; }
.m-pouziti > div + div { margin-top: .5rem; }
.m-pouziti span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--seda); }
.m-pouziti p { font-size: .875rem; margin-top: .25rem; }
.m-pouziti .m-pozn { color: color-mix(in srgb, var(--tmava) 70%, transparent); font-style: italic; }
@media (min-width: 768px) { .m-tabulky { grid-template-columns: 1fr 1fr; } }

/* ---------- Výzva k přepnutí jazyka ---------- */
.vyzva-jazyk { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 9999; margin: 0 auto; max-width: 24rem; animation: vyzva .5s cubic-bezier(.34, 1.4, .64, 1); }
@keyframes vyzva { from { opacity: 0; transform: translateY(40px); } }
.vj-karta { background: #fff; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); border: 1px solid #f3f4f6; overflow: hidden; }
.vj-hlava { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem .5rem; font-size: 1.5rem; }
.vj-hlava button { padding: .25rem; border-radius: 999px; color: #9ca3af; transition: background .15s, color .15s; }
.vj-hlava button:hover { background: #f3f4f6; color: #4b5563; }
.vj-hlava .ik { width: 1rem; height: 1rem; }
.vj-telo { padding: 0 1.25rem 1.25rem; }
.vj-otazka { font-size: .875rem; font-weight: 500; color: #1f2937; margin-bottom: 1rem; }
.vj-tlacitka { display: flex; flex-direction: column; gap: .5rem; }
.vj-tlacitka button { width: 100%; padding: .625rem 1rem; border-radius: .75rem; font-size: .875rem; text-align: center; transition: background .15s; }
.vj-ano { background: var(--akcent); color: #fff; font-weight: 600; }
.vj-ano:hover { background: #c82b0f; }
.vj-ne { background: #f3f4f6; color: #374151; font-weight: 500; }
.vj-ne:hover { background: #e5e7eb; }
.vj-tlacitka .vj-jiny { padding: .5rem 1rem; color: #6b7280; font-size: .75rem; }
.vj-seznam { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; max-height: 14rem; overflow-y: auto; }
.vj-seznam button { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: .5rem; font-size: .75rem; font-weight: 500; color: #374151; }
.vj-seznam button:hover { background: #f9fafb; }
.vj-seznam .vlajka { font-size: 1.25rem; }
.vj-zpet { margin-top: .75rem; font-size: .75rem; color: #9ca3af; }

/* ---------- Omezení pohybu ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
