/**
 * Верхняя шапка в стиле TLS (структура BEM .header / .header-menu).
 * Цвет акцента — фирменный красный Fire Control; глобальные html/body не трогаем.
 */

 @keyframes headerSlideIn {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes headerMoveUpInitial {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -105%, 0);
  }
}

@keyframes headerMoveUpEnd {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10050;
  width: 100%;
  font-family: "Poppins", sans-serif;
  transition:
    background-color 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

#fc-top-header .header__link,
#fc-top-header .header__lang-text,
#fc-top-header .header__lang-svg path,
#fc-top-header .header__menu-toggle,
#fc-top-header .header__menu-toggle-svg path,
#fc-top-header .header__menu-toggle .header__menu-line,
#fc-top-header .header__cta {
  transition:
    color 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    background-color 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    stroke 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.header--main .header__inner::before {
  left: -100%;
  animation: headerSlideIn 2s cubic-bezier(0.33, 1, 0.68, 1) infinite forwards;
  animation-delay: 2s, 1.5s;
}

.header .header-menu a,
.header .header-menu span {
  color: #000;
}

.header-menu {
  position: relative;
  display: block;
}

.header-menu__overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100vh;
  background: rgba(24, 29, 29, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  transition-delay: 0.2s;
  z-index: 10040;
}

.header-menu__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-height: 100vh;
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.25s ease;
  transition-delay: 0.15s;
  transform: scaleY(0);
  transform-origin: top center;
  background: #fff;
  z-index: 10060;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1279px) {
  .header-menu__wrapper {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: none;
    height: 100vh;
    transform: translateX(100%);
    transform-origin: center;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .header-menu__wrapper::-webkit-scrollbar {
    display: none;
  }
}

body.header-menu-open .header-menu__overlay {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

@media (min-width: 1280px) {
  body.header-menu-open .header-menu__wrapper {
    transform: scaleY(1);
    transition-delay: 0s;
  }
}

@media (max-width: 1279px) {
  body.header-menu-open .header-menu__wrapper {
    transform: translateX(0);
    transition-delay: 0s;
  }

  /* Бургер в шапке поверх белого drawer */
  body.header-menu-open #fc-top-header .header__wrapper {
    position: relative;
    z-index: 10065;
  }
}

.header-menu__container {
  padding: 0 0 7.5rem;
}

@media (max-width: 1279px) {
  .header-menu__container {
    padding: 0 0 1.625rem;
  }

  .header-menu__container-head {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.header-menu__row {
  display: flex;
}

@media (max-width: 1279px) {
  .header-menu__row {
    display: block;
  }
}

.header-menu__col {
  flex-shrink: 0;
}

.header-menu__col:nth-child(1) {
  width: calc((((100vw - (60px * 2) - (20px * 11)) / 12) + 20px) * 4);
}

@media (max-width: 1279px) {
  .header-menu__col:nth-child(1) {
    width: auto;
  }
}

.header-menu__col:nth-child(2) {
  width: calc((((100vw - (60px * 2) - (20px * 11)) / 12) + 20px) * 8 - 20px);
}

@media (max-width: 1279px) {
  .header-menu__col:nth-child(2) {
    margin-top: 1.25rem;
    width: auto;
  }

  .header-menu__contacts {
    margin: 0 0 1rem;
    padding: 0;
  }

  .header-menu__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    row-gap: 0;
    column-gap: 0;
  }

  .header-menu__item {
    margin: 0;
    padding: 0 0 0.875rem;
  }

  .header-menu__item:not(:last-child) {
    margin-bottom: 0.875rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid rgba(24, 29, 29, 0.08);
  }

  .header-menu__heading {
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.25;
  }

  .header-menu__item > ul > li {
    margin-top: 0.35rem;
  }

  .header-menu__item > ul > li:first-child {
    margin-top: 0.15rem;
  }

  .header-menu__list-item:not(:first-child) {
    margin-top: 0.35rem;
  }

  .header-menu__item .dsn-title-menu {
    display: inline;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    margin: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .header-menu__item > ul a {
    display: block;
    padding: 0.2rem 0;
  }
}

.header-menu__contact {
  display: flex;
}

.header-menu__contact:not(:first-child) {
  margin-top: 0.25rem;
}

.header-menu__title {
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 1.1;
  color: #181d1d;
}

@media (max-width: 1279px) {
  .header-menu__title {
    font-size: 1rem;
  }
}

.header-menu__buttons {
  margin-top: 3.75rem;
}

@media (max-width: 1279px) {
  .header-menu__buttons {
    margin-top: 0.75rem;
  }
}

.header-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 2.5rem;
  column-gap: 20px;
}

@media (max-width: 1279px) {
  .header-menu__grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    row-gap: 0;
    column-gap: 0;
    gap: 0;
  }
}

.header-menu__heading {
  position: relative;
  color: #181d1d;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 0.75rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.header-menu__heading::before {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  height: 1px;
  background: #fc0701;
  pointer-events: none;
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s;
}

a.header-menu__heading:hover,
button.header-menu__heading:hover {
  color: #fc0701;
}

a.header-menu__heading:hover::before,
button.header-menu__heading:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

button.header-menu__heading {
  background: none;
  border: 0;
  cursor: default;
  text-align: left;
  padding: 0;
}

.header-menu__list-item {
  display: flex;
}

.header-menu__list-item:not(:first-child) {
  margin-top: 0.75rem;
}

.header-menu__link {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.3;
  color: #212529 !important;
}

.header-menu__item > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu__item > ul > li {
  margin-top: 0.5rem;
}

.header-menu__item > ul a {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.3;
  color: #212529 !important;
}

.header-menu__bot {
  padding: 1.875rem 0;
  border-top: 1px solid #e8e8e8;
}

.header-menu__bot-row {
  display: flex;
  align-items: center;
}

@media (max-width: 1279px) {
  .header-menu__bot-row {
    display: block;
  }
}

.header-menu__bot-col:nth-child(1) {
  width: calc((((100vw - (60px * 2) - (20px * 11)) / 12) + 20px) * 6);
}

@media (max-width: 1279px) {
  .header-menu__bot-col:nth-child(1) {
    display: none;
  }
}

.header-menu__bot-col:nth-child(2) {
  display: flex;
  align-items: center;
  width: calc((((100vw - (60px * 2) - (20px * 11)) / 12) + 20px) * 6 - 20px);
}

@media (max-width: 1279px) {
  .header-menu__bot-col:nth-child(2) {
    width: auto;
    display: block;
  }
}

.header-menu__caption {
  font-weight: 500;
  color: #979797;
  font-size: 12px;
  line-height: 1.3;
}

.header-menu__corp {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  margin-left: 30px;
  color: #000 !important;
}

@media (max-width: 1279px) {
  .header-menu__corp {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

.header-menu__corp-link {
  color: #fc0701;
}

.header-menu__container-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 3;
  margin: 0;
  padding: max(0.75rem, env(safe-area-inset-top, 0px)) 20px 0.75rem;
  min-height: 3.5rem;
  box-sizing: border-box;
  background: #fff;
}

.header-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  min-width: 3.1rem;
  min-height: 3.1rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fc0701;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
  transition: background-color 0.25s ease;
}

.header-menu__close:hover,
.header-menu__close:focus-visible {
  background: #e00600;
}

.header-menu__close svg {
  display: block;
  width: 22px;
  height: 22px;
}

.header__wrapper {
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  transition: border-color 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__inner {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  transition: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  overflow: visible;
}

@media (max-width: 1279px) {
  .header__inner {
    padding: 1.25rem 0;
  }
}

.header__inner::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: -1;
  width: 28.4375rem;
  height: 1px;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 79.69%);
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (max-width: 1279px) {
  .header__inner::before {
    width: 7.375rem;
  }
}

.header__inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -2;
  height: 1px;
  border-bottom: 1px dashed hsla(0, 0%, 100%, 0.35);
  transition: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__row {
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .header__row {
    justify-content: space-between;
  }
}

.header__col {
  flex-shrink: 0;
}

.header__col:nth-child(1) {
  width: calc((((100vw - (60px * 2) - (20px * 11)) / 12) + 20px));
}

.header__col--tools {
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: -48px;
  position: relative;
  z-index: 3;
}

@media (max-width: 1279px) {
  .header__col--tools {
    margin-top: -1.25rem;
  }
}

.header__col:nth-child(2) {
  width: calc((((100vw - (60px * 2) - (20px * 11)) / 12) + 20px) * 2);
  position: relative;
}

.header__logo {
  display: flex;
  position: relative;
  min-height: 100px;
  align-items: center;
}

.header__col:nth-child(4) {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.header__bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.5vw, 1.75rem);
  width: 100%;
  min-width: 0;
}

