/* Horní lišta ve stylu iOS (22. 10. 2026). Nahrazuje plovoucí dock s ikonami a samostatné logo nad stránkou. */
.ios-bar {
  position: sticky; top: 0; z-index: 70;
  background: rgba(249, 249, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid rgba(60, 60, 67, .22);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ios-bar__inner {
  position: relative; max-width: 1280px; margin: 0 auto; height: 52px; padding: 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.ios-bar__brand {
  font: 800 24px/1 'Manrope', 'Plus Jakarta Sans', sans-serif; letter-spacing: -1.6px;
  color: #101e52; text-decoration: none; flex: none;
}
.ios-bar__brand:hover { color: #152b70; }
.ios-bar__nav { display: none; }
.ios-bar__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ios-bar a:focus-visible, .ios-menu summary:focus-visible { outline: 3px solid #8691fa; outline-offset: 3px; border-radius: 8px; }

/* Plné tlačítko jako v iOS */
.ios-bar__cta {
  display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px;
  border-radius: 999px; background: #152b70; color: #fff; text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: background .2s;
}
.ios-bar__cta:hover { background: #101e52; }
.ios-bar__cta .long { display: none; }

/* Výběr jazyka jako iOS segmented control */
.ios-seg { display: inline-flex; padding: 2px; border-radius: 9px; background: rgba(118, 118, 128, .12); }
.ios-seg a, .ios-seg span {
  min-width: 40px; height: 28px; padding: 0 8px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: #3c3c43; text-decoration: none;
}
.ios-seg a:hover { color: #000; }
.ios-seg [aria-current] { background: #fff; color: #000; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
.ios-bar__end > .ios-seg { display: none; }

/* Menu na mobilu: tlačítko + list ve stylu iOS (inset grouped) */
.ios-menu summary {
  list-style: none; cursor: pointer; width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center; color: #152b70;
}
.ios-menu summary::-webkit-details-marker { display: none; }
.ios-menu summary svg { width: 22px; height: 22px; }
.ios-menu[open] summary { background: rgba(118, 118, 128, .14); }
.ios-sheet {
  position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); padding: 8px; border-radius: 16px;
  background: rgba(242, 242, 247, .97); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 18px 48px rgba(16, 30, 82, .2);
}
.ios-list { background: #fff; border-radius: 11px; overflow: hidden; }
.ios-list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 16px;
  font-size: 17px; color: #000; text-decoration: none; border-bottom: .5px solid rgba(60, 60, 67, .18);
}
.ios-list a:last-child { border-bottom: 0; }
.ios-list a::after { content: '\203A'; color: #c4c4c7; font-size: 24px; line-height: 1; }
.ios-list a[aria-current="page"] { color: #152b70; font-weight: 600; }
.ios-sheet__lang { display: flex; justify-content: center; padding: 12px 0 4px; }
.ios-sheet .ios-bar__cta { display: flex; width: 100%; height: 46px; margin-top: 8px; font-size: 17px; border-radius: 12px; }
.ios-sheet .ios-bar__cta .long { display: inline; }
.ios-sheet .ios-bar__cta .short { display: none; }

@media (min-width: 1024px) {
  .ios-bar__inner { height: 56px; padding: 0 32px; }
  .ios-bar__brand { font-size: 26px; letter-spacing: -1.8px; }
  .ios-bar__nav { display: flex; flex: 1; justify-content: center; gap: 2px; }
  .ios-bar__nav a {
    padding: 7px 13px; border-radius: 999px; font-size: 15px; color: #1c1c1e; text-decoration: none; letter-spacing: -.01em;
    transition: background .2s;
  }
  .ios-bar__nav a:hover { background: rgba(118, 118, 128, .12); }
  .ios-bar__nav a[aria-current="page"] { color: #152b70; font-weight: 600; background: rgba(134, 145, 250, .16); }
  .ios-bar__end { margin-left: 0; gap: 12px; }
  .ios-bar__end > .ios-seg { display: inline-flex; }
  .ios-bar__cta { height: 34px; padding: 0 16px; }
  .ios-bar__cta .long { display: inline; }
  .ios-bar__cta .short { display: none; }
  .ios-menu { display: none; }
}

/* Úvod bez prázdného místa nad titulkem */
.hero-compact { min-height: 0 !important; }
.hero-compact > .z-10 { padding-top: 40px !important; padding-bottom: 72px !important; }
@media (min-width: 1024px) { .hero-compact > .z-10 { padding-top: 64px !important; padding-bottom: 96px !important; } }

/* overflow-x: hidden na html/body dělá ze stránky scrollovací kontejner a lišta pak na mobilu nedrží nahoře.
   clip ořízne stejně, ale kontejner nevytváří. */
@supports (overflow-x: clip) {
  html, body.overflow-x-hidden { overflow-x: clip; }
}

/* Služby: hero bez prázdného místa nad štítkem */
.hero-compact-sec { min-height: 0 !important; padding-top: 40px !important; padding-bottom: 56px !important; }
@media (min-width: 1024px) { .hero-compact-sec { padding-top: 64px !important; padding-bottom: 72px !important; } }
