/* Shared navigation for the main AvvA marketing pages. */
header.avva-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 33, 64, 0.08);
  box-shadow: 0 10px 30px rgba(10, 23, 49, 0.08);
  backdrop-filter: blur(14px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.2;
}

.avva-site-header__inner {
  width: min(1200px, 94vw);
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.avva-site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avva-site-header__brand-logo {
  display: block;
  line-height: 0;
}

.avva-site-header__divider {
  height: 28px;
  border-left: 1px solid rgba(15, 33, 64, 0.12);
}

.avva-site-header__switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.avva-site-header__switcher a {
  position: relative;
  color: #0b1530;
  text-decoration: none;
}

.avva-site-header__switcher a:hover,
.avva-site-header__switcher a:focus-visible {
  color: #1c6dd0;
}

.avva-site-header__switcher a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(135deg, #ffb703, #fb8500);
}

.avva-site-header__switcher-sep {
  color: rgba(15, 33, 64, 0.18);
  font-weight: 400;
}

.avva-site-header__logo {
  display: block;
  width: 104px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(13, 34, 74, 0.12));
}

.avva-site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.35vw, 21px);
  white-space: nowrap;
}

.avva-site-header__nav a {
  color: #2f3d55;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
}

.avva-site-header__nav a:hover,
.avva-site-header__nav a:focus-visible,
.avva-site-header__nav a[aria-current="page"] {
  color: #1c6dd0;
}

.avva-site-header__nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -7px;
  background: #1c6dd0;
}

.avva-site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.avva-site-header__service,
.avva-site-header__start {
  min-height: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.1;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.avva-site-header__service:hover,
.avva-site-header__start:hover {
  transform: translateY(-2px);
  color: #fff;
}

.avva-site-header__service {
  padding: 6px 12px;
  color: #fff;
  font-size: 0.78rem;
  text-shadow: 0 1px 2px rgba(7, 20, 47, 0.25);
}

.avva-site-header__service--logbook,
.avva-site-header__service--voice {
  background: linear-gradient(135deg, #ffb703, #fb8500);
  box-shadow: 0 8px 20px rgba(251, 133, 0, 0.22);
}

.avva-site-header__eyebrow {
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.avva-site-header__start {
  min-width: 112px;
  padding: 10px 14px;
  color: #f4f8ff;
  font-size: 0.86rem;
  background: linear-gradient(135deg, #1c6dd0, #102a4d);
  box-shadow: 0 8px 18px rgba(11, 25, 56, 0.18);
}

.avva-site-header__brand-logo:focus-visible,
.avva-site-header__switcher a:focus-visible,
.avva-site-header__nav a:focus-visible,
.avva-site-header__service:focus-visible,
.avva-site-header__start:focus-visible {
  outline: 3px solid #4e9afa;
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .avva-site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 0;
    padding-bottom: 14px;
  }

  .avva-site-header__nav {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .avva-site-header__actions {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .avva-site-header__inner {
    width: 100%;
    min-height: 0;
    padding: 8px 14px 12px;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 10px;
  }

  .avva-site-header__brand {
    gap: 10px;
    grid-column: 1;
    grid-row: 1;
  }

  .avva-site-header__brand-logo,
  .avva-site-header__logo {
    width: 76px;
  }

  .avva-site-header__switcher {
    font-size: 1rem;
  }

  .avva-site-header__logo {
    height: 66px;
  }

  .avva-site-header__actions {
    gap: 8px;
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: wrap;
  }

  .avva-site-header__service,
  .avva-site-header__start {
    min-height: 37px;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 0.64rem;
  }

  .avva-site-header__start {
    min-width: 0;
  }

  .avva-site-header__eyebrow {
    font-size: 0.45rem;
  }

  .avva-site-header__nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    padding: 4px 2px;
    grid-column: 1;
    grid-row: 3;
  }

  .avva-site-header__nav a {
    font-size: 0.78rem;
  }
}

@media (max-width: 375px) {
  .avva-site-header__inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .avva-site-header__nav {
    max-width: 280px;
    margin: 0 auto;
  }
}
