/* One first row for the brand and telephone action on every mobile site header. */
@media screen and (max-width: 768px) {
  html body header.site-header-call-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "logo contact" "mode mode";
    grid-column: 1 / -1;
    grid-row: auto;
    align-items: center;
    gap: 10px 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 10px 12px;
  }
  html body header.site-header-call-top::after { display: none; }
  html body header.site-header-call-top.header--home {
    grid-template-areas: "logo contact" "mode mode" "title title";
  }
  html body .site-header-call-top > .header__logo {
    display: flex !important;
    grid-area: logo;
    order: 0;
    align-items: center;
    justify-self: start;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0;
  }
  html body .site-header-call-top .header__logo .logo {
    display: block;
    max-width: 100%;
  }
  html body .site-header-call-top .header__logo .logo__text {
    display: block;
    font-size: clamp(1.45rem, 6.6vw, 1.85rem);
    line-height: 1;
    white-space: nowrap;
  }
  html body .site-header-call-top .header__logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 44px;
    height: auto;
    object-fit: contain;
  }
  html body .site-header-call-top > .header__contact {
    grid-area: contact;
    order: 0;
    justify-self: end;
    align-self: center;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  html body .site-header-call-top .header__phone-number {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    gap: 0;
    margin: 0;
    padding: 0;
  }
  html body .site-header-call-top .header__phone-number > .phone-number,
  html body .site-header-call-top .header__mobile-logo,
  html body .site-header-call-top .header__email-adress { display: none; }
  html body .site-header-call-top .phone-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 112px;
    min-height: 44px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }
  html body .site-header-call-top > .header__mode {
    display: flex;
    grid-area: mode;
    order: 0;
    justify-self: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  html body .site-header-call-top .home-mode-switch__button {
    flex: 1 1 0;
    box-sizing: border-box;
    min-width: 0;
    min-height: 42px;
    padding: 9px 6px;
    font-size: clamp(12px, 3.6vw, 16px);
    line-height: 1.2;
  }
  html body .site-header-call-top .home-mode-switch__button--certificate {
    grid-column: auto;
    border-top: 0;
  }
  html body .site-header-call-top > .zagolovok {
    grid-area: title;
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  html body .site-header-call-top + .zagolovok {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }
  html body .site-header-call-legacy .header__top {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 0;
    box-sizing: border-box;
  }
  html body .site-header-call-legacy .header__top > .logo {
    flex: 0 1 158px;
    min-width: 0;
    margin: 0;
  }
  html body .site-header-call-legacy .header__top .logo img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
  }
  html body .site-header-call-legacy .header__top > .header__phone { display: none; }
  html body .site-header-call-legacy .header__top > .header__btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 112px;
    min-height: 44px;
    margin: 0;
    padding: 9px 12px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }
}
.site-header-call-legacy .header__top > a.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  color: #111;
  background: #ffcc00;
  border: 2px solid #111;
  font-weight: 700;
}
.site-header-call-top .phone-call-button:focus-visible,
.site-header-call-legacy .header__btn:focus-visible {
  outline: 3px solid #b68d00;
  outline-offset: 3px;
}
