.rf-site-header {
  position: relative;
  z-index: 20;
  font-family: 'Albert Sans', 'Open Sans', sans-serif;
}

.rf-screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rf-header-top {
  background: #ffffff;
}

.rf-header-top-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
}

.rf-social-panel {
  min-width: 192px;
  min-height: 46px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #484554;
}

.rf-social-link,
.rf-social-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  opacity: 0.95;
}

.rf-social-link:hover {
  color: #eadcf0;
}

.rf-header-main {
  background: #e4c0ec;
}

.rf-mainbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(180px, 250px) 1fr auto;
  align-items: stretch;
  gap: 24px;
}

.rf-logo {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 10px 0;
}

.rf-logo img {
  height: 78px;
  width: auto;
  display: block;
}

.rf-nav-toggle {
  display: none;
  align-self: center;
  justify-self: end;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: #484554;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.rf-nav-toggle:hover {
  background: #3d3947;
}

.rf-nav-shell {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.rf-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(18px, 2vw, 42px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.rf-nav-item {
  display: flex;
}

.rf-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 0 2px;
  color: #3d3947;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.rf-nav-link:hover,
.rf-nav-link.is-active {
  color: #ffffff;
}

.rf-phone-panel {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 0 28px;
  background: #484554;
  color: #ffffff;
}

.rf-phone-icon {
  font-size: 24px;
}

.rf-phone-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rf-phone-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rf-phone-number {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .rf-mainbar-inner {
    grid-template-columns: minmax(160px, 220px) 1fr auto;
    gap: 18px;
  }

  .rf-nav {
    gap: 20px;
  }

  .rf-phone-panel {
    padding: 0 22px;
  }
}

@media (max-width: 960px) {
  .rf-mainbar-inner {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 14px;
  }

  .rf-logo {
    min-height: 0;
    padding: 0;
  }

  .rf-logo img {
    height: 66px;
  }

  .rf-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rf-nav-shell {
    grid-column: 1 / -1;
    display: none;
  }

  .rf-site-header.rf-menu-open .rf-nav-shell {
    display: block;
  }

  .rf-nav {
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(13, 17, 55, 0.12);
    overflow: hidden;
  }

  .rf-nav-link {
    justify-content: flex-start;
    min-height: 0;
    padding: 16px 20px;
    color: #3d3947;
    border-bottom: 1px solid rgba(72, 69, 84, 0.08);
  }

  .rf-nav-item:last-child .rf-nav-link {
    border-bottom: 0;
  }

  .rf-nav-link:hover,
  .rf-nav-link.is-active {
    color: #3d3947;
    background: rgba(228, 192, 236, 0.32);
  }

  .rf-phone-panel {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 0;
    padding: 16px 20px;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .rf-header-top-inner,
  .rf-mainbar-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rf-social-panel {
    width: 100%;
    min-width: 0;
  }

  .rf-logo img {
    height: 58px;
  }

  .rf-phone-panel {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
