.ma-footer {
  background: radial-gradient(circle at top, #141927, #05070b 55%);
  color: rgba(248, 245, 239, 0.9);
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 10;
}

.ma-footer__inner {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2.5rem;
}

.ma-footer__brand {
  max-width: 360px;
}

.ma-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.ma-footer__logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f4d9a3, #c28a3c 45%, #7a5231 80%);
  box-shadow: 0 0 0 1px rgba(244, 217, 163, 0.4), 0 16px 38px rgba(0, 0, 0, 0.7);
}

.ma-footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ma-footer__logo-primary {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: #f8f5ef;
}

.ma-footer__logo-tagline {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 217, 163, 0.82);
}

.ma-footer__description {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(239, 240, 244, 0.86);
}

.ma-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.ma-footer__heading {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  color: rgba(244, 217, 163, 0.86);
}

.ma-footer__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ma-footer__link {
  font-size: 0.9rem;
  text-decoration: none;
  color: rgba(239, 240, 244, 0.84);
  position: relative;
  padding-bottom: 0.08rem;
}

.ma-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 18px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4d9a3, #c28a3c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms ease-out, opacity 150ms ease-out;
  opacity: 0;
}

.ma-footer__link:hover,
.ma-footer__link:focus-visible {
  color: #ffffff;
}

.ma-footer__link:hover::after,
.ma-footer__link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.ma-footer__link:focus-visible {
  outline: 2px solid #f4d9a3;
  outline-offset: 3px;
  border-radius: 4px;
}

.ma-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(200, 205, 218, 0.9);
}

.ma-footer__meta {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Cookie banner */

.ma-cookie {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.ma-cookie[hidden] {
  display: none;
}

.ma-cookie__inner {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(7, 9, 15, 0.97);
  border-radius: 16px;
  border: 1px solid rgba(244, 217, 163, 0.32);
  padding: 1.2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.75);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: auto;
}

.ma-cookie--visible .ma-cookie__inner {
  transform: translateY(0);
  opacity: 1;
  transition: transform 220ms ease-out, opacity 220ms ease-out;
}

.ma-cookie--hidden .ma-cookie__inner {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 180ms ease-in, opacity 180ms ease-in;
}

.ma-cookie__text {
  flex: 2;
}

.ma-cookie__title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 217, 163, 0.92);
}

.ma-cookie__description {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(230, 234, 244, 0.9);
}

.ma-cookie__more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: rgba(244, 217, 163, 0.96);
  text-decoration: none;
}

.ma-cookie__more::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.65rem;
}

.ma-cookie__more:hover,
.ma-cookie__more:focus-visible {
  text-decoration: underline;
}

.ma-cookie__more:focus-visible {
  outline: 2px solid #f4d9a3;
  outline-offset: 3px;
  border-radius: 4px;
}

.ma-cookie__actions {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ma-cookie__button {
  min-width: 130px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.ma-cookie__button--secondary {
  background: transparent;
  border-color: rgba(244, 217, 163, 0.5);
  color: rgba(244, 217, 163, 0.9);
}

.ma-cookie__button--secondary:hover,
.ma-cookie__button--secondary:focus-visible {
  background: rgba(244, 217, 163, 0.08);
}

.ma-cookie__button--primary {
  background: linear-gradient(135deg, #c28a3c, #7a5231);
  color: #05070b;
  border-color: rgba(244, 217, 163, 0.9);
}

.ma-cookie__button--primary:hover,
.ma-cookie__button--primary:focus-visible {
  background: linear-gradient(135deg, #f4d9a3, #c28a3c);
}

.ma-cookie__button:focus-visible {
  outline: 2px solid #f4d9a3;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .ma-footer {
    padding: 2.5rem 1.25rem 1.75rem;
  }

  .ma-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ma-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .ma-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1rem 1.1rem;
  }

  .ma-cookie__actions {
    justify-content: stretch;
  }

  .ma-cookie__button {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ma-footer__links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ma-cookie__inner {
    transition: none !important;
  }
}

body.ma-no-scroll-header,
body.ma-no-scroll-age {
  overflow: hidden;
}