.header__bar > .header__links {
  flex: 0 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.header__bar .header__nav {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: clamp(0.75rem, 1.5vw, 1.75rem);
}

.header__item--cta {
  margin-left: 0.5rem;
}

.header__cta {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 44px;
  padding: 0 1.35rem;
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: #fff !important;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14.4px;
  line-height: 1.3;
  text-decoration: none;
  text-decoration-line: none !important;
  white-space: nowrap;
  overflow: hidden;
  transition: border-color 0.5s cubic-bezier(0.33, 1, 0.68, 1),
    color 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  background-color: #fc0701;
}

.header__cta:hover {
  border-color: #fc0701;
  color: #fff !important;
}

.header__cta:hover::before {
  transform: none;
}

.header .header__cta {
  color: #fff !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

#fc-top-header .header__cta.online_rezerv {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

@media (max-width: 1024px) {
  .header__col:nth-child(4) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header__col:nth-child(2) {
    width: 105px;
  }
  .header__col:nth-child(1) {
    width: calc(100% - 200px);
    margin: 0 10px;
  }
}

/* Десктоп: burger и логотип не наезжают на меню (1025px+, в т.ч. 2K/4K) */
@media (min-width: 1025px) {
  #fc-top-header .header__col:nth-child(2) {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 186px;
    max-width: 220px;
  }

  #fc-top-header .header__logo-link {
    position: relative;
    top: auto;
    transform: none;
    width: 180px;
    height: 100px;
  }

  #fc-top-header .header__col--tools {
    flex: 0 0 auto;
    margin-top: 0;
    align-self: center;
    margin-left: 0.5rem;
    margin-right: 0.75rem;
  }

  #fc-top-header .header__menu-toggle {
    min-height: 4.35rem;
    min-width: 2.85rem;
    padding: 0.7rem 0.75rem;
  }

  #fc-top-header .header__col:nth-child(4) {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 0.25rem;
  }

  body.fc-side-rails-on #fc-top-header .header__col:nth-child(2) {
    min-width: 136px;
    max-width: 148px;
  }

  body.fc-side-rails-on #fc-top-header .header__logo-link {
    width: 130px;
    height: 68px;
  }
}

