/* family-kit 2.2.0 (d1cf1d4022fe): generated from www/brand/family-components.css by www/scripts/family-sync.mjs.
   Do not edit this copy; edit www/brand/ and run the sync again. */
/* Smart Aviation family kit: shared components.
   Layout pieces every family site uses so they look like one company: page measure,
   kicker, pill buttons, arrow links, the site header and the deep green footer.
   Markup contract: see brand/README.md. Edit HERE, then sync. */

/* Page measure: .container (header, footer) and .wrap (page content) are the same box. */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Section label above a heading: tracked capitals in identity green, nothing in front of it. */
.kicker {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-700);
}
.kicker--light {
  color: var(--green-300);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Pill buttons (editorial pages) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 8px 6px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.pill--glass {
  padding-right: 20px;
  color: var(--ink);
  background: rgb(255 255 255 / 40%);
  border: 1px solid rgb(255 255 255 / 70%);
  backdrop-filter: blur(12px);
}
.pill--glass:hover {
  background: rgb(255 255 255 / 70%);
  color: var(--ink);
}
.pill--light {
  color: var(--ink);
  background: #fff;
}
.pill--light:hover {
  color: var(--green-900);
  background: var(--green-50);
}
.pill__icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.85rem;
}

.pill--dark {
  color: #fff;
  background: var(--green-900);
}
.pill--dark:hover {
  color: #fff;
  background: var(--green-800);
}
.pill--outline {
  color: var(--ink);
  border: 1px solid var(--line);
}
.pill--outline:hover {
  color: var(--ink);
  border-color: var(--ink);
}


.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: none;
}
.link-arrow::after {
  content: '\2192';
  transition: transform 0.15s;
}
.link-arrow:hover::after {
  transform: translateX(3px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--green-900);
}
.brand__text span {
  font-weight: 500;
  color: var(--green-500);
  margin-left: 2px;
}
.site-nav {
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: var(--green-900);
  background: var(--green-50);
}
.site-nav a[aria-current='page'] {
  color: var(--green-900);
  background: var(--green-100);
}
.site-header__tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-ext {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
}
.nav-ext:hover {
  color: var(--green-900);
}
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--green-900);
  margin-left: 6px;
}
.lang:hover {
  border-color: var(--green-500);
  color: var(--green-900);
}

.mnav {
  display: none;
  position: relative;
}
.mnav summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}
.mnav summary::-webkit-details-marker {
  display: none;
}
.mnav__icon,
.mnav__icon::before,
.mnav__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.mnav__icon {
  position: relative;
}
.mnav__icon::before,
.mnav__icon::after {
  content: '';
  position: absolute;
  left: 0;
}
.mnav__icon::before {
  top: -6px;
}
.mnav__icon::after {
  top: 6px;
}
.mnav[open] .mnav__icon {
  background: transparent;
}
.mnav[open] .mnav__icon::before {
  transform: translateY(6px) rotate(45deg);
}
.mnav[open] .mnav__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}
.mnav__panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 8px var(--gutter) 20px;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
}
.mnav__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mnav__panel a {
  display: block;
  padding: 12px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--green-50);
}
.mnav__panel a[aria-current='page'] {
  color: var(--green-700);
}
.mnav__sep {
  margin-top: 10px;
}

/* Over a full-bleed photo: transparent, white type, scrolls away with the hero. */
.site-header--overlay {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header--overlay .brand__text,
.site-header--overlay .brand__text span,
.site-header--overlay .site-nav a,
.site-header--overlay .nav-ext,
.site-header--overlay .lang {
  color: #fff;
}
.site-header--overlay .site-nav a {
  font-weight: 400;
}
.site-header--overlay .site-nav a:hover,
.site-header--overlay .site-nav a[aria-current='page'] {
  background: rgb(255 255 255 / 16%);
}
.site-header--overlay .lang {
  border-color: rgb(255 255 255 / 55%);
}
.site-header--overlay .lang:hover {
  border-color: #fff;
}
.site-header--overlay .mnav__icon,
.site-header--overlay .mnav__icon::before,
.site-header--overlay .mnav__icon::after {
  background: #fff;
}
.site-header--overlay .mnav[open] .mnav__icon {
  background: transparent;
}

@media (max-width: 1080px) {
  .nav-ext {
    display: none;
  }
}
@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
  .site-header__tools {
    margin-left: auto;
  }
  .mnav {
    display: block;
  }
}

/* Service lockup: a family site other than www names itself after the logo text, e.g.
   smart aviation | Career, smart aviation | SMARTR. */
.brand__svc {
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--ink);
}
.site-header--overlay .brand__svc {
  color: #fff;
  border-left-color: rgb(255 255 255 / 40%);
}

/* Very narrow phones: the logo and "smart aviation" stay, the service name goes, so the
   header tools (language, menu) never push the page wider than the screen. */
@media (max-width: 400px) {
  .brand__svc {
    display: none;
  }
}

/* Site footer (deep green) */
.site-footer {
  background: var(--green-950);
  color: rgb(255 255 255 / 78%);
  font-size: 0.92rem;
  padding-top: clamp(48px, 7vw, 80px);
}
.site-footer a {
  color: rgb(255 255 255 / 86%);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer--wide .container {
  max-width: 1440px;
}
.site-footer__grid {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: 1.3fr 1fr 1.3fr 0.9fr;
}
.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 50%);
  margin-bottom: 1rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.55rem;
}
.site-footer__name {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.2rem;
}
.site-footer__tag {
  color: var(--green-500);
  font-weight: 500;
}
.site-footer__certs {
  font-size: 0.85rem;
  color: rgb(255 255 255 / 60%);
}
.site-footer__contact {
  margin-top: 1.2rem !important;
}
.site-footer address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 1.2rem;
}
.site-footer address strong {
  color: #fff;
  font-weight: 500;
}
.site-footer__follow {
  margin-top: 1.6rem;
}
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 12%);
  margin-top: 48px;
  padding-top: 20px;
  padding-bottom: 28px;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 55%);
}
.site-footer__bottom p {
  margin: 0;
}
@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
