/* ============================================================
   PASSPORT GATEWAY — Layout, Header, Language Switcher
   ============================================================ */

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — visible only when focused via keyboard */
.skip-link {
  position: absolute;
  top: -200px;
  left: 0;
  background: var(--color-navy);
  color: var(--color-text-on-dark);
  padding: var(--space-3) var(--space-4);
  z-index: 1000;
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }


/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(27, 42, 91, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-logo {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--color-navy);
}
.brand-text .brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
}


/* Language Switcher */
.lang-switch {
  display: inline-flex;
  background: var(--color-white);
  border: 1px solid rgba(27, 42, 91, 0.15);
  border-radius: var(--radius-pill);
  padding: 3px;
  flex-shrink: 0;
}

.lang-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch button.active {
  background: var(--color-navy);
  color: var(--color-text-on-dark);
}

.lang-switch button:not(.active):hover {
  color: var(--color-navy);
}