/* Узкий десктоп: чуть компактнее */
@media (min-width: 1025px) and (max-width: 1499.98px) {
  #fc-top-header .header__logo-link {
    width: 150px;
    height: 84px;
  }

  #fc-top-header .header__col:nth-child(2) {
    min-width: 156px;
    max-width: 168px;
  }

  #fc-top-header .header__bar {
    gap: clamp(0.5rem, 1vw, 1rem);
  }

  #fc-top-header .header__item:not(:first-child) {
    margin-left: 1rem;
  }
}

.header__box {
  position: relative;
  z-index: 0;
  height: 44px;
  padding: 0 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  transition: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  overflow: hidden;
}

.header__lang .header__box {
  width: 48px;
  height: 44px;
}

.header__box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  background-color: #fc0701;
}

.header__box:hover {
  border-color: #fc0701;
}

.header__box:hover::before {
  transform: none;
}

.header__box:hover .header__box-hover {
  animation: headerMoveUpInitial 0.2s forwards, headerMoveUpEnd 0.2s forwards 0.2s;
}

.header__box:hover .header__box-svg path {
  stroke: #fff;
}

.header__box-span {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
}

.header__box-hover {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__box-svg {
  width: 12px;
  height: 12px;
}

.header__box-svg path {
  transition: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__lang {
  position: relative;
  z-index: 1;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

@media (min-width: 1280px) {
  .header__lang {
    border: none;
  }
}

.header__lang:hover .header__box {
  border-color: #fc0701;
}

.header__lang:hover .header__box::before {
  transform: none;
}

.header__lang:hover .header__lang-text {
  color: #fff !important;
}

.header__lang:hover .header__lang-svg {
  transform: rotate(-180deg);
}

.header__lang:hover .header__lang-svg path {
  stroke: #fff;
}

.header__lang:hover .header__lang-dropdown {
  opacity: 1;
  pointer-events: all;
}

.header__lang-text {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  color: #fff !important;
  font-weight: 500;
  font-size: 9.37px;
  line-height: 1.3;
  transition: color 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__lang-icon {
  margin-left: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__lang-svg {
  width: 12px;
  height: 12px;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__lang-svg path {
  transition: stroke 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__lang-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 4px;
  pointer-events: none;
  opacity: 0;
  z-index: 10080;
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__lang-container {
  padding: 0.75rem 1.25rem;
  width: 250px;
  background-color: #fff;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.header__lang-container.langs {
  width: 47px;
}

.header__lang-item:not(:first-child) {
  margin-top: 0.75rem;
}

.header__lang-link {
  font-weight: 500;
  font-size: 9.37px;
  color: #000 !important;
  text-transform: uppercase;
}

.header__lang-link:hover {
  color: #fc0701 !important;
}

.header__logo {
  display: flex;
}

.header__logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100px;
  width: 180px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px;
}

.header__logo-link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  transition: opacity 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__logo-img--color {
  opacity: 0;
}

body.fc-side-rails-on #fc-top-header .header__logo-img--white,
#fc-top-header.header--scrolled .header__logo-img--white,
body.fc-inner-page #fc-top-header .header__logo-img--white {
  opacity: 0;
}

body.fc-side-rails-on #fc-top-header .header__logo-img--color,
#fc-top-header.header--scrolled .header__logo-img--color,
body.fc-inner-page #fc-top-header .header__logo-img--color {
  opacity: 1;
}

@media (max-width: 991.98px) {
  #fc-top-header .header__logo-img--white {
    opacity: 0;
  }

  #fc-top-header .header__logo-img--color {
    opacity: 1;
  }
}

/* TLS-стиль: белая плашка, только иконка (две полоски) */
.header__menu-toggle {
  position: relative;
  z-index: 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.85rem 0.9rem;
  min-width: 3.1rem;
  min-height: 5.75rem;
  border: 0;
  background: #fff;
  color: #181d1d;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.header__menu-toggle:hover,
.header__menu-toggle:focus-visible {
  background: #f4f4f4;
}

.header__menu-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__menu-toggle-svg {
  display: block;
  overflow: visible;
}

.header__menu-toggle-svg path {
  stroke: #181d1d;
}

.header__menu-toggle .header__menu-line {
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  transform-origin: 50% 50%;
}

body.header-menu-open .header__menu-toggle {
  background: #fff;
}

body.header-menu-open .header__menu-toggle .header__menu-line--top {
  transform: translateY(3.5px) rotate(45deg);
}

body.header-menu-open .header__menu-toggle .header__menu-line--bot {
  transform: translateY(-3.5px) rotate(-45deg);
}

.header__links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.header__item {
  display: flex;
  position: relative;
  align-items: center;
  height: 44px;
}

.header__item:not(:first-child) {
  margin-left: 2rem;
}

@media (max-width: 1200px) {
  .header__item:not(:first-child) {
    margin-left: 20px;
  }
}

.header__link {
  position: relative;
  z-index: 0;
  font-weight: 500;
  color: #fff !important;
  font-size: 14.4px;
  line-height: 1.3;
  transition: color 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

button.header__link {
  color: #fff !important;
  background: none;
  border: 0;
  cursor: pointer;
}

.header__link::before {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  pointer-events: none;
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s;
}

.header__link:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

.header__link_without-before::before {
  display: none;
}

.header__link_without-before {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-menu__dropdown-arrow {
  display: flex;
  align-items: center;
  width: 1rem;
  height: 1rem;
  transition: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.header-menu__dropdown-arrow svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 992px) {
  .header__item:hover .header-menu__dropdown-arrow {
    transform: rotate(180deg);
  }
}

.header__nav {
  display: flex;
  align-items: center;
}

.header {
  background: linear-gradient(180deg, #1d2025 0%, rgba(29, 32, 37, 0) 100%);
  transition: background 0.55s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.header a,
.header span,
.header button {
  color: inherit;
}

.header .header__menu-toggle {
  color: #181d1d;
}

.header .header__menu-toggle-svg path {
  stroke: #181d1d !important;
}

.header .header__menu-toggle:hover,
.header .header__menu-toggle:focus-visible {
  color: #181d1d;
}

.header .header__link {
  color: #fff !important;
}

.drop-menu {
  opacity: 0;
  position: absolute;
  background: #fff;
  top: 100%;
  left: 0;
  z-index: 10080;
  border-radius: 16px;
  visibility: hidden;
  width: auto;
  min-width: 280px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.own-dropdown.drop-list {
  position: relative;
}

.drop-menu .sol,
.drop-menu > ul {
  padding: 10px;
  font-size: 11.2px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  list-style: none;
  margin: 0;
}

.drop-menu .sol li a,
.drop-menu > ul a {
  color: #212529 !important;
  white-space: nowrap;
  padding: 9px 30px 9px 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 25px;
  width: 100%;
}

.drop-menu > ul li a:hover,
.drop-menu .sol li a:hover {
  background-color: #f1f1f9;
}

@media (min-width: 992px) {
  .header__item:hover .drop-menu,
  .own-dropdown.drop-list:hover .drop-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }
}

.socials {
  display: flex;
}

.socials--black .socials__item {
  border-color: rgba(24, 29, 29, 0.12);
}

.socials__item {
  position: relative;
  z-index: 0;
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  transition: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  overflow: hidden;
}

.socials__span {
  position: relative;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.socials__hover img {
  width: 85% !important;
}

@media (min-width: 1280px) {
  .only-mobile {
    display: none;
  }
}

/* Старую верхнюю полосу скрываем (контент остаётся в DOM для совместимости), полноэкранное меню темы сохраняется */
.site-header .inner-header {
  visibility: hidden;
  pointer-events: none;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* DSN: крупный фоновый «Menu» и правый .menu-icon не должны просвечивать сквозь прозрачную шапку FC */
#fc-top-header ~ .site-header .menu-cover-title {
  display: none !important;
}

@media (min-width: 992px) {
  body:has(#fc-top-header) .side-bar-full .menu-icon {
    display: none !important;
  }
}

.site-header .extend-container {
  position: relative;
  min-height: 1px;
}

body.header-menu-open {
  overflow: hidden;
}

.header .container {
  width: 100%;
  max-width:100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Плавное сжатие шапки при появлении боковых рельс (fc-side-rails-on) */
@media (min-width: 992px) {
  #fc-top-header {
    transition:
      padding-left 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      padding-right 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  }

  #fc-top-header .container,
  #fc-top-header .header__inner,
  #fc-top-header .header__col--tools,
  #fc-top-header .header__bar,
  #fc-top-header .header__bar .header__nav,
  #fc-top-header .header__item,
  #fc-top-header .header__item--cta,
  #fc-top-header .header__box,
  #fc-top-header .header__lang .header__box,
  #fc-top-header .header__link,
  #fc-top-header .header__link_without-before,
  #fc-top-header .header__cta,
  #fc-top-header .header__logo-link,
  #fc-top-header .header__menu-toggle {
    transition:
      padding 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      margin 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      height 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      width 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      min-height 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      min-width 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      font-size 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      gap 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      color 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      border-color 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  }

  #fc-top-header .header__link::before,
  #fc-top-header .header__lang-text,
  #fc-top-header .header__lang-svg path {
    transition: color 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      stroke 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      background-color 0.55s cubic-bezier(0.33, 1, 0.68, 1),
      opacity 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  }

  @media (prefers-reduced-motion: reduce) {
    #fc-top-header,
    #fc-top-header .container,
    #fc-top-header .header__inner,
    #fc-top-header .header__col--tools,
    #fc-top-header .header__bar,
    #fc-top-header .header__bar .header__nav,
    #fc-top-header .header__item,
    #fc-top-header .header__item--cta,
    #fc-top-header .header__box,
    #fc-top-header .header__lang .header__box,
    #fc-top-header .header__link,
    #fc-top-header .header__cta,
    #fc-top-header .header__logo-link,
    #fc-top-header .header__menu-toggle {
      transition: none;
    }
  }
}

/* После скролла (появились боковые рельсы 65px): компактная шапка + отступы */
@media (min-width: 992px) {
  body.fc-side-rails-on #fc-top-header .container {
    max-width: none;
    padding-left: 8px;
    padding-right: 8px;
  }

  body.fc-side-rails-on #fc-top-header .header__inner {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body.fc-side-rails-on #fc-top-header .header__col--tools {
    margin-top: -28px;
  }

  body.fc-side-rails-on #fc-top-header .header__bar,
  body.fc-side-rails-on #fc-top-header .header__bar .header__nav {
    gap: clamp(0.6rem, 1.2vw, 1.25rem);
  }

  body.fc-side-rails-on #fc-top-header .header__item:not(:first-child) {
    margin-left: 1.35rem;
  }

  body.fc-side-rails-on #fc-top-header .header__item--cta {
    margin-left: 0.5rem;
  }

  body.fc-side-rails-on #fc-top-header .header__item,
  body.fc-side-rails-on #fc-top-header .header__box,
  body.fc-side-rails-on #fc-top-header .header__cta {
    height: 42px;
  }

  body.fc-side-rails-on #fc-top-header .header__lang .header__box {
    width: 44px;
    height: 42px;
  }

  body.fc-side-rails-on #fc-top-header .header__link,
  body.fc-side-rails-on #fc-top-header .header__cta,
  #fc-top-header.header--scrolled .header__link,
  #fc-top-header.header--scrolled .header__cta {
    font-size: 14px;
  }

  body.fc-side-rails-on #fc-top-header .header__cta {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  body.fc-side-rails-on #fc-top-header .header__link_without-before {
    gap: 0.55rem;
  }

  body.fc-side-rails-on #fc-top-header .header__logo-link {
    height: 68px;
    width: 130px;
  }

  body.fc-side-rails-on #fc-top-header .header__menu-toggle,
  #fc-top-header.header--scrolled .header__menu-toggle {
    min-height: 4.5rem;
    min-width: 2.65rem;
    padding: 0.6rem 0.65rem;
  }

  /* Контент шапки строго между рельсами 65px — без заезда на боковые блоки */
  body.fc-side-rails-on #fc-top-header,
  #fc-top-header.header--scrolled {
    padding-left: 65px;
    padding-right: 65px;
    box-sizing: border-box;
  }

  body.fc-side-rails-on #fc-top-header .header__wrapper,
  #fc-top-header.header--scrolled .header__wrapper {
    max-width: 100%;
    overflow: visible;
  }

  body.fc-side-rails-on #fc-top-header .header__row,
  #fc-top-header.header--scrolled .header__row {
    max-width: 100%;
    box-sizing: border-box;
  }

  body.fc-side-rails-on #fc-top-header .header__col:nth-child(1),
  body.fc-side-rails-on #fc-top-header .header__col:nth-child(2),
  #fc-top-header.header--scrolled .header__col:nth-child(1),
  #fc-top-header.header--scrolled .header__col:nth-child(2) {
    width: auto;
    min-width: 0;
    flex-shrink: 0;
  }

  body.fc-side-rails-on #fc-top-header .header__col:nth-child(4),
  #fc-top-header.header--scrolled .header__col:nth-child(4) {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
    z-index: 6;
  }

  body.fc-side-rails-on #fc-top-header .header__bar,
  body.fc-side-rails-on #fc-top-header .header__bar > .header__links,
  body.fc-side-rails-on #fc-top-header .header__nav,
  #fc-top-header.header--scrolled .header__bar,
  #fc-top-header.header--scrolled .header__bar > .header__links,
  #fc-top-header.header--scrolled .header__nav {
    overflow: visible;
  }

  body.fc-side-rails-on #fc-top-header .header__col:nth-child(1),
  body.fc-side-rails-on #fc-top-header .header__lang,
  #fc-top-header.header--scrolled .header__col:nth-child(1),
  #fc-top-header.header--scrolled .header__lang {
    overflow: visible;
    z-index: 7;
  }

  body.fc-side-rails-on #fc-top-header .header__col--tools,
  #fc-top-header.header--scrolled .header__col--tools {
    margin-top: 0;
    align-self: center;
  }

  body.fc-side-rails-on #fc-top-header .header__logo-link,
  #fc-top-header.header--scrolled .header__logo-link {
    position: relative;
    top: auto;
    transform: none;
  }

  body.fc-side-rails-on #fc-top-header .header__bar > .header__links,
  body.fc-side-rails-on #fc-top-header .header__nav .header__links,
  #fc-top-header.header--scrolled .header__bar > .header__links,
  #fc-top-header.header--scrolled .header__nav .header__links {
    flex-wrap: nowrap;
    min-width: 0;
  }
}

