/* ==========================================================================
   Responzivní úpravy (načítá se až za style.css a grid.css)
   ========================================================================== */

/* tlačítko menu je jen pro mobil, na desktopu skryté */
.nav-toggle { display: none; }

/* ---- 1) Pružný 24sloupcový grid a fluidní layout (do 960 px) ---- */
@media (max-width: 960px) {
  html, body { min-width: 0; }
  body { background: #fff; }

  .container_24 { width: auto; max-width: 960px; padding: 0 12px; box-sizing: border-box; margin: 0 auto; }
  header, footer { width: auto; max-width: 950px; box-sizing: border-box; }
  header { background: none; padding-bottom: 20px; }
  #page1 header { padding: 0; }
  header .inner { padding: 20px 16px 10px 16px; }
  footer { padding: 25px 16px; }
  .content-border { border-left: 0; border-right: 0; }

  /* grid: procenta místo pevných px */
  .container_24 .grid_1 { width: calc(1 * 100% / 24 - 10px); }
  .container_24 .prefix_1 { padding-left: calc(1 * 100% / 24); }
  .container_24 .suffix_1 { padding-right: calc(1 * 100% / 24); }
  .container_24 .grid_2 { width: calc(2 * 100% / 24 - 10px); }
  .container_24 .prefix_2 { padding-left: calc(2 * 100% / 24); }
  .container_24 .suffix_2 { padding-right: calc(2 * 100% / 24); }
  .container_24 .grid_3 { width: calc(3 * 100% / 24 - 10px); }
  .container_24 .prefix_3 { padding-left: calc(3 * 100% / 24); }
  .container_24 .suffix_3 { padding-right: calc(3 * 100% / 24); }
  .container_24 .grid_4 { width: calc(4 * 100% / 24 - 10px); }
  .container_24 .prefix_4 { padding-left: calc(4 * 100% / 24); }
  .container_24 .suffix_4 { padding-right: calc(4 * 100% / 24); }
  .container_24 .grid_5 { width: calc(5 * 100% / 24 - 10px); }
  .container_24 .prefix_5 { padding-left: calc(5 * 100% / 24); }
  .container_24 .suffix_5 { padding-right: calc(5 * 100% / 24); }
  .container_24 .grid_6 { width: calc(6 * 100% / 24 - 10px); }
  .container_24 .prefix_6 { padding-left: calc(6 * 100% / 24); }
  .container_24 .suffix_6 { padding-right: calc(6 * 100% / 24); }
  .container_24 .grid_7 { width: calc(7 * 100% / 24 - 10px); }
  .container_24 .prefix_7 { padding-left: calc(7 * 100% / 24); }
  .container_24 .suffix_7 { padding-right: calc(7 * 100% / 24); }
  .container_24 .grid_8 { width: calc(8 * 100% / 24 - 10px); }
  .container_24 .prefix_8 { padding-left: calc(8 * 100% / 24); }
  .container_24 .suffix_8 { padding-right: calc(8 * 100% / 24); }
  .container_24 .grid_9 { width: calc(9 * 100% / 24 - 10px); }
  .container_24 .prefix_9 { padding-left: calc(9 * 100% / 24); }
  .container_24 .suffix_9 { padding-right: calc(9 * 100% / 24); }
  .container_24 .grid_10 { width: calc(10 * 100% / 24 - 10px); }
  .container_24 .prefix_10 { padding-left: calc(10 * 100% / 24); }
  .container_24 .suffix_10 { padding-right: calc(10 * 100% / 24); }
  .container_24 .grid_11 { width: calc(11 * 100% / 24 - 10px); }
  .container_24 .prefix_11 { padding-left: calc(11 * 100% / 24); }
  .container_24 .suffix_11 { padding-right: calc(11 * 100% / 24); }
  .container_24 .grid_12 { width: calc(12 * 100% / 24 - 10px); }
  .container_24 .prefix_12 { padding-left: calc(12 * 100% / 24); }
  .container_24 .suffix_12 { padding-right: calc(12 * 100% / 24); }
  .container_24 .grid_13 { width: calc(13 * 100% / 24 - 10px); }
  .container_24 .prefix_13 { padding-left: calc(13 * 100% / 24); }
  .container_24 .suffix_13 { padding-right: calc(13 * 100% / 24); }
  .container_24 .grid_14 { width: calc(14 * 100% / 24 - 10px); }
  .container_24 .prefix_14 { padding-left: calc(14 * 100% / 24); }
  .container_24 .suffix_14 { padding-right: calc(14 * 100% / 24); }
  .container_24 .grid_15 { width: calc(15 * 100% / 24 - 10px); }
  .container_24 .prefix_15 { padding-left: calc(15 * 100% / 24); }
  .container_24 .suffix_15 { padding-right: calc(15 * 100% / 24); }
  .container_24 .grid_16 { width: calc(16 * 100% / 24 - 10px); }
  .container_24 .prefix_16 { padding-left: calc(16 * 100% / 24); }
  .container_24 .suffix_16 { padding-right: calc(16 * 100% / 24); }
  .container_24 .grid_17 { width: calc(17 * 100% / 24 - 10px); }
  .container_24 .prefix_17 { padding-left: calc(17 * 100% / 24); }
  .container_24 .suffix_17 { padding-right: calc(17 * 100% / 24); }
  .container_24 .grid_18 { width: calc(18 * 100% / 24 - 10px); }
  .container_24 .prefix_18 { padding-left: calc(18 * 100% / 24); }
  .container_24 .suffix_18 { padding-right: calc(18 * 100% / 24); }
  .container_24 .grid_19 { width: calc(19 * 100% / 24 - 10px); }
  .container_24 .prefix_19 { padding-left: calc(19 * 100% / 24); }
  .container_24 .suffix_19 { padding-right: calc(19 * 100% / 24); }
  .container_24 .grid_20 { width: calc(20 * 100% / 24 - 10px); }
  .container_24 .prefix_20 { padding-left: calc(20 * 100% / 24); }
  .container_24 .suffix_20 { padding-right: calc(20 * 100% / 24); }
  .container_24 .grid_21 { width: calc(21 * 100% / 24 - 10px); }
  .container_24 .prefix_21 { padding-left: calc(21 * 100% / 24); }
  .container_24 .suffix_21 { padding-right: calc(21 * 100% / 24); }
  .container_24 .grid_22 { width: calc(22 * 100% / 24 - 10px); }
  .container_24 .prefix_22 { padding-left: calc(22 * 100% / 24); }
  .container_24 .suffix_22 { padding-right: calc(22 * 100% / 24); }
  .container_24 .grid_23 { width: calc(23 * 100% / 24 - 10px); }
  .container_24 .prefix_23 { padding-left: calc(23 * 100% / 24); }
  .container_24 .suffix_23 { padding-right: calc(23 * 100% / 24); }
  .container_24 .grid_24 { width: calc(24 * 100% / 24 - 10px); }
  .container_24 .prefix_24 { padding-left: calc(24 * 100% / 24); }
  .container_24 .suffix_24 { padding-right: calc(24 * 100% / 24); }

  /* slider */
  .slider-container { width: 100%; height: auto; margin: 0 auto; padding: 0 0 0 0; }
  .mp-slider { height: auto; }
  .mp-slider div img { display: block; width: 100%; height: auto; }
  .mp-slider div a { bottom: 6%; left: 4%; }
  #mp-pags, #mp-pags-cont-extra { margin-top: 0; padding-top: 10px; }
  /* kolečka: výška = šířka, text uvnitř neroztahuje kruh */
  #mp-pags li, #mp-pags-cont-extra li { width: 30%; max-width: 142px; height: auto; aspect-ratio: 1 / 1; padding-bottom: 0; border-radius: 50%; margin: 0 2px; vertical-align: top; }
  #mp-pags li a, #mp-pags-cont-extra li a { position: absolute; top: 0; right: 0; bottom: 0; left: 0; box-sizing: border-box; padding: 32% 6px 0 6px; font-size: 14px; }

  /* navigace: rozbalovací menu */
  .nav-toggle {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    background: none;
    border: 0;
    font: 600 14px/19px 'Open Sans', sans-serif;
    text-transform: lowercase;
    color: #2b2b2b;
    cursor: pointer;
  }
  nav { padding: 0; }
  .sf-menu { display: none; min-height: 0; }
  .sf-menu.open { display: block; }
  .sf-menu > li { display: block; border-left: 0; border-top: 1px solid #dcdcdc; text-align: center; }
  .sf-menu > li:first-child { border-top: 0; }
  .sf-menu > li > a { padding: 10px 16px; font-size: 15px; }
  .sf-menu > li > ul,
  .sf-menu li li,
  .sf-menu li:hover ul,
  .sf-menu li.sfHover ul { display: block !important; position: static !important; top: auto !important; left: auto !important; width: auto; box-shadow: none; background: none; padding: 0 0 6px 0; margin: 0; }
  .sf-menu li li a { padding: 5px 16px; text-align: center; font-size: 13px; }
  .sf-menu li li:hover ul { display: none !important; }
  .sf-menu li:hover > a { color: #2b2b2b; }

  /* hlavička */
  /* šířka odkazu = šířka obrázku loga (251 px), jinak je logo posunuté doleva */
  .logo a { margin: 0 auto; width: 251px; }
  .logo { display: block; text-align: center; }
  .logo a { display: inline-block; }
}

/* ---- 2) Mobil / úzká okna (do 768 px): vše pod sebe ---- */
@media (max-width: 768px) {
  body { font-size: 14px; line-height: 21px; }
  h1 { font-size: 24px; line-height: 30px; padding-bottom: 14px; }
  h2 { font-size: 24px; line-height: 30px; }
  h3 { font-size: 21px; line-height: 26px; }
  h4 { font-size: 19px; line-height: 24px; }
  .str-1 { font-size: 14px; }

  .container_24 [class*="grid_"] { float: none; display: block; width: auto; margin: 0 0 20px 0; }
  .container_24 [class*="prefix_"], .container_24 [class*="suffix_"] { padding-left: 0; padding-right: 0; }
  .container_24 .alpha, .container_24 .omega { margin-left: 0; margin-right: 0; }
  .container_24 .content-border .grid_24 { margin: 0; }
  .top-row { padding: 0 0 20px 0; }
  .wrapper.indent-top { padding-top: 20px; }
  .indent-top { padding-top: 20px; }
  .top-content-box { margin-bottom: 15px; }
  .dropcap { font-size: 30px; line-height: 36px; width: 30px; }
  .pad-1, .pad-2, .pad-3, .pad-4 { padding: 0 !important; }
  .quote { margin: 0 0 15px 0; }
  #page1 .quote { margin: 0 0 15px 0; padding: 15px; }
  .list-1, .list-2 { padding-bottom: 10px; }
  .def-list-1 dt { font-size: 14px; }
  .author { text-align: left; }
  .alignright { text-align: left; }

  img { max-width: 100%; height: auto; }
  iframe { width: 100%; height: 250px; }
  .map-container { padding-bottom: 14px; }
  .adress dd span { float: none; display: inline-block; width: auto; text-align: left; margin: 0 8px 0 0; }

  #mp-pags li, #mp-pags-cont-extra li { width: 31%; }

  .copyright { float: none; padding: 0; text-align: center; }
  .footer-logo { margin: 0 auto; }
  .social-list { float: none; text-align: center; margin-top: 12px; }

  /* kontaktní formulář */
  #contact-form label { min-height: 0; margin-bottom: 12px; }
  #contact-form span { float: none; display: block; width: auto; margin: 0 0 4px 0; }
  #contact-form input, #contact-form textarea { width: 100%; box-sizing: border-box; float: none; }
  #contact-form textarea { height: 150px; }
  #contact-form .btns { text-align: center; padding-top: 5px; }
  #contact-form .btns a { margin: 0 12px; }
}

/* ---- 3) Velmi úzká okna (do 380 px) ---- */
@media (max-width: 380px) {
  .logo a { width: 220px; height: 57px; background-size: 220px 57px; }
  header .inner { padding: 16px 12px 8px 12px; }
  .container_24 { padding: 0 8px; }
  #mp-pags li, #mp-pags-cont-extra li { width: 31%; }
}

/* ---- 4) Spodní blok (Služby / Řešení / Chcete / Reference) a patička: čitelnost ---- */
/* kontrast barev (WCAG AA, min. 4,5 : 1) – platí pro všechny šířky */
.list-1 li a { color: #b30000; }
.list-1 li a:hover { color: #2b2b2b; }
.author span { color: #666666; }
footer { color: #595959; }
footer a { color: #b30000; }

@media (max-width: 768px) {
  .aside-bg { padding: 24px 20px 16px 20px; box-sizing: border-box; }
  .aside-bg h4 { font-size: 20px; line-height: 26px; padding-bottom: 6px; }
  .aside-bg article { margin-bottom: 18px; }

  /* odkazy: větší písmo a pohodlné plochy na ťuknutí, jemné oddělovače */
  .list-1 { padding-bottom: 0; }
  .list-1 li { padding: 0 0 0 14px; background-position: 0 50%; border-bottom: 1px solid #dcdcdc; line-height: 20px; }
  .list-1 li:last-child { border-bottom: 0; }
  .list-1 li a { display: block; padding: 11px 0; font-size: 14px; letter-spacing: 0.03em; }

  /* reference */
  .quote, #page1 .quote { font-size: 15px; line-height: 23px; padding: 16px 18px; border-radius: 6px; }
  .author { font-size: 16px; padding-top: 10px; }
  .author span { font-size: 12px; }

  /* patička */
  footer { font-size: 13px; line-height: 22px; padding: 28px 16px calc(28px + env(safe-area-inset-bottom)) 16px; }
  .copyright > div { margin-top: 6px; }
  .social-list li { width: auto; height: auto; padding: 0; }
  .social-list li a { padding: 8px; }
}

/* ---- 5) Slider: na užších oknech obrázky bez nakreslených čar menu (slide-*-m.png, viz header.php) ---- */
.mp-slider picture { display: block; }

/* ---- 6) Stránka Produkty ---- */
/* tlačítko poptávky (všechny šířky) */
.btn-cta { display: inline-block; margin: 6px 0 20px 11px; padding: 10px 22px; background: #cc0000; color: #fff; font: 600 14px/20px "Open Sans", Arial, sans-serif; text-decoration: none; border-radius: 6px; }
.btn-cta:hover, .btn-cta:focus { background: #a30000; color: #fff; }
/* nadpisy doporučení: čitelný kontrast */
.list-2 li a { color: #b30000; }

@media (max-width: 768px) {
  /* produkty jako karty ve 2 sloupcích */
  .products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
  .products > .p { display: contents; }
  .products .clear, .products .hr-border-2 { display: none; }
  .container_24 .products [class*="grid_"] { margin: 0; }
  .products .grid_5 { background: #fff; border: 1px solid #e3e3e3; border-top: 4px solid #cc0000; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); overflow: hidden; }
  .products .p > .grid_5:nth-child(2) { border-top-color: #4e4e4e; }
  .products .p > .grid_5:nth-child(3) { border-top-color: #8a8a8a; }
  .products figure { margin: 0; }
  .products figure img { display: block; width: 100%; height: auto; border: 0; }
  .products .str-2 { padding: 12px 12px 4px 12px; font-size: 15px; line-height: 19px; }
  .products .grid_5 p { padding: 0 12px 14px 12px; font-size: 13px; line-height: 19px; }

  /* doporučení jako tipy v boxech */
  .recommend .list-2 { padding-bottom: 6px; }
  .recommend .list-2 li, .recommend .list-2 li:first-child { background: #f4f4f4; border: 0; border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; }
  .recommend .list-2 li a { display: block; margin-bottom: 6px; color: #2b2b2b; font-size: 16px; line-height: 21px; font-weight: bold; text-transform: none; }
  .recommend .pad-5 { padding-left: 0; }

  /* závěrečný zvýrazněný blok + tlačítko */
  .recommend .str-3 { text-transform: none; font-size: 14px; line-height: 21px; color: #2b2b2b; background: #fdf0f0; border-left: 4px solid #cc0000; border-radius: 0 8px 8px 0; padding: 14px 16px; margin: 4px 0 0 0; }
  .btn-cta { display: block; margin: 14px 0 10px 0; padding: 14px; text-align: center; font-size: 16px; }
}
/* tablet: karty ve 3 sloupcích */
@media (min-width: 520px) and (max-width: 768px) {
  .products { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---- 7) Stránka O nás ---- */
.about { max-width: 860px; font-size: 14px; line-height: 22px; color: #555; }
.about p { padding-bottom: 14px; }
.about-lead { font-size: 16px; line-height: 25px; color: #2b2b2b; }
.about-h { font-size: 20px; line-height: 26px; margin: 12px 0 10px 0; }
.check-list { columns: 2; column-gap: 36px; padding: 0 0 22px 0; }
.check-list li { break-inside: avoid; position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid #eee; color: #2b2b2b; }
.check-list li:before { content: ""; position: absolute; left: 5px; top: 13px; width: 10px; height: 5px; border-left: 2px solid #cc0000; border-bottom: 2px solid #cc0000; transform: rotate(-45deg); }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: #fdf0f0; border-left: 4px solid #cc0000; border-radius: 0 8px 8px 0; padding: 16px 18px; margin: 4px 0 24px 0; }
.about-cta strong { font-size: 16px; line-height: 22px; color: #2b2b2b; }
.about-cta .btn-cta { margin: 0; }
/* doporučení v šedém bloku: čitelnější odkazy */
.ol-list-1 li a { color: #b30000; }

@media (max-width: 768px) {
  .about-lead { font-size: 15px; line-height: 24px; }
  .about-h { font-size: 18px; line-height: 24px; }
  .check-list { columns: 1; }
  .about-cta { display: block; }
  .about-cta .btn-cta { display: block; margin-top: 14px; }
  .ol-list-1 { margin-left: 30px; }
  .ol-list-1 li { font-size: 14px; padding: 0; border-bottom: 1px solid #dcdcdc; }
  .ol-list-1 li:last-child { border-bottom: 0; }
  .ol-list-1 li a { display: block; padding: 11px 0; font-size: 14px; line-height: 20px; text-transform: none; }
}

/* ---- 8) Stránka Kontakt ---- */
.contact-card { background: #f5f5f5; border-radius: 10px; padding: 18px; margin: 0 0 20px 0; }
.contact-name { display: block; font: 700 18px/24px "Open Sans", Arial, sans-serif; color: #2b2b2b; }
.contact-addr { color: #444; font-size: 14px; line-height: 21px; padding: 4px 0 14px 0; }
.contact-actions { display: flex; flex-direction: column; gap: 8px; }
.contact-actions .btn-cta { display: block; margin: 0; text-align: center; padding-left: 10px; padding-right: 10px; }
.btn-sec { display: block; text-align: center; padding: 9px 12px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; color: #2b2b2b; text-decoration: none; font: 600 14px/20px "Open Sans", Arial, sans-serif; overflow-wrap: anywhere; }
.btn-sec:hover, .btn-sec:focus { border-color: #cc0000; color: #cc0000; }
.map-container iframe { display: block; width: 100%; height: 260px; border: 0; border-radius: 10px; }

.cform fieldset { border: 0; padding: 0; margin: 0; }
.cform-row { margin: 0 0 14px 0; }
.cform label { display: block; margin: 0 0 5px 0; font: 600 13px/18px "Open Sans", Arial, sans-serif; color: #2b2b2b; }
.cform .opt { font-weight: normal; color: #767676; }
.cform input, .cform textarea { display: block; width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; color: #2b2b2b; font: 15px/21px Arial, Helvetica, sans-serif; }
.cform textarea { min-height: 160px; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: #cc0000; box-shadow: 0 0 0 3px rgba(102, 30, 59, 0.15); }
.cform-cols { display: flex; gap: 14px; }
.cform-cols > .cform-row { flex: 1 1 0; min-width: 0; }
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-note { font-size: 12px; line-height: 18px; color: #767676; padding: 0 0 12px 0; }
.cform-submit { margin: 0; border: 0; cursor: pointer; }

@media (max-width: 768px) {
  .cform-cols { display: block; }
  .cform input, .cform textarea { font-size: 16px; } /* iOS pak při psaní nezoomuje */
  .cform-submit { width: 100%; }
  .map-container iframe { height: 220px; }
}

/* ---- 9) Povinné údaje podnikatele (patička, kontakt) ---- */
footer .legal { clear: both; padding: 8px 0 0 0; font-size: 11px; line-height: 17px; color: #595959; }
.contact-ico { font-size: 13px; color: #595959; }
@media (max-width: 768px) {
  footer .legal { font-size: 12px; line-height: 18px; padding-top: 12px; }
}

/* ---- 10) Přístupnost a úpravy z auditu (10/2026) ---- */
/* odkaz „Přeskočit na obsah“ – viditelný jen při ovládání klávesnicí */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 2000; padding: 10px 16px; background: #cc0000; color: #fff; font: 600 14px/20px "Open Sans", Arial, sans-serif; text-decoration: none; border-radius: 0 0 6px 6px; }
.skip-link:focus { top: 0; }
/* viditelný fokus klávesnice (reset.css ho všude mazal) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1f5fbf; outline-offset: 2px; }
.cform input:focus-visible, .cform textarea:focus-visible { outline: 3px solid #1f5fbf; outline-offset: 1px; }

/* kontrast textů (WCAG AA) */
a { color: #b30000; }
a:hover { color: #cc0000; }
h1 { color: #818181; }
.color-2 { color: #4e4e4e; }
.color-3 { color: #6b6b6b; }
.color-4 { color: #737373; }
#mp-pags li, #mp-pags-cont-extra li { background-color: #6b6b6b; }
#mp-pags li:first-child+li, #mp-pags-cont-extra li:first-child+li { background-color: #4e4e4e; }
.mp-slider div a { color: #6b6b6b; }
.mp-slider div:first-child+div a { color: #4e4e4e; }

/* podmenu služeb: otevře se i klávesnicí (dřív jen myší přes superfish.js) */
.sf-menu li:hover > ul, .sf-menu li:focus-within > ul { display: block; top: 42px; left: 0; z-index: 999; }

/* slider bez jQuery: aktivní snímek určuje výšku, ostatní se prolínají přes něj */
.mp-slider { position: relative; }
.mp-slider > div { display: block; position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s; }
.mp-slider > div.is-active { position: relative; opacity: 1; visibility: visible; }
.slider-pause { position: absolute; right: 12px; bottom: 12px; z-index: 60; width: 36px; height: 36px; padding: 0; border: 1px solid #cfcfcf; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: #2b2b2b; font: 12px/34px Arial, sans-serif; text-align: center; cursor: pointer; }
.slider-pause:hover { border-color: #cc0000; color: #cc0000; }
@media (prefers-reduced-motion: reduce) {
  .mp-slider > div { transition: none; }
}

/* nadpisy v šedém bloku (dřív h4) */
.aside-bg h2 { font-size: 24px; line-height: 30px; }
.lead-dark { color: #2b2b2b; padding-bottom: 8px; }
.tel-link { color: #cc0000; font-weight: bold; white-space: nowrap; }
.tip-title { display: block; margin-bottom: 4px; color: #2b2b2b; font-size: 13px; line-height: 18px; font-weight: bold; }

/* stránka Ochrana osobních údajů */
.page-title { color: #2b2b2b; text-align: left; font-size: 30px; line-height: 36px; padding-bottom: 16px; }
.legal-text .about-h { margin-top: 18px; }
.legal-date { color: #595959; font-size: 13px; }
footer .legal a { color: #b30000; }

/* mapa načítaná až po kliknutí */
.map-load { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 260px; padding: 16px; box-sizing: border-box; border: 1px solid #dcdcdc; border-radius: 10px; background: #eef1f4; cursor: pointer; text-align: center; }
.map-load:hover { border-color: #cc0000; }
.map-load-title { font: 700 16px/22px "Open Sans", Arial, sans-serif; color: #cc0000; }
.map-load-note { font-size: 12px; line-height: 17px; color: #595959; max-width: 240px; }

/* tlačítko Zavolat stále po ruce – jen mobil */
.call-bar { display: none; }

@media (max-width: 768px) {
  .aside-bg h2 { font-size: 20px; line-height: 26px; padding-bottom: 6px; }
  .recommend .tip-title { margin-bottom: 6px; font-size: 16px; line-height: 21px; }
  .page-title { font-size: 24px; line-height: 30px; }
  .map-load { height: 180px; }
  body { padding-bottom: 76px; }
}

/* ---- 11) Rozcestník služeb – karty s ikonou (místo koleček) ---- */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: -40px 0 0 0; padding: 0 40px 16px 40px; position: relative; z-index: 50; }
.svc-cards li { --c: #cc0000; --t: #fdeaea; }
.svc-cards li.v2 { --c: #4e4e4e; --t: #efefef; }
.svc-cards li.v3 { --c: #6b6b6b; --t: #f2f2f2; }
.svc-cards a { display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; padding: 16px 16px 14px 18px; background: #fff; border-radius: 12px; border-bottom: 4px solid var(--c); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); color: #2b2b2b; text-decoration: none; transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.svc-cards a:hover { transform: translateY(-2px); color: #2b2b2b; }
.svc-cards li.activeSlide a { background: var(--c); color: #fff; }
.svc-ic { flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--t); color: var(--c); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s, color 0.2s; }
.svc-cards li.activeSlide .svc-ic { background: rgba(255, 255, 255, 0.18); color: #fff; }
.svc-tx b { display: block; font: 700 16px/20px "Open Sans", Arial, sans-serif; }
.svc-tx small { display: block; margin-top: 2px; font: 13px/17px "Open Sans", Arial, sans-serif; opacity: 0.85; }
.svc-ar { margin-left: auto; font-size: 22px; line-height: 1; opacity: 0.6; }
/* na desktopu karty zasahují do spodku slideru – pauza nad nimi */
.slider-pause { bottom: 60px; }
@media (prefers-reduced-motion: reduce) {
  .svc-cards a, .svc-ic { transition: none; }
  .svc-cards a:hover { transform: none; }
}
@media (max-width: 960px) {
  .svc-cards { margin-top: 0; padding: 12px 0 6px 0; gap: 10px; }
  .svc-cards a { padding: 13px 12px 11px 12px; gap: 10px; }
  .svc-ic { flex-basis: 40px; height: 40px; }
  .slider-pause { bottom: 12px; }
  .svc-tx b { font-size: 15px; }
}
@media (max-width: 768px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-cards a { padding: 13px 14px 11px 14px; }
}

/* ---- 12) Nové texty (10/2026) ---- */
.str-sub { display: block; margin-top: 2px; font-weight: normal; font-size: 12px; line-height: 16px; color: #595959; }
.steps { counter-reset: krok; list-style: none; margin: 0; padding: 4px 0 14px 0; }
.steps li { counter-increment: krok; position: relative; padding: 0 0 14px 44px; min-height: 32px; }
.steps li:before { content: counter(krok); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: #cc0000; color: #fff; font: 700 15px/32px "Open Sans", Arial, sans-serif; text-align: center; }
.steps li:nth-child(2):before { background: #4e4e4e; }
.steps li:nth-child(3):before { background: #6b6b6b; }
.steps b { display: block; color: #2b2b2b; font: 700 15px/20px "Open Sans", Arial, sans-serif; }
.steps span { display: block; margin-top: 2px; font-size: 13px; line-height: 19px; color: #444; }
.products-lead { color: #444; font-size: 14px; line-height: 21px; padding-bottom: 16px; }
@media (max-width: 768px) {
  .str-sub { font-size: 13px; }
  .steps b { font-size: 16px; }
  .steps span { font-size: 14px; line-height: 20px; }
}

/* ---- 13) Pruh výhod (místo bodů A–D) ---- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 40px; padding: 0; list-style: none; }
.trust li { --c: #cc0000; --t: #fdeaea; display: flex; align-items: center; gap: 12px; padding: 14px 14px; background: #f7f7f7; border-radius: 10px; }
.trust li.t2 { --c: #4e4e4e; --t: #efefef; }
.trust li.t3 { --c: #6b6b6b; --t: #f2f2f2; }
.trust li.t4 { --c: #595959; --t: #ececec; }
.trust-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--t); color: var(--c); display: flex; align-items: center; justify-content: center; }
.trust-tx b { display: block; color: var(--c); font: 700 14px/18px "Open Sans", Arial, sans-serif; }
.trust-tx small { display: block; margin-top: 2px; color: #595959; font-size: 12px; line-height: 16px; }
.top-row h1 { padding-bottom: 18px; }
@media (max-width: 960px) {
  .trust { margin: 0; gap: 10px; }
  .trust li { padding: 12px 10px; gap: 10px; }
  .trust-ic { width: 36px; height: 36px; }
  .trust-ic svg { width: 19px; height: 19px; }
}
@media (max-width: 768px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .trust-tx b { font-size: 14px; }
  .trust-tx small { font-size: 12.5px; }
}

/* ---- 14) Hlavní nadpis ---- */
.hero-title { text-align: center; padding: 2px 0 22px 0; }
.hero-title h1 { padding: 0; color: #2b2b2b; font: 700 32px/38px "Open Sans", Arial, sans-serif; letter-spacing: -0.01em; }
.hero-title h1 span { color: #cc0000; }
.hero-title h1:after { content: ""; display: block; width: 56px; height: 4px; margin: 12px auto 0 auto; border-radius: 2px; background: #cc0000; }
.hero-title p { padding: 10px 0 0 0; color: #595959; font-size: 15px; line-height: 22px; }
@media (max-width: 768px) {
  .hero-title { padding-bottom: 16px; }
  .hero-title h1 { font-size: 25px; line-height: 31px; }
  .hero-title h1:after { width: 44px; margin-top: 10px; }
  .hero-title p { font-size: 14px; line-height: 20px; }
}

/* ---- 15) Mobilní hlavička: menší logo vlevo, tlačítko menu vpravo ve stejné řadě ---- */
@media (max-width: 960px) {
  header { position: relative; padding-bottom: 0; }
  header .inner { padding: 14px 16px 12px 16px; }
  .logo { display: block; width: 170px; text-align: left; }
  .logo a { display: block; margin: 0; width: 170px; height: 44px; background-size: 170px 44px; }
  nav { border: 0; padding: 0; }
  .nav-toggle { position: absolute; z-index: 200; top: 17px; right: 16px; width: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #cfcfcf; border-radius: 8px; background: #fff; }
  .nav-toggle:before { content: ""; display: block; width: 18px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
  .nav-toggle[aria-expanded="true"] { border-color: #cc0000; color: #cc0000; }
  .sf-menu.open { border-top: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; }
}

/* ---- 16) Menu: čitelné podpoložky a aktivní položka ---- */
.sf-menu li li a { color: #595959; }
.sf-menu > li.current > a { color: #cc0000; }

/* ---- 17) Mobilní menu jako překryvný panel (neodsouvá obsah) ---- */
@media (max-width: 960px) {
  .sf-menu.open { position: absolute; left: 0; right: 0; z-index: 1500; max-height: calc(100vh - 80px); overflow-y: auto; background: #fff; border-top: 1px solid #dcdcdc; border-bottom: 0; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18); }
}

/* ---- 18) Přilepená hlavička na mobilu a tabletu ---- */
@media (max-width: 960px) {
  header { position: sticky; top: 0; z-index: 1400; background: #fff; transition: box-shadow 0.2s; }
  header.is-stuck { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12); }
  /* kotvy (#instalaterske…) nesmí zajet pod hlavičku */
  html { scroll-padding-top: 84px; }
  /* style.css má html, body { height: 100% } – to by hlavičku po první obrazovce „odvezlo“ */
  html, body { height: auto; }
}
/* slider je v HTML za hlavičkou – stínový přechod hlavičky patří pod slider, ne za menu */
@media (min-width: 961px) {
  #page1 header { background: none; }
  #page1 .slider-container { background: url(../images/header-bg.png) no-repeat center bottom; }
}

/* ---- 19) Spodní lišta: Zavolat + WhatsApp ---- */
@media (max-width: 768px) {
  .call-bar { display: flex; gap: 10px; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 1000; }
  .call-bar a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 28px; color: #fff; text-decoration: none; font: 600 16px/22px "Open Sans", Arial, sans-serif; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
  .call-bar a:hover, .call-bar a:focus { color: #fff; }
  .call-bar-tel { background: #cc0000; }
  .call-bar-wa { background: #0f7a5a; }
}

/* ---- 20) Úvod: „Co pro vás uděláme“ – dlaždice s ikonou ---- */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 14px 0; padding: 0; list-style: none; }
.skills li { --c: #cc0000; --t: #fdeaea; display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; color: #555; font-size: 13px; line-height: 19px; }
.skills li.c2 { --c: #4e4e4e; --t: #efefef; }
.skills li.c3 { --c: #6b6b6b; --t: #f2f2f2; }
.skills b { display: block; margin-bottom: 2px; color: #2b2b2b; font: 700 15px/20px "Open Sans", Arial, sans-serif; }
.skills-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--t); color: var(--c); display: flex; align-items: center; justify-content: center; }
.skills-more { color: #444; padding-bottom: 6px; }
.skills-more a { font-weight: bold; white-space: nowrap; }
@media (max-width: 960px) {
  .skills { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .skills { grid-template-columns: 1fr; gap: 8px; }
  .skills li { padding: 12px; font-size: 14px; line-height: 20px; }
}

/* ---- 21) Stránka Služby – karty služeb ---- */
.svc-intro { color: #444; font-size: 15px; line-height: 23px; max-width: 760px; padding-bottom: 18px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.svc-card { --c: #cc0000; --t: #fdeaea; padding: 20px 20px 16px 20px; background: #fff; border: 1px solid #e6e6e6; border-top: 4px solid var(--c); border-radius: 12px; }
.svc-card.c2 { --c: #4e4e4e; --t: #efefef; }
.svc-card.c3 { --c: #6b6b6b; --t: #f2f2f2; }
.svc-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.svc-card-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--t); color: var(--c); display: flex; align-items: center; justify-content: center; }
.svc-card h3 { color: var(--c); font: 700 18px/23px "Open Sans", Arial, sans-serif; }
.svc-card-lead { color: #2b2b2b; font-size: 14px; line-height: 21px; padding-bottom: 10px; }
.svc-card-list { list-style: none; margin: 0; padding: 0 0 6px 0; }
.svc-card-list li { position: relative; padding: 4px 0 4px 24px; color: #444; font-size: 13.5px; line-height: 20px; }
.svc-card-list li:before { content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 5px; border-left: 2px solid var(--c); border-bottom: 2px solid var(--c); transform: rotate(-45deg); }
.svc-card-note { margin-top: 6px; padding: 9px 12px 9px 12px; background: var(--t); border-radius: 8px; color: #2b2b2b; font-size: 13px; line-height: 19px; }
.svc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 26px 0; padding: 18px 20px; background: #fdf0f0; border-left: 4px solid #cc0000; border-radius: 0 10px 10px 0; color: #2b2b2b; font-size: 15px; line-height: 22px; }
.svc-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.svc-cta .btn-cta { margin: 0; }
.svc-cta .btn-sec { display: inline-block; }
@media (max-width: 768px) {
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { padding: 16px 16px 12px 16px; }
  .svc-card-list li { font-size: 14px; }
  .svc-cta { display: block; }
  .svc-cta-btns { margin-top: 12px; }
  .svc-cta-btns a { flex: 1 1 100%; text-align: center; }
}
/* karty i výzva nesmí přetéct pravý okraj obsahu (sloupec grid_23 je širší než vnitřek rámečku) */
.svc-grid, .svc-cta { max-width: 870px; box-sizing: border-box; }

/* ---- 22) Úvod – spodní blok (Služby, Jak to probíhá, Reference) ---- */
.home-aside .aside-bg { background: #f4f4f4; border: 0; border-radius: 0 0 14px 14px; }
/* služby jako štítky */
.home-aside .list-1 { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 10px 0; }
.home-aside .list-1 li, .home-aside .list-1 li:last-child { display: block; padding: 0; background: none; border: 0; }
.home-aside .list-1 li a { display: inline-block; padding: 8px 14px; border: 1px solid #d6d6d6; border-radius: 20px; background: #fff; color: #2b2b2b; font: 600 13px/18px "Open Sans", Arial, sans-serif; text-transform: none; letter-spacing: 0; text-decoration: none; }
.home-aside .list-1 li a:hover { border-color: #cc0000; color: #cc0000; }
/* kroky jako časová osa */
.steps li:not(:last-child):after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: #f0c4c4; }
.steps a[href^="tel"] { white-space: nowrap; }
/* reference jako karta s uvozovkami */
.home-aside .quote, #page1 .home-aside .quote { margin: 0 0 10px 0; padding: 16px 18px 16px 18px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07); color: #2b2b2b; font-size: 14px; line-height: 22px; }
.home-aside .quote:after, .home-aside .quote .inner:before, .home-aside .quote .inner:after { display: none; }
.home-aside .quote:before { content: "\201C"; display: block; height: 22px; margin: 0 0 4px 0; overflow: hidden; color: #cc0000; font: 700 48px/48px Georgia, serif; }
.home-aside .author { text-align: left; padding: 0 0 0 4px; font-style: normal; color: #2b2b2b; }
.home-aside .author:before { content: "— "; color: #cc0000; }

@media (max-width: 768px) {
  .home-aside .aside-bg { padding: 12px; border-radius: 0; }
  .home-aside .aside-bg article { box-sizing: border-box; margin-bottom: 12px; padding: 18px 16px 8px 16px; background: #fff; border-radius: 12px; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06); }
  .home-aside .aside-bg article:last-child { margin-bottom: 0; padding-bottom: 16px; }
  .home-aside .aside-bg h2 { font-size: 19px; line-height: 24px; padding-bottom: 12px; }
  .home-aside .list-1 li a { font-size: 14px; padding: 9px 14px; }
  .home-aside .quote { background: #fdf4f4; box-shadow: none; font-size: 15px; }
}
/* desktop: reference zarovnaná s nadpisem „Reference:“ (ten má odsazení 40 px) */
#page1 .home-aside .quote { margin: 0 20px 10px 40px; }
#page1 .home-aside .author { padding-left: 44px; }
@media (max-width: 960px) {
  #page1 .home-aside .quote { margin: 0 0 10px 0; }
  #page1 .home-aside .author { padding-left: 4px; }
}

/* ---- 23) Slider: slogany jako skutečný text (obrázky slide-*-bg.png jsou bez textu) ---- */
.mp-slider { container-type: inline-size; }
.mp-slider .hero-copy { display: block; position: absolute; top: 25%; left: 3.4%; width: 58%; }
.hero-s { padding: 0; font-family: "Open Sans", Arial, sans-serif; font-weight: 300; font-size: 5.5cqw; line-height: 1.12; letter-spacing: -0.01em; color: #767676; }
.hero-s b { display: block; margin-top: 0.15em; font-weight: 700; font-size: 0.78em; line-height: 1.1; color: #6b6b6b; }
.hero-s .hg { color: #767676; }
.h1c .hc { color: #cc0000; }
.h2c .hc { color: #4e4e4e; }
.h3c .hc { color: #6b6b6b; }
.mp-slider .hero-copy a.hero-more { position: static; display: inline-block; margin-top: 2.2cqw; font: 600 max(13px, 1.5cqw)/1.3 "Open Sans", Arial, sans-serif; text-transform: none; text-decoration: underline; }
.h1c a.hero-more { color: #cc0000; }
.h2c a.hero-more { color: #4e4e4e; }
.h3c a.hero-more { color: #6b6b6b; }
.hero-cta { position: absolute; left: 38px; bottom: 58px; z-index: 55; display: flex; gap: 10px; }
.hero-cta .btn-cta { margin: 0; }
.hero-wa { display: inline-block; padding: 10px 22px; border-radius: 6px; background: #0f7a5a; color: #fff; font: 600 14px/20px "Open Sans", Arial, sans-serif; text-decoration: none; }
.hero-wa:hover, .hero-wa:focus { background: #0b5f46; color: #fff; }
@media (max-width: 960px) {
  .hero-cta { left: 3.4%; bottom: 7%; }
}
@media (max-width: 768px) {
  .hero-cta { display: none; } /* na mobilu je spodní lišta Zavolat / WhatsApp */
  .mp-slider .hero-copy { top: 24%; width: 60%; }
}
/* desktop: text začíná pod menu (slider nahoře 115 px zasahuje pod menu), tlačítka zarovnaná s textem */
@media (min-width: 961px) {
  .mp-slider .hero-copy { top: 30.5%; }
  .hero-s { font-size: 5.1cqw; }
  .mp-slider .hero-copy a.hero-more { margin-top: 1.4cqw; }
  .hero-cta { left: 3.4%; bottom: 54px; }
}

/* ---- 24) Sjednocení: odkazy jako řádky (O nás, Služby), Doporučení na Produktech ---- */
.link-rows { list-style: none; margin: 0; padding: 2px 0 8px 0; }
.link-rows li { margin: 0 0 8px 0; padding: 0; }
.link-rows a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; background: #fff; border: 1px solid #e3e3e3; border-radius: 10px; color: #2b2b2b; font: 600 13.5px/19px "Open Sans", Arial, sans-serif; text-decoration: none; text-transform: none; }
.link-rows a:after { content: "\203A"; color: #cc0000; font-size: 20px; line-height: 1; }
.link-rows a:hover { border-color: #cc0000; color: #cc0000; }
.home-aside .author span { margin-left: 4px; }
/* Produkty – Doporučení (dřív jen na mobilu) */
.recommend .list-2 { padding-bottom: 6px; }
.recommend .list-2 li, .recommend .list-2 li:first-child { background: #f4f4f4; border: 0; border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.recommend .tip-title { font-size: 15px; line-height: 20px; margin-bottom: 4px; }
.recommend .list-2 p { font-size: 13px; line-height: 19px; color: #444; }
.recommend .pad-5 { padding-left: 0; color: #444; }
.recommend .str-3 { text-transform: none; font-size: 14px; line-height: 21px; color: #2b2b2b; background: #fdf0f0; border-left: 4px solid #cc0000; border-radius: 0 8px 8px 0; padding: 14px 16px; margin: 4px 0 0 0; }
.recommend .btn-cta { display: block; margin: 14px 0 10px 0; text-align: center; }
@media (max-width: 768px) {
  .link-rows a { font-size: 14.5px; padding: 12px 14px; }
}
.home-aside .aside-bg p { font-size: 14px; line-height: 22px; color: #444; }
.home-aside .aside-bg p.lead-dark { font-size: 16px; color: #2b2b2b; }

/* ---- 25) Barvy podle loga: červená #ff0000 / tmavě šedá #4e4e4e ---- */
.color-1 { color: #cc0000; }
.h2c .hc, .h3c .hc { color: #cc0000; }
.h2c a.hero-more, .h3c a.hero-more { color: #b30000; }
.hero-title h1:after { background: #ff0000; }

/* ---- 26) Jednotný akcent: všechny položky červené ikony, neutrální karty, aktivní vždy červená ---- */
.svc-cards li, .svc-cards li.v2, .svc-cards li.v3 { --c: #cc0000; --t: #fdeaea; }
.svc-cards a { border-bottom-color: #e2e2e2; }
.svc-cards a:hover { border-bottom-color: #cc0000; }
.svc-cards li.activeSlide a { border-bottom-color: #cc0000; }
.trust li, .trust li.t2, .trust li.t3, .trust li.t4 { --c: #cc0000; --t: #fdeaea; }
.trust-tx b { color: #2b2b2b; }
.skills li, .skills li.c2, .skills li.c3 { --c: #cc0000; --t: #fdeaea; }
.svc-card, .svc-card.c2, .svc-card.c3 { --c: #cc0000; --t: #fdeaea; }
.svc-card h3 { color: #2b2b2b; }
.svc-card-note { background: #f5f5f5; }
.steps li:nth-child(2):before, .steps li:nth-child(3):before { background: #cc0000; }
/* Produkty: jednotné názvy a pruhy karet */
.products .str-2, .products .str-2.color-1, .products .str-2.color-2, .products .str-2.color-3 { color: #2b2b2b; }
.products .grid_5, .products .p > .grid_5:nth-child(2), .products .p > .grid_5:nth-child(3) { border-top-color: #cc0000; }
/* mobil/tablet: bez šedého stínového obrázku a čáry pod kartami služeb */
@media (max-width: 960px) {
  .top-content-box { background: none; border-bottom: 0; padding-bottom: 4px; margin-bottom: 10px; }
}

/* ---- 27) Mobilní menu jako panel zespodu (bottom sheet) ---- */
.nav-sheet-head, .nav-sheet-cta, .nav-backdrop { display: none; }
@media (max-width: 960px) {
  .nav-backdrop { display: block; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 300; background: rgba(20, 20, 20, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .nav-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 301; max-height: 88vh; overflow-y: auto; box-sizing: border-box; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)) 18px; background: #f6f6f6; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18); transform: translateY(105%); visibility: hidden; transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.32s; }
  .nav-sheet.open { transform: none; visibility: visible; }
  .nav-sheet:before { content: ""; display: block; width: 40px; height: 5px; margin: 0 auto 6px auto; border-radius: 3px; background: #cfcfcf; }
  .nav-sheet-head { display: flex; align-items: center; justify-content: center; position: relative; padding: 8px 0 14px 0; }
  .nav-sheet-head span { color: #2b2b2b; font: 700 17px/22px "Open Sans", Arial, sans-serif; }
  .nav-close { position: absolute; right: -2px; top: 0; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #2b2b2b; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); }
  .nav-sheet .sf-menu, .nav-sheet .sf-menu.open { display: block; position: static; max-height: none; overflow: visible; margin: 0; padding: 0; min-height: 0; border: 0; background: none; box-shadow: none; }
  .nav-sheet .sf-menu > li, .nav-sheet .sf-menu > li:first-child { display: block; margin: 0 0 8px 0; padding: 0; border: 0; background: none; text-align: left; }
  .nav-sheet .sf-menu > li > a, #page1 .nav-sheet .sf-menu > li > a { display: block !important; position: relative; padding: 15px 44px 15px 18px; background: #fff; border-radius: 14px; color: #2b2b2b; font: 600 17px/22px "Open Sans", Arial, sans-serif; text-transform: none; text-shadow: none; }
  .nav-sheet .sf-menu > li > a:first-letter, .nav-sheet .sf-menu li li a:first-letter { text-transform: uppercase; }
  .nav-sheet .sf-menu > li > a:after { content: "\203A"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #bdbdbd; font-size: 26px; line-height: 1; }
  .nav-sheet .sf-menu > li.current > a, #page1 .nav-sheet .sf-menu > li.current > a { color: #cc0000; background: #fdeaea; }
  .nav-sheet .sf-menu > li.current > a:after { color: #cc0000; }
  .nav-sheet .sf-menu > li > ul { display: flex !important; flex-wrap: wrap; gap: 8px; padding: 10px 2px 4px 2px !important; }
  .nav-sheet .sf-menu li li { display: block; margin: 0; padding: 0; border: 0; }
  .nav-sheet .sf-menu li li a { display: inline-block; padding: 8px 14px; background: #fff; border: 1px solid #e2e2e2; border-radius: 20px; color: #2b2b2b; font: 600 14px/18px "Open Sans", Arial, sans-serif; text-align: center; }
  .nav-sheet-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
  .nav-sheet-cta a { display: block; padding: 15px; border-radius: 30px; color: #fff; font: 700 16px/22px "Open Sans", Arial, sans-serif; text-align: center; text-decoration: none; }
  .nav-sheet-cta a:hover, .nav-sheet-cta a:focus { color: #fff; }
  .nav-cta-tel { background: #cc0000; }
  .nav-cta-wa { background: #0f7a5a; }
  html.nav-open, html.nav-open body { overflow: hidden; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .nav-sheet, .nav-backdrop { transition: none; }
}

/* ---- 28) Menu panel shora + odkaz na Facebook ---- */
.nav-fb { display: none; }
@media (max-width: 960px) {
  .nav-sheet { top: 0; bottom: auto; padding: calc(14px + env(safe-area-inset-top)) 18px 12px 18px; border-radius: 0 0 24px 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); transform: translateY(-105%); }
  .nav-sheet.open { transform: none; }
  .nav-sheet:before { display: none; }
  .nav-sheet:after { content: ""; display: block; width: 40px; height: 5px; margin: 14px auto 0 auto; border-radius: 3px; background: #cfcfcf; }
  .nav-fb { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; padding: 13px; border-radius: 30px; background: #fff; border: 1px solid #e2e2e2; color: #2b2b2b; font: 600 15px/20px "Open Sans", Arial, sans-serif; text-decoration: none; }
  .nav-fb:hover, .nav-fb:focus { color: #2b2b2b; border-color: #1877f2; }
}
