@font-face {
  font-family: Onest;
  src: url("./couture/onest-variable.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Lora;
  src: url("./editorial/lora-variable.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

footer.me-site-footer {
  display: block;
  margin: 0;
  padding: 39px 0 25px;
  background: linear-gradient(180deg, #430d23, #2f0819);
  border-top: 1px solid #d3a25626;
  color: #eeddd0;
  font: 400 13px/1.6 Onest, Arial, sans-serif;
  text-align: start;
}

.me-site-footer *,
.me-site-footer *::before,
.me-site-footer *::after {
  box-sizing: border-box;
}

.me-site-footer .me-footer-inner {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}

.me-site-footer a,
.me-site-footer button {
  color: inherit;
  text-decoration: none;
}

.me-site-footer a:hover,
.me-site-footer button:hover {
  color: #f4d28c;
}

.me-site-footer :is(a, button):focus-visible {
  outline: 2px solid #f4d28c;
  outline-offset: 4px;
}

.me-site-footer .me-footer-top {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(300px, 1.8fr) minmax(180px, .8fr);
  align-items: center;
  gap: 30px;
  padding-bottom: 26px;
}

.me-site-footer .me-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.me-site-footer .me-footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.me-site-footer .me-footer-word {
  color: #fff0de;
  font: 500 25px/1.2 Lora, Georgia, serif;
}

.me-site-footer .me-footer-word em {
  color: #e8c17a;
}

.me-site-footer .me-footer-identity p {
  max-width: 240px;
  margin: 10px 0 0;
  color: #d2b2b5;
  font-size: 12px;
}

.me-site-footer .me-footer-center {
  display: grid;
  gap: 13px;
  justify-items: center;
}

.me-site-footer :is(.me-footer-services, .me-footer-links, .me-footer-legal) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
}

.me-site-footer .me-footer-services {
  color: #e5c9bb;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.me-site-footer .me-footer-links {
  color: #d2b2b5;
  font-size: 12px;
}

.me-site-footer .me-footer-contacts {
  display: grid;
  justify-items: end;
  gap: 7px;
  color: #ebd5c5;
  overflow-wrap: anywhere;
}

.me-site-footer .me-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 20px;
  padding-top: 21px;
  border-top: 1px solid #d5ac7040;
  color: #d2b2b5;
  font-size: 12px;
}

.me-site-footer .me-footer-legal button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.me-site-footer .me-footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.me-site-footer .me-footer-social {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d3a25759;
  border-radius: 50%;
  background: #4e15264d;
  color: #e8c17a;
}

.me-site-footer .me-footer-social svg {
  width: 18px;
  height: 18px;
}

.me-site-footer .me-footer-social:hover {
  background: linear-gradient(135deg, #ffe5aa, #dda452);
  color: #3f1025;
}

@media (max-width: 900px) {
  .me-site-footer .me-footer-inner {
    width: calc(100% - 48px);
  }

  .me-site-footer .me-footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 22px;
  }

  .me-site-footer .me-footer-contacts {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 7px 22px;
  }

  .me-site-footer .me-footer-center {
    justify-items: end;
  }

  .me-site-footer :is(.me-footer-services, .me-footer-links) {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  footer.me-site-footer {
    padding-top: 30px;
  }

  .me-site-footer .me-footer-inner {
    width: calc(100% - 40px);
  }

  .me-site-footer .me-footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .me-site-footer .me-footer-center {
    justify-items: start;
  }

  .me-site-footer :is(.me-footer-services, .me-footer-links, .me-footer-legal) {
    justify-content: flex-start;
  }

  .me-site-footer .me-footer-bottom {
    align-items: start;
    flex-direction: column;
  }
}
