/* ==========================================================================
   Aurum Theme — Footer
   Dark footer, newsletter, social, columns
   ========================================================================== */

/* ---- Newsletter strip ---- */
.au-newsletter {
  background-color: var(--au-surface-muted);
  padding-block: var(--au-sp-12);
}

.au-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--au-sp-8);
  max-width: var(--au-container-md);
  margin-inline: auto;
  padding-inline: var(--au-gutter);
}

.au-newsletter__text {
  text-align: center;
}

.au-newsletter__title {
  font-family: var(--au-font-display);
  font-size: var(--au-fs-xl);
  font-weight: var(--au-fw-semibold);
  margin-bottom: var(--au-sp-1);
}

.au-newsletter__desc {
  font-size: var(--au-fs-sm);
  color: var(--au-muted);
}

.au-newsletter__form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 440px;
}

.au-newsletter__input {
  flex: 1;
  padding: var(--au-sp-3) var(--au-sp-4);
  border: 1px solid var(--au-border);
  border-right: none;
  border-radius: var(--au-radius) 0 0 var(--au-radius);
  font-size: var(--au-fs-sm);
  background-color: var(--au-bg);
  transition: border-color var(--au-duration) var(--au-ease);
}

.au-newsletter__input::placeholder {
  color: var(--au-muted);
}

.au-newsletter__input:focus {
  outline: none;
  border-color: var(--au-gold);
}

.au-newsletter__submit {
  padding: var(--au-sp-3) var(--au-sp-6);
  background-color: var(--au-gold);
  color: #ffffff;
  font-size: var(--au-fs-sm);
  font-weight: var(--au-fw-medium);
  letter-spacing: var(--au-ls-wider);
  text-transform: uppercase;
  border: 1px solid var(--au-gold);
  border-radius: 0 var(--au-radius) var(--au-radius) 0;
  cursor: pointer;
  transition: background-color var(--au-duration) var(--au-ease);
  white-space: nowrap;
}

.au-newsletter__submit:hover {
  background-color: var(--au-gold-dark);
  border-color: var(--au-gold-dark);
}

/* ---- Footer main ---- */
.au-footer {
  background-color: var(--au-surface-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--au-sp-16);
  padding-bottom: var(--au-sp-8);
}

.au-footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--au-duration) var(--au-ease);
}

.au-footer a:hover {
  color: var(--au-gold);
}

.au-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--au-sp-8);
  max-width: var(--au-container);
  margin-inline: auto;
  padding-inline: var(--au-gutter);
}

.au-footer__heading {
  font-family: var(--au-font-display);
  font-size: var(--au-fs-lg);
  font-weight: var(--au-fw-semibold);
  color: #ffffff;
  margin-bottom: var(--au-sp-5);
  letter-spacing: var(--au-ls-wide);
}

.au-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--au-sp-3);
}

.au-footer__list a {
  font-size: var(--au-fs-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--au-sp-2);
}

/* ---- Footer contact info ---- */
.au-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--au-sp-3);
  font-size: var(--au-fs-sm);
}

.au-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--au-sp-3);
}

.au-footer__contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--au-gold);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Social icons ---- */
.au-footer__social {
  display: flex;
  gap: var(--au-sp-3);
  margin-top: var(--au-sp-5);
}

.au-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--au-radius-full);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--au-duration) var(--au-ease);
}

.au-footer__social-link:hover {
  border-color: var(--au-gold);
  color: var(--au-gold);
  background-color: rgba(184, 150, 62, 0.1);
}

.au-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---- Footer bottom / copyright ---- */
.au-footer__bottom {
  margin-top: var(--au-sp-12);
  padding-top: var(--au-sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--au-container);
  margin-inline: auto;
  padding-inline: var(--au-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.au-footer__copyright {
  font-size: var(--au-fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.au-footer__payments {
  display: flex;
  align-items: center;
  gap: var(--au-sp-3);
}

.au-footer__payments img {
  height: 24px;
  width: auto;
  opacity: 0.5;
  transition: opacity var(--au-duration) var(--au-ease);
}

.au-footer__payments img:hover {
  opacity: 0.8;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .au-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .au-newsletter__inner {
    flex-direction: column;
    text-align: center;
  }

  .au-newsletter__form {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .au-footer__grid {
    grid-template-columns: 1fr;
  }

  .au-footer__bottom {
    flex-direction: column;
    gap: var(--au-sp-4);
    text-align: center;
  }

  .au-newsletter__form {
    flex-direction: column;
    gap: var(--au-sp-3);
  }

  .au-newsletter__input {
    border-right: 1px solid var(--au-border);
    border-radius: var(--au-radius);
  }

  .au-newsletter__submit {
    border-radius: var(--au-radius);
  }
}
