/* Footer: award logo, Book a table, contact icons, copyright and legal links */

.site-footer {
  margin-top: var(--space-7);
  padding: var(--space-2);
  background: var(--color-dark);
  border-top: 5px solid var(--color-rule);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
}

.site-footer__award img {
  width: 137px;
}

.site-footer__book {
  margin-top: var(--space-5);
}

.site-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-page);
  color: var(--color-white);
  transition: background-color var(--transition);
}

.site-footer__social a.is-highlight {
  background: var(--color-orange);
}

.site-footer__social a:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1) var(--space-4);
  max-width: var(--container);
  margin: var(--space-2) auto 0;
  font-size: var(--text-xs);
}

.site-footer__bottom a,
.site-footer__consent {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__consent {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  cursor: pointer;
}

.site-footer__consent[hidden] {
  display: none;
}

.site-footer__bottom a:hover,
.site-footer__consent:hover {
  color: var(--color-orange);
}

@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--space-4);
    padding-top: var(--space-4);
  }

  .site-footer__social {
    order: -1;
  }

  .site-footer__book {
    margin-top: 0;
  }
}
