.site-header {
  position: fixed;
  top: calc(20px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  max-width: 100%;
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

.site-header__bar {
  min-height: 77px;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  box-shadow: none;
  transition: box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}

.site-header.is-scrolled .site-header__bar {
  box-shadow: var(--shadow-header);
}

.site-header__logo {
  display: block;
  width: 49px;
  height: 49px;
  max-width: 49px;
  flex-shrink: 0;
}

.site-header__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: clamp(24px, 3.75vw, 54px);
}

.site-header__link {
  font-weight: 500;
  font-size: var(--fs-nav);
  line-height: 1;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  background: linear-gradient(90deg, #b58b4a 0%, #b58b4a 50%, #b58b4a 100%) 0 100% / 0 1.5px no-repeat;
  transition: color 0.2s ease, background-size 0.3s ease;
}

.site-header__link:hover,
.site-header__link.is-active {
  color: var(--color-gold);
  background-size: 100% 1.5px;
}

.site-header__tools {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header__cta {
  display: none;
}

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

.site-header__cta-tablet {
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 0;
  border-radius: var(--radius-chip);
  background: linear-gradient(112.588deg, #b58b4a -0.56%, #b58b4a 43.58%, #b58b4a 100.73%);
  padding: 0 20px;
  font-weight: 500;
  font-size: var(--fs-nav);
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.burger {
  position: relative;
  width: 49px;
  height: 49px;
  flex-shrink: 0;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(112.588deg, #b58b4a 0%, #b58b4a 50%, #b58b4a 100%) border-box;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.burger__bar {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-gold);
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.2s ease;
}

.burger__bar:nth-child(1) { top: 16px; }
.burger__bar:nth-child(2) { top: 22.5px; }
.burger__bar:nth-child(3) { top: 29px; }

.burger.is-open .burger__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.is-open .burger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.is-open .burger__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.svc-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  padding: 6px 0;
  font-weight: 500;
  font-size: var(--fs-nav);
  line-height: 1;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

.svc-btn:hover,
.svc-btn.is-active,
.svc-wrap.is-open .svc-btn {
  color: var(--color-gold);
}

.svc-btn__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.svc-btn__chev {
  display: block;
  transition: transform 0.25s ease;
}

.svc-wrap.is-open .svc-btn__chev,
.svc-btn__toggle[aria-expanded="true"] .svc-btn__chev {
  transform: rotate(180deg);
}

.svc-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  padding-top: 30px;
  width: 440px;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 30;
}

.svc-wrap.is-open .svc-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.svc-menu__panel {
  width: 100%;
  border-radius: var(--radius-panel);
  background: var(--color-white);
  padding: 12px;
  box-shadow: var(--shadow-menu);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.svc-menu__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 10px;
  border-radius: 22px;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.svc-menu__item:hover,
.svc-menu__item[aria-current="page"] {
  background: var(--color-cream);
}

.svc-menu__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.svc-menu__arrow {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  overflow: visible;
}

.svc-menu__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(112.588deg, #b58b4a 0%, #b58b4a 50%, #b58b4a 100%) border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.svc-menu__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  color: var(--color-ink);
}

.svc-menu__short {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-ink-soft);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 15;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, rgba(11, 22, 38, 0.86) 0%, rgba(11, 22, 38, 0.97) 60%),
    var(--color-dark) url("../images/about-bg.3fcc1fd5a1dc.png") center / cover no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding:
    env(safe-area-inset-top, 0px)
    env(safe-area-inset-right, 0px)
    env(safe-area-inset-bottom, 0px)
    env(safe-area-inset-left, 0px);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__inner {
  min-height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding:
    calc(137px + env(safe-area-inset-top, 0px))
    max(var(--gutter), env(safe-area-inset-right, 0px))
    max(32px, env(safe-area-inset-bottom, 0px))
    max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: var(--color-white);
}

.mobile-nav__link:hover {
  color: var(--color-gold-light);
}

.mobile-nav__num {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  width: 24px;
  background: linear-gradient(180deg, #b58b4a 0%, #b58b4a 50%, #b58b4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-nav__label {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1;
}

.mobile-nav__link > svg {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
}

.mobile-nav__subs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 18px 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.mobile-nav__sub {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.15;
}

.mobile-nav__sub:hover {
  color: var(--color-gold-light);
}

.mobile-nav__sub-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(181, 139, 74, 0.55);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.mobile-nav__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.mobile-nav__footer p {
  margin: 0;
  max-width: 420px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.mobile-nav__footer .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.mobile-nav__footer .btn {
  flex: 1 1 220px;
  max-width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
}

.mobile-nav__footer .btn--primary {
  border-radius: 30px;
}

.mobile-nav__footer .btn--light {
  border-radius: 20px;
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
}

body.nav-open .site-header.is-scrolled .site-header__bar {
  box-shadow: none;
}

@media (min-width: 640px) {
  .site-header__cta-tablet {
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .site-header__nav {
    display: flex;
  }

  .site-header__tools {
    display: flex;
  }

  .site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 172px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--radius-chip);
    background: linear-gradient(112.588deg, #b58b4a -0.56%, #b58b4a 43.58%, #b58b4a 100.73%);
    padding: 0 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    font-family: inherit;
    color: var(--color-white);
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .site-header__cta:active {
    transform: scale(0.98);
    box-shadow: none;
  }

  .site-header__cta:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--color-white);
  }

  .site-header__actions {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

.lang-switch {
  --lang-switch-size: 32px;
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  box-sizing: border-box;
  height: calc(var(--lang-switch-size) + 2px);
  padding: 0;
  border: 1px solid #b58b4a;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lang-switch--desktop {
  display: none;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #12263a;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lang-switch__btn.is-active,
.lang-switch__btn[aria-current="true"] {
  flex: 0 0 calc(var(--lang-switch-size) + 2px);
  width: calc(var(--lang-switch-size) + 2px);
  height: calc(var(--lang-switch-size) + 2px);
  margin: -1px;
  padding: 0;
  background: #b58b4a;
  color: #fff;
  position: relative;
  z-index: 1;
}

.mobile-nav__footer .btn-row {
  flex-wrap: wrap;
  align-items: center;
}

.lang-switch--menu {
  margin-inline-start: auto;
}

@media (min-width: 1100px) {
  .lang-switch--desktop {
    display: inline-flex;
  }

  .lang-switch--bar {
    display: none;
  }
}
