.site-footer {
  --footer-bg: #2f2f2f;
  --footer-ink: #f7f4ec;
  --footer-muted: #b7c0c7;
  --footer-rule: rgba(255, 255, 255, .16);
  --footer-link: #e2bd67;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: var(--footer-bg);
  color: var(--footer-ink);
  font-family: var(--sans, Arial, sans-serif);
  text-align: left;
}

.site-footer__inner {
  width: var(--wrap, min(1240px, calc(100% - 56px)));
  margin-inline: auto;
  padding: 48px 0 26px;
}

.site-footer__identity {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 24px;
}

.site-footer__brand-link {
  display: block;
  flex: 0 0 auto;
  width: 77px;
  color: inherit;
}

.site-footer__brand-link img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.site-footer__social {
  display: grid;
  width: 21px;
  height: 21px;
  margin: 0;
  padding: 0;
  border-radius: 2px;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: filter .16s ease, transform .16s ease;
}

.site-footer__social--facebook { background: #4267b2; }
.site-footer__social--x { background: #171717; }
.site-footer__social--instagram { background: linear-gradient(135deg, #515bd4 0%, #8134af 35%, #dd2a7b 65%, #f58529 100%); }
.site-footer__social--youtube { background: #c31533; }
.site-footer__social--linkedin { background: #0a66c2; }

.site-footer__social svg {
  width: 13px;
  height: 13px;
  overflow: visible;
  fill: currentColor;
}

.site-footer__social--x svg { width: 11px; height: 11px; }
.site-footer__social--instagram svg { width: 12px; height: 12px; }
.site-footer__social--youtube svg { width: 13px; height: 13px; }

.site-footer__social:hover {
  filter: brightness(.86);
  transform: translateY(-1px);
}

.site-footer__social:focus-visible {
  outline: 2px solid var(--footer-link);
  outline-offset: 3px;
}

.site-footer__branding {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--footer-rule);
}

.site-footer__about {
  min-width: 0;
}

.site-footer__about > .site-footer__editorial {
  margin-top: 6px;
}

.site-footer__editorial p {
  max-width: 760px;
  margin: 0;
  color: var(--footer-ink);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer__about > .site-footer__copyright {
  margin: 0;
  color: var(--footer-muted);
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 0;
  color: #89949d;
  font-size: 11px;
  line-height: 1.4;
}

.site-footer__links a {
  color: var(--footer-muted);
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--footer-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__iata {
  grid-column: 2;
  grid-row: 1;
  display: block;
  justify-self: end;
  color: #fff;
  text-decoration: none;
}

.site-footer__iata-logo {
  display: block;
  width: 38px;
  height: auto;
  fill: currentColor;
}

.site-footer__iata:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

@media (max-width: 1050px) {
  .site-footer__branding {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .site-footer__inner {
    width: min(100% - 36px, 620px);
    padding: 54px 0 24px;
  }

  .site-footer__branding {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer__identity {
    justify-content: center;
    gap: 18px;
  }

  .site-footer__about > .site-footer__editorial {
    margin-top: 7px;
  }

  .site-footer__about {
    text-align: center;
  }

  .site-footer__iata {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .site-footer__links {
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .site-footer__identity {
    gap: 8px;
  }

  .site-footer__socials {
    gap: 7px;
  }

  .site-footer__social {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 480px) {
  .site-footer__brand-link {
    width: 63px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a { transition: none; }
}
