/* both IT – vlastní hlavička */
#masthead,
.ast-primary-header-bar,
.ast-mobile-header-wrap {
  display: none !important;
}

.bothit-site-header {
  position: relative;
  z-index: 999;
  width: 100%;
  background: #101E36;
  border-bottom: 1px solid rgba(32, 187, 208, .28);
  box-shadow: 0 8px 28px rgba(4, 13, 28, .18);
  color: #fff;
}

.bothit-header-inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bothit-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 250px;
  color: #fff !important;
  text-decoration: none !important;
}

.bothit-logo {
  display: inline-flex;
  width: 66px;
  flex: 0 0 66px;
  transition: transform .2s ease;
}
.bothit-brand:hover .bothit-logo { transform: translateY(-2px); }
.bothit-logo svg { display: block; width: 100%; height: auto; }

.bothit-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bothit-brand-name {
  color: #fff;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1.3px;
  line-height: 1;
}
.bothit-brand-name strong {
  color: #20BBD0;
  font-weight: 800;
}
.bothit-tagline {
  color: #B8C8D8;
  font-size: 11px;
  letter-spacing: .15px;
  line-height: 1.3;
}

.bothit-main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
}
.bothit-main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border-radius: 7px;
  color: #E8F0F5 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: color .18s ease, background .18s ease;
}
.bothit-main-nav a:hover,
.bothit-main-nav a:focus-visible {
  color: #55D98B !important;
  background: rgba(32, 187, 208, .10);
  outline: none;
}

.bothit-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(32,187,208,.45);
  border-radius: 8px;
  background: #1B3653;
  cursor: pointer;
}
.bothit-menu-icon { display: flex; flex-direction: column; gap: 5px; }
.bothit-menu-icon i {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #55D98B;
}

@media (max-width: 900px) {
  .bothit-header-inner { width: min(100% - 32px, 720px); min-height: 82px; }
  .bothit-brand { min-width: 0; }
  .bothit-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .bothit-main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 16px 16px;
    background: #101E36;
    border-top: 1px solid rgba(32,187,208,.2);
    box-shadow: 0 12px 20px rgba(4,13,28,.22);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .bothit-main-nav.is-open { display: flex; }
  .bothit-main-nav a { min-height: 44px; padding: 0 14px; }
}
@media (max-width: 420px) {
  .bothit-header-inner { width: calc(100% - 24px); }
  .bothit-logo { width: 56px; flex-basis: 56px; }
  .bothit-brand-name { font-size: 25px; }
  .bothit-tagline { font-size: 10px; }
}
