.jmx-site-footer {
  color: #f3eae7;
  background: linear-gradient(115deg, #5b0f14, #75151b 52%, #4e0c11);
}

.jmx-footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
}

.jmx-footer-main h2 {
  margin-block-end: 0.35rem;
  color: #fff;
  font-family: var(--jmx-font-body);
  font-size: 0.85rem;
  font-weight: 700;
}

.jmx-footer-main p {
  max-width: 22rem;
  margin-block-end: 1rem;
  color: #d9c4c0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.jmx-footer-brand {
  text-align: center;
}

.jmx-footer-brand > a {
  display: block;
  color: #fff;
  font-family: var(--jmx-font-heading);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.jmx-footer-brand > span {
  display: block;
  margin-block-start: 0.35rem;
  color: #d9c4c0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.jmx-footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-block-start: 1.2rem;
}

.jmx-footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.jmx-footer-contact {
  justify-self: end;
}

.jmx-footer-contact a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: none;
}

.jmx-footer-contact a:hover {
  text-decoration: underline;
}

.jmx-footer-contact a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.jmx-footer-bottom {
  border-block-start: 1px solid rgb(255 255 255 / 0.2);
}

.jmx-footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding-block: 0.65rem;
}

.jmx-footer-bottom p {
  margin: 0;
  color: #d1b9b5;
  font-size: 0.68rem;
}

.jmx-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.jmx-footer-menu li + li::before {
  margin-inline: 0.75rem;
  color: rgb(255 255 255 / 0.35);
  content: "|";
}

.jmx-footer-menu a {
  color: #d9c4c0;
  font-size: 0.68rem;
  text-decoration: none;
}

.jmx-footer-menu a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .jmx-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .jmx-footer-contact {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .jmx-footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .jmx-footer-brand {
    grid-column: auto;
  }

  .jmx-footer-contact {
    justify-self: stretch;
  }

  .jmx-footer-main p {
    margin-inline: auto;
  }

  .jmx-footer-contact a {
    justify-content: center;
  }

  .jmx-footer-bottom__inner {
    display: grid;
    text-align: center;
  }
}
