/* Stockade disclaimer bar */
body.has-stockade-topbar {
  --stockade-topbar-h: 120px;
}

/* Header + license bar overlay the first section; do not stack spacer + main padding */
body.has-stockade-topbar .stockade-topbar-spacer {
  display: none !important;
  height: 0 !important;
}

body.has-stockade-topbar main {
  padding-top: 0 !important;
}

body.has-stockade-topbar main > section:first-child {
  padding-top: var(--stockade-topbar-h, var(--header-height, 98px));
}

/* Mobile: taller header (license bar wraps) — extra air so h1 is not under fixed header */
@media (max-width: 1024px) {
  body.has-stockade-topbar {
    --stockade-topbar-h: 148px;
  }

  body.has-stockade-topbar main > section:first-child {
    padding-top: calc(var(--stockade-topbar-h, 148px) + 12px) !important;
  }
}

@media (max-width: 576px) {
  body.has-stockade-topbar {
    --stockade-topbar-h: 168px;
  }

  body.has-stockade-topbar main > section:first-child {
    padding-top: calc(var(--stockade-topbar-h, 168px) + 16px) !important;
  }
}

body.has-stockade-topbar .header {
  top: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
}

body.has-stockade-topbar .header > .wrapper {
  width: 100%;
  min-height: clamp(60px, 60px + 40 * (100vw - 320px) / 1600, 100px);
  padding: clamp(13px, 13px + 13 * (100vw - 320px) / 1600, 26px) 0;
  display: flex;
  align-items: center;
}

body.has-stockade-topbar .header > .wrapper .header__inner {
  width: 100%;
}

.stockade-topbar {
  background: #2a2d32;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  flex-shrink: 0;
  width: 100%;
  z-index: 1;
}

.stockade-topbar .wrapper {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding-block: 10px;
}

.stockade-topbar__content {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 14px);
  flex: 1;
  min-width: 0;
}

.stockade-topbar__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset;
}

.stockade-topbar__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.stockade-topbar__text {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.stockade-topbar__link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.stockade-topbar__link:hover {
  color: var(--c-prime, #fc5a40);
}

@media (max-width: 768px) {
  .stockade-topbar .wrapper {
    padding: 10px 16px 12px;
  }
  .stockade-topbar__icon {
    width: 28px;
    height: 28px;
  }
  .stockade-topbar__icon svg {
    width: 14px;
    height: 14px;
  }
  .stockade-topbar__text {
    font-size: 11px;
    line-height: 1.5;
  }
}

.footer .footer__contacts .contacts__item > svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: none;
}

.communication .contact__item > svg {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  min-width: 62px;
  max-width: none;
}
