.sg-brand {
  display: inline-flex;
  width: 180px;
  max-width: 100%;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.sg-brand__image {
  display: block;
  width: 100%;
  height: auto;
}

.sg-header {
  border-bottom: 1px solid #dbe3ea;
  background: #fff;
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

.sg-header--landing {
  position: sticky;
  top: 0;
  z-index: 50;
}

.sg-header__inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  gap: 24px;
}

.sg-header__content {
  display: flex;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  gap: 24px;
}

.sg-header__inner > .sg-brand {
  min-height: 72px;
}

.sg-header__links,
.sg-header__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.sg-header__links a,
.sg-header .sg-header__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #49586b;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.sg-header__links a:hover,
.sg-header .sg-header__link:hover {
  color: #0f766e;
}

.sg-language {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid #dbe3ea;
  border-radius: 6px;
}

.sg-header .sg-language a {
  display: grid;
  min-width: 36px;
  min-height: 36px;
  padding: 4px;
  place-items: center;
  border-radius: 3px;
  color: #49586b;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

.sg-header .sg-language a:hover {
  background: #eef5f4;
}

.sg-header .sg-language a[aria-current="page"] {
  background: #17324d;
  color: #fff;
}

.sg-header .sg-header__primary {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid #0f766e;
  border-radius: 6px;
  background: #0f766e;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.sg-header .sg-header__primary:hover {
  background: #0b4f4a;
  border-color: #0b4f4a;
}

.sg-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3ea;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.sg-header__toggle[aria-expanded="true"] {
  background: #eef5f4;
  border-color: #0f766e;
}

.sg-brand:focus-visible,
.sg-header a:focus-visible,
.sg-header button:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .sg-header--landing .sg-header__inner { flex-wrap: wrap; gap: 0 16px; }
  .sg-header--landing.sg-header--enhanced .sg-header__toggle { display: inline-flex; }
  .sg-header--landing .sg-header__content { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 0 20px; }
  .sg-header--landing .sg-header__links { align-items: stretch; flex-direction: column; gap: 0; }
  .sg-header--landing.sg-header--enhanced:not([data-menu-open="true"]) .sg-header__content { display: none; }
}

@media (max-width: 640px) {
  .sg-header__inner { min-height: 64px; flex-wrap: wrap; gap: 0 16px; }
  .sg-header__inner > .sg-brand { min-height: 64px; }
  .sg-header--enhanced .sg-header__toggle { display: inline-flex; }
  .sg-header__content { width: 100%; padding: 12px 0 20px; }
  .sg-header--enhanced:not([data-menu-open="true"]) .sg-header__content { display: none; }
  .sg-header__actions { gap: 12px; }
}

@media (max-width: 560px) {
  .sg-brand { width: 144px; }
}
