.site-footer {
  width: 100%;
  max-width: none !important;
  border-top: 1px solid rgba(211, 171, 99, 0.2);
  background:
    linear-gradient(180deg, #0b0c0d 0%, #000 100%);
  padding: 64px 0 24px;
}

body .site-footer:not(.dynamic-footer) {
  max-width: none !important;
}

body.has-newsletter-popup {
  overflow: hidden;
}

.newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.newsletter-popup[hidden] {
  display: none;
}

.newsletter-popup__dialog {
  position: relative;
  width: min(100%, 980px);
  height: min(calc(100% - 60px), 520px);
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0px;
  overflow: hidden;
  background: #111315;
  color: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

.newsletter-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  z-index: 2;
  transition: background-color 180ms ease, color 180ms ease;
}

.newsletter-popup__close:hover,
.newsletter-popup__close:focus {
  background: #fff;
  color: #000;
  outline: none;
}

.newsletter-popup__close svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
}

.newsletter-popup__media {
  position: relative;
  min-height: 100%;
  background: #050608;
}

.newsletter-popup__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 50%, rgba(17, 19, 21, 0.26) 100%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.newsletter-popup__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 44% center;
}

.newsletter-popup__content {
  display: grid;
  align-content: center;
  padding: 56px 58px 56px 48px;
  background:
    linear-gradient(145deg, rgba(211, 171, 99, 0.1), transparent 45%),
    #111315;
}

.newsletter-popup__kicker {
  margin: 0 0 12px;
  color: #d3ab63;
  font-family: var(--fr-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.newsletter-popup h2 {
  max-width: 480px;
  margin: 0;
  color: #fff;
  font-family: var(--fr-display);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 700;
  line-height: 0.98;
}

.newsletter-popup p:not(.newsletter-popup__kicker) {
  max-width: 470px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.6;
}

.newsletter-popup__form {
  width: 100%;
  max-width: 620px;
  min-height: 56px;
  box-shadow: 0 0 0 1px rgba(211, 171, 99, 0.2);
}

.newsletter-popup__form input {
  font-size: 14px;
}

.newsletter-popup__form button {
  width: 58px;
}

.site-footer__inner {
  width: min(100% - 32px, var(--fr-header-max));
  max-width: var(--fr-header-max) !important;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 34px;
  margin-inline: auto;
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: inline-flex;
  width: 100px;
  height: 100px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  flex: 0 0 auto;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.35);
}

.footer-logo:hover img,
.footer-logo:focus img {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.22));
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d3ab63;
  color: #fff;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus {
  background: #111315;
  color: #d3ab63;
  box-shadow: 0 0 0 1px #d3ab63;
  transform: translateY(-2px);
}

.footer-socials a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-newsletter h2 {
  margin: 0;
  color: #fff;
  font-family: var(--fr-display);
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
}

.footer-newsletter p {
  max-width: 560px;
  margin: 12px auto;
  color: #c9a35f;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* Reserve the message slot so success/error feedback never moves the footer grid. */
.footer-newsletter {
  position: relative;
  width: min(100%, 620px);
  /* Keep the footer grid height stable for one- or two-line feedback. */
  min-height: 174px;
  padding-bottom: 48px;
}

.footer-newsletter__form {
  width: min(100%, 620px);
  min-height: 48px;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
}

.footer-newsletter__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  outline: 0;
  transition: box-shadow 180ms ease;
}

.footer-newsletter__form input:focus {
  box-shadow: inset 0 0 0 2px #d3ab63;
}

.footer-newsletter__form input::placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 600;
  font-family: var(--fr-body);
}

.footer-newsletter__form button {
  width: 52px;
  border: 0;
  border-radius: 0;
  background: #d3ab63;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.footer-newsletter__form button:disabled {
  background: #191b1f;
  color: rgba(255, 255, 255, 0.35);
  cursor: not-allowed;
}

