.footer {
  margin-top: 0;
  border-top: 1px solid rgba(215, 178, 109, 0.16);
  background: rgba(6, 6, 6, 0.96);
}

.footer--refreshed {
  padding: clamp(36px, 5vw, 56px) 0 18px;
}

.footer-frame {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  gap: 28px;
}

.footer-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(215, 178, 109, 0.12);
}

.footer-brandline {
  display: grid;
  max-width: 720px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: clamp(72px, 8vw, 96px);
  height: auto;
  flex: 0 0 auto;
}

.footer-brandline strong {
  color: #f5f5f3;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 0.95;
  letter-spacing: 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-links-grid section {
  display: grid;
  gap: 10px;
}

.footer-links-grid h3 {
  margin: 0 0 2px;
  color: #c79a57;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links-grid a,
.footer-links-grid span {
  color: rgba(245, 245, 243, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.footer-links-grid a:hover,
.footer-links-grid a:focus-visible {
  color: #e3c37b;
  outline: none;
}

.footer-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(215, 178, 109, 0.1);
}

.footer-lower span,
.footer-lower a {
  color: rgba(245, 245, 243, 0.56);
  font-size: 12px;
  line-height: 1.45;
}

.footer-lower > span:first-child {
  min-width: 0;
}

.footer-lower .languages {
  justify-self: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
  text-align: right;
}

.footer-lower .languages .lang-switcher {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 2px;
}

.footer-lower .languages .lang-switcher a {
  min-width: 44px;
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .footer-topline,
  .footer-lower {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-brand-lockup {
    align-items: flex-start;
  }

  .footer-legal-links {
    justify-content: flex-start;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .footer-frame {
    padding: 0 20px;
  }

  .footer-brand-lockup {
    gap: 14px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-brand-lockup {
    grid-template-columns: 1fr;
    display: grid;
    gap: 10px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}
