body.hpds-native-footer-active .c-footer:not(.hpds-native-footer),
body.hpds-native-footer-active .elementor-location-footer {
  display: none;
}

.hpds-native-footer {
  --hpds-footer-bg: #1b1022;
  --hpds-footer-bg-rich: #2b1736;
  --hpds-footer-accent: #d7a59b;
  --hpds-footer-text: #f8f3f6;
  --hpds-footer-muted: #cdbfc9;
  background: var(--hpds-footer-bg);
  border-block-start: 0.25rem solid var(--hpds-footer-accent);
  color: var(--hpds-footer-text);
  font-family: var(--hpds-font-sans);
  isolation: isolate;
  letter-spacing: 0;
}

.hpds-native-footer :where(a, button, input) {
  font: inherit;
}

.hpds-native-footer__main {
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  inline-size: min(100% - (2 * var(--hpds-gutter)), var(--hpds-container-wide));
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.hpds-native-footer__column {
  align-content: start;
  display: grid;
  gap: 0.85rem;
  min-inline-size: 0;
}

.hpds-native-footer__column h2 {
  color: var(--hpds-footer-text);
  font-family: var(--hpds-font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: var(--hpds-display-weight, 600);
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

.hpds-native-footer__column :where(p, a) {
  color: var(--hpds-footer-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

.hpds-native-footer__column a {
  inline-size: fit-content;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.hpds-native-footer__column a:hover,
.hpds-native-footer__column a:focus-visible {
  color: var(--hpds-footer-text);
  transform: translateX(-0.2rem);
}

.hpds-native-footer__menu {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hpds-native-footer__contact a[href^="mailto:"],
.hpds-native-footer__contact a[href^="tel:"] {
  color: var(--hpds-footer-text);
  direction: ltr;
  text-align: right;
}

.hpds-native-footer__newsletter p {
  max-inline-size: 23rem;
}

.hpds-native-footer__cta,
.hpds-native-footer__form :where(button, input[type="submit"]) {
  align-items: center;
  background: var(--hpds-footer-accent);
  border: 1px solid var(--hpds-footer-accent);
  border-radius: 0.2rem;
  color: var(--hpds-footer-bg);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-block-size: 3rem;
  padding-inline: 1.35rem;
}

.hpds-native-footer__form {
  margin-block-start: 0.35rem;
}

.hpds-native-footer__form :where(form, .wpforms-field-container) {
  display: grid;
  gap: 0.65rem;
}

.hpds-native-footer__form input[type="email"] {
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0.2rem;
  color: #171717;
  inline-size: 100%;
  min-block-size: 3rem;
  padding-inline: 1rem;
}

.hpds-native-footer__bottom {
  align-items: center;
  border-block-start: 1px solid rgb(255 255 255 / 0.16);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto 1fr auto;
  inline-size: min(100% - (2 * var(--hpds-gutter)), var(--hpds-container-wide));
  margin-inline: auto;
  padding-block: 1.3rem;
}

.hpds-native-footer__brand {
  display: block;
  inline-size: 8.5rem;
}

.hpds-native-footer__brand img {
  block-size: auto;
  display: block;
  filter: grayscale(1) invert(1);
  inline-size: 100%;
  mix-blend-mode: screen;
}

.hpds-native-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.hpds-native-footer__bottom :where(a, p) {
  color: var(--hpds-footer-muted);
  font-size: 0.88rem;
  margin: 0;
  text-decoration: none;
}

.hpds-native-footer__copyright {
  direction: rtl;
  text-align: left;
}

.hpds-native-footer a:focus-visible {
  outline: 2px solid var(--hpds-footer-accent);
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .hpds-native-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpds-native-footer__bottom {
    grid-template-columns: auto 1fr;
  }

  .hpds-native-footer__copyright {
    grid-column: 1 / -1;
    text-align: right;
  }
}

@media (max-width: 640px) {
  .hpds-native-footer__main {
    gap: 2.5rem;
    grid-template-columns: 1fr;
    padding-block: 3.5rem;
  }

  .hpds-native-footer__bottom {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .hpds-native-footer__copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hpds-native-footer__column a {
    transition: none;
  }
}
