/* Footer (mwm-footer) */

.mwm-footer {
	/* Mobile-first tokens (per diseño) */
	--mwm-footer-bg: var(--mwm--color-black, #000);
	--mwm-footer-fg: var(--mwm--color-white, #fff);
	--mwm-footer-pad-top: 64px;
	--mwm-footer-pad-bottom: 20px;
	--mwm-footer-pad-x: 20px;
	--mwm-footer-gap: 32px;

	background: var(--mwm-footer-bg);
	color: var(--mwm-footer-fg);
	padding: var(--mwm-footer-pad-top) var(--mwm-footer-pad-x) var(--mwm-footer-pad-bottom);
	font-family: var(--mwm--font-family, inherit);

	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: var(--mwm-footer-gap);
}

/* Variante «xl» (diseño Figma): más aire en escritorio */
@media (min-width: 901px) {
	.mwm-footer[data-dimensions="xl"] {
		--mwm-footer-pad-top: 120px;
		--mwm-footer-gap: 64px;
	}
}

.mwm-footer a {
	color: inherit;
	text-decoration: none;
}

.mwm-footer a:hover,
.mwm-footer a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.mwm-footer__top {
	display: flex;
	align-self: stretch;
	width: 100%;
	justify-content: center;
	align-items: flex-start;
	gap: 12px;
	padding-bottom: 12px;
}

.mwm-footer__logo-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex: 0 0 auto;
	width: min(289px, 42vw);
}

.mwm-footer__logo-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.mwm-footer__logo-placeholder {
	width: 100%;
	max-width: 240px;
	aspect-ratio: 5 / 1;
	border-radius: var(--mwm--border-radius-md, 1rem);
	background: rgba(255, 255, 255, 0.08);
}

.mwm-footer__nav {
	flex: 1 1 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px 32px;
	min-width: 0;
}

.mwm-footer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 24px 32px;
	counter-reset: mwm-footnav;
}

@media (max-width: 900px) {
	.mwm-footer__top {
		flex-direction: column;
		align-items: center;
	}

	.mwm-footer__logo-container {
		width: min(289px, 100%);
	}

	.mwm-footer__nav {
		justify-content: center;
		width: 100%;
	}

	.mwm-footer__nav-list {
		justify-content: center;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		display: grid;
		gap: var(--mwm--spacing-02, 1rem) var(--mwm--spacing-05, 2.5rem);
	}
}

.mwm-footer__nav-item {
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
	counter-increment: mwm-footnav;
}

.mwm-footer__nav-item::before {
	content: '(' counter(mwm-footnav) ')';
	font-size: 0.85em;
	line-height: 1;
	vertical-align: super;
	position: relative;
	top: -0.15em;
	opacity: 0.85;
}

.mwm-footer__claim {
	width: 100%;
	text-align: center;
	font-size: 20px;
	line-height: 24px;
	font-weight: 400;
}

.mwm-footer__bottom {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 32px;
}

.mwm-footer__col {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 12px;
}

.mwm-footer__col--left {
	align-items: flex-start;
	justify-content: flex-start;
}

.mwm-footer__col--right {
	align-items: flex-end;
	justify-content: flex-end;
}

.mwm-footer__legal-nav {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.mwm-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}

.mwm-footer__index {
	opacity: 0.6;
	font-size: var(--mwm--font-size-b100, inherit);
}

.mwm-footer__link {
	font-size: var(--mwm--font-size-b100, inherit);
}

.mwm-footer__social-link,
.mwm-footer__legal-link {
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 400;
}

.mwm-footer__language {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 8px;
}

.mwm-footer__lang-btn {
	appearance: none;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 400;
	opacity: 1;
}

.mwm-footer__lang-btn:hover,
.mwm-footer__lang-btn:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.mwm-footer__lang-btn--active {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.mwm-footer__divider {
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 400;
	opacity: 1;
}

/* Desktop (sin data-dimensions="xl"; el bloque xl fija 120px / 64px con mayor especificidad) */
@media (min-width: 901px) {
	.mwm-footer:not([data-dimensions="xl"]) {
		--mwm-footer-pad-top: 80px;
		--mwm-footer-gap: 40px;
	}
}