/* Белая шапка после скролла — только между рельсами, боковые 65px не перекрываем */
body.fc-side-rails-on #fc-top-header.header,
#fc-top-header.header.header--scrolled {
  background: linear-gradient(
    to right,
    transparent 0,
    transparent 65px,
    #fff 65px,
    #fff calc(100% - 65px),
    transparent calc(100% - 65px)
  ) !important;
  box-shadow: none;
}

body.fc-side-rails-on #fc-top-header.header::after,
#fc-top-header.header.header--scrolled::after {
  content: "";
  position: absolute;
  left: 65px;
  right: 65px;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 0;
}

body.fc-side-rails-on #fc-top-header .header__inner::before,
body.fc-side-rails-on #fc-top-header .header__inner::after,
#fc-top-header.header--scrolled .header__inner::before,
#fc-top-header.header--scrolled .header__inner::after {
  opacity: 0;
}

body.fc-side-rails-on #fc-top-header .header__link,
body.fc-side-rails-on #fc-top-header button.header__link,
#fc-top-header.header--scrolled .header__link,
#fc-top-header.header--scrolled button.header__link {
  color: #181d1d !important;
}

body.fc-side-rails-on #fc-top-header .header__link::before,
#fc-top-header.header--scrolled .header__link::before {
  background: #181d1d;
}

