/* www.net192.cz — responzivní styl (mobil nejdřív). Barvy převzaté z původní grafiky. */
:root {
  --modra: #287AB2;
  --modra-tmava: #256999;
  --modra-hlav-top: #297EB7;
  --noc: #102F43;
  --akcent: #187CA6;
  --akcent-seda: #14688B;
  --akcent-puvodni: #24A8DF;
  --text: #302C2A;
  --seda-text: #5F6368;
  --seda-50: #F7F7F7;
  --seda-200: #E0E0E0;
  --okraj: #CCCCCC;
  --pismo: Calibri, Carlito, "Segoe UI", Candara, "Helvetica Neue", Arial, system-ui, sans-serif;
  --sirka: 1100px;
  --radius: 10px;
  --stin: 0 2px 10px rgba(16, 47, 67, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--pismo); font-size: 1.0625rem; line-height: 1.55;
  color: var(--text); background: #fff; color-scheme: light;
}
img { max-width: 100%; height: auto; }
picture { display: contents; }
picture > source { display: none; } /* jinak by <source> zabíral buňku v mřížce */
a { color: var(--modra); }
a:hover { color: var(--modra-tmava); }
h1, h2, h3 { line-height: 1.2; }
:focus-visible { outline: 3px solid var(--noc); outline-offset: 2px; }
.hlavicka :focus-visible, .cta :focus-visible { outline-color: #fff; }
.wrap { max-width: var(--sirka); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--modra-tmava); padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ------------------------------------------------------------ hlavička a menu */
.hlavicka {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(var(--modra-hlav-top), var(--modra-tmava));
  box-shadow: 0 3px 6px rgba(16, 47, 67, .35);
}
.hlavicka-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; position: relative; }
.logo { display: block; line-height: 0; }
.logo img { height: 44px; width: auto; }
.menu-tl {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  font: inherit; font-size: 1rem; color: #fff; background: transparent;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px; cursor: pointer;
  text-shadow: 1px 1px var(--noc);
}
.menu-tl-car, .menu-tl-car::before, .menu-tl-car::after {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s;
}
.menu-tl-car { position: relative; }
.menu-tl-car::before, .menu-tl-car::after { content: ""; position: absolute; left: 0; }
.menu-tl-car::before { top: -6px; } .menu-tl-car::after { top: 6px; }
.menu-tl[aria-expanded="true"] .menu-tl-car { background: transparent; }
.menu-tl[aria-expanded="true"] .menu-tl-car::before { transform: translateY(6px) rotate(45deg); }
.menu-tl[aria-expanded="true"] .menu-tl-car::after { transform: translateY(-6px) rotate(-45deg); }

.menu { display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--modra-tmava); box-shadow: 0 8px 16px rgba(16, 47, 67, .35);
  max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
