/**
 * A.M Aesthetics footer — Figma 18392:4362 (desktop), 18406:10427 (mobile).
 *
 * @package RichardMedina\ElementorTemplates
 */

.rm-am-footer {
	box-sizing: border-box;
	width: 100%;
	font-family: "Poppins", sans-serif;
	background-color: #ffffff;
	color: #292929;
	padding-top: 6px;
}

.rm-am-footer *,
.rm-am-footer *::before,
.rm-am-footer *::after {
	box-sizing: border-box;
}

/* ----- Top colour stripe ----- */

.rm-am-footer__stripe-area {
	width: 100%;
}

.rm-am-footer__stripe {
	display: block;
	width: 100%;
	height: 6px;
}

/* ----- Shell (mobile: centred column, Figma py 40 px 20 gap 40) ----- */

.rm-am-footer__shell {
	width: 100%;
	padding: 40px 20px;
	background-color: #ffffff;
}

.rm-am-footer__row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	width: 100%;
}

.rm-am-footer__brand {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 16.002px;
	color: inherit;
}

.rm-am-footer__logo {
	display: block;
	flex-shrink: 0;
	width: auto !important;
	height: auto !important;
	max-height: 69px;
	max-width: min(100%, 320px);
	object-fit: contain;
	object-position: center;
}

.rm-am-footer__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 100%;
}

.rm-am-footer__intro {
	margin: 0;
	max-width: 100%;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 24px;
	text-align: center;
	color: #292929;
}

.rm-am-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.rm-am-footer__legal-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
}

.rm-am-footer__rule {
	width: 100%;
	height: 1px;
	background-color: #858585;
	opacity: 0.25;
}

.rm-am-footer__copyright {
	margin: 0;
	width: 100%;
	font-size: 13px;
	font-weight: 400;
	font-style: normal;
	line-height: 19px;
	text-align: center;
	color: #020202;
}

.rm-am-footer__legal {
	margin: 0;
	width: 100%;
	font-size: 13px;
	font-weight: 400;
	font-style: italic;
	line-height: 19px;
	text-align: center;
	color: #454545;
	opacity: 0.75;
}

.rm-am-footer__legal-link {
	color: inherit;
	font-style: italic;
	text-decoration: underline;
	text-decoration-skip-ink: none;
}

.rm-am-footer__legal-link:hover,
.rm-am-footer__legal-link:focus-visible {
	color: #020202;
}

/* ----- Desktop (Figma 18392:4362): pt 10, stripe 12px, shell py 60 px 80 ----- */

@media (min-width: 1024px) {
	.rm-am-footer {
		padding-top: 10px;
	}

	.rm-am-footer__stripe {
		height: 12px;
	}

	.rm-am-footer__shell {
		padding: 60px 80px;
	}

	.rm-am-footer__row {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 5%;
	}

	.rm-am-footer__brand {
		justify-content: flex-start;
		gap: 18.395px;
		flex-shrink: 0;
	}

	.rm-am-footer__logo {
		max-height: 79px;
		max-width: 400px;
	}

	.rm-am-footer__main {
		align-items: flex-start;
		gap: 32px;
		flex: 1 1 auto;
		max-width: 680px;
		width: 47.5%;
	}

	.rm-am-footer__intro {
		text-align: left;
	}

	.rm-am-footer__bottom {
		align-items: flex-start;
		gap: 16px;
	}

	.rm-am-footer__legal-stack {
		align-items: flex-start;
	}

	.rm-am-footer__copyright {
		font-size: 14px;
		line-height: 22px;
		text-align: left;
	}

	.rm-am-footer__legal {
		font-size: 14px;
		line-height: 22px;
		text-align: left;
	}
}