body.fc-side-rails-on #fc-top-header .header__lang-text,
#fc-top-header.header--scrolled .header__lang-text {
  color: #181d1d !important;
}

body.fc-side-rails-on #fc-top-header .header__lang-svg path,
#fc-top-header.header--scrolled .header__lang-svg path {
  stroke: #181d1d;
}

body.fc-side-rails-on #fc-top-header .header__box,
#fc-top-header.header--scrolled .header__box {
  border-color: rgba(24, 29, 29, 0.2);
}

/* Müraciət et — цвет текста всегда белый, даже при скролле */
body.fc-side-rails-on #fc-top-header .header__cta,
#fc-top-header.header--scrolled .header__cta {
  color: #fff !important;
  border-color: hsla(0, 0%, 100%, 0.3);
  text-decoration: none !important;
  text-decoration-line: none !important;
}

body.fc-side-rails-on #fc-top-header .header__cta:hover,
#fc-top-header.header--scrolled .header__cta:hover {
  color: #fff !important;
  border-color: #fc0701;
}

body.fc-side-rails-on #fc-top-header .header-menu__dropdown-arrow svg path,
#fc-top-header.header--scrolled .header-menu__dropdown-arrow svg path {
  stroke: #181d1d;
}

/* Кнопка MENU — красная при скролле */
body.fc-side-rails-on #fc-top-header .header__menu-toggle,
#fc-top-header.header--scrolled .header__menu-toggle {
  background: #fc0701 !important;
  box-shadow: none;
}

