:root {
  --rk-page-bg: #ffffff;
  --rk-page-text: #171717;
  --rk-soft-line: rgba(23, 23, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rk-page-bg);
  color: var(--rk-page-text);
  overflow-x: hidden;
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
}

.rk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--rk-header-bg, #ffffff);
  border-top: 4px solid var(--rk-header-top-line, #3a2419);
  border-bottom: 1px solid rgba(23, 23, 23, 0.07);
}

.rk-header__inner {
  min-height: 86px;
  width: min(100%, 1840px);
  margin: 0 auto;
  padding: 0 clamp(20px, 3.2vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.rk-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  min-width: 140px;
}

.rk-header__logo {
  display: block;
  max-width: 180px;
  max-height: 58px;
  object-fit: contain;
}

.rk-header__logo-text {
  display: inline-block;
  color: var(--rk-header-text, #171717);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.rk-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 34px);
}

.rk-header__item {
  position: relative;
}

.rk-header__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--rk-header-text, #171717);
  font-family: var(--rk-header-font, Inter, Arial, sans-serif);
  font-size: var(--rk-header-font-size, 14px);
  font-weight: var(--rk-header-font-weight, 600);
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease;
  white-space: nowrap;
}

.rk-header__link:hover,
.rk-header__item:focus-within > .rk-header__link {
  color: var(--rk-header-hover, #7b5136);
}

.rk-header__submenu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 230px;
  padding: 10px;
  background: var(--rk-header-dropdown-bg, #ffffff);
  color: var(--rk-header-dropdown-text, #171717);
  border: 1px solid rgba(23, 23, 23, 0.1);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.rk-header__item:hover .rk-header__submenu,
.rk-header__item:focus-within .rk-header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rk-header__submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 9px 10px;
  color: var(--rk-header-dropdown-text, #171717);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.rk-header__submenu-link:hover {
  background: var(--rk-header-dropdown-hover-bg, #f4efe9);
}

.rk-header__submenu-link--heading {
  color: var(--rk-header-dropdown-heading, #7b5136);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  pointer-events: none;
}

.rk-header__submenu-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--rk-header-hover, #7b5136);
}

.rk-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.rk-header__toggle span {
  width: 18px;
  height: 2px;
  background: var(--rk-header-text, #171717);
  transition: transform 160ms ease, opacity 160ms ease;
}

.rk-header.is-open .rk-header__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rk-header.is-open .rk-header__toggle span:nth-child(2) {
  opacity: 0;
}

.rk-header.is-open .rk-header__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.component-instance {
  position: relative;
}

@media (max-width: 920px) {
  .rk-header__inner {
    min-height: 72px;
  }

  .rk-header__toggle {
    display: inline-flex;
  }

  .rk-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: var(--rk-header-bg, #ffffff);
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  }

  .rk-header.is-open .rk-header__nav {
    display: flex;
  }

  .rk-header__link {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
  }

  .rk-header__submenu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .rk-header__submenu-link {
    min-height: 34px;
    padding-left: 0;
  }
}
