:root {
  --shared-page-shell: min(1480px, calc(100vw - 136px));
  --container: var(--shared-page-shell);
  --content-shell: var(--shared-page-shell);
}

.site-header {
  --shared-header-shell: var(--shared-page-shell);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  width: 100%;
  padding: clamp(16px, 2vw, 22px) 0 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: "Manrope", sans-serif;
  line-height: 1.45;
}

.site-header::before {
  content: none;
}

.site-header .header-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(var(--shared-header-shell), calc(100vw - 36px));
  margin: 0 auto;
  gap: 18px;
  padding: 14px 26px;
  border: 1px solid rgba(119, 197, 238, 0.14);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
  transition:
    padding 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    border-radius 0.22s ease;
}

.site-header .header-row::before {
  content: none;
}

.site-header.is-scrolled .header-row {
  width: min(var(--shared-header-shell), calc(100vw - 36px));
  margin: 0 auto;
  padding: 14px 26px;
  border: 1px solid rgba(119, 197, 238, 0.14);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
}

.site-header .brand-mark__logo {
  width: clamp(86px, 7.2vw, 118px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-header .site-nav {
  position: static;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-header .site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: var(--link-underline-thickness);
  text-underline-offset: var(--link-underline-gap);
  text-decoration-skip-ink: none;
  transition: color 0.2s ease, opacity 0.2s ease, text-decoration-color 0.24s ease;
}

.site-header .site-nav a[aria-current="page"],
.site-header .site-nav a.is-active,
.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible {
  color: var(--text);
  opacity: 1;
  text-decoration-color: var(--link-underline);
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header .header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(119, 197, 238, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.site-header .header-social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.site-header .header-social-link:hover {
  transform: translateY(-1px);
  color: var(--dark);
  border-color: rgba(143, 205, 161, 0.62);
  background: rgba(143, 205, 161, 0.16);
}

.site-header .header-social-link[aria-label="Instagram"]:hover,
.site-header .header-social-link[aria-label="Instagram"]:focus-visible {
  color: #ffffff;
  border-color: rgba(225, 48, 108, 0.78);
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 24%, #d62976 58%, #962fbf 82%, #4f5bd5 100%);
}

.site-header .header-social-link[aria-label="Facebook"]:hover,
.site-header .header-social-link[aria-label="Facebook"]:focus-visible {
  color: #ffffff;
  border-color: #1877f2;
  background: #1877f2;
}

.site-header .nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-header .nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0;
  border-radius: 999px;
  background: var(--text);
}

@media (max-width: 1080px) {
  :root {
    --shared-page-shell: min(100vw - 64px, 1480px);
    --container: var(--shared-page-shell);
    --content-shell: var(--shared-page-shell);
  }

  .site-header {
    --shared-header-shell: var(--shared-page-shell);
    padding: clamp(16px, 2vw, 22px) 0 0;
  }

  .site-header .header-row,
  .site-header.is-scrolled .header-row {
    width: min(var(--shared-header-shell), calc(100vw - 36px));
  }
}

@media (max-width: 1080px) and (min-width: 901px) {
  .site-header .header-row,
  .site-header.is-scrolled .header-row {
    gap: 14px;
    padding-inline: 20px;
  }

  .site-header .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .site-header .site-nav a {
    min-height: 44px;
  }

  .site-header .header-actions {
    gap: 12px;
  }

  .site-header .header-social-link {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: clamp(12px, 2vw, 18px);
  }

  .site-header .header-row,
  .site-header.is-scrolled .header-row {
    width: min(var(--shared-header-shell), calc(100vw - 28px));
    margin: 0 auto;
    padding: 14px 18px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    border-radius: 28px;
    overflow: visible;
  }

  .site-header .nav-toggle {
    display: inline-flex;
    order: 4;
  }

  .site-header .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    order: 5;
    width: 100%;
    max-width: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
    box-sizing: border-box;
    border: 1px solid rgba(39, 58, 66, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(119, 197, 238, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 5;
  }

  .site-header .site-nav.is-open {
    display: flex;
  }

  .site-header .site-nav a {
    width: 100%;
    min-height: 48px;
  }

  .site-header .header-actions {
    order: 3;
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --shared-page-shell: min(100vw - 28px, 1560px);
    --container: var(--shared-page-shell);
    --content-shell: var(--shared-page-shell);
  }

  .site-header {
    --shared-header-shell: var(--shared-page-shell);
  }

  .site-header .header-actions {
    gap: 10px;
  }

  .site-header .header-social-link {
    width: 40px;
    height: 40px;
  }
}

.site-header .header-row,
.site-header.is-scrolled .header-row,
.site-header .site-nav,
.site-header .header-social-link {
  border-radius: var(--control-radius);
}