body.fc-side-rails-on #fc-top-header .header__menu-toggle:hover,
body.fc-side-rails-on #fc-top-header .header__menu-toggle:focus-visible,
#fc-top-header.header--scrolled .header__menu-toggle:hover,
#fc-top-header.header--scrolled .header__menu-toggle:focus-visible {
  background: #e00600 !important;
}

body.fc-side-rails-on #fc-top-header .header__menu-toggle-svg path,
body.fc-side-rails-on #fc-top-header .header__menu-toggle .header__menu-line,
#fc-top-header.header--scrolled .header__menu-toggle-svg path,
#fc-top-header.header--scrolled .header__menu-toggle .header__menu-line {
  stroke: #fff !important;
}

body.fc-side-rails-on.header-menu-open #fc-top-header .header__menu-toggle,
body.header-menu-open #fc-top-header.header--scrolled .header__menu-toggle {
  background: #fc0701 !important;
}

body.fc-side-rails-on.header-menu-open #fc-top-header .header__menu-toggle-svg path,
body.header-menu-open #fc-top-header.header--scrolled .header__menu-toggle-svg path {
  stroke: #fff !important;
}

@media (min-width: 992px) {
  .drop-menu.d-lg-flex {
    display: flex;
    flex-direction: column;
  }
}

/* Мобильная / планшет: белая шапка сразу (без тёмного градиента до скролла) */
@media (max-width: 991.98px) {
  #fc-top-header.header {
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  }

  #fc-top-header.header::after {
    display: none;
  }

  #fc-top-header .header__inner {
    background-color: #fff;
  }

  #fc-top-header .header__inner::before,
  #fc-top-header .header__inner::after {
    opacity: 0;
  }

  #fc-top-header .header__lang-text {
    color: #181d1d !important;
  }

  #fc-top-header .header__lang-svg path {
    stroke: #181d1d !important;
  }

  #fc-top-header .header__box,
  #fc-top-header .header__lang .header__box {
    border-color: rgba(24, 29, 29, 0.2);
  }

  #fc-top-header .header__menu-toggle {
    background: #fc0701 !important;
    box-shadow: none;
  }

  #fc-top-header .header__menu-toggle:hover,
  #fc-top-header .header__menu-toggle:focus-visible {
    background: #e00600 !important;
  }

  #fc-top-header .header__menu-toggle-svg path,
  #fc-top-header .header__menu-toggle .header__menu-line {
    stroke: #fff !important;
  }

  body.header-menu-open #fc-top-header .header__menu-toggle {
    background: #fc0701 !important;
  }

  body.header-menu-open #fc-top-header .header__menu-toggle-svg path,
  body.header-menu-open #fc-top-header .header__menu-toggle .header__menu-line {
    stroke: #fff !important;
  }

  /* Drawer (z-index 10060) перекрывал бургер — шапка поверх; закрытие в .header-menu__container-head */
  body.header-menu-open #fc-top-header {
    z-index: 10070;
  }

  body.header-menu-open #fc-top-header .header__col--tools {
    position: relative;
    z-index: 2;
    margin-top: 0;
    align-self: center;
  }

  body.header-menu-open #fc-top-header .header__menu-toggle {
    position: relative;
    z-index: 3;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
  }

  body.header-menu-open .header-menu__wrapper {
    padding-top: 0;
    box-sizing: border-box;
  }

  body.header-menu-open .header-menu__container {
    padding-top: 0;
  }

  body.header-menu-open .header-menu__container .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Модалка — оверлей поверх шапки (header z-index: 10050) */
.hystmodal__shadow {
  z-index: 10100 !important;
}

.hystmodal {
  z-index: 10110 !important;
}
