.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #fff;
  color: var(--color-primary);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 24px;
  right: clamp(20px, 5vw, 76px);
  left: clamp(20px, 5vw, 76px);
  padding: 0;
  border: 0;
  background: transparent;
}

html.has-scroll-reveal [data-scroll-reveal="pending"] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

html.has-scroll-reveal [data-scroll-reveal="visible"] {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

@media (prefers-reduced-motion: reduce) {
  html.has-scroll-reveal [data-scroll-reveal="pending"],
  html.has-scroll-reveal [data-scroll-reveal="visible"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.header-shell {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.site-header .brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.site-header .brand-mark {
  display: block;
  width: 260px;
  height: 86px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.menu-toggle {
  position: fixed;
  z-index: 22;
  top: 38px;
  right: clamp(20px, 5vw, 76px);
  display: grid;
  width: 58px;
  height: 58px;
  place-content: center;
  gap: 6px;
  padding: 0;
  border: 1px solid rgb(44 127 217 / 42%);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff 0%, #edf5ff 58%, #dcecff 100%);
  box-shadow: 0 8px 22px rgb(0 39 116 / 15%), inset 0 1px 0 rgb(255 255 255 / 95%);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--color-accent);
}

.menu-toggle:hover span,
.menu-toggle:focus-visible span {
  background: var(--color-accent);
}

.primary-navigation,
.primary-navigation.is-open {
  position: fixed;
  z-index: 21;
  top: 110px;
  right: clamp(20px, 5vw, 76px);
  left: auto;
  display: flex;
  width: min(280px, calc(100vw - 40px));
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  padding: 10px;
  border: 1px solid rgb(0 39 116 / 9%);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #f8fbff 72%, #edf5ff 100%);
  box-shadow: 0 20px 48px rgb(0 28 82 / 19%), 0 0 0 4px rgb(44 127 217 / 5%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.primary-navigation.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.primary-navigation > a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #26354b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.primary-navigation > a:hover,
.primary-navigation > a:focus-visible,
.primary-navigation > a[aria-current="page"] {
  background: transparent;
  color: var(--color-primary);
}

.site-footer {
  position: relative;
  padding: 52px 5.3vw 0;
  background: linear-gradient(135deg, #061f52 0%, #0d2f74 18%, #123d8d 38%, #1a69cd 62%, #0b2d63 100%);
  color: #eef5ff;
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0a2d75 0%, #1d7ae6 28%, #66b8ff 52%, #1d7ae6 76%, #0a2d75 100%);
  content: "";
}

.site-footer .footer-main,
.site-footer .footer-lower,
.site-footer .footer-bottom {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.site-footer .footer-main {
  display: grid;
  min-height: 260px;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}

.site-footer .footer-statement {
  grid-column: 1;
}

.site-footer .footer-statement .brand--footer {
  display: inline-flex;
  min-width: 0;
  margin: 0 0 18px;
  align-items: center;
}

.site-footer .brand--footer .brand-mark {
  width: 260px;
  height: 86px;
  border-radius: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer .footer-statement h2 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.site-footer .footer-assistance {
  grid-column: 2;
}

.site-footer .footer-assistance h3 {
  margin: 0 0 12px;
  color: #f8fbff;
  font-size: 18px;
  font-weight: 500;
}

.site-footer .footer-assistance > p {
  max-width: 310px;
  margin: 0 0 19px;
  color: rgb(232 240 255 / 82%);
  font-size: 12px;
  line-height: 1.65;
}

.site-footer .footer-contact-button {
  display: inline-flex;
  min-width: 150px;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer .footer-contact-button:hover,
.site-footer .footer-contact-button:focus-visible {
  background: #dfeeff;
}

.site-footer .footer-lower {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 24px 0 19px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.site-footer .footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 27px);
  flex-wrap: wrap;
}

.site-footer .footer-legal a,
.site-footer .footer-legal .cookie-preferences-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(231 240 255 / 88%);
  cursor: pointer;
  font: 700 11px/1.5 var(--font-family);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer .footer-legal a:hover,
.site-footer .footer-legal .cookie-preferences-link:hover {
  color: #bcd8ff;
}

.site-footer .footer-follow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #ecf4ff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .footer-follow a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.site-footer .footer-follow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.site-footer .footer-description {
  width: min(100%, 1280px);
  margin: 10px auto 0;
  color: rgb(239 246 255 / 72%);
  font-size: 10px;
  line-height: 1.7;
}

.site-footer .footer-bottom {
  display: flex;
  min-height: 63px;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 23px;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: rgb(232 240 255 / 78%);
  font-size: 10px;
}

.site-footer .footer-bottom > a {
  color: #fff;
}

.site-footer .footer-bottom .developer-credit {
  text-align: center;
}

.site-footer .footer-bottom .developer-credit strong {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(110deg, #fff 0%, #fff 38%, #fff7cc 46%, #ffe9a3 50%, #fffdf2 54%, #fff 62%, #fff 100%);
  background-clip: text;
  background-size: 300% 100%;
  -webkit-text-fill-color: transparent;
  animation: developer-name-shine 3s linear infinite;
}

@keyframes developer-name-shine {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-bottom .developer-credit strong {
    animation: none;
    background: none;
    color: #fff;
    -webkit-text-fill-color: currentColor;
  }
}

.site-footer .back-to-top {
  font-weight: 600;
}

@media (max-width: 700px) {
  .site-header {
    top: 16px;
    right: 16px;
    left: 16px;
  }

  .site-header .brand-mark {
    width: 190px;
    height: 63px;
    transform: none;
  }

  .site-header .brand {
    padding: 0;
  }

  .menu-toggle {
    top: 30px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 1px solid rgb(44 127 217 / 42%);
    border-radius: 6px;
  }

  .menu-toggle span {
    width: 17px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-navigation,
  .primary-navigation.is-open {
    top: 96px;
    right: 16px;
  }

  .site-footer {
    padding: 36px 6vw 0;
  }

  .site-footer .footer-main {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 22px 0 34px;
  }

  .site-footer .footer-statement,
  .site-footer .footer-assistance {
    grid-column: 1;
  }

  .site-footer .brand--footer .brand-mark {
    width: 190px;
    height: 66px;
  }

  .site-footer .footer-statement h2 {
    font-size: clamp(23px, 7vw, 31px);
    white-space: normal;
  }

  .site-footer .footer-lower {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0;
  }

  .site-footer .footer-legal {
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .site-footer .footer-follow {
    justify-content: flex-start;
  }

  .site-footer .footer-bottom {
    min-height: 0;
    flex-wrap: wrap;
    padding: 18px 0;
    font-size: 9px;
  }

  .site-footer .footer-bottom .developer-credit {
    order: 3;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 1100px) {
  .site-footer .back-to-top {
    display: none;
  }
}
