/* ============================================================
   TECHNOLINE s.r.o. - firemni web  (css/web.css)
   Vzhled podle eshop.technoline.cz:
     navy #0A2557, svetlejsi navy #16407F, paticka #0B3C8C,
     tyrkys z loga #00C0FF (jen linky a podtrzeni, ne text na bile),
     odkazy #0B5ED7, plocha #F4F8FD, linky #D8E3EB.
   Pisma: Barlow Condensed (nadpisy), Source Sans 3 (text).
   Predpona trid tl-.
   ============================================================ */

:root {
  --navy:     #0A2557;
  --navy2:    #16407F;
  --navy3:    #0B3C8C;
  --tyrkys:   #00C0FF;
  --modra:    #0B5ED7;
  --modra2:   #1A75AD;
  --svetla:   #EEF3FA;
  --svetla2:  #E8F0FB;
  --inkoust:  #1F2D3A;
  --text2:    #5A6B78;
  --text-na-tmave: #D3E2F7;
  --popis-na-tmave: #9FC2F0;
  --linka:    #D8E3EB;
  --linka2:   #C7D5EA;
  --plocha:   #F4F8FD;
  --bila:     #FFFFFF;
  --zelena:   #157F43;
  --cervena:  #C4262C;
  --oranz:    #D98E04;
  --stin:     0 2px 10px rgba(10, 37, 87, .07);
  --stin-v:   0 14px 32px rgba(10, 37, 87, .14);
  --nadpis:   'Barlow Condensed', 'Arial Narrow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--plocha); color: var(--inkoust);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--modra); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--modra); outline-offset: 2px;
}
h1, h2, h3 { color: var(--navy); line-height: 1.2; }

