.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.header-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  height: auto;
  width: 190px;
  max-width: 190px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  color: var(--color-black);
}

.nav-desktop a[aria-current="page"],
.nav-desktop .has-sub > a[aria-current="page"] {
  color: var(--color-accent-text);
}

.nav-desktop .has-sub {
  position: relative;
}

.nav-desktop .has-sub > button,
.nav-desktop .has-sub > a,
.nav-desktop .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-black);
  padding: 0.35rem 0;
}

.nav-chevron {
  display: inline-flex;
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
}

.nav-chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-desktop .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: var(--color-white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  z-index: 20;
}

.nav-desktop .has-sub:hover .submenu,
.nav-desktop .has-sub:focus-within .submenu,
.nav-desktop .has-sub.is-open .submenu {
  display: block;
}

.nav-desktop .submenu a {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 400;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-switch .lang-toggle {
  gap: 0.25rem;
}

.lang-switch .submenu {
  left: auto;
  right: 0;
  min-width: 5rem;
}

.lang-switch .submenu a.is-active {
  color: var(--color-accent-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-black);
  transition: var(--ease);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.35);
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(80%, 320px);
  height: 100%;
  background: var(--color-white);
  padding: 1.25rem 1.5rem 2rem;
  overflow-y: auto;
}

.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.nav-mobile-head img {
  height: 32px;
}

.nav-close {
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.25rem;
}

.nav-mobile nav a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}

.nav-mobile .submenu-mobile {
  padding-left: 0.75rem;
}

.nav-mobile .submenu-mobile a {
  font-weight: 400;
  font-size: 0.95rem;
}

.nav-mobile .lang-switch {
  margin: 1rem 0 0;
  padding: 0.75rem 0 0;
  border-left: none;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.nav-mobile .lang-switch a {
  border-bottom: none;
  padding: 0.35rem 0;
}

.nav-mobile .lang-switch a.is-active {
  color: var(--color-accent-text);
}

@media (max-width: 921px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  padding: 40px 20px 0;
}

.footer-grid {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: flex;
  gap: 76px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 140px;
}

.footer-col:first-child {
  max-width: 220px;
}

.footer-logo img,
.logo-footer {
  max-width: 190px;
  width: 190px;
  height: auto;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-black);
}

.footer-linkedin img {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.footer-linkedin:hover {
  color: var(--color-accent-text);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--color-black);
}

.footer-menu a,
.footer-desc {
  display: block;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-black);
  margin-bottom: 0.4rem;
  transition: color var(--ease);
}

.footer-menu a:hover {
  color: var(--color-accent-text);
}

.footer-address {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-black);
}

.footer-hr {
  border: none;
  border-top: 1px solid rgba(99, 99, 99, 0.76);
  max-width: var(--container);
  margin: 2rem auto 0;
}

.footer-bottom {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-bottom > p {
  margin: 0;
  color: var(--color-black);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-legal a:hover {
  color: var(--color-accent-text);
}

@media (max-width: 767px) {
  .footer-grid {
    gap: 2rem;
  }

  .footer-col:first-child {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), background var(--ease);
  z-index: 900;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--color-accent-hover);
}
