﻿/* Red and white header, shared by desktop and mobile. */
.site-header {
  min-height: 76px;
  display: block;
}
.site-header #menu_top {
  background: #fff;
  border-top: 1px solid #e2e5eb;
  border-bottom: 1px solid #e2e5eb;
}
.site-header__inner {
  max-width: 1440px;
  min-height: 74px;
  padding: 0 24px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.site-header__logo img {
  flex-shrink: 0;
  display: block;
  width: 80px;
  max-height: 54px;
  object-fit: contain;
}
.site-header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  line-height: 1.35;
}
.site-header__company {
  color: #f00;
  font-size: 14px;
  font-weight: 700;
}
.site-header__tagline {
  color: #292929;
  font-size: 11px;
  font-weight: 400;
}
.site-header__nav {
  flex: 1;
  min-width: 0;
}
.site-header .menu ul.menu_cap_cha {
  display: flex !important;
  width: auto;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
}
.site-header .menu ul.menu_cap_cha > li {
  flex-shrink: 0;
}
.site-header .menu ul.menu_cap_cha > li.menulicha > a {
  position: relative;
  padding: 0;
  height: 74px;
  line-height: 74px;
  color: #3f4652;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background: transparent;
}
.site-header .menu ul.menu_cap_cha > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--color-main);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.site-header .menu ul.menu_cap_cha > li.active > a,
.site-header .menu ul.menu_cap_cha > li > a:hover,
.site-header .menu ul.menu_cap_cha > li > a:focus-visible {
  color: var(--color-main);
  background: transparent;
}
.site-header .menu ul.menu_cap_cha > li.active > a::after,
.site-header .menu ul.menu_cap_cha > li > a:hover::after,
.site-header .menu ul.menu_cap_cha > li > a:focus-visible::after {
  transform: scaleX(1);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.site-header a.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #d4d8df;
  border-radius: 4px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.site-header__quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 25px;
  border-radius: 4px;
  background: var(--color-main);
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgb(223 39 43 / 15%);
  transition: background 0.2s ease;
}
.site-header__quote:hover,
.site-header__quote:focus {
  background: var(--color-dark-red);
  color: #fff;
}
.site-header .menu_cap_con,
.site-header .menu_cap_2,
.site-header .menu_cap_3 {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
}
.site-header .menu_cap_con li a {
  font-family: "Inter", sans-serif;
  color: #3f4652 !important;
  border-bottom: 1px solid #f1f1f1;
}
.site-header .menu_cap_con li:hover,
.site-header .menu_cap_con li:focus-within,
.site-header .fixed .menu_cap_con li {
  background: #fff !important;
}
.site-header .menu_cap_con li a:hover,
.site-header .menu_cap_con li a:focus-visible {
  color: var(--color-main) !important;
  background: #fff3f3;
}
.site-header .menulicha:focus-within > .menu_cap_con,
.site-header .menu_cap_con li:focus-within > .menu_cap_2,
.site-header .menu_cap_2 li:focus-within > .menu_cap_3 {
  display: block;
}
.site-header__toggle {
  display: none;
}
.site-header a:focus-visible,
.site-header button:focus-visible,
.menu_mobi_add button:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 4px;
}
.site-mobile-phone {
  display: block;
  padding: 12px 16px;
  color: var(--color-main) !important;
  font-weight: 700;
}
@media (max-width: 1199px) and (min-width: 1025px) {
  .site-header__inner {
    padding: 0 16px;
    gap: 16px;
  }
  .site-header__logo {
    flex-basis: auto;
  }
  .site-header .menu ul.menu_cap_cha {
    gap: 15px;
  }
  .site-header .menu ul.menu_cap_cha > li.menulicha > a {
    font-size: 13px;
  }
  .site-header__actions {
    gap: 10px;
  }
  .site-header__quote {
    padding: 0 16px;
    font-size: 13px;
  }
}
@media (max-width: 1024px) {
  .site-header {
    min-height: 72px;
  }
  .site-header__inner {
    min-height: 70px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }
  .site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid #f4cccc;
    border-radius: 4px;
    background: #fff;
    color: var(--color-main);
  }
  .site-header__logo {
    flex: 1 1 100%;
  }
  .site-header__logo img {
    width: 84px;
    max-height: 60px;
  }
  .site-header__nav {
    display: none;
  }
  .site-header__actions {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    gap: 10px;
  }
  .site-header__quote {
    min-height: 40px;
    padding: 0 16px;
    font-size: 12px;
  }
  .menu_mobi_add .close_menu {
    border: 0;
    border-radius: 4px;
    background: #fff3f3;
    color: var(--color-main);
  }
  .menu_mobi_add .frm_timkiem {
    display: flex;
    width: calc(100% - 32px);
    margin: 10px 16px;
  }
  div.menu_mobi_add ul li.active > a,
  div.menu_mobi_add ul li a:hover {
    color: var(--color-main);
    background: #fff3f3;
  }
}
@media (max-width: 540px) {
  .site-header__inner {
    gap: 10px;
    padding: 0 12px;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-header__actions {
    margin-left: auto;
  }
  .site-header a.site-header__phone {
    padding: 6px;
    font-size: 11px;
    gap: 5px;
  }
  .site-header__quote {
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }
  .site-header__logo {
    flex: 1 1 100%;
    gap: 10px;
  }
  .site-header__company {
    font-size: 14px;
  }
  .site-header__tagline {
    font-size: 11px;
  }
  .site-header__brand-text {
    gap: 3px;
  }
  .site-header__actions {
    flex-basis: 100%;
    justify-content: flex-end;
  }
  .site-header__logo img {
    width: 76px;
    max-height: 60px;
  }
  .site-header__toggle {
    width: 40px;
    height: 40px;
  }
}
@media (min-width: 1025px) and (max-width: 1399px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0 24px;
    padding-top: 10px;
  }
  .site-header__actions {
    margin-left: auto;
  }
  .site-header__nav {
    order: 3;
    flex-basis: 100%;
  }
  .site-header .menu ul.menu_cap_cha > li.menulicha > a {
    height: 48px;
    line-height: 48px;
  }
  .site-header .menu ul.menu_cap_cha > li > a::after {
    bottom: 6px;
  }
}
@media (min-width: 541px) and (max-width: 1024px) {
  .site-header__logo {
    gap: 12px;
  }
  .site-header__company {
    font-size: 16px;
  }
  .site-header__tagline {
    font-size: 12px;
  }
}
@media (max-width: 374px) {
  .site-header__actions {
    gap: 6px;
  }
  .site-header__quote {
    padding: 0 6px;
    font-size: 10px;
  }
  .site-header__inner {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 1024px) {
  .site-header__actions .site-header__toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }
  .site-header__actions a.site-header__phone,
  .site-header__actions a.site-header__quote {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0 6px;
    font-size: 12px;
    line-height: 1.3;
  }
}
