:root {
  --fc-navy-700: #0f1f3d;
  --fc-navy-900: #070e1f;
  --fc-gold-400: #d4a43e;
  --fc-gold-500: #c9922a;
  --fc-gold-50: #fdf8ef;
  --fc-light-gray: #f4f5f7;
  --fc-body: #1a1a2e;
  --fc-header-height: 64px;
}

body.fc-has-site-header {
  padding-top: var(--fc-header-height);
}

.fc-site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10000;
  height: var(--fc-header-height);
  background: rgba(7, 14, 31, 0.98);
  border-bottom: 1px solid rgba(201, 146, 42, 0.28);
  box-shadow: 0 8px 28px rgba(7, 14, 31, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.fc-site-header__inner {
  width: 100%;
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.fc-site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}

.fc-site-header__mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--fc-gold-500);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 180ms ease, transform 180ms ease;
}

.fc-site-header__brand:hover .fc-site-header__mark {
  background: var(--fc-gold-400);
  transform: translateY(-1px);
}

.fc-site-header__name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fc-site-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  margin-left: auto;
}

.fc-site-header__link {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.045em;
  transition: color 180ms ease, background 180ms ease;
}

.fc-site-header__link:hover {
  color: var(--fc-gold-400);
  background: rgba(255, 255, 255, 0.055);
}

.fc-site-header__menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.fc-site-header__menu-icon,
.fc-site-header__menu-icon::before,
.fc-site-header__menu-icon::after {
  width: 22px;
  height: 2px;
  display: block;
  position: relative;
  border-radius: 2px;
  background: currentColor;
}

.fc-site-header__menu-icon::before,
.fc-site-header__menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.fc-site-header__menu-icon::before { top: -7px; }
.fc-site-header__menu-icon::after { top: 7px; }

.fc-site-header__menu-button[aria-expanded='true'] .fc-site-header__menu-icon { background: transparent; }
.fc-site-header__menu-button[aria-expanded='true'] .fc-site-header__menu-icon::before { top: 0; transform: rotate(45deg); }
.fc-site-header__menu-button[aria-expanded='true'] .fc-site-header__menu-icon::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .fc-site-header__menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .fc-site-header__nav {
    display: none;
    position: fixed;
    top: var(--fc-header-height);
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--fc-navy-900);
    border-bottom: 1px solid rgba(201, 146, 42, 0.28);
    box-shadow: 0 16px 30px rgba(7, 14, 31, 0.28);
  }

  .fc-site-header__nav.is-open { display: flex; }
  .fc-site-header__link { justify-content: flex-start; padding-inline: 16px; }
}

@media (max-width: 420px) {
  .fc-site-header__inner { padding-inline: 12px; }
  .fc-site-header__name { font-size: 15px; }
}

@media print {
  .fc-site-header { display: none !important; }
  body.fc-has-site-header { padding-top: 0 !important; }
}
