/* Navigace */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.nav--scrolled {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__menu { display: contents; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { font-size: 14px; color: var(--fg-soft); padding: 8px 12px; border-radius: 99px; transition: color .15s ease, background .15s ease; }
.nav__link:hover { color: var(--fg); background: var(--bg-alt); }
.nav__link:focus-visible { color: var(--fg); outline: 2px solid var(--accent); outline-offset: 2px; }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__phone { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--fg-soft); display: inline-flex; align-items: center; gap: 6px; }
.nav__status {
  width: 6px; height: 6px; border-radius: 99px; display: inline-block;
  background: #dc2626; box-shadow: 0 0 0 3px color-mix(in oklab, #dc2626 25%, transparent);
}
.nav__status--open { background: #16a34a; box-shadow: 0 0 0 3px color-mix(in oklab, #16a34a 25%, transparent); }
.nav__toggle { display: none; }

@media (max-width: 1023px) {
  .nav__inner { height: 72px; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 12px;
  }
  .nav__toggle-bar { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav--open .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav--open .nav__menu { display: flex; }
  .nav--open { background: var(--bg); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 12px 0; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Patička */
.footer__top { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 36px; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.footer__lead { margin-top: 16px; max-width: 320px; font-size: 14px; line-height: 1.5; color: var(--fg-soft); text-wrap: pretty; }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 16px; font-weight: 600; color: var(--fg); white-space: nowrap; }
.footer__phone-icon { color: var(--accent); display: inline-flex; }
.footer__col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 16px; }
.footer__col-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--fg); }
.footer__muted { opacity: .5; }
.footer__zone { display: inline-flex; align-items: center; gap: 10px; }
.footer__zone-icon { width: 30px; height: 30px; border-radius: 99px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); }
.footer__zone-icon--teamviewer { background: #0a6cd1; }
.footer__zone-text { display: flex; flex-direction: column; line-height: 1.3; }
.footer__zone-title { font-weight: 600; white-space: nowrap; }
.footer__zone-sub { font-size: 12px; color: var(--fg-mute); white-space: nowrap; }

.footer__partners { padding-top: 28px; padding-bottom: 4px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__partners-title { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.footer__partners-list { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__google { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.footer__google-dots { display: grid; grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 3px; }
.footer__google-dot { width: 9px; height: 9px; border-radius: 99px; }
.footer__google-dot--blue { background: #4285F4; }
.footer__google-dot--red { background: #EA4335; }
.footer__google-dot--green { background: #34A853; }
.footer__google-dot--yellow { background: #FBBC05; }
.footer__partner-text { display: flex; flex-direction: column; line-height: 1.2; }
.footer__partner-title { font-size: 14px; font-weight: 600; color: var(--fg); }
.footer__partner-sub { font-size: 12px; color: var(--fg-mute); }
.footer__hhnet { display: inline-flex; align-items: center; gap: 12px; }
.footer__hhnet-logo { background: var(--hhnet); padding: 0 6px 0 12px; border-radius: 8px; display: inline-flex; align-items: center; flex-shrink: 0; }
.footer__hhnet-logo img { display: block; height: 40px; width: auto; }
.footer__hhnet .footer__partner-title, .footer__hhnet .footer__partner-sub { white-space: nowrap; }

.footer__bottom { background: var(--bg-deep); padding: 18px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.6); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: inherit; }
.footer__cookies { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }

@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .footer__top { padding: 48px 0 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__lead { font-size: 16px; }
  /* klikací plochy min. 44 px */
  .footer__col-list { gap: 0; font-size: 16px; }
  .footer__col-list > a:not(.footer__zone) { display: block; padding: 11px 0; line-height: 22px; }
  .footer__phone, .footer__zone, .footer__hhnet { min-height: 44px; display: flex; align-items: center; }
  .footer__col-list > .footer__zone { margin: 4px 0; }
  .footer__legal { gap: 0 20px; }
  .footer__legal a, .footer__cookies { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
  .footer__bottom-inner { font-size: 14px; }
}
