.header-logo,
.header__logo {
    display: flex;
    align-items: center;
    line-height: 0;
}



.header,
.site-header,
.page-header {
    position: relative;
    z-index: 20;
}

.header .container,
.site-header .container,
.page-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
    background: transparent !important;
}

.header-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    height: 70px;
    object-fit: contain;
    background: transparent !important;
}

.header-nav,
.main-menu,
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.header-nav a,
.main-menu a,
.navbar-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 70px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.header-actions,
.header-phone,
.header-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.header-phone a,
.header-actions a,
.header-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
}

/* AS69 inner page header */
.as69-inner-header,
.as69-inner-header * {
  box-sizing: border-box;
}

.as69-inner-header {
  position: relative;
  z-index: 50;
  width: 100%;
  padding: 0 !important;
  background: #101010;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.as69-inner-header__inner {
  position: relative;
  width: min(100% - 40px, 1320px);
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 205px 170px;
  align-items: center;
  gap: 22px;
}

.as69-inner-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.as69-inner-header__logo img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.as69-inner-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 0;
}

.as69-inner-header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.as69-inner-header__nav a:hover,
.as69-inner-header__nav a:focus {
  color: #fff;
  text-decoration: none;
}

.as69-inner-header__contacts {
  text-align: right;
  min-width: 0;
}

.as69-inner-header__phone {
  display: inline-flex;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.as69-inner-header__phone:hover,
.as69-inner-header__phone:focus {
  color: #fff;
  text-decoration: none;
}

.as69-inner-header__time {
  margin-top: 5px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.as69-inner-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 4px;
  background: #e30613;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(227,6,19,.22);
  transition: background .2s ease, transform .2s ease;
}

.as69-inner-header__cta:hover,
.as69-inner-header__cta:focus {
  background: #c8000b;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.as69-inner-header__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.as69-inner-header__burger {
  display: none;
  width: 44px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.as69-inner-header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: #fff;
}

@media (max-width: 1199px) {
  .as69-inner-header__inner {
    grid-template-columns: 180px minmax(0, 1fr) 190px;
  }

  .as69-inner-header__nav {
    gap: 16px;
  }

  .as69-inner-header__cta {
    display: none;
  }
}

@media (max-width: 991px) {
  .as69-inner-header__inner {
    width: min(100% - 28px, 1320px);
    min-height: 76px;
    grid-template-columns: 150px minmax(0, 1fr) 44px;
    gap: 12px;
  }

  .as69-inner-header__logo img {
    max-width: 145px;
    max-height: 50px;
  }

  .as69-inner-header__burger {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .as69-inner-header__contacts {
    grid-column: 2;
    grid-row: 1;
    padding-right: 4px;
  }

  .as69-inner-header__phone {
    font-size: 15px;
  }

  .as69-inner-header__time {
    display: none;
  }

  .as69-inner-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(16,16,16,.98);
    box-shadow: 0 22px 50px rgba(0,0,0,.32);
  }

  .as69-inner-header__toggle:checked ~ .as69-inner-header__nav {
    display: flex;
  }

  .as69-inner-header__nav a {
    min-height: 44px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 15px;
  }

  .as69-inner-header__nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 575px) {
  .as69-inner-header__inner {
    width: calc(100% - 20px);
    min-height: 70px;
    grid-template-columns: 112px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .as69-inner-header__logo img {
    max-width: 108px;
    max-height: 44px;
  }

  .as69-inner-header__phone {
    font-size: 13px;
  }

  .as69-inner-header__burger {
    width: 40px;
    height: 38px;
  }
}

@media (max-width: 370px) {
  .as69-inner-header__contacts {
    display: none;
  }

  .as69-inner-header__inner {
    grid-template-columns: minmax(112px, 1fr) 40px;
  }

  .as69-inner-header__burger {
    grid-column: 2;
  }
}

/* AS69 home header on inner pages */
.as69-inner-home-header {
  position: relative;
  z-index: 60;
  width: 100%;
  min-height: 96px;
  padding: 0 !important;
  background: #0d0d0d;
  color: #fff;
}

.as69-inner-home-header .as69-hero-menu {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.44));
}

.as69-inner-home-header .as69-hero-menu__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.as69-inner-home-header .as69-hero-menu__burger {
  align-content: center;
}

@media (max-width: 991px) {
  .as69-inner-home-header {
    min-height: 78px;
  }

  .as69-inner-home-header .as69-hero-menu__toggle:checked ~ .as69-hero-menu__nav {
    display: flex;
  }
}

@media (max-width: 575px) {
  .as69-inner-home-header {
    min-height: 70px;
  }
}