.footer-newsletter__form button:hover:not(:disabled),
.footer-newsletter__form button:focus:not(:disabled) {
  background: #111315;
  color: #d3ab63;
}

.footer-newsletter__form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.frawakenmind-form-status {
  flex-basis: 100%;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.45;
  opacity: 1;
  transition: opacity 300ms ease;
}

.footer-newsletter>.frawakenmind-form-status {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 38px;
  margin: 0;
}

.frawakenmind-form-status[hidden] {
  display: none;
}

.frawakenmind-form-status.is-fading {
  opacity: 0;
}

.frawakenmind-form-status[data-status-type="success"] {
  color: #d3ab63;
}

.frawakenmind-form-status[data-status-type="error"] {
  color: #ffb4a8;
}

.footer-menu-row {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
  text-align: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--fr-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
}

.site-footer__copyright {
  width: min(100% - 32px, var(--fr-header-max));
  max-width: var(--fr-header-max) !important;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.28);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 900px) {
  .site-footer__inner {
    gap: 34px;
  }

  .newsletter-popup__dialog {
    width: min(calc(100% - 30px), 720px);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .newsletter-popup__media {
    min-height: 240px;
    max-height: 280px;
  }

  .newsletter-popup__content {
    padding: 36px;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding: 36px 0 16px;
  }

  .site-footer__inner {
    width: min(100% - 24px, var(--fr-header-max));
    gap: 24px;
  }

  .footer-brand {
    gap: 16px;
  }

  .footer-logo {
    width: 64px;
    height: 64px;
  }

  .footer-socials {
    gap: 9px;
  }

  .footer-socials a {
    width: 34px;
    height: 34px;
  }

  .footer-socials a svg {
    width: 19px;
    height: 19px;
  }

  .footer-newsletter h2 {
    font-size: 34px;
  }

  .footer-newsletter p {
    margin: 8px 0 18px;
    font-size: 12px;
    line-height: 1.45;
  }

  .footer-newsletter__form {
    min-height: 46px;
  }

  .footer-newsletter__form input {
    padding: 0 14px;
    font-size: 12px;
  }

  .footer-newsletter__form button {
    width: 48px;
  }

  .footer-links {
    width: min(100%, 360px);
    justify-self: center;
    gap: 12px 18px;
    border-top: 1px solid rgba(211, 171, 99, 0.18);
    padding-top: 20px;
    text-align: center;
  }

  .footer-links a {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .site-footer__copyright {
    width: min(100% - 24px, var(--fr-header-max));
    margin-top: 14px;
    font-size: 11px;
  }

  .newsletter-popup {
    align-items: center;
    padding: 8px;
  }

  .newsletter-popup__dialog {
    width: min(100%, 390px);
    display: grid;
    grid-template-rows: auto minmax(0, auto);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .newsletter-popup__close {
    top: 12px;
    right: 12px;
    min-width: 38px;
    min-height: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    line-height: 1;
  }

  .newsletter-popup__close svg {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    stroke: currentColor;
    stroke-width: 2.6;
  }

  .newsletter-popup__media {
    height: clamp(172px, 34dvh, 220px);
    min-height: 0;
    max-height: none;
  }

  .newsletter-popup__media img {
    height: 100%;
    object-position: 48% center;
  }

  .newsletter-popup__content {
    display: block;
    padding: 20px 20px 22px;
  }

  .newsletter-popup__kicker {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .newsletter-popup h2 {
    font-size: clamp(32px, 9.2vw, 38px);
    line-height: 1;
  }

  .newsletter-popup p:not(.newsletter-popup__kicker) {
    margin: 10px 0 18px;
    font-size: 13px;
    line-height: 1.45;
  }

  .newsletter-popup__form {
    min-height: 46px;
  }

  .newsletter-popup__form button {
    width: 48px;
  }

  .footer-logo img {
    transform: scale(1.8);
  }
}

.footer-policy-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.footer-policy-menu a {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--fr-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.footer-policy-menu a:hover,
.footer-policy-menu a:focus {
  color: #fff;
}
