   .header {
      display: flex;
      flex-direction: column;
      position: sticky;
      background-color: #fff;
      top: 0;
      z-index: 900;
   }

   .header__contact--phones {
      font-size: 15px;
      font-family: Bold, Arial, "Helvetica Neue", Helvetica, sans-serif;
      display: inline-block;
      vertical-align: middle;
      white-space: nowrap;
      text-align: left;
   }

   .header__brand {
      order: 1;
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: 50px;
      margin-right: 10px;
      padding: 10px 40px;
      background-color: var(--color-accent);
      position: relative;
   }

   .header__brand .custom-logo-link {
      position: absolute;
      top: auto;
      left: -50px;
      display: block;
      line-height: 0;
   }

   .header__brand .custom-logo {
      max-height: 80px;
      width: auto;
   }

   .header__site-name {
      color: white;
      font-size: .8rem;
      text-transform: uppercase;
      font-weight: 600;
      word-break: break-word;
   }

   .menu-toggle {
      position: absolute;
      right: -10px;
      background: var(--color-accent-2);
      border: none;
      cursor: pointer;
      padding: 10px;
      width: 50px;
      height: 50px;
      display: flex;
      flex: 0 0 50px;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      border-radius: 0;
   }

   .hamburger-line {
      width: 100%;
      height: 3px;
      background-color: white;
      transition: transform 0.3s ease, opacity 0.3s ease;
   }

   .mobile-menu-panel {
      --padding-size: 2rem;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      background-color: var(--color-accent);
      position: absolute;
      top: 0;
      left: 0;
      width: calc(100% - 2 * var(--padding-size));
      height: 100vh;
      z-index: 1000;
      transition: opacity 0.35s ease, visibility 0.35s ease;
      padding: var(--padding-size);
   }

   .menu-close {
      position: absolute;
      top: 20px;
      right: 20px;
      color: #fff;
      font-size: 2rem;
      background: var(--color-accent-2);
      border: none;
      cursor: pointer;
      padding: 0;
      width: 50px;
      height: 50px;
      display: flex;
      flex: 0 0 50px;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      border-radius: 0;
   }

   .mobile-menu-panel.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      position: fixed;
   }

   .mobile-menu-panel__content {
      margin-top: 70px;
      height: 100vh;
      overflow-y: auto;
   }

   .menu-mobile,
   .menu-mobile-list,
   .menu-mobile-list ul,
   .menu-mobile-list li {
      list-style: none;
      margin: 0;
      padding: 0;
   }

   .menu-mobile-list a {
      text-decoration: none;
      display: block;
   }

   .menu-mobile-list>li {
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
   }

   .menu-mobile-list>li>a {
      font-size: 1.2rem;
      color: #fff;
      padding: .5rem;
      text-transform: uppercase;
      transition: background-color 0.2s ease, padding-left 0.2s ease;
      position: relative;
   }

   .menu-mobile-list>li>a:hover,
   .menu-mobile-list>li>a:focus {
      background-color: rgba(255, 255, 255, 0.1);
      padding-left: 1.25rem;
   }

   .menu-mobile-list>li.menu-item-has-children>a::after {
      content: '❯';
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.4rem;
      font-weight: 300;
      color: #ffffff;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
   }

   .menu-mobile-list>li.menu-item-has-children.open>a::after {
      transform: translateY(-50%) rotate(90deg);
   }

   .menu-mobile-list .sub-menu {
      max-height: 0;
      overflow: hidden;
      background-color: rgba(0, 0, 0, 0.15);
      transition: max-height 0.4s ease;
   }

   .menu-mobile-list .sub-menu li a {
      color: rgba(255, 255, 255, 0.9);
      padding: 0.6rem 1rem 0.6rem 2rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      transition: background-color 0.2s ease, color 0.2s ease;
   }

   .menu-mobile-list .sub-menu li a:hover,
   .menu-mobile-list .sub-menu li a:focus {
      color: #ffffff;
      background-color: rgba(255, 255, 255, 0.1);
   }

   .menu-mobile-list>li.menu-item-has-children.open>.sub-menu {
      max-height: 500px;
   }

   .menu-mobile-list .sub-menu .sub-menu a {
      padding-left: 3rem;
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.8);
   }

   .header__row {
      padding: 15px 5%;
   }

   .header__row2 {
      padding: 0 5%;
   }

   .header__row--top {
      background-color: var(--color-bg-gray);

   }

   .header__row--top__wrapper {
      order: 0;
      display: flex;
      justify-content: space-between;
      gap: 10px;
      max-width: var(--max-size-w);
      margin: 0 auto;
   }

   .header__row--top nav.header__personal-nav a img {
      display: none;
   }

   .header__row--bottom {
      order: 2;
      display: flex;
      justify-content: space-between;
      gap: 10px;
      text-align: center;
      align-items: center;
      justify-content: end;
   }

   .header__personal-list {
      display: flex;
      gap: 10px;
      list-style: none;
      margin: 0;
      padding: 0;
   }

   .header__personal-list li {
      display: block;
   }

   .header__personal-list li a {
      text-decoration: none;
   }

   .header__personal-list li a:hover,
   .header__personal-list li a:focus,
   .header__personal-list li a:visited {
      color: var(--color-accent-2);
   }

   .header__socials {
      display: flex;
      align-items: center;
      gap: 10px;
   }

   .header__socials span {
      display: none;
      font-size: var(--font-small);
   }

   .header__social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
   }

   .header__social-link svg {
      width: 20px;
      height: 20px;
      color: var(--color-accent);
   }

   .header__contacts {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      width: 100%;
      justify-content: space-around;
      gap: 10px;
      max-width: fit-content;
      height: 100%;
   }

   .contact-list__link {
      color: var(--color-black);
      text-decoration: none;
      font-weight: 500;
      text-wrap: nowrap;
   }

   .contact-list__link:hover,
   .contact-list__link:focus,
   .contact-list__link:visited {
      color: var(--color-black);
   }

   .header__contact-separator {
      color: var(--color-black);
      user-select: none;
   }

   .header__language {
      display: none;
   }

   .header__language-nav {
      width: 100%;
   }

   .header__language-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      list-style: none;
      margin: 0;
      padding: 0;
      justify-content: center;
   }

   .header__language-list li {
      display: inline-block;
      padding: 6px 12px;
      color: #414141;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      border: 1px solid #eaeaea;
      border-radius: 4px;
      transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
   }

   .header__language-list li:hover,
   .header__language-list li:focus,
   .header__language-list li.current-lang {
      background-color: #0f253d;
      border-color: #0f253d;
      color: #FFFFFF;
   }

   @media (min-width: 412px) {
      .header__brand {
         padding: 10px 33% 10px 40px;
      }
   }

   @media (min-width: 557px) {
      .header__brand {
         padding: 10px 50% 10px 40px;
      }
   }

   @media (min-width: 746px) {
      .header__brand {
         padding: 10px 63% 10px 40px;
      }
   }

   @media (min-width: 576px) {
      .header__socials span {
         display: block;
      }
   }

   @media (min-width: 768px) {
      .header__brand {
         /* position: absolute;
         top: 40px;
         left: 5%; */
         width: 280px;
         padding: 15px 50px;
      }

      .header__brand .custom-logo {
         max-height: 90px;
      }

      .menu-toggle {
         display: none;
      }

      .header__contacts {
         gap: initial;
      }
   }

   @media (min-width: 768px) {
      .header__row2 {
         display: flex;
         flex-direction: row;
         justify-content: space-between;
         width: 90%;
         margin: 5px auto;
      }

      .header__brand {
         padding-right: 10px;
         margin-right: 5px;
      }

      .header__row.header__row--bottom {
         padding-right: 0;
         padding-left: 0;
      }

      .header__row.header__row--bottom .header__contacts {
         font-size: 15px;
      }
   }

   @media (min-width: 850px) {
      .header__row2 {
         max-width: var(--max-size-w);
      }
   }

   /* popup */

   .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 9999;

      display: flex;
      align-items: center;
      justify-content: center;
   }

   .popup-window {
      --popup-w: 90%;
      --popup-max-w: 1040px;
      --popup-padding: 60px;
      position: relative;
      width: calc(var(--popup-w) - 2 * var(--popup-padding));
      max-width: calc(var(--popup-max-w));

      background: var(--color-bg-gray);
      padding: var(--popup-padding);

   }

   .popup-close {
      position: absolute;
      top: 10px;
      right: 10px;
      border: none;
      background: transparent;
      font-size: 20px;
      cursor: pointer;
   }

   @media (max-width: 1024px) {
      .popup-window {
         --popup-w: 96%;
      }
   }

   @media (max-width: 600px) {
      .popup-window {
         --popup-padding: 30px;
      }
   }

   .popup-window .block-contacts {}

   .top-place-icon {
      display: inline-block;
      width: 20px;
      height: 20px;
      /* background: url('/wp-content/themes/karpovka19/assets/image/top_place_ico.svg') no-repeat center center; */
      background-size: 20px 20px;

   }


   .consult-list.block-contacts {
      padding: 30px;
   }