.menu.otevreno { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a, .sub-tl {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 24px; min-height: 48px; color: #fff; text-decoration: none;
  font: inherit; font-size: 1.05rem; text-shadow: 1px 1px var(--noc);
  background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .12); cursor: pointer; text-align: left;
}
.menu a:hover, .sub-tl:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.menu a[aria-current="page"] { box-shadow: inset 4px 0 var(--akcent-puvodni); }
.chev { width: 22px; height: 22px; fill: currentColor; transition: transform .2s; }
.sub-tl[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub { display: none; background: rgba(0, 0, 0, .15); }
.sub-tl[aria-expanded="true"] + .sub { display: block; }
.sub a { padding-left: 44px; }
.menu a:focus-visible, .sub-tl:focus-visible { outline-offset: -4px; }

@media (min-width: 920px) {
  .hlavicka-in { min-height: 74px; }
  .logo img { height: 55px; }
  .menu-tl { display: none; }
  .menu { display: block; position: static; background: none; box-shadow: none; max-height: none; overflow: visible; }
  .menu > ul { display: flex; }
  .menu > ul > li { position: relative; }
  .menu > ul > li > a, .sub-tl {
    min-height: 74px; padding: 0 20px; border: 0; font-size: 1rem; gap: 4px; justify-content: center;
  }
  .menu > ul > li > a:hover, .sub-tl:hover { background: var(--modra); }
  .menu > ul > li > a[aria-current="page"], .ma-sub.je-aktivni > .sub-tl { box-shadow: inset 0 -4px var(--akcent-puvodni); }
  .sub {
    position: absolute; top: 100%; left: 0; min-width: 250px; padding: 6px 0;
    background: #F5F5F5; box-shadow: 5px 5px 5px var(--noc); border-radius: 0 0 6px 6px;
  }
  .sub a { padding: 10px 22px; min-height: 0; color: #256A99; text-shadow: none; border: 0; }
  .sub a:hover { color: #303334; background: #fff; text-decoration: underline; }
  .sub a[aria-current="page"] { box-shadow: inset 4px 0 var(--modra); font-weight: 700; }
  .sub :focus-visible { outline-color: var(--noc); }
  /* rámeček nad 4px pruhem aktuální stránky, aby ho nezakryl */
  .menu > ul > li > a:focus-visible, .sub-tl:focus-visible { outline-offset: -7px; }
}
@media (min-width: 920px) and (hover: hover) {
  .ma-sub:not(.zavreno):hover > .sub { display: block; }
}

/* ------------------------------------------------------------ tlačítka */
.tl {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent;
}
.tl-plny { background: var(--modra); color: #fff; }
.tl-plny:hover { background: var(--modra-tmava); color: #fff; }
.tl-obrys { border-color: var(--modra); color: var(--modra); }
.tl-obrys:hover { background: var(--modra); color: #fff; }

/* ------------------------------------------------------------ karusel (úvod) */
.slider { position: relative; background: #fff; padding-bottom: 34px; }
.slider::after { /* původní stín pod karuselem */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 10px; height: 26px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 70%);
}
.slides {
  list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; gap: 18px; align-items: center; padding: 24px 6px 8px; }
.slide-foto { order: -1; text-align: center; }
.slide-foto img { max-height: 190px; width: auto; }
.slide-nadpis { margin: 0 0 18px; color: #4A5560; font-size: clamp(1.75rem, 6vw, 2.9rem); line-height: 1.15; }
.slide-nadpis span { display: block; }
.slide-nadpis span:first-child { color: var(--modra-tmava); }
.slider-ovladani { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; position: relative; z-index: 1; }
.sl-tl {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: #fff; color: var(--modra); border: 1px solid var(--okraj); border-radius: 50%;
}
.sl-tl svg { width: 26px; height: 26px; fill: currentColor; }
.sl-tl:hover { background: var(--modra); color: #fff; border-color: var(--modra); }
.sl-pauza svg:last-child, .slider.stoji .sl-pauza svg:first-child { display: none; }
.slider.stoji .sl-pauza svg:last-child { display: block; }
.tecky { display: flex; }
.tecka { width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.tecka::before { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--seda-text); }
.tecka[aria-current="true"]::before { background: var(--modra); box-shadow: none; transform: scale(1.25); }

@media (min-width: 760px) {
  .slide { grid-template-columns: 1fr 1fr; min-height: 360px; padding: 20px 0; }
  .slide-foto { order: 0; }
  .slide-foto img { max-height: 320px; }
  .slide-text { padding-left: 8%; }
  .slider-ovladani { margin-top: 0; }
}

/* ------------------------------------------------------------ dlaždice služeb */
.sluzby { background: linear-gradient(var(--seda-200), var(--seda-50) 40px); padding: 28px 0 36px; }
.dlazdice-mrizka { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dlazdice {
  position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--seda-200); border-radius: var(--radius); padding: 14px;
  transition: box-shadow .2s, transform .2s;
}
.dlazdice:hover { box-shadow: var(--stin); transform: translateY(-2px); }
.dlazdice-obr { width: 88px; height: 88px; object-fit: contain; border-radius: 6px; }
.dlazdice h3 { margin: 2px 0 6px; font-size: 1.4rem; font-weight: 400; }
.dlazdice h3 a { color: var(--text); text-decoration: none; }
.dlazdice h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.dlazdice:hover h3 a { color: var(--modra); }
.dlazdice ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; color: var(--seda-text); }
.dlazdice li::before { content: "– "; color: var(--akcent-puvodni); }
@media (min-width: 620px) { .dlazdice-mrizka { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .dlazdice-mrizka { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .dlazdice { grid-template-columns: 110px 1fr; }
  .dlazdice-obr { width: 110px; height: 110px; }
}

/* ------------------------------------------------------------ o společnosti + osoby */
.o-nas { padding: 44px 0 52px; }
.o-nas h2, .sekce-nadpis { font-size: clamp(1.7rem, 4vw, 2rem); margin: 0; font-weight: 400; }
.podnadpis { color: var(--akcent); font-size: 1.3rem; margin: 2px 0 14px; }
.onas-text { max-width: 70ch; letter-spacing: .02em; line-height: 1.8; }
.onas-text p { margin: 0 0 .4em; }
.osoby { display: grid; gap: 18px; margin-top: 28px; }
.osoba {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 16px;
  border: 1px solid var(--seda-200); border-radius: var(--radius); background: #fff;
}
.osoba-foto { width: 104px; height: 104px; object-fit: cover; border-radius: 8px; flex: none; }
.osoba h3 { margin: 0; font-size: 1.25rem; font-weight: 400; }
.osoba-role { margin: 0 0 8px; color: var(--modra); }
.osoba-kontakt { margin: 0; display: grid; gap: 4px; }
.osoba-kontakt a, .pat-akce a, .odkaz-ikona { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 32px; overflow-wrap: anywhere; }
.osoba-kontakt a:hover, .pat-akce a:hover, .odkaz-ikona:hover { text-decoration: underline; }
@media (min-width: 720px) { .osoba-foto { width: 130px; height: 130px; } }
@media (min-width: 900px) { .osoby { grid-template-columns: repeat(2, 1fr); } }
.osoba-kontakt a[href^="tel:"] { white-space: nowrap; }

/* ------------------------------------------------------------ podstránky */
.stranka-hlava { background: linear-gradient(var(--seda-200), var(--seda-50)); padding: 18px 0 24px; }
.stranka-hlava h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); margin: .15em 0 .1em; }
.perex { color: var(--akcent-seda); font-size: 1.25rem; margin: 0; line-height: 1.35; }
.drobky ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .9rem; color: var(--seda-text); }
.drobky li + li::before { content: "›"; margin: 0 8px; }
.drobky a { text-decoration: none; color: var(--akcent-seda); }
.drobky a:hover { text-decoration: underline; }
.obsah-mrizka { display: grid; gap: 24px; padding-top: 28px; padding-bottom: 36px; }
.obsah-obr { text-align: center; }
.obsah-obr img { max-width: min(100%, 300px); max-height: 180px; width: auto; border-radius: 6px; }
.blok h2 { font-size: 1.2rem; margin: 1.5em 0 .35em; }
.blok:first-child h2 { margin-top: 0; }
.odrazky { list-style: none; margin: 0; padding: 0; letter-spacing: .01em; }
.odrazky li { position: relative; padding-left: 1.2em; margin: .35em 0; }
.odrazky li::before { content: "–"; position: absolute; left: 0; color: var(--akcent-puvodni); font-weight: 700; }
.odrazky ul { list-style: none; margin: .3em 0; padding: 0; }
.cta {
  margin-top: 32px; padding: 22px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--modra-hlav-top), var(--modra-tmava));
}
.cta h2 { margin: 0 0 .25em; font-size: 1.3rem; }
.cta p { margin: 0 0 12px; }
.cta-akce { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.cta .tl-plny { background: #fff; color: var(--modra-tmava); }
.cta .tl-plny:hover { background: var(--seda-50); }
.cta .tl-obrys { border-color: rgba(255, 255, 255, .85); color: #fff; }
.cta .tl-obrys:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.dalsi-sluzby { background: var(--seda-50); padding: 28px 0 36px; border-top: 1px solid var(--seda-200); }
.dalsi-sluzby h2 { font-size: 1.3rem; margin: 0 0 14px; font-weight: 400; }
.dalsi-sluzby ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dalsi-sluzby a {
  display: flex; align-items: center; gap: 12px; padding: 8px; min-height: 60px; text-decoration: none;
  color: var(--text); background: #fff; border: 1px solid var(--seda-200); border-radius: 8px;
}
.dalsi-sluzby a:hover { border-color: var(--modra); color: var(--modra); }
.dalsi-sluzby img { width: 44px; height: 44px; object-fit: contain; }
@media (min-width: 860px) {
  .obsah-mrizka { grid-template-columns: 330px 1fr; gap: 44px; padding-top: 40px; }
  .obsah-obr img { max-width: 100%; max-height: none; position: sticky; top: 100px; }
}

/* ------------------------------------------------------------ podpora */
.uzky { max-width: 780px; padding-top: 8px; padding-bottom: 48px; }
.velky-text { font-size: 1.35rem; margin: 26px 0; }
.podpora-akce { display: grid; gap: 14px; }
.velke-tl {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 12px; text-decoration: none;
  background: var(--modra); color: #fff; font-size: 1.35rem; font-weight: 700; border: 2px solid var(--modra);
  overflow-wrap: anywhere;
}
.velke-tl:hover { background: var(--modra-tmava); color: #fff; }
.velke-tl .ico { width: 34px; height: 34px; }
.velke-tl small { display: block; font-size: .85rem; font-weight: 400; }
.velke-tl-obrys { background: #fff; color: var(--modra); }
.velke-tl-obrys:hover { background: var(--seda-50); color: var(--modra-tmava); }
@media (min-width: 640px) { .podpora-akce { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 359px) { .velke-tl { padding: 16px; gap: 12px; font-size: 1.2rem; } .velke-tl .ico { width: 28px; height: 28px; } }

/* ------------------------------------------------------------ kontakt */
.kontakt-mrizka { display: grid; gap: 18px; padding-top: 28px; padding-bottom: 28px; }
.karta { border: 1px solid var(--seda-200); border-radius: 12px; padding: 20px 22px; }
.karta h2 { font-size: 1.2rem; margin: 0 0 .6em; }
.karta address { font-style: normal; line-height: 1.7; }
.udaje { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.udaje dt { color: var(--seda-text); }
.udaje dd { margin: 0; }
.mapa { padding-bottom: 12px; }
.mapa iframe { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 450px; border: 0; border-radius: 12px; background: var(--seda-50); }
section.wrap { padding-bottom: 44px; }
.sekce-nadpis { margin-top: 8px !important; }
@media (min-width: 760px) { .kontakt-mrizka { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ patička */
.paticka { background: var(--seda-50); border-top: 1px solid var(--okraj); padding-top: 36px; font-size: .98rem; }
.paticka-grid { display: grid; gap: 26px; }
.paticka h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--modra-tmava); margin: 0 0 10px; }
.paticka p { margin: 0 0 6px; }
.paticka ul { list-style: none; margin: 0; padding: 0; }
.paticka li { margin: 4px 0; }
.paticka a { color: var(--modra-tmava); }
.paticka li a { text-decoration: none; display: inline-block; padding: 4px 0; }
.paticka li a:hover { text-decoration: underline; }
.pat-akce { display: grid; gap: 2px; }
.paticka address { font-style: normal; color: var(--seda-text); line-height: 1.7; }
.paticka-spodek { margin-top: 30px; border-top: 1px solid var(--seda-200); padding: 14px 0; font-size: .9rem; color: var(--seda-text); }
@media (min-width: 700px) { .paticka-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .paticka-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .hlavicka, .slider, .dalsi-sluzby, .cta, .mapa { display: none; }
  .tl-plny, .velke-tl { color: #000; background: none; border-color: #000; }
}
