:root {
  --mc-footer-background: #f2f2f2;
}

.modculture-footer {
  --mc-footer-ink: #000;
  --mc-footer-muted: #4d4d4d;
  --mc-footer-surface: #fafafa;
  --mc-footer-accent: #6721ae;
  box-sizing: border-box;
  padding: 8px;
  background: var(--mc-footer-background);
  color: var(--mc-footer-ink);
  font-family: "Space Grotesk", Archivo, Arial, sans-serif;
}

.modculture-footer *,
.modculture-footer *::before,
.modculture-footer *::after { box-sizing: border-box; }
.modculture-footer p { margin: 0; }
.modculture-footer a { text-decoration: none; }
.modculture-footer :focus-visible { outline: 3px solid var(--mc-footer-accent); outline-offset: 4px; }

.modculture-footer__inner {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding: 48px 32px 24px;
}

.modculture-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
}

.modculture-footer__brand { min-width: 0; max-width: 42rem; }
.modculture-footer__logo { display: inline-flex; max-width: 100%; }
.modculture-footer__logo img { display: block; width: 200px; max-width: 100%; height: auto; filter: brightness(0); }
.modculture-footer__title {
  max-width: 15ch;
  margin: 24px 0 0;
  font-family: inherit;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: none;
}

.modculture-footer p.modculture-footer__description {
  max-width: 31rem;
  margin-top: 20px;
  color: var(--mc-footer-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.modculture-footer__actions { display: flex; margin-top: 28px; flex-wrap: wrap; align-items: center; gap: 8px; }
.modculture-footer__primary-action,
.modculture-footer__map-action {
  display: inline-flex;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  transition: background 180ms ease;
}
.modculture-footer__primary-action { padding: 4px 4px 4px 20px; gap: 16px; background: var(--mc-footer-ink); font-size: 14px; font-weight: 600; }
.modculture-footer__primary-action-icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; color: var(--mc-footer-ink); font-size: 20px; }
.modculture-footer__primary-action-icon svg { width: 18px; height: 18px; }
.modculture-footer__map-action { width: 54px; background: var(--mc-footer-accent); }
.modculture-footer__map-action svg { width: 18px; height: 18px; }
.modculture-footer__primary-action:hover { background: var(--mc-footer-accent); }
.modculture-footer__map-action:hover { background: #46147f; }

.modculture-footer__contact { display: flex; margin-top: 24px; flex-wrap: wrap; gap: 4px 20px; }
.modculture-footer__contact a {
  display: inline-flex;
  min-height: 36px;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.modculture-footer__contact a { color: var(--mc-footer-accent); }
.modculture-footer__contact svg { width: 17px; height: 17px; flex-shrink: 0; }
.modculture-footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

.modculture-footer__right { display: flex; min-width: 0; flex-direction: column; }
.modculture-footer__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-content: start; }
.modculture-footer__columns--with-policies { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.modculture-footer__columns > div { min-width: 0; }
.modculture-footer__columns :is(h2, h3),
.modculture-footer__payments :is(h2, h3) {
  margin: 0;
  color: var(--mc-footer-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.modculture-footer__columns ul { display: flex; margin: 14px 0 0; padding: 0; flex-direction: column; align-items: flex-start; gap: 4px; list-style: none; }
.modculture-footer__columns li { max-width: 100%; }
.modculture-footer__columns a {
  display: inline-flex;
  min-height: 32px;
  padding: 4px 0;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mc-footer-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}
.modculture-footer__columns a:hover,
.modculture-footer__columns a:focus-visible { color: var(--mc-footer-accent); text-decoration: underline; text-underline-offset: 4px; }

.modculture-footer p.modculture-footer__app-label {
  margin: 28px 0 4px;
  color: var(--mc-footer-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
}
.modculture-footer__app-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.modculture-footer__app-downloads a { display: block; border-radius: 8px; }
.modculture-footer__app-downloads img { display: block; width: auto; height: 48px; }
.modculture-footer__app-downloads .modculture-footer__google-play img { height: 62.5px; }

.modculture-footer__liberty-walk {
  display: flex;
  width: auto;
  margin-top: 48px;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #000;
}
.modculture-footer__liberty-walk-copy { text-align: right; }
.modculture-footer .modculture-footer__liberty-walk-kicker {
  margin: 0;
  color: #000;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.modculture-footer__liberty-walk-name {
  margin: 2px 0 0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.modculture-footer__liberty-walk img {
  display: block;
  width: 64px;
  height: auto;
  max-height: 80px;
  flex-shrink: 0;
  filter: brightness(0);
  object-fit: contain;
}

.modculture-footer__payments { width: 100%; margin-top: 40px; padding: 20px; border: 1px solid rgb(0 0 0 / 10%); border-radius: 16px; background: var(--mc-footer-surface); }
.modculture-footer__payments-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; }
.modculture-footer__payment-methods { min-width: 0; }
.modculture-footer__seals { display: flex; align-items: flex-end; flex-direction: column; text-align: right; }
.modculture-footer__brands { display: flex; margin: 14px 0 0; padding: 0; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.modculture-footer__brands li { display: inline-flex; width: 52px; height: 32px; padding: 4px 6px; align-items: center; justify-content: center; border: 1px solid rgb(0 0 0 / 10%); border-radius: 6px; background: #fff; }
.modculture-footer__brands svg { width: 100%; height: auto; max-height: 24px; }
.modculture-footer__payments-seal { height: auto; width: 272px; max-width: 100%; margin-top: 14px; border-radius: 6px; }
.modculture-footer__legal { display: flex; margin-top: 24px; padding-top: 20px; justify-content: space-between; align-items: flex-end; gap: 12px 32px; border-top: 1px solid rgb(0 0 0 / 10%); color: var(--mc-footer-muted); font-size: 14px; font-weight: 500; line-height: 1.6; }
.modculture-footer__copyright { max-width: 62rem; }
.modculture-footer__address { text-align: right; }

@media (min-width: 981px) {
  .modculture-footer__grid { row-gap: 0; }
  .modculture-footer__brand,
  .modculture-footer__right { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .modculture-footer__intro { grid-row: 1 / span 2; }
  .modculture-footer__actions { grid-row: 3; margin-top: 0; align-self: center; }
  .modculture-footer__contact { grid-row: 4; align-self: start; }
  .modculture-footer__app-label { align-self: end; }
}

@media (max-width: 980px) {
  .modculture-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 600px) {
  .modculture-footer__inner { padding: 32px 12px 16px; }
  .modculture-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .modculture-footer__columns--with-policies > div:last-child { grid-column: 1 / -1; }
  .modculture-footer__liberty-walk { margin-top: 32px; }
  .modculture-footer__liberty-walk img { width: 56px; max-height: 70px; }
  .modculture-footer__columns a,
  .modculture-footer__contact a { min-height: 44px; }
  .modculture-footer__payments-row { grid-template-columns: minmax(0, 1fr); }
  .modculture-footer__legal { flex-direction: column; align-items: flex-start; }
  .modculture-footer__address { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .modculture-footer a { transition: none; }
}
