.site-header {
  background: hsl(var(--background) / .7);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: hsl(var(--background) / .95);
  border-bottom-color: hsl(var(--border));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 4px 16px rgb(15 23 42 / .06);
}

.site-header__services { position: relative; }
.site-header__services-button { border: 0; background: transparent; font: inherit; cursor: pointer; }
.site-header__services-button svg { transition: transform .18s ease; }
.site-header__services.is-open .site-header__services-button svg { transform: rotate(180deg); }
.site-header__services-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 22rem;
  max-height: min(70vh, 34rem);
  overflow-y: auto;
  padding: .65rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1.15rem;
  background: hsl(var(--background));
  box-shadow: 0 18px 48px rgb(15 23 42 / .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.site-header__services.is-open .site-header__services-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.site-header__service { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem; border-radius: .8rem; color: inherit; text-decoration: none; transition: background .15s ease; }
.site-header__service:hover, .site-header__service:focus-visible { background: hsl(var(--secondary)); }
.site-header__service-icon { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; overflow: hidden; border-radius: .8rem; background: hsl(var(--secondary)); }
.site-header__service-icon img { width: 100%; height: 100%; object-fit: contain; }
.site-header__service-copy { display: grid; gap: .12rem; min-width: 0; }
.site-header__service-name { font-size: .9rem; font-weight: 800; }
.site-header__service-english { direction: ltr; justify-self: start; color: hsl(var(--muted-foreground)); font-size: .68rem; }
.site-header__service-description { color: hsl(var(--muted-foreground)); font-size: .75rem; line-height: 1.55; }
.site-header__services-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .35rem; padding: .75rem .8rem .45rem; border-top: 1px solid hsl(var(--border)); color: hsl(var(--primary)); font-size: .85rem; font-weight: 800; text-decoration: none; }
.site-header__mobile-panel { position: absolute; top: calc(100% + .5rem); left: 0; z-index: 60; display: grid; gap: .25rem; width: min(22rem, calc(100vw - 2rem)); max-height: calc(100vh - 6rem); overflow-y: auto; padding: .75rem; border: 1px solid hsl(var(--border)); border-radius: 1rem; background: hsl(var(--background)); box-shadow: 0 18px 48px rgb(15 23 42 / .16); }
.site-header__mobile-panel > a { display: flex; align-items: center; gap: .6rem; padding: .65rem .75rem; border-radius: .65rem; color: inherit; text-decoration: none; }
.site-header__mobile-panel > a:hover, .site-header__mobile-panel > a:focus-visible { background: hsl(var(--secondary)); }
.site-header__mobile-heading { padding: .65rem .75rem .25rem; color: hsl(var(--muted-foreground)); font-size: .8rem; font-weight: 800; }
.site-header__mobile-service img { width: 1.75rem; height: 1.75rem; object-fit: contain; }
.site-header__mobile-panel .site-header__mobile-all { color: hsl(var(--primary)); font-weight: 800; }
.site-header__mobile-panel .site-header__mobile-account { justify-content: center; margin-top: .25rem; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.site-header__mobile summary::-webkit-details-marker { display: none; }
@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-header *::before, .site-header *::after { transition-duration: .01ms !important; }
}