.tl-sirka { max-width: 1280px; margin: 0 auto; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); }
.tl-preskocit { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: #fff; color: var(--navy); font-weight: 700; border-radius: 0 0 8px 8px; }
.tl-preskocit:focus { top: 0; }

/* ---------------- tlacitka ---------------- */
.tl-tl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 2px solid var(--navy); border-radius: 8px;
  background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.tl-tl:hover { text-decoration: none; background: var(--svetla); }
.tl-tl.je-hlavni { background: var(--navy); color: #fff; }
.tl-tl.je-hlavni:hover { background: var(--navy2); border-color: var(--navy2); }
.tl-tl.je-bile { background: #fff; color: var(--navy); border-color: #fff; }
.tl-tl.je-bile:hover { background: var(--text-na-tmave); border-color: var(--text-na-tmave); }
.tl-tl.je-obrys-bile { background: transparent; color: #fff; border-color: #fff; }
.tl-tl.je-obrys-bile:hover { background: rgba(255, 255, 255, .1); }
.tl-tl.je-velke { min-height: 52px; padding: 0 26px; font-size: 17px; }
.tl-tl svg { flex: none; }

/* ---------------- horni lista ---------------- */
.tl-lista { background: var(--navy); color: var(--text-na-tmave); font-size: 14px; line-height: 1.3; }
.tl-lista-radek { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.tl-lista a { color: var(--text-na-tmave); }
.tl-lista a:hover { color: #fff; }
.tl-lista-odkazy { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.tl-lista-odkazy a.je-silny { color: #fff; font-weight: 700; }
.tl-lista-kontakt { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.tl-lista-kontakt a, .tl-lista-hodiny { display: inline-flex; align-items: center; gap: 7px; }
.tl-lista-kontakt svg { color: var(--popis-na-tmave); }

/* ---------------- hlavicka ---------------- */
.tl-hlavicka { background: #fff; border-bottom: 1px solid var(--linka2); }
.tl-hlavicka-radek { display: flex; align-items: center; gap: 20px 28px; padding-top: 16px; padding-bottom: 16px; }
.tl-logo { flex: none; display: block; }
.tl-logo img { display: block; height: 42px; width: auto; }
.tl-hlavicka-kontakty { flex: 1 1 auto; display: flex; justify-content: flex-end; gap: 6px 22px; flex-wrap: wrap; }
.tl-hl-tel { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; min-height: 44px; }
.tl-hl-tel:hover { text-decoration: none; }
.tl-hl-tel:hover strong { color: var(--modra); }
.tl-hl-tel svg { color: var(--modra); flex: none; }
.tl-hl-tel span { display: flex; flex-direction: column; line-height: 1.15; }
.tl-hl-tel small { font-size: 13px; color: #4A5F82; }
.tl-hl-tel strong { font-size: 17px; font-weight: 700; white-space: nowrap; }
.tl-hl-poptavka { flex: none; }
.tl-menu-tl { display: none; }

/* ---------------- menu (styl A lista e-shopu) ---------------- */
.tl-menu { background: var(--navy); box-shadow: inset 0 -3px 0 var(--tyrkys); position: relative; z-index: 50; }
.tl-menu-radek { display: flex; margin: 0 auto; list-style: none; padding-top: 0; padding-bottom: 0; }
.tl-menu-radek li { flex: 1 1 auto; }
.tl-menu-radek a {
  display: flex; flex-direction: column; height: 100%; padding: 11px 12px 15px; color: #fff; text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, .14); line-height: 1.25; transition: background .15s;
}
.tl-menu-radek li:first-child a { border-left: 1px solid rgba(255, 255, 255, .14); }
.tl-menu-radek strong { font-family: var(--nadpis); font-weight: 600; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; }
.tl-menu-radek span { font-size: 13px; color: var(--popis-na-tmave); }
.tl-menu-radek a:hover { background: var(--navy2); box-shadow: inset 0 -3px 0 var(--tyrkys); }
.tl-menu-radek a[aria-current="page"] { background: #fff; color: var(--navy); box-shadow: inset 0 3px 0 var(--tyrkys); }
.tl-menu-radek a[aria-current="page"] span { color: var(--text2); }
.tl-menu-eshop a { background: rgba(0, 192, 255, .12); }
.tl-menu-eshop strong { white-space: nowrap; }
.tl-menu-eshop strong::after { content: ' →'; color: var(--tyrkys); }

/* ---------------- obecne casti stranky ---------------- */
main { display: block; padding-bottom: 8px; }
.tl-stitek { display: inline-block; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--modra2); }
.tl-sekce { margin: 0 auto; padding-top: clamp(36px, 5vw, 64px); }
.tl-sekce-hlava { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-end; justify-content: space-between; margin: 0 0 22px; }
.tl-sekce-hlava h2, .tl-nadpis {
  margin: 0; font-family: var(--nadpis); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; color: var(--navy);
}
.tl-sekce-hlava p { margin: 6px 0 0; max-width: 62ch; color: var(--text2); font-size: 17px; }
.tl-odkaz-dal { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* drobecky */
.tl-drobecky { font-size: 14px; color: var(--text2); padding: 16px 0 14px; }
.tl-drobecky a { color: var(--text2); }
.tl-drobecky a:hover { color: var(--modra); }
.tl-drobecky span { margin: 0 7px; opacity: .55; }

/* zahlavi stranky - stejne jako Kontaktni informace na e-shopu */
.tl-hlava {
  position: relative; overflow: hidden; padding: clamp(26px, 4vw, 40px) clamp(22px, 4vw, 40px); border-radius: 14px; color: #fff;
  background: var(--navy); background-image: linear-gradient(135deg, #0A2557 0%, #16407F 100%);
}
.tl-hlava::after {   /* jemna technicka mrizka vpravo */
  content: ''; position: absolute; inset: 0 0 0 45%; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(159, 194, 240, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 194, 240, .13) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.tl-hlava > * { position: relative; z-index: 1; }
.tl-hlava .tl-stitek { color: var(--popis-na-tmave); }
.tl-hlava h1 { margin: 0 0 12px; color: #fff; font-family: var(--nadpis); font-weight: 700; font-size: clamp(34px, 4.6vw, 54px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.tl-hlava p { margin: 0; max-width: 760px; font-size: 18px; color: #E3ECF8; }
.tl-hlava-akce { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------------- uvod: hero ---------------- */
.tl-hero {
  position: relative; overflow: hidden; margin-top: 24px; border-radius: 16px; color: #fff;
  background: var(--navy); background-image: linear-gradient(120deg, #0A2557 0%, #10316B 55%, #16407F 100%);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center;
}
.tl-hero-text { padding: clamp(30px, 5vw, 60px) clamp(22px, 4vw, 52px); position: relative; z-index: 1; }
.tl-hero .tl-stitek { color: var(--popis-na-tmave); }
.tl-hero h1 { margin: 0 0 16px; color: #fff; font-family: var(--nadpis); font-weight: 700; font-size: clamp(40px, 5.6vw, 70px); line-height: .98; text-transform: uppercase; letter-spacing: .005em; }
.tl-hero h1 em { font-style: normal; color: var(--tyrkys); }
.tl-hero-text > p { margin: 0 0 26px; max-width: 58ch; font-size: 18.5px; line-height: 1.55; color: var(--text-na-tmave); }
.tl-hero-fakta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(159, 194, 240, .25); list-style: none; }
.tl-hero-fakta li { display: flex; flex-direction: column; line-height: 1.2; }
.tl-hero-fakta strong { font-family: var(--nadpis); font-size: 34px; font-weight: 700; color: #fff; }
.tl-hero-fakta span { font-size: 14px; color: var(--popis-na-tmave); }
.tl-hero-obr { position: relative; align-self: stretch; min-height: 340px; }
.tl-hero-obr svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------------- rychle kontakty (jako e-shop) ---------------- */
.tl-rychle { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 18px; }
.tl-dlazdice {
  display: flex; gap: 14px; align-items: flex-start; padding: 17px 19px; background: #fff;
  border: 1px solid var(--linka); border-radius: 12px; color: var(--inkoust); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
a.tl-dlazdice:hover { text-decoration: none; border-color: var(--modra2); box-shadow: var(--stin); }
.tl-dlazdice svg { flex: none; margin-top: 2px; color: var(--modra); }
.tl-dlazdice span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.tl-dlazdice small { font-size: 13px; color: var(--text2); }
.tl-dlazdice strong { font-size: 17px; color: var(--navy); }
.tl-dlazdice em { font-style: normal; font-size: 13px; color: var(--text2); }

/* ---------------- karty sluzeb ---------------- */
.tl-karty { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tl-karta {
  position: relative; display: flex; flex-direction: column; padding: 24px 22px 20px; background: #fff;
  border: 1px solid var(--linka); border-top: 4px solid var(--navy); border-radius: 12px;
  color: var(--inkoust); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.tl-karta:hover { text-decoration: none; border-top-color: var(--tyrkys); box-shadow: var(--stin-v); transform: translateY(-2px); }
.tl-karta-ikona {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px;
  border-radius: 12px; background: var(--svetla); color: var(--navy);
}
a.tl-karta:hover .tl-karta-ikona { background: var(--navy); color: #fff; }
.tl-karta h3 { margin: 0 0 6px; font-family: var(--nadpis); font-weight: 700; font-size: 25px; text-transform: uppercase; letter-spacing: .01em; }
.tl-karta p { margin: 0 0 12px; color: var(--text2); font-size: 15.5px; }
.tl-karta ul { margin: 0 0 16px; padding: 0; list-style: none; font-size: 15px; }
.tl-karta li { position: relative; padding: 5px 0 5px 22px; border-top: 1px solid #EDF2F7; }
.tl-karta li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 2px; background: var(--tyrkys); }
.tl-karta-dal { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--modra); }

/* ---------------- kroky ---------------- */
.tl-kroky { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: krok; list-style: none; margin: 0; padding: 0; }
.tl-krok { padding: 20px 20px 18px; background: #fff; border: 1px solid var(--linka); border-radius: 12px; }
.tl-krok::before {
  counter-increment: krok; content: counter(krok);
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 10px;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px;
}
.tl-krok:last-child::before { background: var(--zelena); }
.tl-krok h3 { margin: 0 0 4px; font-size: 18px; }
.tl-krok p { margin: 0; font-size: 15px; color: var(--text2); }

/* ---------------- reference ---------------- */
.tl-ref-mrizka { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.tl-ref {
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--linka); border-radius: 12px;
  color: var(--inkoust); text-decoration: none; transition: box-shadow .15s, border-color .15s; scroll-margin-top: 20px;
}
.tl-ref:target { border-color: var(--tyrkys); box-shadow: 0 0 0 3px rgba(0, 192, 255, .3); }
a.tl-ref:hover, button.tl-ref:hover { text-decoration: none; box-shadow: var(--stin-v); border-color: var(--linka2); }
.tl-ref-obr { position: relative; aspect-ratio: 4 / 3; background: var(--svetla); overflow: hidden; }
.tl-ref-obr img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tl-ref:hover .tl-ref-obr img { transform: scale(1.03); }
.tl-ref-bez { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #9DB2CC; }
.tl-ref-pocet { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; background: rgba(10, 37, 87, .85); color: #fff; font-size: 13px; font-weight: 600; }
.tl-ref-telo { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tl-ref h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; }
.tl-ref p { margin: 0; color: var(--text2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tl-ref-dal { margin-top: 12px; font-weight: 700; color: var(--modra); font-size: 15px; }
button.tl-ref { padding: 0; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.tl-prazdno { padding: 26px 24px; background: #fff; border: 1px dashed var(--linka2); border-radius: 12px; color: var(--text2); }

/* galerie reference (dialog) */
.tl-galerie { width: min(1100px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--inkoust); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.tl-galerie::backdrop { background: rgba(6, 20, 48, .78); }
.tl-gal-hlava { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 22px 10px; }
.tl-gal-hlava h2 { margin: 0; font-family: var(--nadpis); font-size: 30px; text-transform: uppercase; }
.tl-gal-zavrit { flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--svetla); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tl-gal-zavrit:hover { background: var(--linka); }
.tl-gal-telo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; padding: 6px 22px 22px; }
.tl-gal-velky { position: relative; background: #0d1a33; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; }
.tl-gal-velky img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tl-gal-sipka { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tl-gal-sipka[data-smer="-1"] { left: 10px; } .tl-gal-sipka[data-smer="-1"] svg { transform: scaleX(-1); }
.tl-gal-sipka[data-smer="1"] { right: 10px; }
.tl-gal-nahledy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tl-gal-nahledy button { width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--svetla); }
.tl-gal-nahledy button[aria-current="true"] { border-color: var(--tyrkys); }
.tl-gal-nahledy img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-gal-popis { font-size: 15.5px; overflow: auto; max-height: 60vh; }
.tl-gal-popis p:first-child { margin-top: 0; }

/* ---------------- pas pres celou sirku (jako "O nas" na e-shopu) ---------------- */
.tl-pas { margin-top: clamp(40px, 6vw, 72px); background: var(--navy); color: #fff; }
.tl-pas-vnitrek { display: flex; flex-wrap: wrap; gap: 40px; padding-top: clamp(34px, 5vw, 64px); padding-bottom: clamp(34px, 5vw, 64px); }
.tl-pas-vnitrek > div { flex: 1 1 360px; min-width: 0; }
.tl-pas .tl-stitek { color: #9CCBFF; }
.tl-pas h2 { margin: 6px 0 16px; color: #fff; font-family: var(--nadpis); font-weight: 700; font-size: clamp(34px, 4.5vw, 52px); line-height: 1; text-transform: uppercase; }
.tl-pas p { margin: 0 0 16px; font-size: 18px; line-height: 1.55; color: var(--text-na-tmave); }
.tl-pas h3 { margin: 0 0 12px; color: #fff; font-family: var(--nadpis); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .03em; }
.tl-pas-seznam { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; }
.tl-pas-seznam li { border-top: 1px solid #3F68B0; }
.tl-pas-seznam a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; color: #fff; font-size: 17px; text-decoration: none; }
.tl-pas-seznam a:hover span:first-child { text-decoration: underline; }
.tl-pas-seznam a span:last-child { color: #9CCBFF; }
.tl-pas-svetly { background: var(--svetla2); color: var(--navy); margin-top: 0; }
.tl-pas-svetly .tl-pas-vnitrek { padding-top: 28px; padding-bottom: 28px; align-items: center; gap: 16px 32px; }

/* ---------------- obsah stranky sluzby ---------------- */
.tl-dva { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; margin-top: 28px; }
.tl-text { font-size: 17px; line-height: 1.7; }
.tl-text > *:first-child { margin-top: 0; }
.tl-text h2 { margin: 34px 0 12px; font-family: var(--nadpis); font-weight: 700; font-size: 32px; text-transform: uppercase; letter-spacing: .01em; }
.tl-text h3 { margin: 24px 0 8px; font-size: 19px; }
.tl-text p { margin: 0 0 14px; max-width: 75ch; }
.tl-text.je-uvodni > p:first-child { font-size: 19px; color: var(--navy); }
.tl-co-delame { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 18px 0 8px; padding: 0; list-style: none; }
.tl-co-delame li { display: flex; gap: 12px; padding: 16px 16px; background: #fff; border: 1px solid var(--linka); border-radius: 12px; font-size: 15.5px; line-height: 1.5; }
.tl-co-delame li > svg { flex: none; margin-top: 2px; color: var(--zelena); }
.tl-co-delame strong { display: block; color: var(--navy); font-size: 16.5px; }
.tl-co-delame span { color: var(--text2); }

.tl-bok { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
.tl-box { padding: 22px 22px 20px; background: #fff; border: 1px solid var(--linka); border-radius: 12px; }
.tl-box.je-navy { background: var(--navy); border-color: var(--navy); color: var(--text-na-tmave); background-image: linear-gradient(160deg, #0A2557, #16407F); }
.tl-box h2, .tl-box h3 { margin: 0 0 6px; font-size: 20px; }
.tl-box.je-navy h2, .tl-box.je-navy h3 { color: #fff; }
.tl-box p { margin: 0 0 14px; font-size: 15px; }
.tl-box-tel { display: block; margin: 0 0 4px; color: #fff; font-family: var(--nadpis); font-size: 32px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.tl-box.je-navy .tl-box-tel:hover { color: var(--tyrkys); text-decoration: none; }
.tl-box-mail { display: inline-block; margin-bottom: 16px; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.tl-box .tl-tl { width: 100%; }
.tl-box-seznam { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.tl-box-seznam li { border-top: 1px solid #EDF2F7; }
.tl-box-seznam a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; color: var(--navy); font-weight: 600; }
.tl-box-seznam a[aria-current="page"] { color: var(--modra); }

/* texty z administrace (i prevzate ze stareho webu) */
.tl-text ul, .tl-text ol { margin: 0 0 14px; padding-left: 22px; max-width: 75ch; }
.tl-text li { margin: 4px 0; }
.tl-text a { text-decoration: underline; }
.tl-text img { max-width: 100%; height: auto; border-radius: 8px; }
.tl-text table { border-collapse: collapse; margin: 0 0 16px; font-size: 15px; max-width: 100%; }
.tl-text th, .tl-text td { border: 1px solid var(--linka); padding: 7px 10px; text-align: left; vertical-align: top; }
.tl-text th { background: var(--svetla); color: var(--navy); }
.tl-text blockquote { margin: 0 0 14px; padding: 10px 16px; border-left: 4px solid var(--tyrkys); background: #fff; }
.tl-uvodni-text { margin: 22px 0 0; padding: 22px 24px; background: #fff; border: 1px solid var(--linka); border-radius: 12px; }
.tl-adresa-text { margin-top: 14px; font-size: 15.5px; }
.tl-box.tl-text h3 { margin-top: 0; font-size: 22px; }
.tl-pas-text p { margin: 0 0 16px; font-size: 18px; line-height: 1.55; color: var(--text-na-tmave); }
.tl-pas-text a { color: #fff; }

/* ---------------- kontakty ---------------- */
.tl-oddeleni { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tl-osoba { padding: 20px 21px; background: #fff; border: 1px solid var(--linka); border-top: 4px solid var(--navy); border-radius: 12px; }
.tl-osoba.je-eshop { border-top-color: var(--tyrkys); }
.tl-osoba strong { display: block; font-size: 18px; color: var(--navy); }
.tl-osoba p { margin: 2px 0 12px; font-size: 14.5px; color: var(--text2); }
.tl-osoba a { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 15.5px; font-weight: 600; }
.tl-osoba a svg { color: var(--modra2); }
.tl-kde { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; }
.tl-adresa { padding: 24px 26px; background: #fff; border: 1px solid var(--linka); border-radius: 12px; }
.tl-adresa h3 { margin: 0 0 10px; font-size: 20px; }
.tl-adresa address { font-style: normal; font-size: 17px; line-height: 1.6; margin: 0 0 16px; }
.tl-adresa-akce { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tl-adresa-akce .tl-tl { min-height: 42px; padding: 0 16px; font-size: 15px; }
.tl-fakturacni { width: 100%; border-collapse: collapse; font-size: 15px; }
.tl-fakturacni th { text-align: left; font-weight: 600; color: var(--text2); padding: 7px 12px 7px 0; width: 120px; vertical-align: top; }
.tl-fakturacni td { padding: 7px 0; border-top: 1px solid #EDF2F7; }
.tl-fakturacni tr:first-child td, .tl-fakturacni tr:first-child th { border-top: 0; }
.tl-fakturacni th { border-top: 1px solid #EDF2F7; }
.tl-mapa { min-height: 360px; border-radius: 12px; overflow: hidden; border: 1px solid var(--linka); background: var(--svetla); }
.tl-mapa iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.tl-poznamka { margin-top: 12px; padding: 11px 14px; border-left: 4px solid var(--oranz); background: #FFF8E8; border-radius: 0 8px 8px 0; font-size: 14.5px; }

/* ---------------- formular ---------------- */
.tl-form-obal { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; scroll-margin-top: 16px; }
.tl-form-karta { padding: 26px 28px; background: #fff; border: 1px solid var(--linka); border-radius: 12px; }
.tl-form-karta > h2 { margin: 0 0 4px; font-family: var(--nadpis); font-size: 34px; text-transform: uppercase; }
.tl-form-karta > p { margin: 0 0 20px; color: var(--text2); }
.tl-pole-radek { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tl-pole { display: block; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.tl-pole > span, .tl-pole > legend { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 600; color: var(--navy); padding: 0; }
.tl-pole input[type=text], .tl-pole input[type=email], .tl-pole input[type=tel], .tl-pole textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 16px; color: var(--inkoust);
  border: 1px solid #C5D3DE; border-radius: 8px; background: #fff;
}
.tl-pole textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.tl-pole input:focus, .tl-pole textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 37, 87, .14); }
.tl-pole.je-chyba input, .tl-pole.je-chyba textarea { border-color: var(--cervena); background: #FFFBFB; }
.tl-pole-chyba { display: block; margin-top: 5px; font-size: 14px; color: var(--cervena); font-weight: 600; }
.tl-nutne { color: var(--cervena); }
.tl-temata > div { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-temata label { position: relative; cursor: pointer; }
.tl-temata input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tl-temata label span { display: inline-block; padding: 8px 14px; border: 2px solid var(--linka); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--navy); background: #fff; }
.tl-temata label:hover span { border-color: var(--modra2); }
.tl-temata input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.tl-temata input:focus-visible + span { outline: 3px solid var(--modra); outline-offset: 2px; }
.tl-form-pata { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: flex-end; justify-content: space-between; }
.tl-priklad { flex: 1 1 260px; margin-bottom: 0; }
.tl-priklad input { max-width: 120px; letter-spacing: .1em; font-weight: 700; }
.tl-gdpr { margin: 14px 0 0; font-size: 13.5px; color: var(--text2); }
.tl-past { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.tl-hotovo { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; background: #fff; border: 1px solid var(--linka); border-top: 4px solid var(--zelena); border-radius: 12px; }
.tl-hotovo-znak { flex: none; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--zelena); color: #fff; }
.tl-hotovo h3 { margin: 4px 0 6px; font-size: 21px; }
.tl-hotovo p { margin: 0; color: var(--text2); }
.tl-chybovy { margin: 0 0 18px; padding: 13px 16px; border: 1px solid #F0C4C6; border-left: 4px solid var(--cervena); border-radius: 0 10px 10px 0; background: #FEF6F6; color: #8E1C21; font-weight: 600; }

/* ---------------- dotace ---------------- */
.tl-dotace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tl-dotace-logo { padding: 24px; background: #fff; border: 1px solid var(--linka); border-radius: 12px; text-align: center; }

/* ---------------- paticka (jako e-shop) ---------------- */
.tl-paticka { margin-top: clamp(40px, 6vw, 72px); background: var(--navy3); color: var(--text-na-tmave); }
.str-uvod .tl-paticka { margin-top: 0; }
.tl-paticka-mrizka { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: 24px; }
.tl-paticka a { color: var(--text-na-tmave); }
.tl-paticka a:hover { color: #fff; }
.tl-paticka ul { margin: 0; padding: 0; list-style: none; }
.tl-paticka li a { display: block; padding: 5px 0; }
.tl-pat-firma { display: block; color: #fff; font-family: var(--nadpis); font-size: 24px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.tl-paticka .tl-pat-tel { display: block; color: #fff; font-weight: 700; font-size: 18px; padding: 4px 0; }
.tl-paticka .tl-pat-mail { display: block; color: #fff; padding: 4px 0; }
.tl-pat-adresa { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #B9CDEA; }
.tl-pat-nadpis { display: block; color: #fff; font-size: 17px; margin-bottom: 10px; }
.tl-pat-oddeleni li { display: flex; flex-direction: column; padding: 5px 0; line-height: 1.3; }
.tl-pat-oddeleni li span { font-size: 13.5px; color: #B9CDEA; }
.tl-pat-oddeleni li a { padding: 0; font-weight: 700; color: #fff; }
.tl-pat-text { margin: 0 0 12px; font-size: 14.5px; color: #B9CDEA; }
.tl-paticka .tl-pat-eshop { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; background: #fff; color: var(--navy); font-weight: 700; border-radius: 8px; }
.tl-paticka .tl-pat-eshop:hover { background: var(--text-na-tmave); color: var(--navy); text-decoration: none; }
.tl-paticka .tl-pat-dotace { display: block; margin-top: 14px; font-size: 14px; color: #B9CDEA; }
.tl-paticka-spodek { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #9EB6DA; }

/* ---------------- responzivita ---------------- */
@media (max-width: 1180px) {
  .tl-hlavicka-kontakty .tl-hl-tel:nth-child(n+2) { display: none; }
  .tl-menu-radek strong { font-size: 17px; }
  .tl-menu-radek span { display: none; }
  .tl-menu-radek a { padding: 13px 10px 16px; justify-content: center; }
}
@media (max-width: 980px) {
  .tl-hero { grid-template-columns: 1fr; }
  .tl-hero-obr { position: absolute; inset: 0; opacity: .12; min-height: 0; }
  .tl-dva { grid-template-columns: 1fr; }
  .tl-bok { position: static; }
  .tl-kde, .tl-form-obal, .tl-dotace { grid-template-columns: 1fr; }
  .tl-gal-telo { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .tl-hl-poptavka { display: none; }
  .tl-menu-tl {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 46px; padding: 0 14px;
    border: 2px solid var(--navy); border-radius: 8px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer;
  }
  .tl-hlavicka-kontakty { flex: 0 1 auto; margin-left: auto; }
  .tl-menu { display: none; }
  .tl-menu.je-otevrene { display: block; }
  .tl-menu-radek { flex-direction: column; padding-top: 6px; padding-bottom: 9px; }
  .tl-menu-radek a, .tl-menu-radek li:first-child a { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 12px 4px; }
  .tl-menu-radek span { display: inline; }
  .tl-menu-radek a[aria-current="page"] { padding-left: 12px; padding-right: 12px; border-radius: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .tl-lista-kontakt { display: none; }
  .tl-lista-odkazy { gap: 4px 16px; font-size: 13.5px; }
  .tl-hlavicka-radek { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .tl-logo img { height: 34px; }
  .tl-hlavicka-kontakty { display: none; }
  .tl-hero { margin-top: 14px; border-radius: 12px; }
  .tl-hero-text > p { font-size: 17px; }
  .tl-hero-fakta strong { font-size: 28px; }
  .tl-hlava { border-radius: 12px; }
  .tl-hlava p { font-size: 16.5px; }
  .tl-hlava-akce .tl-tl, .tl-hero .tl-tl { flex: 1 1 100%; }
  .tl-pole-radek { grid-template-columns: 1fr; }
  .tl-form-karta { padding: 20px 18px; }
  .tl-adresa { padding: 20px 18px; }
  .tl-text { font-size: 16.5px; }
  .tl-form-pata .tl-tl { width: 100%; }
}
@media print {
  .tl-lista, .tl-menu, .tl-menu-tl, .tl-hl-poptavka, .tl-bok .tl-tl, .tl-form-obal, .tl-mapa { display: none !important; }
  .tl-hero, .tl-hlava, .tl-pas, .tl-paticka { background: #fff !important; color: #000 !important; }
  .tl-hero h1, .tl-hlava h1, .tl-pas h2 { color: #000 !important; }
}

/* ---------- Oznámení nad hlavičkou (administrace → Nastavení) ---------- */
.tl-oznameni { background: #E8F1FD; color: var(--navy); border-bottom: 1px solid #C9DCF5; font-size: 15px; line-height: 1.45; }
.tl-oznameni.je-pozor { background: #FFF3DC; border-bottom-color: #F0D29A; color: #5C3B00; }
.tl-oznameni-radek { display: flex; align-items: flex-start; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.tl-oznameni .ik, .tl-oznameni svg { flex: none; margin-top: 1px; }
.tl-oznameni p { margin: 0; }
.tl-oznameni a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ---------- Sociální sítě v patičce ---------- */
.tl-pat-site { display: flex; gap: 8px; margin-top: 16px; }
.tl-pat-site a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; }
.tl-pat-site a:hover { background: rgba(255,255,255,.18); }
.tl-mapa-odkaz { display: grid; place-items: center; min-height: 360px; font-weight: 700; }
.tl-mapa .tl-blok { min-height: 330px; margin: 14px; }
